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",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxFontData swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxPrintData swig_types[7]
1350 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1353 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356 #define SWIGTYPE_p_wxFont swig_types[14]
1357 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358 #define SWIGTYPE_p_wxRegion swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxIcon swig_types[23]
1366 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368 #define SWIGTYPE_p_wxColourData swig_types[26]
1369 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1371 #define SWIGTYPE_p_form_ops_t swig_types[29]
1372 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1377 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381 #define SWIGTYPE_p_wxPrinter swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388 #define SWIGTYPE_p_wxRect swig_types[46]
1389 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390 #define SWIGTYPE_p_char swig_types[48]
1391 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392 #define SWIGTYPE_p_wxFrame swig_types[50]
1393 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1397 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1398 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399 #define SWIGTYPE_p_wxPoint swig_types[57]
1400 #define SWIGTYPE_p_wxObject swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1407 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1408 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1410 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411 #define SWIGTYPE_p_wxWindow swig_types[69]
1412 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1414 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1418 #define SWIGTYPE_p_wxString swig_types[76]
1419 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1421 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1422 #define SWIGTYPE_p_wxDialog swig_types[80]
1423 #define SWIGTYPE_p_wxPanel swig_types[81]
1424 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1425 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1428 #define SWIGTYPE_p_wxBitmap swig_types[86]
1429 #define SWIGTYPE_unsigned_int swig_types[87]
1430 #define SWIGTYPE_p_unsigned_int swig_types[88]
1431 #define SWIGTYPE_p_unsigned_char swig_types[89]
1432 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxToolBar swig_types[94]
1437 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439 static swig_type_info
*swig_types
[98];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_windows_
1449 #define SWIG_name "_windows_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1464 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1467 if (value
< min_value
) {
1469 PyErr_Format(PyExc_OverflowError
,
1470 "value %ld is less than '%s' minimum %ld",
1471 value
, errmsg
, min_value
);
1474 } else if (value
> max_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value
, errmsg
, max_value
);
1487 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1489 if (PyNumber_Check(obj
)) {
1490 if (val
) *val
= PyInt_AsLong(obj
);
1494 SWIG_type_error("number", obj
);
1500 #if INT_MAX != LONG_MAX
1502 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1504 const char* errmsg
= val
? "int" : (char*)0;
1506 if (SWIG_AsVal_long(obj
, &v
)) {
1507 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1508 if (val
) *val
= (int)(v
);
1517 SWIG_type_error(errmsg
, obj
);
1523 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1525 return SWIG_AsVal_long(obj
,(long*)val
);
1531 SWIG_As_int(PyObject
* obj
)
1534 if (!SWIG_AsVal_int(obj
, &v
)) {
1536 this is needed to make valgrind/purify happier.
1538 memset((void*)&v
, 0, sizeof(int));
1544 SWIGINTERNSHORT
long
1545 SWIG_As_long(PyObject
* obj
)
1548 if (!SWIG_AsVal_long(obj
, &v
)) {
1550 this is needed to make valgrind/purify happier.
1552 memset((void*)&v
, 0, sizeof(long));
1559 SWIG_Check_int(PyObject
* obj
)
1561 return SWIG_AsVal_int(obj
, (int*)0);
1566 SWIG_Check_long(PyObject
* obj
)
1568 return SWIG_AsVal_long(obj
, (long*)0);
1573 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1575 if (obj
== Py_True
) {
1576 if (val
) *val
= true;
1579 if (obj
== Py_False
) {
1580 if (val
) *val
= false;
1584 if (SWIG_AsVal_int(obj
, &res
)) {
1585 if (val
) *val
= res
? true : false;
1591 SWIG_type_error("bool", obj
);
1597 SWIGINTERNSHORT
bool
1598 SWIG_As_bool(PyObject
* obj
)
1601 if (!SWIG_AsVal_bool(obj
, &v
)) {
1603 this is needed to make valgrind/purify happier.
1605 memset((void*)&v
, 0, sizeof(bool));
1612 SWIG_Check_bool(PyObject
* obj
)
1614 return SWIG_AsVal_bool(obj
, (bool*)0);
1618 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1619 #define SWIG_From_int PyInt_FromLong
1623 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1629 } else if (target
== Py_None
) {
1633 if (!PyTuple_Check(target
)) {
1635 target
= PyTuple_New(1);
1636 PyTuple_SetItem(target
, 0, o2
);
1638 o3
= PyTuple_New(1);
1639 PyTuple_SetItem(o3
, 0, o
);
1642 target
= PySequence_Concat(o2
, o3
);
1652 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1654 if (PyNumber_Check(obj
)) {
1655 if (val
) *val
= PyFloat_AsDouble(obj
);
1659 SWIG_type_error("number", obj
);
1665 SWIGINTERNSHORT
double
1666 SWIG_As_double(PyObject
* obj
)
1669 if (!SWIG_AsVal_double(obj
, &v
)) {
1671 this is needed to make valgrind/purify happier.
1673 memset((void*)&v
, 0, sizeof(double));
1680 SWIG_Check_double(PyObject
* obj
)
1682 return SWIG_AsVal_double(obj
, (double*)0);
1686 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1687 #define SWIG_From_double PyFloat_FromDouble
1690 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1691 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1692 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1693 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1694 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1695 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1697 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1698 #define SWIG_From_long PyInt_FromLong
1703 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1705 self
->GetFieldRect(i
, r
);
1708 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1709 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1710 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1712 #include <wx/popupwin.h>
1715 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1718 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1719 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1720 : wxPopupTransientWindow(parent
, style
) {}
1722 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1723 DEC_PYCALLBACK__(OnDismiss
);
1724 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1729 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1730 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1731 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1734 #include <wx/tipwin.h>
1736 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1737 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1740 #include <wx/tipwin.h>
1743 #include <wx/vscroll.h>
1746 class wxPyVScrolledWindow
: public wxVScrolledWindow
1748 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1750 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1752 wxPyVScrolledWindow(wxWindow
*parent
,
1753 wxWindowID id
= wxID_ANY
,
1754 const wxPoint
& pos
= wxDefaultPosition
,
1755 const wxSize
& size
= wxDefaultSize
,
1757 const wxString
& name
= wxPyPanelNameStr
)
1758 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1761 // Overridable virtuals
1763 // this function must be overridden in the derived class and it should
1764 // return the height of the given line in pixels
1765 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1768 // this function doesn't have to be overridden but it may be useful to do
1769 // it if calculating the lines heights is a relatively expensive operation
1770 // as it gives the user code a possibility to calculate several of them at
1773 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1774 // shouldn't rely on the latter being called for all lines in the interval
1775 // specified here. It is also possible that OnGetLineHeight() will be
1776 // called for the lines outside of this interval, so this is really just a
1777 // hint, not a promise.
1779 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1781 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1784 // when the number of lines changes, we try to estimate the total height
1785 // of all lines which is a rather expensive operation in terms of lines
1786 // access, so if the user code may estimate the average height
1787 // better/faster than we do, it should override this function to implement
1790 // this function should return the best guess for the total height it may
1792 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1795 // Also expose some other interesting protected methods
1798 // find the index of the line we need to show at the top of the window such
1799 // that the last (fully or partially) visible line is the given one
1800 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1801 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1803 // get the total height of the lines between lineMin (inclusive) and
1804 // lineMax (exclusive)
1805 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1806 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1812 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1814 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1815 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1816 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1820 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1823 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1824 SWIG_type_error("unsigned number", obj
);
1827 *val
= (unsigned long)v
;
1832 SWIGINTERNSHORT
unsigned long
1833 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1836 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1838 this is needed to make valgrind/purify happier.
1840 memset((void*)&v
, 0, sizeof(unsigned long));
1847 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1849 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1853 SWIGINTERNSHORT PyObject
*
1854 SWIG_From_unsigned_SS_long(unsigned long value
)
1856 return (value
> LONG_MAX
) ?
1857 PyLong_FromUnsignedLong(value
)
1858 : PyInt_FromLong((long)(value
));
1862 #include <wx/vlbox.h>
1864 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1866 class wxPyVListBox
: public wxVListBox
1868 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1870 wxPyVListBox() : wxVListBox() {}
1872 wxPyVListBox(wxWindow
*parent
,
1873 wxWindowID id
= wxID_ANY
,
1874 const wxPoint
& pos
= wxDefaultPosition
,
1875 const wxSize
& size
= wxDefaultSize
,
1877 const wxString
& name
= wxPyVListBoxNameStr
)
1878 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1881 // Overridable virtuals
1883 // the derived class must implement this function to actually draw the item
1884 // with the given index on the provided DC
1885 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1886 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1889 // the derived class must implement this method to return the height of the
1891 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1892 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1895 // this method may be used to draw separators between the lines; note that
1896 // the rectangle may be modified, typically to deflate it a bit before
1897 // passing to OnDrawItem()
1899 // the base class version doesn't do anything
1900 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1901 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1904 // this method is used to draw the items background and, maybe, a border
1907 // the base class version implements a reasonable default behaviour which
1908 // consists in drawing the selected item with the standard background
1909 // colour and drawing a border around the item if it is either selected or
1911 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1912 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1918 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1920 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1921 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1922 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1923 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1926 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1927 unsigned long cookie
= 0;
1928 int selected
= self
->GetFirstSelected(cookie
);
1929 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1930 PyObject
* tup
= PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1932 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1933 wxPyEndBlockThreads(blocked
);
1936 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1937 int selected
= self
->GetNextSelected(cookie
);
1938 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1939 PyObject
* tup
= PyTuple_New(2);
1940 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1941 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1942 wxPyEndBlockThreads(blocked
);
1946 #include <wx/htmllbox.h>
1949 class wxPyHtmlListBox
: public wxHtmlListBox
1951 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1953 wxPyHtmlListBox() : wxHtmlListBox() {}
1955 wxPyHtmlListBox(wxWindow
*parent
,
1956 wxWindowID id
= wxID_ANY
,
1957 const wxPoint
& pos
= wxDefaultPosition
,
1958 const wxSize
& size
= wxDefaultSize
,
1960 const wxString
& name
= wxPyVListBoxNameStr
)
1961 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1964 // Overridable virtuals
1966 // this method must be implemented in the derived class and should return
1967 // the body (i.e. without <html>) of the HTML for the given item
1968 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1970 // this function may be overridden to decorate HTML returned by OnGetItem()
1971 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1974 // // this method allows to customize the selection appearance: it may be used
1975 // // to specify the colour of the text which normally has the given colour
1976 // // colFg when it is inside the selection
1978 // // by default, the original colour is not used at all and all text has the
1979 // // same (default for this system) colour inside selection
1980 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1982 // // this is the same as GetSelectedTextColour() but allows to customize the
1983 // // background colour -- this is even more rarely used as you can change it
1984 // // globally using SetSelectionBackground()
1985 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1992 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1994 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1995 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2001 #ifndef wxHAS_TASK_BAR_ICON
2002 // implement dummy classes for platforms that don't have it
2004 class wxTaskBarIcon
: public wxEvtHandler
2007 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2011 class wxTaskBarIconEvent
: public wxEvent
2014 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2015 { wxPyRaiseNotImplemented(); }
2016 virtual wxEvent
* Clone() const { return NULL
; }
2017 bool IsOk() const { return false; }
2018 bool IsIconInstalled() const { return false; }
2019 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2020 bool RemoveIcon() { return false; }
2021 bool PopupMenu(wxMenu
*menu
) { return false; }
2025 wxEVT_TASKBAR_MOVE
= 0,
2026 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2027 wxEVT_TASKBAR_LEFT_UP
= 0,
2028 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2029 wxEVT_TASKBAR_RIGHT_UP
= 0,
2030 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2031 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2036 // Otherwise make a class that can virtualize CreatePopupMenu
2037 class wxPyTaskBarIcon
: public wxTaskBarIcon
2039 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2041 wxPyTaskBarIcon() : wxTaskBarIcon()
2044 wxMenu
* CreatePopupMenu() {
2045 wxMenu
*rval
= NULL
;
2047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2048 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2051 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2053 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2058 wxPyEndBlockThreads(blocked
);
2060 rval
= wxTaskBarIcon::CreatePopupMenu();
2067 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2071 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2075 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2076 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2077 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2078 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2079 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2080 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2081 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2083 self
->GetFilenames(arr
);
2084 return wxArrayString2PyList_helper(arr
);
2086 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2088 self
->GetPaths(arr
);
2089 return wxArrayString2PyList_helper(arr
);
2091 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2092 return wxArrayInt2PyList_helper(self
->GetSelections());
2094 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
){
2095 return new wxSingleChoiceDialog(parent
, message
, caption
,
2096 choices
, choices_array
, NULL
, style
, pos
);
2098 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2102 // C++ version of Python aware wxWindow
2103 class wxPyWindow
: public wxWindow
2105 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2107 wxPyWindow() : wxWindow() {}
2108 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2109 const wxPoint
& pos
= wxDefaultPosition
,
2110 const wxSize
& size
= wxDefaultSize
,
2112 const wxString
& name
= wxPyPanelNameStr
)
2113 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2115 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2117 bool DoEraseBackground(wxDC
* dc
) {
2119 return wxWindow::DoEraseBackground(dc
->GetHDC());
2121 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2127 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2128 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2129 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2130 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2132 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2133 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2134 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2136 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2137 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2139 DEC_PYCALLBACK__(InitDialog
);
2140 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2141 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2142 DEC_PYCALLBACK_BOOL_(Validate
);
2144 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2145 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2146 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2148 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2149 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2151 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2152 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2154 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2156 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2161 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2163 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2164 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2165 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2166 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2168 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2169 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2170 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2172 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2173 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2175 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2176 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2177 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2178 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2180 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2181 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2182 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2184 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2185 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2187 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2188 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2190 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2192 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2194 // C++ version of Python aware wxPanel
2195 class wxPyPanel
: public wxPanel
2197 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2199 wxPyPanel() : wxPanel() {}
2200 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2201 const wxPoint
& pos
= wxDefaultPosition
,
2202 const wxSize
& size
= wxDefaultSize
,
2204 const wxString
& name
= wxPyPanelNameStr
)
2205 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2207 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2208 bool DoEraseBackground(wxDC
* dc
) {
2210 return wxWindow::DoEraseBackground(dc
->GetHDC());
2212 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2219 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2220 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2221 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2222 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2224 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2225 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2226 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2228 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2229 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2231 DEC_PYCALLBACK__(InitDialog
);
2232 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2233 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2234 DEC_PYCALLBACK_BOOL_(Validate
);
2236 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2237 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2238 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2240 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2241 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2243 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2244 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2246 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2248 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2253 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2255 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2256 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2257 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2258 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2260 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2261 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2262 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2264 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2265 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2267 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2268 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2269 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2270 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2272 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2273 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2274 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2276 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2277 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2279 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2280 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2282 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2284 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2286 // C++ version of Python aware wxScrolledWindow
2287 class wxPyScrolledWindow
: public wxScrolledWindow
2289 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2291 wxPyScrolledWindow() : wxScrolledWindow() {}
2292 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2293 const wxPoint
& pos
= wxDefaultPosition
,
2294 const wxSize
& size
= wxDefaultSize
,
2296 const wxString
& name
= wxPyPanelNameStr
)
2297 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2299 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2300 bool DoEraseBackground(wxDC
* dc
) {
2302 return wxWindow::DoEraseBackground(dc
->GetHDC());
2304 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2310 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2311 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2312 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2313 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2315 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2316 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2317 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2319 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2320 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2322 DEC_PYCALLBACK__(InitDialog
);
2323 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2324 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2325 DEC_PYCALLBACK_BOOL_(Validate
);
2327 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2328 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2329 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2331 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2332 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2334 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2335 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2337 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2339 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2344 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2346 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2347 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2348 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2349 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2351 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2352 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2353 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2355 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2356 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2358 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2359 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2360 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2361 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2363 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2364 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2365 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2367 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2368 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2370 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2371 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2373 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2375 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2378 #include "wx/wxPython/printfw.h"
2381 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2382 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2383 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2385 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2386 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2387 self
->GetPrivDataLen());
2388 wxPyEndBlockThreads(blocked
);
2391 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2392 if (! PyString_Check(data
)) {
2393 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2394 "Expected string object"));
2398 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2399 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2400 wxPyEndBlockThreads(blocked
);
2404 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2406 // Since this one would be tough and ugly to do with the Macros...
2407 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2408 bool hadErr
= false;
2411 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2412 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2413 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2414 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2417 val
= PyTuple_GetItem(result
, 0);
2418 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2421 val
= PyTuple_GetItem(result
, 1);
2422 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2425 val
= PyTuple_GetItem(result
, 2);
2426 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2429 val
= PyTuple_GetItem(result
, 3);
2430 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2437 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2442 wxPyEndBlockThreads(blocked
);
2444 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2447 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2448 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2452 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2453 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2454 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2455 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2456 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2457 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2458 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2464 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2465 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2466 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2469 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2470 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2473 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2474 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2475 PyObject* win = wxPyMake_wxObject(a,false); \
2476 PyObject* dc = wxPyMake_wxObject(&b,false); \
2477 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2481 wxPyEndBlockThreads(blocked); \
2483 rval = PCLASS::CBNAME(a, b); \
2486 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2487 return PCLASS::CBNAME(a, b); \
2493 class wxPyPrintPreview
: public wxPrintPreview
2495 DECLARE_CLASS(wxPyPrintPreview
)
2497 wxPyPrintPreview(wxPyPrintout
* printout
,
2498 wxPyPrintout
* printoutForPrinting
,
2499 wxPrintDialogData
* data
=NULL
)
2500 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2502 wxPyPrintPreview(wxPyPrintout
* printout
,
2503 wxPyPrintout
* printoutForPrinting
,
2504 wxPrintData
* data
=NULL
)
2505 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2508 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2509 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2510 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2511 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2512 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2513 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2514 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2519 // Stupid renamed classes... Fix this in 2.5...
2520 #if defined(__WXMSW__)
2521 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2522 #elif defined(__WXMAC__)
2523 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2525 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2528 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2529 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2530 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2531 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2532 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2533 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2534 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2537 class wxPyPreviewFrame
: public wxPreviewFrame
2539 DECLARE_CLASS(wxPyPreviewFrame
);
2541 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2542 const wxString
& title
,
2543 const wxPoint
& pos
= wxDefaultPosition
,
2544 const wxSize
& size
= wxDefaultSize
,
2545 long style
= wxDEFAULT_FRAME_STYLE
,
2546 const wxString
& name
= wxPyFrameNameStr
)
2547 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2550 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2551 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2553 DEC_PYCALLBACK_VOID_(Initialize
);
2554 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2555 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2560 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2562 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2563 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2564 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2567 class wxPyPreviewControlBar
: public wxPreviewControlBar
2569 DECLARE_CLASS(wxPyPreviewControlBar
);
2571 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2574 const wxPoint
& pos
= wxDefaultPosition
,
2575 const wxSize
& size
= wxDefaultSize
,
2577 const wxString
& name
= wxPyPanelNameStr
)
2578 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2581 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2583 DEC_PYCALLBACK_VOID_(CreateButtons
);
2584 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2589 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2590 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2591 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2596 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxWindow
*arg1
= (wxWindow
*) 0 ;
2599 int arg2
= (int) (int)-1 ;
2600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2602 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2603 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2604 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2605 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2606 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2610 bool temp6
= false ;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2613 PyObject
* obj2
= 0 ;
2614 PyObject
* obj3
= 0 ;
2615 PyObject
* obj4
= 0 ;
2616 PyObject
* obj5
= 0 ;
2618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2623 if (SWIG_arg_fail(1)) SWIG_fail
;
2626 arg2
= (int const)(SWIG_As_int(obj1
));
2627 if (SWIG_arg_fail(2)) SWIG_fail
;
2633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2644 arg5
= (long)(SWIG_As_long(obj4
));
2645 if (SWIG_arg_fail(5)) SWIG_fail
;
2650 arg6
= wxString_in_helper(obj5
);
2651 if (arg6
== NULL
) SWIG_fail
;
2656 if (!wxPyCheckForApp()) SWIG_fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2678 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
*resultobj
;
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2687 if (!wxPyCheckForApp()) SWIG_fail
;
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 result
= (wxPanel
*)new wxPanel();
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2701 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
*resultobj
;
2703 wxPanel
*arg1
= (wxPanel
*) 0 ;
2704 wxWindow
*arg2
= (wxWindow
*) 0 ;
2705 int arg3
= (int) (int)-1 ;
2706 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2707 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2708 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2709 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2710 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2711 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2712 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2716 bool temp7
= false ;
2717 PyObject
* obj0
= 0 ;
2718 PyObject
* obj1
= 0 ;
2719 PyObject
* obj2
= 0 ;
2720 PyObject
* obj3
= 0 ;
2721 PyObject
* obj4
= 0 ;
2722 PyObject
* obj5
= 0 ;
2723 PyObject
* obj6
= 0 ;
2725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2730 if (SWIG_arg_fail(1)) SWIG_fail
;
2731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2732 if (SWIG_arg_fail(2)) SWIG_fail
;
2735 arg3
= (int const)(SWIG_As_int(obj2
));
2736 if (SWIG_arg_fail(3)) SWIG_fail
;
2742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2753 arg6
= (long)(SWIG_As_long(obj5
));
2754 if (SWIG_arg_fail(6)) SWIG_fail
;
2759 arg7
= wxString_in_helper(obj6
);
2760 if (arg7
== NULL
) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2788 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 wxPanel
*arg1
= (wxPanel
*) 0 ;
2791 PyObject
* obj0
= 0 ;
2793 (char *) "self", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2798 if (SWIG_arg_fail(1)) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 (arg1
)->InitDialog();
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2806 Py_INCREF(Py_None
); resultobj
= Py_None
;
2813 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
*resultobj
;
2815 wxPanel
*arg1
= (wxPanel
*) 0 ;
2816 PyObject
* obj0
= 0 ;
2818 (char *) "self", NULL
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2823 if (SWIG_arg_fail(1)) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 Py_INCREF(Py_None
); resultobj
= Py_None
;
2838 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxPanel
*arg1
= (wxPanel
*) 0 ;
2841 PyObject
* obj0
= 0 ;
2843 (char *) "self", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2848 if (SWIG_arg_fail(1)) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 (arg1
)->SetFocusIgnoringChildren();
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2863 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2866 wxVisualAttributes result
;
2867 PyObject
* obj0
= 0 ;
2869 (char *) "variant", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2875 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2876 if (SWIG_arg_fail(1)) SWIG_fail
;
2880 if (!wxPyCheckForApp()) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2888 wxVisualAttributes
* resultptr
;
2889 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2898 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2901 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2903 return Py_BuildValue((char *)"");
2905 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
*resultobj
;
2907 wxWindow
*arg1
= (wxWindow
*) 0 ;
2908 int arg2
= (int) (int)-1 ;
2909 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2910 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2911 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2912 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2913 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2914 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2915 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2916 wxScrolledWindow
*result
;
2919 bool temp6
= false ;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2922 PyObject
* obj2
= 0 ;
2923 PyObject
* obj3
= 0 ;
2924 PyObject
* obj4
= 0 ;
2925 PyObject
* obj5
= 0 ;
2927 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2932 if (SWIG_arg_fail(1)) SWIG_fail
;
2935 arg2
= (int const)(SWIG_As_int(obj1
));
2936 if (SWIG_arg_fail(2)) SWIG_fail
;
2942 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2948 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2953 arg5
= (long)(SWIG_As_long(obj4
));
2954 if (SWIG_arg_fail(5)) SWIG_fail
;
2959 arg6
= wxString_in_helper(obj5
);
2960 if (arg6
== NULL
) SWIG_fail
;
2965 if (!wxPyCheckForApp()) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2987 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxScrolledWindow
*result
;
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2996 if (!wxPyCheckForApp()) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3010 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3013 wxWindow
*arg2
= (wxWindow
*) 0 ;
3014 int arg3
= (int) (int)-1 ;
3015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3019 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3020 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3025 bool temp7
= false ;
3026 PyObject
* obj0
= 0 ;
3027 PyObject
* obj1
= 0 ;
3028 PyObject
* obj2
= 0 ;
3029 PyObject
* obj3
= 0 ;
3030 PyObject
* obj4
= 0 ;
3031 PyObject
* obj5
= 0 ;
3032 PyObject
* obj6
= 0 ;
3034 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3039 if (SWIG_arg_fail(1)) SWIG_fail
;
3040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3041 if (SWIG_arg_fail(2)) SWIG_fail
;
3044 arg3
= (int const)(SWIG_As_int(obj2
));
3045 if (SWIG_arg_fail(3)) SWIG_fail
;
3051 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3057 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3062 arg6
= (long)(SWIG_As_long(obj5
));
3063 if (SWIG_arg_fail(6)) SWIG_fail
;
3068 arg7
= wxString_in_helper(obj6
);
3069 if (arg7
== NULL
) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3097 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3104 int arg6
= (int) 0 ;
3105 int arg7
= (int) 0 ;
3106 bool arg8
= (bool) false ;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3109 PyObject
* obj2
= 0 ;
3110 PyObject
* obj3
= 0 ;
3111 PyObject
* obj4
= 0 ;
3112 PyObject
* obj5
= 0 ;
3113 PyObject
* obj6
= 0 ;
3114 PyObject
* obj7
= 0 ;
3116 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3121 if (SWIG_arg_fail(1)) SWIG_fail
;
3123 arg2
= (int)(SWIG_As_int(obj1
));
3124 if (SWIG_arg_fail(2)) SWIG_fail
;
3127 arg3
= (int)(SWIG_As_int(obj2
));
3128 if (SWIG_arg_fail(3)) SWIG_fail
;
3131 arg4
= (int)(SWIG_As_int(obj3
));
3132 if (SWIG_arg_fail(4)) SWIG_fail
;
3135 arg5
= (int)(SWIG_As_int(obj4
));
3136 if (SWIG_arg_fail(5)) SWIG_fail
;
3140 arg6
= (int)(SWIG_As_int(obj5
));
3141 if (SWIG_arg_fail(6)) SWIG_fail
;
3146 arg7
= (int)(SWIG_As_int(obj6
));
3147 if (SWIG_arg_fail(7)) SWIG_fail
;
3152 arg8
= (bool)(SWIG_As_bool(obj7
));
3153 if (SWIG_arg_fail(8)) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3163 Py_INCREF(Py_None
); resultobj
= Py_None
;
3170 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3176 PyObject
* obj1
= 0 ;
3177 PyObject
* obj2
= 0 ;
3179 (char *) "self",(char *) "x",(char *) "y", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3184 if (SWIG_arg_fail(1)) SWIG_fail
;
3186 arg2
= (int)(SWIG_As_int(obj1
));
3187 if (SWIG_arg_fail(2)) SWIG_fail
;
3190 arg3
= (int)(SWIG_As_int(obj2
));
3191 if (SWIG_arg_fail(3)) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 (arg1
)->Scroll(arg2
,arg3
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 Py_INCREF(Py_None
); resultobj
= Py_None
;
3207 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3213 PyObject
* obj1
= 0 ;
3215 (char *) "self",(char *) "orient", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3220 if (SWIG_arg_fail(1)) SWIG_fail
;
3222 arg2
= (int)(SWIG_As_int(obj1
));
3223 if (SWIG_arg_fail(2)) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= SWIG_From_int((int)(result
));
3241 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3248 PyObject
* obj2
= 0 ;
3250 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3255 if (SWIG_arg_fail(1)) SWIG_fail
;
3257 arg2
= (int)(SWIG_As_int(obj1
));
3258 if (SWIG_arg_fail(2)) SWIG_fail
;
3261 arg3
= (int)(SWIG_As_int(obj2
));
3262 if (SWIG_arg_fail(3)) SWIG_fail
;
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3271 Py_INCREF(Py_None
); resultobj
= Py_None
;
3278 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3283 PyObject
* obj0
= 0 ;
3284 PyObject
* obj1
= 0 ;
3285 PyObject
* obj2
= 0 ;
3287 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail
;
3294 arg2
= (int)(SWIG_As_int(obj1
));
3295 if (SWIG_arg_fail(2)) SWIG_fail
;
3298 arg3
= (int)(SWIG_As_int(obj2
));
3299 if (SWIG_arg_fail(3)) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 (arg1
)->SetScrollRate(arg2
,arg3
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3318 int *arg2
= (int *) 0 ;
3319 int *arg3
= (int *) 0 ;
3324 PyObject
* obj0
= 0 ;
3326 (char *) "self", NULL
3329 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3330 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3333 if (SWIG_arg_fail(1)) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 Py_INCREF(Py_None
); resultobj
= Py_None
;
3342 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3343 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3344 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3345 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3352 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3359 PyObject
* obj2
= 0 ;
3361 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail
;
3368 arg2
= (bool)(SWIG_As_bool(obj1
));
3369 if (SWIG_arg_fail(2)) SWIG_fail
;
3372 arg3
= (bool)(SWIG_As_bool(obj2
));
3373 if (SWIG_arg_fail(3)) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 (arg1
)->EnableScrolling(arg2
,arg3
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3392 int *arg2
= (int *) 0 ;
3393 int *arg3
= (int *) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3404 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3407 if (SWIG_arg_fail(1)) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3417 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3418 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3419 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3426 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3431 PyObject
* obj0
= 0 ;
3432 PyObject
* obj1
= 0 ;
3433 PyObject
* obj2
= 0 ;
3435 (char *) "self",(char *) "xs",(char *) "ys", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3440 if (SWIG_arg_fail(1)) SWIG_fail
;
3442 arg2
= (double)(SWIG_As_double(obj1
));
3443 if (SWIG_arg_fail(2)) SWIG_fail
;
3446 arg3
= (double)(SWIG_As_double(obj2
));
3447 if (SWIG_arg_fail(3)) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 (arg1
)->SetScale(arg2
,arg3
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 Py_INCREF(Py_None
); resultobj
= Py_None
;
3463 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3469 (char *) "self", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3483 resultobj
= SWIG_From_double((double)(result
));
3491 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3497 (char *) "self", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3502 if (SWIG_arg_fail(1)) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= SWIG_From_double((double)(result
));
3519 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3520 PyObject
*resultobj
;
3521 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail
;
3533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 wxPoint
* resultptr
;
3544 resultptr
= new wxPoint((wxPoint
&)(result
));
3545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3553 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3554 PyObject
*resultobj
;
3555 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3558 int *arg4
= (int *) 0 ;
3559 int *arg5
= (int *) 0 ;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3566 PyObject
* obj2
= 0 ;
3568 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3569 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3570 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3572 if (SWIG_arg_fail(1)) SWIG_fail
;
3574 arg2
= (int)(SWIG_As_int(obj1
));
3575 if (SWIG_arg_fail(2)) SWIG_fail
;
3578 arg3
= (int)(SWIG_As_int(obj2
));
3579 if (SWIG_arg_fail(3)) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 Py_INCREF(Py_None
); resultobj
= Py_None
;
3589 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3590 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3591 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3592 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3599 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3604 argc
= PyObject_Length(args
);
3605 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3606 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3612 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3621 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3624 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3632 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3640 _v
= SWIG_Check_int(argv
[1]);
3642 _v
= SWIG_Check_int(argv
[2]);
3644 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3650 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3655 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3656 PyObject
*resultobj
;
3657 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3664 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail
;
3669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3679 wxPoint
* resultptr
;
3680 resultptr
= new wxPoint((wxPoint
&)(result
));
3681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3689 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3690 PyObject
*resultobj
;
3691 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3694 int *arg4
= (int *) 0 ;
3695 int *arg5
= (int *) 0 ;
3700 PyObject
* obj0
= 0 ;
3701 PyObject
* obj1
= 0 ;
3702 PyObject
* obj2
= 0 ;
3704 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3705 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3706 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3708 if (SWIG_arg_fail(1)) SWIG_fail
;
3710 arg2
= (int)(SWIG_As_int(obj1
));
3711 if (SWIG_arg_fail(2)) SWIG_fail
;
3714 arg3
= (int)(SWIG_As_int(obj2
));
3715 if (SWIG_arg_fail(3)) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3726 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3727 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3728 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3735 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3740 argc
= PyObject_Length(args
);
3741 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3742 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3748 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3757 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3760 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3768 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3776 _v
= SWIG_Check_int(argv
[1]);
3778 _v
= SWIG_Check_int(argv
[2]);
3780 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3786 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3791 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3796 (char *) "self", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3801 if (SWIG_arg_fail(1)) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 (arg1
)->AdjustScrollbars();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 Py_INCREF(Py_None
); resultobj
= Py_None
;
3816 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3819 wxScrollWinEvent
*arg2
= 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "event", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3829 if (SWIG_arg_fail(1)) SWIG_fail
;
3831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3832 if (SWIG_arg_fail(2)) SWIG_fail
;
3834 SWIG_null_ref("wxScrollWinEvent");
3836 if (SWIG_arg_fail(2)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= SWIG_From_int((int)(result
));
3854 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3857 wxWindow
*arg2
= (wxWindow
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3861 (char *) "self",(char *) "target", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3866 if (SWIG_arg_fail(1)) SWIG_fail
;
3867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3868 if (SWIG_arg_fail(2)) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 (arg1
)->SetTargetWindow(arg2
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "self", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3894 if (SWIG_arg_fail(1)) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3903 resultobj
= wxPyMake_wxObject(result
, 0);
3911 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3919 (char *) "self",(char *) "rect", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3924 if (SWIG_arg_fail(1)) SWIG_fail
;
3927 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3943 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "self", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3964 resultptr
= new wxRect((wxRect
&)(result
));
3965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3973 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3977 PyObject
* obj0
= 0 ;
3978 PyObject
* obj1
= 0 ;
3980 (char *) "self",(char *) "dc", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3985 if (SWIG_arg_fail(1)) SWIG_fail
;
3987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3988 if (SWIG_arg_fail(2)) SWIG_fail
;
3990 SWIG_null_ref("wxDC");
3992 if (SWIG_arg_fail(2)) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 (arg1
)->DoPrepareDC(*arg2
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4011 wxVisualAttributes result
;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "variant", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4020 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4021 if (SWIG_arg_fail(1)) SWIG_fail
;
4025 if (!wxPyCheckForApp()) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4033 wxVisualAttributes
* resultptr
;
4034 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4043 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4046 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4048 return Py_BuildValue((char *)"");
4050 static int _wrap_FrameNameStr_set(PyObject
*) {
4051 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4056 static PyObject
*_wrap_FrameNameStr_get(void) {
4061 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4063 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4070 static int _wrap_DialogNameStr_set(PyObject
*) {
4071 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4076 static PyObject
*_wrap_DialogNameStr_get(void) {
4081 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4083 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4090 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4091 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4096 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4101 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4103 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4110 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4111 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4116 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4121 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4123 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4130 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4133 bool arg2
= (bool) true ;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4137 (char *) "self",(char *) "maximize", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4142 if (SWIG_arg_fail(1)) SWIG_fail
;
4145 arg2
= (bool)(SWIG_As_bool(obj1
));
4146 if (SWIG_arg_fail(2)) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 (arg1
)->Maximize(arg2
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 Py_INCREF(Py_None
); resultobj
= Py_None
;
4163 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "self", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4173 if (SWIG_arg_fail(1)) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 Py_INCREF(Py_None
); resultobj
= Py_None
;
4188 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4191 bool arg2
= (bool) true ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4195 (char *) "self",(char *) "iconize", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4200 if (SWIG_arg_fail(1)) SWIG_fail
;
4203 arg2
= (bool)(SWIG_As_bool(obj1
));
4204 if (SWIG_arg_fail(2)) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 (arg1
)->Iconize(arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 Py_INCREF(Py_None
); resultobj
= Py_None
;
4221 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4225 PyObject
* obj0
= 0 ;
4227 (char *) "self", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4232 if (SWIG_arg_fail(1)) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4249 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4253 PyObject
* obj0
= 0 ;
4255 (char *) "self", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4260 if (SWIG_arg_fail(1)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4277 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4283 (char *) "self", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4298 resultptr
= new wxIcon((wxIcon
&)(result
));
4299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4307 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4314 (char *) "self",(char *) "icon", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail
;
4324 SWIG_null_ref("wxIcon");
4326 if (SWIG_arg_fail(2)) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4345 wxIconBundle
*arg2
= 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4349 (char *) "self",(char *) "icons", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail
;
4356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4357 if (SWIG_arg_fail(2)) SWIG_fail
;
4359 SWIG_null_ref("wxIconBundle");
4361 if (SWIG_arg_fail(2)) SWIG_fail
;
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 Py_INCREF(Py_None
); resultobj
= Py_None
;
4377 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4381 long arg3
= (long) wxFULLSCREEN_ALL
;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4385 PyObject
* obj2
= 0 ;
4387 (char *) "self",(char *) "show",(char *) "style", NULL
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4392 if (SWIG_arg_fail(1)) SWIG_fail
;
4394 arg2
= (bool)(SWIG_As_bool(obj1
));
4395 if (SWIG_arg_fail(2)) SWIG_fail
;
4399 arg3
= (long)(SWIG_As_long(obj2
));
4400 if (SWIG_arg_fail(3)) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4419 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4425 (char *) "self", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4430 if (SWIG_arg_fail(1)) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4447 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4450 wxString
*arg2
= 0 ;
4451 bool temp2
= false ;
4452 PyObject
* obj0
= 0 ;
4453 PyObject
* obj1
= 0 ;
4455 (char *) "self",(char *) "title", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4460 if (SWIG_arg_fail(1)) SWIG_fail
;
4462 arg2
= wxString_in_helper(obj1
);
4463 if (arg2
== NULL
) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetTitle((wxString
const &)*arg2
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4492 PyObject
* obj0
= 0 ;
4494 (char *) "self", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4499 if (SWIG_arg_fail(1)) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4520 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4523 wxRegion
*arg2
= 0 ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4528 (char *) "self",(char *) "region", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4533 if (SWIG_arg_fail(1)) SWIG_fail
;
4535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4536 if (SWIG_arg_fail(2)) SWIG_fail
;
4538 SWIG_null_ref("wxRegion");
4540 if (SWIG_arg_fail(2)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4561 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4565 (char *) "self",(char *) "flags", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4570 if (SWIG_arg_fail(1)) SWIG_fail
;
4573 arg2
= (int)(SWIG_As_int(obj1
));
4574 if (SWIG_arg_fail(2)) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 (arg1
)->RequestUserAttention(arg2
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 Py_INCREF(Py_None
); resultobj
= Py_None
;
4591 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4595 PyObject
* obj0
= 0 ;
4597 (char *) "self", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4602 if (SWIG_arg_fail(1)) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (bool)(arg1
)->IsActive();
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4619 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4624 PyObject
* obj1
= 0 ;
4626 (char *) "self",(char *) "on", NULL
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4631 if (SWIG_arg_fail(1)) SWIG_fail
;
4633 arg2
= (bool)(SWIG_As_bool(obj1
));
4634 if (SWIG_arg_fail(2)) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 Py_INCREF(Py_None
); resultobj
= Py_None
;
4650 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4656 (char *) "self", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4661 if (SWIG_arg_fail(1)) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4678 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4681 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4683 return Py_BuildValue((char *)"");
4685 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxWindow
*arg1
= (wxWindow
*) 0 ;
4688 int arg2
= (int) (int)-1 ;
4689 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4690 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4691 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4692 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4693 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4694 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4695 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4696 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4697 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4699 bool temp3
= false ;
4702 bool temp7
= false ;
4703 PyObject
* obj0
= 0 ;
4704 PyObject
* obj1
= 0 ;
4705 PyObject
* obj2
= 0 ;
4706 PyObject
* obj3
= 0 ;
4707 PyObject
* obj4
= 0 ;
4708 PyObject
* obj5
= 0 ;
4709 PyObject
* obj6
= 0 ;
4711 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4716 if (SWIG_arg_fail(1)) SWIG_fail
;
4719 arg2
= (int const)(SWIG_As_int(obj1
));
4720 if (SWIG_arg_fail(2)) SWIG_fail
;
4725 arg3
= wxString_in_helper(obj2
);
4726 if (arg3
== NULL
) SWIG_fail
;
4733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4744 arg6
= (long)(SWIG_As_long(obj5
));
4745 if (SWIG_arg_fail(6)) SWIG_fail
;
4750 arg7
= wxString_in_helper(obj6
);
4751 if (arg7
== NULL
) SWIG_fail
;
4756 if (!wxPyCheckForApp()) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4786 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4795 if (!wxPyCheckForApp()) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (wxFrame
*)new wxFrame();
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4809 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxFrame
*arg1
= (wxFrame
*) 0 ;
4812 wxWindow
*arg2
= (wxWindow
*) 0 ;
4813 int arg3
= (int) (int)-1 ;
4814 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4815 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4816 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4817 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4818 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4819 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4820 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4821 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4822 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4824 bool temp4
= false ;
4827 bool temp8
= false ;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4830 PyObject
* obj2
= 0 ;
4831 PyObject
* obj3
= 0 ;
4832 PyObject
* obj4
= 0 ;
4833 PyObject
* obj5
= 0 ;
4834 PyObject
* obj6
= 0 ;
4835 PyObject
* obj7
= 0 ;
4837 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4842 if (SWIG_arg_fail(1)) SWIG_fail
;
4843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4844 if (SWIG_arg_fail(2)) SWIG_fail
;
4847 arg3
= (int const)(SWIG_As_int(obj2
));
4848 if (SWIG_arg_fail(3)) SWIG_fail
;
4853 arg4
= wxString_in_helper(obj3
);
4854 if (arg4
== NULL
) SWIG_fail
;
4861 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4867 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4872 arg7
= (long)(SWIG_As_long(obj6
));
4873 if (SWIG_arg_fail(7)) SWIG_fail
;
4878 arg8
= wxString_in_helper(obj7
);
4879 if (arg8
== NULL
) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4915 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxFrame
*arg1
= (wxFrame
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4921 (char *) "self", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4926 if (SWIG_arg_fail(1)) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4935 wxPoint
* resultptr
;
4936 resultptr
= new wxPoint((wxPoint
&)(result
));
4937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4945 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxFrame
*arg1
= (wxFrame
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->SendSizeEvent();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxFrame
*arg1
= (wxFrame
*) 0 ;
4973 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4977 (char *) "self",(char *) "menubar", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail
;
4983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4984 if (SWIG_arg_fail(2)) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 (arg1
)->SetMenuBar(arg2
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 Py_INCREF(Py_None
); resultobj
= Py_None
;
4999 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxFrame
*arg1
= (wxFrame
*) 0 ;
5003 PyObject
* obj0
= 0 ;
5005 (char *) "self", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5010 if (SWIG_arg_fail(1)) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= wxPyMake_wxObject(result
, 0);
5027 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxFrame
*arg1
= (wxFrame
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5035 (char *) "self",(char *) "winid", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail
;
5042 arg2
= (int)(SWIG_As_int(obj1
));
5043 if (SWIG_arg_fail(2)) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5061 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxFrame
*arg1
= (wxFrame
*) 0 ;
5064 int arg2
= (int) 1 ;
5065 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5066 int arg4
= (int) 0 ;
5067 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5068 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5069 wxStatusBar
*result
;
5070 bool temp5
= false ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 PyObject
* obj2
= 0 ;
5074 PyObject
* obj3
= 0 ;
5075 PyObject
* obj4
= 0 ;
5077 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail
;
5085 arg2
= (int)(SWIG_As_int(obj1
));
5086 if (SWIG_arg_fail(2)) SWIG_fail
;
5091 arg3
= (long)(SWIG_As_long(obj2
));
5092 if (SWIG_arg_fail(3)) SWIG_fail
;
5097 arg4
= (int)(SWIG_As_int(obj3
));
5098 if (SWIG_arg_fail(4)) SWIG_fail
;
5103 arg5
= wxString_in_helper(obj4
);
5104 if (arg5
== NULL
) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= wxPyMake_wxObject(result
, 0);
5132 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxFrame
*arg1
= (wxFrame
*) 0 ;
5135 wxStatusBar
*result
;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "self", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5152 resultobj
= wxPyMake_wxObject(result
, 0);
5160 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxFrame
*arg1
= (wxFrame
*) 0 ;
5163 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5167 (char *) "self",(char *) "statBar", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail
;
5173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5174 if (SWIG_arg_fail(2)) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 (arg1
)->SetStatusBar(arg2
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxFrame
*arg1
= (wxFrame
*) 0 ;
5192 wxString
*arg2
= 0 ;
5193 int arg3
= (int) 0 ;
5194 bool temp2
= false ;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5197 PyObject
* obj2
= 0 ;
5199 (char *) "self",(char *) "text",(char *) "number", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5204 if (SWIG_arg_fail(1)) SWIG_fail
;
5206 arg2
= wxString_in_helper(obj1
);
5207 if (arg2
== NULL
) SWIG_fail
;
5212 arg3
= (int)(SWIG_As_int(obj2
));
5213 if (SWIG_arg_fail(3)) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5238 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxFrame
*arg1
= (wxFrame
*) 0 ;
5242 int *arg3
= (int *) 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "widths", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5251 if (SWIG_arg_fail(1)) SWIG_fail
;
5253 arg2
= PyList_Size(obj1
);
5254 arg3
= int_LIST_helper(obj1
);
5255 if (arg3
== NULL
) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5266 if (arg3
) delete [] arg3
;
5271 if (arg3
) delete [] arg3
;
5277 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxFrame
*arg1
= (wxFrame
*) 0 ;
5280 wxString
*arg2
= 0 ;
5281 int arg3
= (int) 0 ;
5282 bool temp2
= false ;
5283 PyObject
* obj0
= 0 ;
5284 PyObject
* obj1
= 0 ;
5285 PyObject
* obj2
= 0 ;
5287 (char *) "self",(char *) "text",(char *) "number", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5292 if (SWIG_arg_fail(1)) SWIG_fail
;
5294 arg2
= wxString_in_helper(obj1
);
5295 if (arg2
== NULL
) SWIG_fail
;
5300 arg3
= (int)(SWIG_As_int(obj2
));
5301 if (SWIG_arg_fail(3)) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 Py_INCREF(Py_None
); resultobj
= Py_None
;
5326 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxFrame
*arg1
= (wxFrame
*) 0 ;
5329 int arg2
= (int) 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5333 (char *) "self",(char *) "number", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5338 if (SWIG_arg_fail(1)) SWIG_fail
;
5341 arg2
= (int)(SWIG_As_int(obj1
));
5342 if (SWIG_arg_fail(2)) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 (arg1
)->PopStatusText(arg2
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 Py_INCREF(Py_None
); resultobj
= Py_None
;
5359 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxFrame
*arg1
= (wxFrame
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5366 (char *) "self",(char *) "n", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5371 if (SWIG_arg_fail(1)) SWIG_fail
;
5373 arg2
= (int)(SWIG_As_int(obj1
));
5374 if (SWIG_arg_fail(2)) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->SetStatusBarPane(arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxFrame
*arg1
= (wxFrame
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5396 (char *) "self", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5401 if (SWIG_arg_fail(1)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_From_int((int)(result
));
5418 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxFrame
*arg1
= (wxFrame
*) 0 ;
5421 long arg2
= (long) -1 ;
5422 int arg3
= (int) -1 ;
5423 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5424 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5426 bool temp4
= false ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5429 PyObject
* obj2
= 0 ;
5430 PyObject
* obj3
= 0 ;
5432 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail
;
5440 arg2
= (long)(SWIG_As_long(obj1
));
5441 if (SWIG_arg_fail(2)) SWIG_fail
;
5446 arg3
= (int)(SWIG_As_int(obj2
));
5447 if (SWIG_arg_fail(3)) SWIG_fail
;
5452 arg4
= wxString_in_helper(obj3
);
5453 if (arg4
== NULL
) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= wxPyMake_wxObject(result
, 0);
5481 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxFrame
*arg1
= (wxFrame
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5487 (char *) "self", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= wxPyMake_wxObject(result
, 0);
5509 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxFrame
*arg1
= (wxFrame
*) 0 ;
5512 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5516 (char *) "self",(char *) "toolbar", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail
;
5522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5523 if (SWIG_arg_fail(2)) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 (arg1
)->SetToolBar(arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxFrame
*arg1
= (wxFrame
*) 0 ;
5541 wxString
*arg2
= 0 ;
5543 bool temp2
= false ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5546 PyObject
* obj2
= 0 ;
5548 (char *) "self",(char *) "text",(char *) "show", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5553 if (SWIG_arg_fail(1)) SWIG_fail
;
5555 arg2
= wxString_in_helper(obj1
);
5556 if (arg2
== NULL
) SWIG_fail
;
5560 arg3
= (bool)(SWIG_As_bool(obj2
));
5561 if (SWIG_arg_fail(3)) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 Py_INCREF(Py_None
); resultobj
= Py_None
;
5585 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5587 wxFrame
*arg1
= (wxFrame
*) 0 ;
5588 wxMenu
*arg2
= (wxMenu
*) NULL
;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5592 (char *) "self",(char *) "menu", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5597 if (SWIG_arg_fail(1)) SWIG_fail
;
5599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5600 if (SWIG_arg_fail(2)) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->DoMenuUpdates(arg2
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5616 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5619 wxVisualAttributes result
;
5620 PyObject
* obj0
= 0 ;
5622 (char *) "variant", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5628 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5629 if (SWIG_arg_fail(1)) SWIG_fail
;
5633 if (!wxPyCheckForApp()) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 wxVisualAttributes
* resultptr
;
5642 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5651 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5654 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5656 return Py_BuildValue((char *)"");
5658 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxWindow
*arg1
= (wxWindow
*) 0 ;
5661 int arg2
= (int) (int)-1 ;
5662 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5663 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5668 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5669 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5670 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5672 bool temp3
= false ;
5675 bool temp7
= false ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5678 PyObject
* obj2
= 0 ;
5679 PyObject
* obj3
= 0 ;
5680 PyObject
* obj4
= 0 ;
5681 PyObject
* obj5
= 0 ;
5682 PyObject
* obj6
= 0 ;
5684 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail
;
5692 arg2
= (int const)(SWIG_As_int(obj1
));
5693 if (SWIG_arg_fail(2)) SWIG_fail
;
5698 arg3
= wxString_in_helper(obj2
);
5699 if (arg3
== NULL
) SWIG_fail
;
5706 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5712 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5717 arg6
= (long)(SWIG_As_long(obj5
));
5718 if (SWIG_arg_fail(6)) SWIG_fail
;
5723 arg7
= wxString_in_helper(obj6
);
5724 if (arg7
== NULL
) SWIG_fail
;
5729 if (!wxPyCheckForApp()) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5759 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5768 if (!wxPyCheckForApp()) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (wxDialog
*)new wxDialog();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5782 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxDialog
*arg1
= (wxDialog
*) 0 ;
5785 wxWindow
*arg2
= (wxWindow
*) 0 ;
5786 int arg3
= (int) (int)-1 ;
5787 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5788 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5789 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5790 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5791 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5792 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5793 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5794 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5795 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5797 bool temp4
= false ;
5800 bool temp8
= false ;
5801 PyObject
* obj0
= 0 ;
5802 PyObject
* obj1
= 0 ;
5803 PyObject
* obj2
= 0 ;
5804 PyObject
* obj3
= 0 ;
5805 PyObject
* obj4
= 0 ;
5806 PyObject
* obj5
= 0 ;
5807 PyObject
* obj6
= 0 ;
5808 PyObject
* obj7
= 0 ;
5810 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5815 if (SWIG_arg_fail(1)) SWIG_fail
;
5816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5817 if (SWIG_arg_fail(2)) SWIG_fail
;
5820 arg3
= (int const)(SWIG_As_int(obj2
));
5821 if (SWIG_arg_fail(3)) SWIG_fail
;
5826 arg4
= wxString_in_helper(obj3
);
5827 if (arg4
== NULL
) SWIG_fail
;
5834 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5840 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5845 arg7
= (long)(SWIG_As_long(obj6
));
5846 if (SWIG_arg_fail(7)) SWIG_fail
;
5851 arg8
= wxString_in_helper(obj7
);
5852 if (arg8
== NULL
) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5888 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxDialog
*arg1
= (wxDialog
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5895 (char *) "self",(char *) "returnCode", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail
;
5902 arg2
= (int)(SWIG_As_int(obj1
));
5903 if (SWIG_arg_fail(2)) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 (arg1
)->SetReturnCode(arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 Py_INCREF(Py_None
); resultobj
= Py_None
;
5919 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxDialog
*arg1
= (wxDialog
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5925 (char *) "self", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_From_int((int)(result
));
5947 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxDialog
*arg1
= (wxDialog
*) 0 ;
5950 wxString
*arg2
= 0 ;
5952 bool temp2
= false ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5956 (char *) "self",(char *) "message", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5961 if (SWIG_arg_fail(1)) SWIG_fail
;
5963 arg2
= wxString_in_helper(obj1
);
5964 if (arg2
== NULL
) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= wxPyMake_wxObject(result
, 0);
5991 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxDialog
*arg1
= (wxDialog
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5999 (char *) "self",(char *) "flags", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail
;
6006 arg2
= (long)(SWIG_As_long(obj1
));
6007 if (SWIG_arg_fail(2)) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= wxPyMake_wxObject(result
, 0);
6025 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxDialog
*arg1
= (wxDialog
*) 0 ;
6029 wxStdDialogButtonSizer
*result
;
6030 PyObject
* obj0
= 0 ;
6031 PyObject
* obj1
= 0 ;
6033 (char *) "self",(char *) "flags", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6038 if (SWIG_arg_fail(1)) SWIG_fail
;
6040 arg2
= (long)(SWIG_As_long(obj1
));
6041 if (SWIG_arg_fail(2)) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6057 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxDialog
*arg1
= (wxDialog
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6068 if (SWIG_arg_fail(1)) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxDialog
*arg1
= (wxDialog
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6096 if (SWIG_arg_fail(1)) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (int)(arg1
)->ShowModal();
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_From_int((int)(result
));
6113 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxDialog
*arg1
= (wxDialog
*) 0 ;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6120 (char *) "self",(char *) "retCode", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6125 if (SWIG_arg_fail(1)) SWIG_fail
;
6127 arg2
= (int)(SWIG_As_int(obj1
));
6128 if (SWIG_arg_fail(2)) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 (arg1
)->EndModal(arg2
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 Py_INCREF(Py_None
); resultobj
= Py_None
;
6144 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6147 wxVisualAttributes result
;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "variant", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6156 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6157 if (SWIG_arg_fail(1)) SWIG_fail
;
6161 if (!wxPyCheckForApp()) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6169 wxVisualAttributes
* resultptr
;
6170 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6179 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6182 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6184 return Py_BuildValue((char *)"");
6186 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxWindow
*arg1
= (wxWindow
*) 0 ;
6189 int arg2
= (int) (int)-1 ;
6190 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6191 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6192 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6193 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6194 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6195 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6196 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6197 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6198 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6199 wxMiniFrame
*result
;
6200 bool temp3
= false ;
6203 bool temp7
= false ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6207 PyObject
* obj3
= 0 ;
6208 PyObject
* obj4
= 0 ;
6209 PyObject
* obj5
= 0 ;
6210 PyObject
* obj6
= 0 ;
6212 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6217 if (SWIG_arg_fail(1)) SWIG_fail
;
6220 arg2
= (int const)(SWIG_As_int(obj1
));
6221 if (SWIG_arg_fail(2)) SWIG_fail
;
6226 arg3
= wxString_in_helper(obj2
);
6227 if (arg3
== NULL
) SWIG_fail
;
6234 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6240 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6245 arg6
= (long)(SWIG_As_long(obj5
));
6246 if (SWIG_arg_fail(6)) SWIG_fail
;
6251 arg7
= wxString_in_helper(obj6
);
6252 if (arg7
== NULL
) SWIG_fail
;
6257 if (!wxPyCheckForApp()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6287 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxMiniFrame
*result
;
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6296 if (!wxPyCheckForApp()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (wxMiniFrame
*)new wxMiniFrame();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6310 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6313 wxWindow
*arg2
= (wxWindow
*) 0 ;
6314 int arg3
= (int) (int)-1 ;
6315 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6316 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6321 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6322 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6325 bool temp4
= false ;
6328 bool temp8
= false ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 PyObject
* obj2
= 0 ;
6332 PyObject
* obj3
= 0 ;
6333 PyObject
* obj4
= 0 ;
6334 PyObject
* obj5
= 0 ;
6335 PyObject
* obj6
= 0 ;
6336 PyObject
* obj7
= 0 ;
6338 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6343 if (SWIG_arg_fail(1)) SWIG_fail
;
6344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6345 if (SWIG_arg_fail(2)) SWIG_fail
;
6348 arg3
= (int const)(SWIG_As_int(obj2
));
6349 if (SWIG_arg_fail(3)) SWIG_fail
;
6354 arg4
= wxString_in_helper(obj3
);
6355 if (arg4
== NULL
) SWIG_fail
;
6362 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6368 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6373 arg7
= (long)(SWIG_As_long(obj6
));
6374 if (SWIG_arg_fail(7)) SWIG_fail
;
6379 arg8
= wxString_in_helper(obj7
);
6380 if (arg8
== NULL
) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6416 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6419 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6421 return Py_BuildValue((char *)"");
6423 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxBitmap
*arg1
= 0 ;
6426 wxWindow
*arg2
= (wxWindow
*) 0 ;
6428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6432 long arg6
= (long) wxNO_BORDER
;
6433 wxSplashScreenWindow
*result
;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6438 PyObject
* obj2
= 0 ;
6439 PyObject
* obj3
= 0 ;
6440 PyObject
* obj4
= 0 ;
6441 PyObject
* obj5
= 0 ;
6443 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6449 if (SWIG_arg_fail(1)) SWIG_fail
;
6451 SWIG_null_ref("wxBitmap");
6453 if (SWIG_arg_fail(1)) SWIG_fail
;
6455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6456 if (SWIG_arg_fail(2)) SWIG_fail
;
6458 arg3
= (int)(SWIG_As_int(obj2
));
6459 if (SWIG_arg_fail(3)) SWIG_fail
;
6464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6475 arg6
= (long)(SWIG_As_long(obj5
));
6476 if (SWIG_arg_fail(6)) SWIG_fail
;
6480 if (!wxPyCheckForApp()) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6494 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6497 wxBitmap
*arg2
= 0 ;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6501 (char *) "self",(char *) "bitmap", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6506 if (SWIG_arg_fail(1)) SWIG_fail
;
6508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6509 if (SWIG_arg_fail(2)) SWIG_fail
;
6511 SWIG_null_ref("wxBitmap");
6513 if (SWIG_arg_fail(2)) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6533 PyObject
* obj0
= 0 ;
6535 (char *) "self", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6540 if (SWIG_arg_fail(1)) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6545 result
= (wxBitmap
*) &_result_ref
;
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 wxBitmap
* resultptr
= new wxBitmap(*result
);
6553 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6561 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6564 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6566 return Py_BuildValue((char *)"");
6568 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxBitmap
*arg1
= 0 ;
6573 wxWindow
*arg4
= (wxWindow
*) 0 ;
6574 int arg5
= (int) -1 ;
6575 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6576 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6577 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6578 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6579 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6580 wxSplashScreen
*result
;
6583 PyObject
* obj0
= 0 ;
6584 PyObject
* obj1
= 0 ;
6585 PyObject
* obj2
= 0 ;
6586 PyObject
* obj3
= 0 ;
6587 PyObject
* obj4
= 0 ;
6588 PyObject
* obj5
= 0 ;
6589 PyObject
* obj6
= 0 ;
6590 PyObject
* obj7
= 0 ;
6592 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6598 if (SWIG_arg_fail(1)) SWIG_fail
;
6600 SWIG_null_ref("wxBitmap");
6602 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 arg2
= (long)(SWIG_As_long(obj1
));
6606 if (SWIG_arg_fail(2)) SWIG_fail
;
6609 arg3
= (int)(SWIG_As_int(obj2
));
6610 if (SWIG_arg_fail(3)) SWIG_fail
;
6612 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6613 if (SWIG_arg_fail(4)) SWIG_fail
;
6616 arg5
= (int)(SWIG_As_int(obj4
));
6617 if (SWIG_arg_fail(5)) SWIG_fail
;
6623 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6629 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6634 arg8
= (long)(SWIG_As_long(obj7
));
6635 if (SWIG_arg_fail(8)) SWIG_fail
;
6639 if (!wxPyCheckForApp()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6653 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6659 (char *) "self", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= SWIG_From_long((long)(result
));
6681 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6684 wxSplashScreenWindow
*result
;
6685 PyObject
* obj0
= 0 ;
6687 (char *) "self", NULL
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6692 if (SWIG_arg_fail(1)) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6707 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6713 (char *) "self", NULL
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6718 if (SWIG_arg_fail(1)) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= SWIG_From_int((int)(result
));
6735 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6738 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6740 return Py_BuildValue((char *)"");
6742 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
;
6744 wxWindow
*arg1
= (wxWindow
*) 0 ;
6745 int arg2
= (int) -1 ;
6746 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6747 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6748 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6749 wxStatusBar
*result
;
6750 bool temp4
= false ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 PyObject
* obj2
= 0 ;
6754 PyObject
* obj3
= 0 ;
6756 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6761 if (SWIG_arg_fail(1)) SWIG_fail
;
6764 arg2
= (int)(SWIG_As_int(obj1
));
6765 if (SWIG_arg_fail(2)) SWIG_fail
;
6770 arg3
= (long)(SWIG_As_long(obj2
));
6771 if (SWIG_arg_fail(3)) SWIG_fail
;
6776 arg4
= wxString_in_helper(obj3
);
6777 if (arg4
== NULL
) SWIG_fail
;
6782 if (!wxPyCheckForApp()) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6804 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxStatusBar
*result
;
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6813 if (!wxPyCheckForApp()) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (wxStatusBar
*)new wxStatusBar();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6827 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6830 wxWindow
*arg2
= (wxWindow
*) 0 ;
6831 int arg3
= (int) -1 ;
6832 long arg4
= (long) wxST_SIZEGRIP
;
6833 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6834 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6836 bool temp5
= false ;
6837 PyObject
* obj0
= 0 ;
6838 PyObject
* obj1
= 0 ;
6839 PyObject
* obj2
= 0 ;
6840 PyObject
* obj3
= 0 ;
6841 PyObject
* obj4
= 0 ;
6843 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6848 if (SWIG_arg_fail(1)) SWIG_fail
;
6849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6850 if (SWIG_arg_fail(2)) SWIG_fail
;
6853 arg3
= (int)(SWIG_As_int(obj2
));
6854 if (SWIG_arg_fail(3)) SWIG_fail
;
6859 arg4
= (long)(SWIG_As_long(obj3
));
6860 if (SWIG_arg_fail(4)) SWIG_fail
;
6865 arg5
= wxString_in_helper(obj4
);
6866 if (arg5
== NULL
) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6894 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6897 int arg2
= (int) 1 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "number", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6906 if (SWIG_arg_fail(1)) SWIG_fail
;
6909 arg2
= (int)(SWIG_As_int(obj1
));
6910 if (SWIG_arg_fail(2)) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 (arg1
)->SetFieldsCount(arg2
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 Py_INCREF(Py_None
); resultobj
= Py_None
;
6927 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "self", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= SWIG_From_int((int)(result
));
6955 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6958 wxString
*arg2
= 0 ;
6959 int arg3
= (int) 0 ;
6960 bool temp2
= false ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6963 PyObject
* obj2
= 0 ;
6965 (char *) "self",(char *) "text",(char *) "number", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6970 if (SWIG_arg_fail(1)) SWIG_fail
;
6972 arg2
= wxString_in_helper(obj1
);
6973 if (arg2
== NULL
) SWIG_fail
;
6978 arg3
= (int)(SWIG_As_int(obj2
));
6979 if (SWIG_arg_fail(3)) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 Py_INCREF(Py_None
); resultobj
= Py_None
;
7004 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7007 int arg2
= (int) 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7012 (char *) "self",(char *) "number", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail
;
7020 arg2
= (int)(SWIG_As_int(obj1
));
7021 if (SWIG_arg_fail(2)) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7044 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7047 wxString
*arg2
= 0 ;
7048 int arg3
= (int) 0 ;
7049 bool temp2
= false ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 PyObject
* obj2
= 0 ;
7054 (char *) "self",(char *) "text",(char *) "number", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail
;
7061 arg2
= wxString_in_helper(obj1
);
7062 if (arg2
== NULL
) SWIG_fail
;
7067 arg3
= (int)(SWIG_As_int(obj2
));
7068 if (SWIG_arg_fail(3)) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 Py_INCREF(Py_None
); resultobj
= Py_None
;
7093 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7096 int arg2
= (int) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "number", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail
;
7108 arg2
= (int)(SWIG_As_int(obj1
));
7109 if (SWIG_arg_fail(2)) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 (arg1
)->PopStatusText(arg2
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 Py_INCREF(Py_None
); resultobj
= Py_None
;
7126 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7130 int *arg3
= (int *) 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7134 (char *) "self",(char *) "widths", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7139 if (SWIG_arg_fail(1)) SWIG_fail
;
7141 arg2
= PyList_Size(obj1
);
7142 arg3
= int_LIST_helper(obj1
);
7143 if (arg3
== NULL
) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 Py_INCREF(Py_None
); resultobj
= Py_None
;
7154 if (arg3
) delete [] arg3
;
7159 if (arg3
) delete [] arg3
;
7165 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7169 int *arg3
= (int *) 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7173 (char *) "self",(char *) "styles", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7178 if (SWIG_arg_fail(1)) SWIG_fail
;
7180 arg2
= PyList_Size(obj1
);
7181 arg3
= int_LIST_helper(obj1
);
7182 if (arg3
== NULL
) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 if (arg3
) delete [] arg3
;
7198 if (arg3
) delete [] arg3
;
7204 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7212 (char *) "self",(char *) "i", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7217 if (SWIG_arg_fail(1)) SWIG_fail
;
7219 arg2
= (int)(SWIG_As_int(obj1
));
7220 if (SWIG_arg_fail(2)) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7231 resultptr
= new wxRect((wxRect
&)(result
));
7232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7240 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7247 (char *) "self",(char *) "height", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail
;
7254 arg2
= (int)(SWIG_As_int(obj1
));
7255 if (SWIG_arg_fail(2)) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 (arg1
)->SetMinHeight(arg2
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7275 PyObject
* obj0
= 0 ;
7277 (char *) "self", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_From_int((int)(result
));
7299 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7303 PyObject
* obj0
= 0 ;
7305 (char *) "self", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_From_int((int)(result
));
7327 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7330 wxVisualAttributes result
;
7331 PyObject
* obj0
= 0 ;
7333 (char *) "variant", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7339 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7340 if (SWIG_arg_fail(1)) SWIG_fail
;
7344 if (!wxPyCheckForApp()) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7352 wxVisualAttributes
* resultptr
;
7353 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7362 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7365 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7367 return Py_BuildValue((char *)"");
7369 static int _wrap_SplitterNameStr_set(PyObject
*) {
7370 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7375 static PyObject
*_wrap_SplitterNameStr_get(void) {
7380 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7382 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7389 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxWindow
*arg1
= (wxWindow
*) 0 ;
7392 int arg2
= (int) -1 ;
7393 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7394 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7395 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7396 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7397 long arg5
= (long) wxSP_3D
;
7398 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7399 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7400 wxSplitterWindow
*result
;
7403 bool temp6
= false ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7407 PyObject
* obj3
= 0 ;
7408 PyObject
* obj4
= 0 ;
7409 PyObject
* obj5
= 0 ;
7411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail
;
7419 arg2
= (int)(SWIG_As_int(obj1
));
7420 if (SWIG_arg_fail(2)) SWIG_fail
;
7426 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7432 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7437 arg5
= (long)(SWIG_As_long(obj4
));
7438 if (SWIG_arg_fail(5)) SWIG_fail
;
7443 arg6
= wxString_in_helper(obj5
);
7444 if (arg6
== NULL
) SWIG_fail
;
7449 if (!wxPyCheckForApp()) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7471 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxSplitterWindow
*result
;
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7480 if (!wxPyCheckForApp()) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7494 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7497 wxWindow
*arg2
= (wxWindow
*) 0 ;
7498 int arg3
= (int) -1 ;
7499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7503 long arg6
= (long) wxSP_3D
;
7504 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7505 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7509 bool temp7
= false ;
7510 PyObject
* obj0
= 0 ;
7511 PyObject
* obj1
= 0 ;
7512 PyObject
* obj2
= 0 ;
7513 PyObject
* obj3
= 0 ;
7514 PyObject
* obj4
= 0 ;
7515 PyObject
* obj5
= 0 ;
7516 PyObject
* obj6
= 0 ;
7518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail
;
7524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7525 if (SWIG_arg_fail(2)) SWIG_fail
;
7528 arg3
= (int)(SWIG_As_int(obj2
));
7529 if (SWIG_arg_fail(3)) SWIG_fail
;
7535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7546 arg6
= (long)(SWIG_As_long(obj5
));
7547 if (SWIG_arg_fail(6)) SWIG_fail
;
7552 arg7
= wxString_in_helper(obj6
);
7553 if (arg7
== NULL
) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7581 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= wxPyMake_wxObject(result
, 0);
7609 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7613 PyObject
* obj0
= 0 ;
7615 (char *) "self", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7620 if (SWIG_arg_fail(1)) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= wxPyMake_wxObject(result
, 0);
7637 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7644 (char *) "self",(char *) "mode", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail
;
7651 arg2
= (int)(SWIG_As_int(obj1
));
7652 if (SWIG_arg_fail(2)) SWIG_fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 (arg1
)->SetSplitMode(arg2
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7661 Py_INCREF(Py_None
); resultobj
= Py_None
;
7668 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
;
7670 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7674 (char *) "self", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= SWIG_From_int((result
));
7694 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7697 wxWindow
*arg2
= (wxWindow
*) 0 ;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7701 (char *) "self",(char *) "window", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7706 if (SWIG_arg_fail(1)) SWIG_fail
;
7707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7708 if (SWIG_arg_fail(2)) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 (arg1
)->Initialize(arg2
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 Py_INCREF(Py_None
); resultobj
= Py_None
;
7723 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7726 wxWindow
*arg2
= (wxWindow
*) 0 ;
7727 wxWindow
*arg3
= (wxWindow
*) 0 ;
7728 int arg4
= (int) 0 ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7732 PyObject
* obj2
= 0 ;
7733 PyObject
* obj3
= 0 ;
7735 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7740 if (SWIG_arg_fail(1)) SWIG_fail
;
7741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7742 if (SWIG_arg_fail(2)) SWIG_fail
;
7743 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7744 if (SWIG_arg_fail(3)) SWIG_fail
;
7747 arg4
= (int)(SWIG_As_int(obj3
));
7748 if (SWIG_arg_fail(4)) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7767 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7770 wxWindow
*arg2
= (wxWindow
*) 0 ;
7771 wxWindow
*arg3
= (wxWindow
*) 0 ;
7772 int arg4
= (int) 0 ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 PyObject
* obj2
= 0 ;
7777 PyObject
* obj3
= 0 ;
7779 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail
;
7785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7786 if (SWIG_arg_fail(2)) SWIG_fail
;
7787 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7788 if (SWIG_arg_fail(3)) SWIG_fail
;
7791 arg4
= (int)(SWIG_As_int(obj3
));
7792 if (SWIG_arg_fail(4)) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7811 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7814 wxWindow
*arg2
= (wxWindow
*) NULL
;
7816 PyObject
* obj0
= 0 ;
7817 PyObject
* obj1
= 0 ;
7819 (char *) "self",(char *) "toRemove", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7824 if (SWIG_arg_fail(1)) SWIG_fail
;
7826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(2)) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (bool)(arg1
)->Unsplit(arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7845 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7848 wxWindow
*arg2
= (wxWindow
*) 0 ;
7849 wxWindow
*arg3
= (wxWindow
*) 0 ;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7853 PyObject
* obj2
= 0 ;
7855 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7860 if (SWIG_arg_fail(1)) SWIG_fail
;
7861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7862 if (SWIG_arg_fail(2)) SWIG_fail
;
7863 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7864 if (SWIG_arg_fail(3)) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7881 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "self", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7891 if (SWIG_arg_fail(1)) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 (arg1
)->UpdateSize();
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 Py_INCREF(Py_None
); resultobj
= Py_None
;
7906 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
;
7908 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7910 PyObject
* obj0
= 0 ;
7912 (char *) "self", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7934 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7941 (char *) "self",(char *) "width", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail
;
7948 arg2
= (int)(SWIG_As_int(obj1
));
7949 if (SWIG_arg_fail(2)) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 (arg1
)->SetSashSize(arg2
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "self",(char *) "width", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail
;
7979 arg2
= (int)(SWIG_As_int(obj1
));
7980 if (SWIG_arg_fail(2)) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 (arg1
)->SetBorderSize(arg2
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 Py_INCREF(Py_None
); resultobj
= Py_None
;
7996 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8000 PyObject
* obj0
= 0 ;
8002 (char *) "self", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8007 if (SWIG_arg_fail(1)) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_From_int((int)(result
));
8024 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "self", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_From_int((int)(result
));
8052 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8056 bool arg3
= (bool) true ;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8059 PyObject
* obj2
= 0 ;
8061 (char *) "self",(char *) "position",(char *) "redraw", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail
;
8068 arg2
= (int)(SWIG_As_int(obj1
));
8069 if (SWIG_arg_fail(2)) SWIG_fail
;
8073 arg3
= (bool)(SWIG_As_bool(obj2
));
8074 if (SWIG_arg_fail(3)) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 (arg1
)->SetSashPosition(arg2
,arg3
);
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 Py_INCREF(Py_None
); resultobj
= Py_None
;
8091 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
;
8093 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8095 PyObject
* obj0
= 0 ;
8097 (char *) "self", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8102 if (SWIG_arg_fail(1)) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_From_int((int)(result
));
8119 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8126 (char *) "self",(char *) "gravity", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail
;
8133 arg2
= (double)(SWIG_As_double(obj1
));
8134 if (SWIG_arg_fail(2)) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 (arg1
)->SetSashGravity(arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8150 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8156 (char *) "self", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8161 if (SWIG_arg_fail(1)) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_From_double((double)(result
));
8178 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8183 PyObject
* obj1
= 0 ;
8185 (char *) "self",(char *) "min", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 arg2
= (int)(SWIG_As_int(obj1
));
8193 if (SWIG_arg_fail(2)) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 (arg1
)->SetMinimumPaneSize(arg2
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 Py_INCREF(Py_None
); resultobj
= Py_None
;
8209 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8215 (char *) "self", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= SWIG_From_int((int)(result
));
8237 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8242 int arg4
= (int) 5 ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8247 PyObject
* obj3
= 0 ;
8249 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail
;
8256 arg2
= (int)(SWIG_As_int(obj1
));
8257 if (SWIG_arg_fail(2)) SWIG_fail
;
8260 arg3
= (int)(SWIG_As_int(obj2
));
8261 if (SWIG_arg_fail(3)) SWIG_fail
;
8265 arg4
= (int)(SWIG_As_int(obj3
));
8266 if (SWIG_arg_fail(4)) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8285 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8288 PyObject
* obj0
= 0 ;
8290 (char *) "self", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8295 if (SWIG_arg_fail(1)) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 (arg1
)->SizeWindows();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 Py_INCREF(Py_None
); resultobj
= Py_None
;
8310 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8317 (char *) "self",(char *) "needUpdating", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8322 if (SWIG_arg_fail(1)) SWIG_fail
;
8324 arg2
= (bool)(SWIG_As_bool(obj1
));
8325 if (SWIG_arg_fail(2)) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 (arg1
)->SetNeedUpdating(arg2
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "self", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8352 if (SWIG_arg_fail(1)) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8369 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8372 wxVisualAttributes result
;
8373 PyObject
* obj0
= 0 ;
8375 (char *) "variant", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8381 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8382 if (SWIG_arg_fail(1)) SWIG_fail
;
8386 if (!wxPyCheckForApp()) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8394 wxVisualAttributes
* resultptr
;
8395 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8404 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8407 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8409 return Py_BuildValue((char *)"");
8411 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8414 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8415 wxSplitterEvent
*result
;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8419 (char *) "type",(char *) "splitter", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8425 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8426 if (SWIG_arg_fail(1)) SWIG_fail
;
8430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8431 if (SWIG_arg_fail(2)) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8447 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8454 (char *) "self",(char *) "pos", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail
;
8461 arg2
= (int)(SWIG_As_int(obj1
));
8462 if (SWIG_arg_fail(2)) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 (arg1
)->SetSashPosition(arg2
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8478 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8482 PyObject
* obj0
= 0 ;
8484 (char *) "self", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_From_int((int)(result
));
8506 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
;
8508 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8510 PyObject
* obj0
= 0 ;
8512 (char *) "self", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= wxPyMake_wxObject(result
, 0);
8534 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "self", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8545 if (SWIG_arg_fail(1)) SWIG_fail
;
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_From_int((int)(result
));
8562 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8568 (char *) "self", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8573 if (SWIG_arg_fail(1)) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_From_int((int)(result
));
8590 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8593 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8595 return Py_BuildValue((char *)"");
8597 static int _wrap_SashNameStr_set(PyObject
*) {
8598 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8603 static PyObject
*_wrap_SashNameStr_get(void) {
8608 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8610 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8617 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8618 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8623 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8628 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8630 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8637 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxWindow
*arg1
= (wxWindow
*) 0 ;
8640 int arg2
= (int) -1 ;
8641 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8642 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8643 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8644 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8645 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8646 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8647 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8648 wxSashWindow
*result
;
8651 bool temp6
= false ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 PyObject
* obj2
= 0 ;
8655 PyObject
* obj3
= 0 ;
8656 PyObject
* obj4
= 0 ;
8657 PyObject
* obj5
= 0 ;
8659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8664 if (SWIG_arg_fail(1)) SWIG_fail
;
8667 arg2
= (int)(SWIG_As_int(obj1
));
8668 if (SWIG_arg_fail(2)) SWIG_fail
;
8674 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8680 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8685 arg5
= (long)(SWIG_As_long(obj4
));
8686 if (SWIG_arg_fail(5)) SWIG_fail
;
8691 arg6
= wxString_in_helper(obj5
);
8692 if (arg6
== NULL
) SWIG_fail
;
8697 if (!wxPyCheckForApp()) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8719 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxSashWindow
*result
;
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8728 if (!wxPyCheckForApp()) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (wxSashWindow
*)new wxSashWindow();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8742 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8745 wxWindow
*arg2
= (wxWindow
*) 0 ;
8746 int arg3
= (int) -1 ;
8747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8751 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8752 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8757 bool temp7
= false ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8760 PyObject
* obj2
= 0 ;
8761 PyObject
* obj3
= 0 ;
8762 PyObject
* obj4
= 0 ;
8763 PyObject
* obj5
= 0 ;
8764 PyObject
* obj6
= 0 ;
8766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail
;
8772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8773 if (SWIG_arg_fail(2)) SWIG_fail
;
8776 arg3
= (int)(SWIG_As_int(obj2
));
8777 if (SWIG_arg_fail(3)) SWIG_fail
;
8783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8794 arg6
= (long)(SWIG_As_long(obj5
));
8795 if (SWIG_arg_fail(6)) SWIG_fail
;
8800 arg7
= wxString_in_helper(obj6
);
8801 if (arg7
== NULL
) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8829 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8832 wxSashEdgePosition arg2
;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8836 PyObject
* obj2
= 0 ;
8838 (char *) "self",(char *) "edge",(char *) "sash", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail
;
8845 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8846 if (SWIG_arg_fail(2)) SWIG_fail
;
8849 arg3
= (bool)(SWIG_As_bool(obj2
));
8850 if (SWIG_arg_fail(3)) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 Py_INCREF(Py_None
); resultobj
= Py_None
;
8866 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8869 wxSashEdgePosition arg2
;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8874 (char *) "self",(char *) "edge", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail
;
8881 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8882 if (SWIG_arg_fail(2)) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8900 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
;
8902 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8903 wxSashEdgePosition arg2
;
8905 PyObject
* obj0
= 0 ;
8906 PyObject
* obj1
= 0 ;
8907 PyObject
* obj2
= 0 ;
8909 (char *) "self",(char *) "edge",(char *) "border", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail
;
8916 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8917 if (SWIG_arg_fail(2)) SWIG_fail
;
8920 arg3
= (bool)(SWIG_As_bool(obj2
));
8921 if (SWIG_arg_fail(3)) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8937 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8940 wxSashEdgePosition arg2
;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8945 (char *) "self",(char *) "edge", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail
;
8952 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8953 if (SWIG_arg_fail(2)) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8971 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8974 wxSashEdgePosition arg2
;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "self",(char *) "edge", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail
;
8986 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8987 if (SWIG_arg_fail(2)) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= SWIG_From_int((int)(result
));
9005 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9012 (char *) "self",(char *) "width", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9017 if (SWIG_arg_fail(1)) SWIG_fail
;
9019 arg2
= (int)(SWIG_As_int(obj1
));
9020 if (SWIG_arg_fail(2)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 (arg1
)->SetDefaultBorderSize(arg2
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "self", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9047 if (SWIG_arg_fail(1)) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= SWIG_From_int((int)(result
));
9064 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9069 PyObject
* obj1
= 0 ;
9071 (char *) "self",(char *) "width", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9076 if (SWIG_arg_fail(1)) SWIG_fail
;
9078 arg2
= (int)(SWIG_As_int(obj1
));
9079 if (SWIG_arg_fail(2)) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 (arg1
)->SetExtraBorderSize(arg2
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 Py_INCREF(Py_None
); resultobj
= Py_None
;
9095 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9099 PyObject
* obj0
= 0 ;
9101 (char *) "self", NULL
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9106 if (SWIG_arg_fail(1)) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= SWIG_From_int((int)(result
));
9123 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9130 (char *) "self",(char *) "min", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9135 if (SWIG_arg_fail(1)) SWIG_fail
;
9137 arg2
= (int)(SWIG_As_int(obj1
));
9138 if (SWIG_arg_fail(2)) SWIG_fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 (arg1
)->SetMinimumSizeX(arg2
);
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9161 (char *) "self",(char *) "min", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9166 if (SWIG_arg_fail(1)) SWIG_fail
;
9168 arg2
= (int)(SWIG_As_int(obj1
));
9169 if (SWIG_arg_fail(2)) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 (arg1
)->SetMinimumSizeY(arg2
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 Py_INCREF(Py_None
); resultobj
= Py_None
;
9185 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9196 if (SWIG_arg_fail(1)) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_From_int((int)(result
));
9213 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9219 (char *) "self", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_From_int((int)(result
));
9241 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9248 (char *) "self",(char *) "max", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail
;
9255 arg2
= (int)(SWIG_As_int(obj1
));
9256 if (SWIG_arg_fail(2)) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 (arg1
)->SetMaximumSizeX(arg2
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 Py_INCREF(Py_None
); resultobj
= Py_None
;
9272 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9279 (char *) "self",(char *) "max", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail
;
9286 arg2
= (int)(SWIG_As_int(obj1
));
9287 if (SWIG_arg_fail(2)) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 (arg1
)->SetMaximumSizeY(arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 Py_INCREF(Py_None
); resultobj
= Py_None
;
9303 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_From_int((int)(result
));
9331 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9342 if (SWIG_arg_fail(1)) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_From_int((int)(result
));
9359 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9364 int arg4
= (int) 2 ;
9365 wxSashEdgePosition result
;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 PyObject
* obj2
= 0 ;
9369 PyObject
* obj3
= 0 ;
9371 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9376 if (SWIG_arg_fail(1)) SWIG_fail
;
9378 arg2
= (int)(SWIG_As_int(obj1
));
9379 if (SWIG_arg_fail(2)) SWIG_fail
;
9382 arg3
= (int)(SWIG_As_int(obj2
));
9383 if (SWIG_arg_fail(3)) SWIG_fail
;
9387 arg4
= (int)(SWIG_As_int(obj3
));
9388 if (SWIG_arg_fail(4)) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_From_int((result
));
9405 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9415 if (SWIG_arg_fail(1)) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 (arg1
)->SizeWindows();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 Py_INCREF(Py_None
); resultobj
= Py_None
;
9430 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9433 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9435 return Py_BuildValue((char *)"");
9437 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
;
9439 int arg1
= (int) 0 ;
9440 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9441 wxSashEvent
*result
;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9445 (char *) "id",(char *) "edge", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9451 arg1
= (int)(SWIG_As_int(obj0
));
9452 if (SWIG_arg_fail(1)) SWIG_fail
;
9457 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9458 if (SWIG_arg_fail(2)) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9475 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9478 wxSashEdgePosition arg2
;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9482 (char *) "self",(char *) "edge", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9487 if (SWIG_arg_fail(1)) SWIG_fail
;
9489 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9490 if (SWIG_arg_fail(2)) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 Py_INCREF(Py_None
); resultobj
= Py_None
;
9506 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9509 wxSashEdgePosition result
;
9510 PyObject
* obj0
= 0 ;
9512 (char *) "self", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9517 if (SWIG_arg_fail(1)) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= SWIG_From_int((result
));
9532 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9540 (char *) "self",(char *) "rect", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9545 if (SWIG_arg_fail(1)) SWIG_fail
;
9548 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 Py_INCREF(Py_None
); resultobj
= Py_None
;
9564 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9575 if (SWIG_arg_fail(1)) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9585 resultptr
= new wxRect((wxRect
&)(result
));
9586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9594 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9597 wxSashDragStatus arg2
;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9601 (char *) "self",(char *) "status", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9606 if (SWIG_arg_fail(1)) SWIG_fail
;
9608 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9609 if (SWIG_arg_fail(2)) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9628 wxSashDragStatus result
;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "self", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9636 if (SWIG_arg_fail(1)) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= SWIG_From_int((result
));
9651 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9654 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9656 return Py_BuildValue((char *)"");
9658 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 int arg1
= (int) 0 ;
9661 wxQueryLayoutInfoEvent
*result
;
9662 PyObject
* obj0
= 0 ;
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9670 arg1
= (int)(SWIG_As_int(obj0
));
9671 if (SWIG_arg_fail(1)) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9688 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "length", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9700 if (SWIG_arg_fail(1)) SWIG_fail
;
9702 arg2
= (int)(SWIG_As_int(obj1
));
9703 if (SWIG_arg_fail(2)) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 (arg1
)->SetRequestedLength(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 Py_INCREF(Py_None
); resultobj
= Py_None
;
9719 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9725 (char *) "self", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9730 if (SWIG_arg_fail(1)) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_From_int((int)(result
));
9747 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9754 (char *) "self",(char *) "flags", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail
;
9761 arg2
= (int)(SWIG_As_int(obj1
));
9762 if (SWIG_arg_fail(2)) SWIG_fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 (arg1
)->SetFlags(arg2
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 Py_INCREF(Py_None
); resultobj
= Py_None
;
9778 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "self", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9789 if (SWIG_arg_fail(1)) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_From_int((int)(result
));
9806 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9808 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9811 PyObject
* obj0
= 0 ;
9812 PyObject
* obj1
= 0 ;
9814 (char *) "self",(char *) "size", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9819 if (SWIG_arg_fail(1)) SWIG_fail
;
9822 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 (arg1
)->SetSize((wxSize
const &)*arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9844 (char *) "self", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9859 resultptr
= new wxSize((wxSize
&)(result
));
9860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9868 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9871 wxLayoutOrientation arg2
;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9875 (char *) "self",(char *) "orient", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail
;
9882 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9883 if (SWIG_arg_fail(2)) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 Py_INCREF(Py_None
); resultobj
= Py_None
;
9899 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9902 wxLayoutOrientation result
;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_From_int((result
));
9925 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9928 wxLayoutAlignment arg2
;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9932 (char *) "self",(char *) "align", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9937 if (SWIG_arg_fail(1)) SWIG_fail
;
9939 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9940 if (SWIG_arg_fail(2)) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 Py_INCREF(Py_None
); resultobj
= Py_None
;
9956 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9959 wxLayoutAlignment result
;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_From_int((result
));
9982 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9985 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9987 return Py_BuildValue((char *)"");
9989 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 int arg1
= (int) 0 ;
9992 wxCalculateLayoutEvent
*result
;
9993 PyObject
* obj0
= 0 ;
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10001 arg1
= (int)(SWIG_As_int(obj0
));
10002 if (SWIG_arg_fail(1)) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10019 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "flags", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail
;
10033 arg2
= (int)(SWIG_As_int(obj1
));
10034 if (SWIG_arg_fail(2)) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 (arg1
)->SetFlags(arg2
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 Py_INCREF(Py_None
); resultobj
= Py_None
;
10050 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10054 PyObject
* obj0
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10061 if (SWIG_arg_fail(1)) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= SWIG_From_int((int)(result
));
10078 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "rect", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10091 if (SWIG_arg_fail(1)) SWIG_fail
;
10094 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 (arg1
)->SetRect((wxRect
const &)*arg2
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 Py_INCREF(Py_None
); resultobj
= Py_None
;
10110 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10130 wxRect
* resultptr
;
10131 resultptr
= new wxRect((wxRect
&)(result
));
10132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10140 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10145 return Py_BuildValue((char *)"");
10147 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxWindow
*arg1
= (wxWindow
*) 0 ;
10150 int arg2
= (int) -1 ;
10151 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10152 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10153 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10154 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10155 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10156 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10157 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10158 wxSashLayoutWindow
*result
;
10161 bool temp6
= false ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 PyObject
* obj2
= 0 ;
10165 PyObject
* obj3
= 0 ;
10166 PyObject
* obj4
= 0 ;
10167 PyObject
* obj5
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10174 if (SWIG_arg_fail(1)) SWIG_fail
;
10177 arg2
= (int)(SWIG_As_int(obj1
));
10178 if (SWIG_arg_fail(2)) SWIG_fail
;
10184 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10190 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10195 arg5
= (long)(SWIG_As_long(obj4
));
10196 if (SWIG_arg_fail(5)) SWIG_fail
;
10201 arg6
= wxString_in_helper(obj5
);
10202 if (arg6
== NULL
) SWIG_fail
;
10207 if (!wxPyCheckForApp()) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10229 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxSashLayoutWindow
*result
;
10232 char *kwnames
[] = {
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10238 if (!wxPyCheckForApp()) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10252 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10255 wxWindow
*arg2
= (wxWindow
*) 0 ;
10256 int arg3
= (int) -1 ;
10257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10261 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10262 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10263 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10267 bool temp7
= false ;
10268 PyObject
* obj0
= 0 ;
10269 PyObject
* obj1
= 0 ;
10270 PyObject
* obj2
= 0 ;
10271 PyObject
* obj3
= 0 ;
10272 PyObject
* obj4
= 0 ;
10273 PyObject
* obj5
= 0 ;
10274 PyObject
* obj6
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10281 if (SWIG_arg_fail(1)) SWIG_fail
;
10282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10283 if (SWIG_arg_fail(2)) SWIG_fail
;
10286 arg3
= (int)(SWIG_As_int(obj2
));
10287 if (SWIG_arg_fail(3)) SWIG_fail
;
10293 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10299 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10304 arg6
= (long)(SWIG_As_long(obj5
));
10305 if (SWIG_arg_fail(6)) SWIG_fail
;
10310 arg7
= wxString_in_helper(obj6
);
10311 if (arg7
== NULL
) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10339 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10342 wxLayoutAlignment result
;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10350 if (SWIG_arg_fail(1)) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_From_int((result
));
10365 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10368 wxLayoutOrientation result
;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10376 if (SWIG_arg_fail(1)) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_From_int((result
));
10391 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10394 wxLayoutAlignment arg2
;
10395 PyObject
* obj0
= 0 ;
10396 PyObject
* obj1
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self",(char *) "alignment", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10403 if (SWIG_arg_fail(1)) SWIG_fail
;
10405 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10406 if (SWIG_arg_fail(2)) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 Py_INCREF(Py_None
); resultobj
= Py_None
;
10422 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10427 PyObject
* obj0
= 0 ;
10428 PyObject
* obj1
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self",(char *) "size", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10435 if (SWIG_arg_fail(1)) SWIG_fail
;
10438 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 Py_INCREF(Py_None
); resultobj
= Py_None
;
10454 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10457 wxLayoutOrientation arg2
;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "self",(char *) "orientation", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10466 if (SWIG_arg_fail(1)) SWIG_fail
;
10468 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10469 if (SWIG_arg_fail(2)) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 Py_INCREF(Py_None
); resultobj
= Py_None
;
10485 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10488 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10490 return Py_BuildValue((char *)"");
10492 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxLayoutAlgorithm
*result
;
10495 char *kwnames
[] = {
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10514 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10524 if (SWIG_arg_fail(1)) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 Py_INCREF(Py_None
); resultobj
= Py_None
;
10539 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10542 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10543 wxRect
*arg3
= (wxRect
*) NULL
;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 PyObject
* obj2
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "frame",(char *) "rect", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail
;
10555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10556 if (SWIG_arg_fail(2)) SWIG_fail
;
10558 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10559 if (SWIG_arg_fail(3)) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10577 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10580 wxFrame
*arg2
= (wxFrame
*) 0 ;
10581 wxWindow
*arg3
= (wxWindow
*) NULL
;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 PyObject
* obj2
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail
;
10593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10594 if (SWIG_arg_fail(2)) SWIG_fail
;
10596 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10597 if (SWIG_arg_fail(3)) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10615 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10618 wxWindow
*arg2
= (wxWindow
*) 0 ;
10619 wxWindow
*arg3
= (wxWindow
*) NULL
;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 PyObject
* obj2
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10630 if (SWIG_arg_fail(1)) SWIG_fail
;
10631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10632 if (SWIG_arg_fail(2)) SWIG_fail
;
10634 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10635 if (SWIG_arg_fail(3)) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10653 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10656 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10658 return Py_BuildValue((char *)"");
10660 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxWindow
*arg1
= (wxWindow
*) 0 ;
10663 int arg2
= (int) wxBORDER_NONE
;
10664 wxPopupWindow
*result
;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "parent",(char *) "flags", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail
;
10676 arg2
= (int)(SWIG_As_int(obj1
));
10677 if (SWIG_arg_fail(2)) SWIG_fail
;
10681 if (!wxPyCheckForApp()) SWIG_fail
;
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10695 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxPopupWindow
*result
;
10698 char *kwnames
[] = {
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10704 if (!wxPyCheckForApp()) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= (wxPopupWindow
*)new wxPopupWindow();
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10718 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10721 wxWindow
*arg2
= (wxWindow
*) 0 ;
10722 int arg3
= (int) wxBORDER_NONE
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self",(char *) "parent",(char *) "flags", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail
;
10734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10735 if (SWIG_arg_fail(2)) SWIG_fail
;
10738 arg3
= (int)(SWIG_As_int(obj2
));
10739 if (SWIG_arg_fail(3)) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10758 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10761 wxPoint
*arg2
= 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 PyObject
* obj2
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail
;
10777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10781 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10802 return Py_BuildValue((char *)"");
10804 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxWindow
*arg1
= (wxWindow
*) 0 ;
10807 int arg2
= (int) wxBORDER_NONE
;
10808 wxPyPopupTransientWindow
*result
;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "parent",(char *) "style", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10817 if (SWIG_arg_fail(1)) SWIG_fail
;
10820 arg2
= (int)(SWIG_As_int(obj1
));
10821 if (SWIG_arg_fail(2)) SWIG_fail
;
10825 if (!wxPyCheckForApp()) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10839 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxPyPopupTransientWindow
*result
;
10842 char *kwnames
[] = {
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10848 if (!wxPyCheckForApp()) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10862 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10865 PyObject
*arg2
= (PyObject
*) 0 ;
10866 PyObject
*arg3
= (PyObject
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self",(char *) "self",(char *) "_class", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10876 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10896 wxWindow
*arg2
= (wxWindow
*) NULL
;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "focus", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail
;
10907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10908 if (SWIG_arg_fail(2)) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 (arg1
)->Popup(arg2
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10954 return Py_BuildValue((char *)"");
10956 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10958 wxWindow
*arg1
= (wxWindow
*) 0 ;
10959 wxString
*arg2
= 0 ;
10960 int arg3
= (int) 100 ;
10961 wxRect
*arg4
= (wxRect
*) NULL
;
10962 wxTipWindow
*result
;
10963 bool temp2
= false ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 PyObject
* obj3
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail
;
10976 arg2
= wxString_in_helper(obj1
);
10977 if (arg2
== NULL
) SWIG_fail
;
10982 arg3
= (int)(SWIG_As_int(obj2
));
10983 if (SWIG_arg_fail(3)) SWIG_fail
;
10987 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10988 if (SWIG_arg_fail(4)) SWIG_fail
;
10991 if (!wxPyCheckForApp()) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11013 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "rectBound", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11045 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11048 PyObject
* obj0
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 Py_INCREF(Py_None
); resultobj
= Py_None
;
11070 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11075 return Py_BuildValue((char *)"");
11077 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxWindow
*arg1
= (wxWindow
*) 0 ;
11080 int arg2
= (int) wxID_ANY
;
11081 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11082 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11083 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11084 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11085 long arg5
= (long) 0 ;
11086 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11087 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11088 wxPyVScrolledWindow
*result
;
11091 bool temp6
= false ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 PyObject
* obj2
= 0 ;
11095 PyObject
* obj3
= 0 ;
11096 PyObject
* obj4
= 0 ;
11097 PyObject
* obj5
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail
;
11107 arg2
= (int)(SWIG_As_int(obj1
));
11108 if (SWIG_arg_fail(2)) SWIG_fail
;
11114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11125 arg5
= (long)(SWIG_As_long(obj4
));
11126 if (SWIG_arg_fail(5)) SWIG_fail
;
11131 arg6
= wxString_in_helper(obj5
);
11132 if (arg6
== NULL
) SWIG_fail
;
11137 if (!wxPyCheckForApp()) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11159 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxPyVScrolledWindow
*result
;
11162 char *kwnames
[] = {
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11168 if (!wxPyCheckForApp()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11182 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11185 PyObject
*arg2
= (PyObject
*) 0 ;
11186 PyObject
*arg3
= (PyObject
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self",(char *) "self",(char *) "_class", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11216 wxWindow
*arg2
= (wxWindow
*) 0 ;
11217 int arg3
= (int) wxID_ANY
;
11218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11222 long arg6
= (long) 0 ;
11223 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11224 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11228 bool temp7
= false ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 PyObject
* obj2
= 0 ;
11232 PyObject
* obj3
= 0 ;
11233 PyObject
* obj4
= 0 ;
11234 PyObject
* obj5
= 0 ;
11235 PyObject
* obj6
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail
;
11243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11244 if (SWIG_arg_fail(2)) SWIG_fail
;
11247 arg3
= (int)(SWIG_As_int(obj2
));
11248 if (SWIG_arg_fail(3)) SWIG_fail
;
11254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11265 arg6
= (long)(SWIG_As_long(obj5
));
11266 if (SWIG_arg_fail(6)) SWIG_fail
;
11271 arg7
= wxString_in_helper(obj6
);
11272 if (arg7
== NULL
) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11300 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "count", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail
;
11314 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11315 if (SWIG_arg_fail(2)) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetLineCount(arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 PyObject
* obj1
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self",(char *) "line", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11347 if (SWIG_arg_fail(2)) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11365 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "lines", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 arg2
= (int)(SWIG_As_int(obj1
));
11381 if (SWIG_arg_fail(2)) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (bool)(arg1
)->ScrollLines(arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11399 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "pages", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail
;
11414 arg2
= (int)(SWIG_As_int(obj1
));
11415 if (SWIG_arg_fail(2)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)(arg1
)->ScrollPages(arg2
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11433 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self",(char *) "line", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail
;
11447 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11448 if (SWIG_arg_fail(2)) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 (arg1
)->RefreshLine(arg2
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 Py_INCREF(Py_None
); resultobj
= Py_None
;
11464 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 PyObject
* obj2
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self",(char *) "from",(char *) "to", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail
;
11480 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11481 if (SWIG_arg_fail(2)) SWIG_fail
;
11484 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11485 if (SWIG_arg_fail(3)) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 (arg1
)->RefreshLines(arg2
,arg3
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 Py_INCREF(Py_None
); resultobj
= Py_None
;
11501 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self",(char *) "x",(char *) "y", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
11519 if (SWIG_arg_fail(2)) SWIG_fail
;
11522 arg3
= (int)(SWIG_As_int(obj2
));
11523 if (SWIG_arg_fail(3)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_From_int((int)(result
));
11541 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11544 wxPoint
*arg2
= 0 ;
11547 PyObject
* obj0
= 0 ;
11548 PyObject
* obj1
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self",(char *) "pt", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail
;
11558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_From_int((int)(result
));
11576 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
;
11578 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 (arg1
)->RefreshAll();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 Py_INCREF(Py_None
); resultobj
= Py_None
;
11601 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11605 PyObject
* obj0
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11612 if (SWIG_arg_fail(1)) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11629 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11657 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11661 PyObject
* obj0
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11668 if (SWIG_arg_fail(1)) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11677 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11685 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "line", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail
;
11700 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11701 if (SWIG_arg_fail(2)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11719 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11747 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11775 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11780 return Py_BuildValue((char *)"");
11782 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11783 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11788 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11793 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11795 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11802 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxWindow
*arg1
= (wxWindow
*) 0 ;
11805 int arg2
= (int) wxID_ANY
;
11806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11808 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11809 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11810 long arg5
= (long) 0 ;
11811 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11812 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11813 wxPyVListBox
*result
;
11816 bool temp6
= false ;
11817 PyObject
* obj0
= 0 ;
11818 PyObject
* obj1
= 0 ;
11819 PyObject
* obj2
= 0 ;
11820 PyObject
* obj3
= 0 ;
11821 PyObject
* obj4
= 0 ;
11822 PyObject
* obj5
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail
;
11832 arg2
= (int)(SWIG_As_int(obj1
));
11833 if (SWIG_arg_fail(2)) SWIG_fail
;
11839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11845 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11850 arg5
= (long)(SWIG_As_long(obj4
));
11851 if (SWIG_arg_fail(5)) SWIG_fail
;
11856 arg6
= wxString_in_helper(obj5
);
11857 if (arg6
== NULL
) SWIG_fail
;
11862 if (!wxPyCheckForApp()) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11884 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxPyVListBox
*result
;
11887 char *kwnames
[] = {
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11893 if (!wxPyCheckForApp()) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (wxPyVListBox
*)new wxPyVListBox();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11907 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11910 PyObject
*arg2
= (PyObject
*) 0 ;
11911 PyObject
*arg3
= (PyObject
*) 0 ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 PyObject
* obj2
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "self",(char *) "self",(char *) "_class", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11921 if (SWIG_arg_fail(1)) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 Py_INCREF(Py_None
); resultobj
= Py_None
;
11938 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11941 wxWindow
*arg2
= (wxWindow
*) 0 ;
11942 int arg3
= (int) wxID_ANY
;
11943 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11944 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11945 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11946 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11947 long arg6
= (long) 0 ;
11948 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11949 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11953 bool temp7
= false ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 PyObject
* obj2
= 0 ;
11957 PyObject
* obj3
= 0 ;
11958 PyObject
* obj4
= 0 ;
11959 PyObject
* obj5
= 0 ;
11960 PyObject
* obj6
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail
;
11968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11969 if (SWIG_arg_fail(2)) SWIG_fail
;
11972 arg3
= (int)(SWIG_As_int(obj2
));
11973 if (SWIG_arg_fail(3)) SWIG_fail
;
11979 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11985 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11990 arg6
= (long)(SWIG_As_long(obj5
));
11991 if (SWIG_arg_fail(6)) SWIG_fail
;
11996 arg7
= wxString_in_helper(obj6
);
11997 if (arg7
== NULL
) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12025 static PyObject
*_wrap_VListBox_GetItemCount(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_GetItemCount",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
)->GetItemCount();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12053 static PyObject
*_wrap_VListBox_HasMultipleSelection(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_HasMultipleSelection",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
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12081 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_From_int((int)(result
));
12109 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "item", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) 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 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12125 if (SWIG_arg_fail(2)) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12143 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "item", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail
;
12158 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12159 if (SWIG_arg_fail(2)) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12177 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12205 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= result
;
12231 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12234 unsigned long arg2
;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "cookie", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail
;
12246 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12247 if (SWIG_arg_fail(2)) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= result
;
12263 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 wxPoint
* resultptr
;
12284 resultptr
= new wxPoint((wxPoint
&)(result
));
12285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12293 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12309 result
= (wxColour
*) &_result_ref
;
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12322 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "count", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12336 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12337 if (SWIG_arg_fail(2)) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 (arg1
)->SetItemCount(arg2
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 Py_INCREF(Py_None
); resultobj
= Py_None
;
12353 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 Py_INCREF(Py_None
); resultobj
= Py_None
;
12378 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "selection", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail
;
12392 arg2
= (int)(SWIG_As_int(obj1
));
12393 if (SWIG_arg_fail(2)) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetSelection(arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12413 bool arg3
= (bool) true ;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 PyObject
* obj2
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self",(char *) "item",(char *) "select", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail
;
12426 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12427 if (SWIG_arg_fail(2)) SWIG_fail
;
12431 arg3
= (bool)(SWIG_As_bool(obj2
));
12432 if (SWIG_arg_fail(3)) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12451 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12457 PyObject
* obj0
= 0 ;
12458 PyObject
* obj1
= 0 ;
12459 PyObject
* obj2
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self",(char *) "from",(char *) "to", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail
;
12468 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12469 if (SWIG_arg_fail(2)) SWIG_fail
;
12472 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12473 if (SWIG_arg_fail(3)) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12491 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self",(char *) "item", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail
;
12505 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12506 if (SWIG_arg_fail(2)) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->Toggle(arg2
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 Py_INCREF(Py_None
); resultobj
= Py_None
;
12522 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (bool)(arg1
)->SelectAll();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12550 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= (bool)(arg1
)->DeselectAll();
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12578 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12581 wxPoint
*arg2
= 0 ;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "pt", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 PyObject
* obj2
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "x",(char *) "y", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 arg2
= (int)(SWIG_As_int(obj1
));
12627 if (SWIG_arg_fail(2)) SWIG_fail
;
12630 arg3
= (int)(SWIG_As_int(obj2
));
12631 if (SWIG_arg_fail(3)) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetMargins(arg2
,arg3
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 Py_INCREF(Py_None
); resultobj
= Py_None
;
12647 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12650 wxColour
*arg2
= 0 ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self",(char *) "col", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail
;
12663 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12682 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12684 return Py_BuildValue((char *)"");
12686 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxWindow
*arg1
= (wxWindow
*) 0 ;
12689 int arg2
= (int) wxID_ANY
;
12690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12694 long arg5
= (long) 0 ;
12695 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12696 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12697 wxPyHtmlListBox
*result
;
12700 bool temp6
= false ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 PyObject
* obj2
= 0 ;
12704 PyObject
* obj3
= 0 ;
12705 PyObject
* obj4
= 0 ;
12706 PyObject
* obj5
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail
;
12716 arg2
= (int)(SWIG_As_int(obj1
));
12717 if (SWIG_arg_fail(2)) SWIG_fail
;
12723 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12729 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12734 arg5
= (long)(SWIG_As_long(obj4
));
12735 if (SWIG_arg_fail(5)) SWIG_fail
;
12740 arg6
= wxString_in_helper(obj5
);
12741 if (arg6
== NULL
) SWIG_fail
;
12746 if (!wxPyCheckForApp()) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12768 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxPyHtmlListBox
*result
;
12771 char *kwnames
[] = {
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12777 if (!wxPyCheckForApp()) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12791 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12794 PyObject
*arg2
= (PyObject
*) 0 ;
12795 PyObject
*arg3
= (PyObject
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 PyObject
* obj2
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self",(char *) "self",(char *) "_class", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12825 wxWindow
*arg2
= (wxWindow
*) 0 ;
12826 int arg3
= (int) wxID_ANY
;
12827 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12828 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12829 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12830 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12831 long arg6
= (long) 0 ;
12832 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12833 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12837 bool temp7
= false ;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 PyObject
* obj2
= 0 ;
12841 PyObject
* obj3
= 0 ;
12842 PyObject
* obj4
= 0 ;
12843 PyObject
* obj5
= 0 ;
12844 PyObject
* obj6
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail
;
12852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail
;
12856 arg3
= (int)(SWIG_As_int(obj2
));
12857 if (SWIG_arg_fail(3)) SWIG_fail
;
12863 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12869 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12874 arg6
= (long)(SWIG_As_long(obj5
));
12875 if (SWIG_arg_fail(6)) SWIG_fail
;
12880 arg7
= wxString_in_helper(obj6
);
12881 if (arg7
== NULL
) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 (arg1
)->RefreshAll();
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 Py_INCREF(Py_None
); resultobj
= Py_None
;
12934 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self",(char *) "count", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail
;
12948 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12949 if (SWIG_arg_fail(2)) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 (arg1
)->SetItemCount(arg2
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 Py_INCREF(Py_None
); resultobj
= Py_None
;
12965 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12968 wxFileSystem
*result
;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12981 result
= (wxFileSystem
*) &_result_ref
;
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12994 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12999 return Py_BuildValue((char *)"");
13001 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxPyTaskBarIcon
*result
;
13004 char *kwnames
[] = {
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13010 if (!wxPyCheckForApp()) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13024 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13027 PyObject
*arg2
= (PyObject
*) 0 ;
13028 PyObject
*arg3
= (PyObject
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 PyObject
* obj2
= 0 ;
13033 PyObject
* obj3
= 0 ;
13034 char *kwnames
[] = {
13035 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13040 if (SWIG_arg_fail(1)) SWIG_fail
;
13044 arg4
= (int)(SWIG_As_int(obj3
));
13045 if (SWIG_arg_fail(4)) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 Py_INCREF(Py_None
); resultobj
= Py_None
;
13061 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13071 if (SWIG_arg_fail(1)) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 wxPyTaskBarIcon_Destroy(arg1
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13097 if (SWIG_arg_fail(1)) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13114 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13142 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13149 bool temp3
= false ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 PyObject
* obj2
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13159 if (SWIG_arg_fail(1)) SWIG_fail
;
13161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13162 if (SWIG_arg_fail(2)) SWIG_fail
;
13163 if (arg2
== NULL
) {
13164 SWIG_null_ref("wxIcon");
13166 if (SWIG_arg_fail(2)) SWIG_fail
;
13170 arg3
= wxString_in_helper(obj2
);
13171 if (arg3
== NULL
) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13199 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
;
13201 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (bool)(arg1
)->RemoveIcon();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13227 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13230 wxMenu
*arg2
= (wxMenu
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "menu", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail
;
13241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13242 if (SWIG_arg_fail(2)) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (bool)(arg1
)->PopupMenu(arg2
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13259 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13264 return Py_BuildValue((char *)"");
13266 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13269 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13270 wxTaskBarIconEvent
*result
;
13271 PyObject
* obj0
= 0 ;
13272 PyObject
* obj1
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "evtType",(char *) "tbIcon", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13279 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13280 if (SWIG_arg_fail(1)) SWIG_fail
;
13282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13283 if (SWIG_arg_fail(2)) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13298 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13301 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13303 return Py_BuildValue((char *)"");
13305 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13306 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13311 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13316 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13318 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13325 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13326 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13331 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13336 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13338 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13345 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13346 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13351 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13356 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13358 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13365 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13366 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13371 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13376 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13378 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13385 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13386 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13391 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13396 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13398 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13405 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13406 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13411 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13416 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13418 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13425 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxColourData
*result
;
13428 char *kwnames
[] = {
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 result
= (wxColourData
*)new wxColourData();
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13447 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxColourData
*arg1
= (wxColourData
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13457 if (SWIG_arg_fail(1)) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 Py_INCREF(Py_None
); resultobj
= Py_None
;
13472 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxColourData
*arg1
= (wxColourData
*) 0 ;
13476 PyObject
* obj0
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13483 if (SWIG_arg_fail(1)) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= (bool)(arg1
)->GetChooseFull();
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13500 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxColourData
*arg1
= (wxColourData
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (arg1
)->GetColour();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 wxColour
* resultptr
;
13521 resultptr
= new wxColour((wxColour
&)(result
));
13522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13530 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxColourData
*arg1
= (wxColourData
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self",(char *) "i", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13543 if (SWIG_arg_fail(1)) SWIG_fail
;
13545 arg2
= (int)(SWIG_As_int(obj1
));
13546 if (SWIG_arg_fail(2)) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (arg1
)->GetCustomColour(arg2
);
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13556 wxColour
* resultptr
;
13557 resultptr
= new wxColour((wxColour
&)(result
));
13558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13566 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxColourData
*arg1
= (wxColourData
*) 0 ;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self",(char *) "flag", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail
;
13580 arg2
= (int)(SWIG_As_int(obj1
));
13581 if (SWIG_arg_fail(2)) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 (arg1
)->SetChooseFull(arg2
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 Py_INCREF(Py_None
); resultobj
= Py_None
;
13597 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxColourData
*arg1
= (wxColourData
*) 0 ;
13600 wxColour
*arg2
= 0 ;
13602 PyObject
* obj0
= 0 ;
13603 PyObject
* obj1
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "self",(char *) "colour", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13610 if (SWIG_arg_fail(1)) SWIG_fail
;
13613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 (arg1
)->SetColour((wxColour
const &)*arg2
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 Py_INCREF(Py_None
); resultobj
= Py_None
;
13629 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxColourData
*arg1
= (wxColourData
*) 0 ;
13633 wxColour
*arg3
= 0 ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 PyObject
* obj2
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self",(char *) "i",(char *) "colour", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail
;
13646 arg2
= (int)(SWIG_As_int(obj1
));
13647 if (SWIG_arg_fail(2)) SWIG_fail
;
13651 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 Py_INCREF(Py_None
); resultobj
= Py_None
;
13667 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13670 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13672 return Py_BuildValue((char *)"");
13674 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 wxWindow
*arg1
= (wxWindow
*) 0 ;
13677 wxColourData
*arg2
= (wxColourData
*) NULL
;
13678 wxColourDialog
*result
;
13679 PyObject
* obj0
= 0 ;
13680 PyObject
* obj1
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "parent",(char *) "data", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13687 if (SWIG_arg_fail(1)) SWIG_fail
;
13689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13690 if (SWIG_arg_fail(2)) SWIG_fail
;
13693 if (!wxPyCheckForApp()) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13707 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13710 wxColourData
*result
;
13711 PyObject
* obj0
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13723 result
= (wxColourData
*) &_result_ref
;
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13736 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13739 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13741 return Py_BuildValue((char *)"");
13743 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxWindow
*arg1
= (wxWindow
*) 0 ;
13746 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13747 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13748 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13749 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13750 long arg4
= (long) 0 ;
13751 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13752 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13753 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13754 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13755 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13757 wxDirDialog
*result
;
13758 bool temp2
= false ;
13759 bool temp3
= false ;
13762 bool temp7
= false ;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 PyObject
* obj2
= 0 ;
13766 PyObject
* obj3
= 0 ;
13767 PyObject
* obj4
= 0 ;
13768 PyObject
* obj5
= 0 ;
13769 PyObject
* obj6
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13776 if (SWIG_arg_fail(1)) SWIG_fail
;
13779 arg2
= wxString_in_helper(obj1
);
13780 if (arg2
== NULL
) SWIG_fail
;
13786 arg3
= wxString_in_helper(obj2
);
13787 if (arg3
== NULL
) SWIG_fail
;
13793 arg4
= (long)(SWIG_As_long(obj3
));
13794 if (SWIG_arg_fail(4)) SWIG_fail
;
13800 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13806 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13811 arg7
= wxString_in_helper(obj6
);
13812 if (arg7
== NULL
) SWIG_fail
;
13817 if (!wxPyCheckForApp()) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13855 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13866 if (SWIG_arg_fail(1)) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (arg1
)->GetPath();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13887 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13898 if (SWIG_arg_fail(1)) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (arg1
)->GetMessage();
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13919 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13923 PyObject
* obj0
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "self", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (long)(arg1
)->GetStyle();
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_From_long((long)(result
));
13947 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13950 wxString
*arg2
= 0 ;
13951 bool temp2
= false ;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self",(char *) "message", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13960 if (SWIG_arg_fail(1)) SWIG_fail
;
13962 arg2
= wxString_in_helper(obj1
);
13963 if (arg2
== NULL
) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 (arg1
)->SetMessage((wxString
const &)*arg2
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13991 wxString
*arg2
= 0 ;
13992 bool temp2
= false ;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "path", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14001 if (SWIG_arg_fail(1)) SWIG_fail
;
14003 arg2
= wxString_in_helper(obj1
);
14004 if (arg2
== NULL
) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 (arg1
)->SetPath((wxString
const &)*arg2
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 Py_INCREF(Py_None
); resultobj
= Py_None
;
14029 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14032 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14034 return Py_BuildValue((char *)"");
14036 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxWindow
*arg1
= (wxWindow
*) 0 ;
14039 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14040 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14041 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14042 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14043 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14044 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14045 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14046 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14047 long arg6
= (long) 0 ;
14048 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14049 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14050 wxFileDialog
*result
;
14051 bool temp2
= false ;
14052 bool temp3
= false ;
14053 bool temp4
= false ;
14054 bool temp5
= false ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 PyObject
* obj2
= 0 ;
14059 PyObject
* obj3
= 0 ;
14060 PyObject
* obj4
= 0 ;
14061 PyObject
* obj5
= 0 ;
14062 PyObject
* obj6
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14069 if (SWIG_arg_fail(1)) SWIG_fail
;
14072 arg2
= wxString_in_helper(obj1
);
14073 if (arg2
== NULL
) SWIG_fail
;
14079 arg3
= wxString_in_helper(obj2
);
14080 if (arg3
== NULL
) SWIG_fail
;
14086 arg4
= wxString_in_helper(obj3
);
14087 if (arg4
== NULL
) SWIG_fail
;
14093 arg5
= wxString_in_helper(obj4
);
14094 if (arg5
== NULL
) SWIG_fail
;
14100 arg6
= (long)(SWIG_As_long(obj5
));
14101 if (SWIG_arg_fail(6)) SWIG_fail
;
14107 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14111 if (!wxPyCheckForApp()) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14157 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14160 wxString
*arg2
= 0 ;
14161 bool temp2
= false ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self",(char *) "message", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14170 if (SWIG_arg_fail(1)) SWIG_fail
;
14172 arg2
= wxString_in_helper(obj1
);
14173 if (arg2
== NULL
) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->SetMessage((wxString
const &)*arg2
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 Py_INCREF(Py_None
); resultobj
= Py_None
;
14198 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14201 wxString
*arg2
= 0 ;
14202 bool temp2
= false ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "path", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail
;
14213 arg2
= wxString_in_helper(obj1
);
14214 if (arg2
== NULL
) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 (arg1
)->SetPath((wxString
const &)*arg2
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 Py_INCREF(Py_None
); resultobj
= Py_None
;
14239 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14242 wxString
*arg2
= 0 ;
14243 bool temp2
= false ;
14244 PyObject
* obj0
= 0 ;
14245 PyObject
* obj1
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self",(char *) "dir", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail
;
14254 arg2
= wxString_in_helper(obj1
);
14255 if (arg2
== NULL
) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 Py_INCREF(Py_None
); resultobj
= Py_None
;
14280 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14283 wxString
*arg2
= 0 ;
14284 bool temp2
= false ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "name", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14293 if (SWIG_arg_fail(1)) SWIG_fail
;
14295 arg2
= wxString_in_helper(obj1
);
14296 if (arg2
== NULL
) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 (arg1
)->SetFilename((wxString
const &)*arg2
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14324 wxString
*arg2
= 0 ;
14325 bool temp2
= false ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self",(char *) "wildCard", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14334 if (SWIG_arg_fail(1)) SWIG_fail
;
14336 arg2
= wxString_in_helper(obj1
);
14337 if (arg2
== NULL
) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self",(char *) "style", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14374 if (SWIG_arg_fail(1)) SWIG_fail
;
14376 arg2
= (long)(SWIG_As_long(obj1
));
14377 if (SWIG_arg_fail(2)) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 (arg1
)->SetStyle(arg2
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 Py_INCREF(Py_None
); resultobj
= Py_None
;
14393 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "filterIndex", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14405 if (SWIG_arg_fail(1)) SWIG_fail
;
14407 arg2
= (int)(SWIG_As_int(obj1
));
14408 if (SWIG_arg_fail(2)) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 (arg1
)->SetFilterIndex(arg2
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 Py_INCREF(Py_None
); resultobj
= Py_None
;
14424 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14456 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14467 if (SWIG_arg_fail(1)) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14488 static PyObject
*_wrap_FileDialog_GetDirectory(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_GetDirectory",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
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14520 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14531 if (SWIG_arg_fail(1)) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14552 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14584 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
;
14586 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14588 PyObject
* obj0
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14595 if (SWIG_arg_fail(1)) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_From_long((long)(result
));
14612 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14623 if (SWIG_arg_fail(1)) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_From_int((int)(result
));
14640 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= result
;
14666 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14677 if (SWIG_arg_fail(1)) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= result
;
14692 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14695 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14697 return Py_BuildValue((char *)"");
14699 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxWindow
*arg1
= (wxWindow
*) 0 ;
14702 wxString
*arg2
= 0 ;
14703 wxString
*arg3
= 0 ;
14704 int arg4
= (int) 0 ;
14705 wxString
*arg5
= (wxString
*) NULL
;
14706 long arg6
= (long) wxCHOICEDLG_STYLE
;
14707 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14708 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14709 wxMultiChoiceDialog
*result
;
14710 bool temp2
= false ;
14711 bool temp3
= false ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 PyObject
* obj2
= 0 ;
14716 PyObject
* obj3
= 0 ;
14717 PyObject
* obj4
= 0 ;
14718 PyObject
* obj5
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14725 if (SWIG_arg_fail(1)) SWIG_fail
;
14727 arg2
= wxString_in_helper(obj1
);
14728 if (arg2
== NULL
) SWIG_fail
;
14732 arg3
= wxString_in_helper(obj2
);
14733 if (arg3
== NULL
) SWIG_fail
;
14738 arg4
= PyList_Size(obj3
);
14739 arg5
= wxString_LIST_helper(obj3
);
14740 if (arg5
== NULL
) SWIG_fail
;
14745 arg6
= (long)(SWIG_As_long(obj4
));
14746 if (SWIG_arg_fail(6)) SWIG_fail
;
14752 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14756 if (!wxPyCheckForApp()) SWIG_fail
;
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14773 if (arg5
) delete [] arg5
;
14786 if (arg5
) delete [] arg5
;
14792 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14795 wxArrayInt
*arg2
= 0 ;
14796 bool temp2
= false ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "selections", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail
;
14807 if (! PySequence_Check(obj1
)) {
14808 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14811 arg2
= new wxArrayInt
;
14813 int i
, len
=PySequence_Length(obj1
);
14814 for (i
=0; i
<len
; i
++) {
14815 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14816 PyObject
* number
= PyNumber_Int(item
);
14817 arg2
->Add(PyInt_AS_LONG(number
));
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 Py_INCREF(Py_None
); resultobj
= Py_None
;
14831 if (temp2
) delete arg2
;
14836 if (temp2
) delete arg2
;
14842 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14853 if (SWIG_arg_fail(1)) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= result
;
14868 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14873 return Py_BuildValue((char *)"");
14875 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxWindow
*arg1
= (wxWindow
*) 0 ;
14878 wxString
*arg2
= 0 ;
14879 wxString
*arg3
= 0 ;
14881 wxString
*arg5
= (wxString
*) 0 ;
14882 long arg6
= (long) wxCHOICEDLG_STYLE
;
14883 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14884 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14885 wxSingleChoiceDialog
*result
;
14886 bool temp2
= false ;
14887 bool temp3
= false ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 PyObject
* obj2
= 0 ;
14892 PyObject
* obj3
= 0 ;
14893 PyObject
* obj4
= 0 ;
14894 PyObject
* obj5
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail
;
14903 arg2
= wxString_in_helper(obj1
);
14904 if (arg2
== NULL
) SWIG_fail
;
14908 arg3
= wxString_in_helper(obj2
);
14909 if (arg3
== NULL
) SWIG_fail
;
14913 arg4
= PyList_Size(obj3
);
14914 arg5
= wxString_LIST_helper(obj3
);
14915 if (arg5
== NULL
) SWIG_fail
;
14919 arg6
= (long)(SWIG_As_long(obj4
));
14920 if (SWIG_arg_fail(6)) SWIG_fail
;
14926 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14930 if (!wxPyCheckForApp()) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14947 if (arg5
) delete [] arg5
;
14960 if (arg5
) delete [] arg5
;
14966 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14977 if (SWIG_arg_fail(1)) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (int)(arg1
)->GetSelection();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_From_int((int)(result
));
14994 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15005 if (SWIG_arg_fail(1)) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (arg1
)->GetStringSelection();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15026 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "sel", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail
;
15040 arg2
= (int)(SWIG_As_int(obj1
));
15041 if (SWIG_arg_fail(2)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 (arg1
)->SetSelection(arg2
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15060 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15062 return Py_BuildValue((char *)"");
15064 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxWindow
*arg1
= (wxWindow
*) 0 ;
15067 wxString
*arg2
= 0 ;
15068 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15070 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15071 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15072 long arg5
= (long) wxTextEntryDialogStyle
;
15073 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15074 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15075 wxTextEntryDialog
*result
;
15076 bool temp2
= false ;
15077 bool temp3
= false ;
15078 bool temp4
= false ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 PyObject
* obj2
= 0 ;
15083 PyObject
* obj3
= 0 ;
15084 PyObject
* obj4
= 0 ;
15085 PyObject
* obj5
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15094 arg2
= wxString_in_helper(obj1
);
15095 if (arg2
== NULL
) SWIG_fail
;
15100 arg3
= wxString_in_helper(obj2
);
15101 if (arg3
== NULL
) SWIG_fail
;
15107 arg4
= wxString_in_helper(obj3
);
15108 if (arg4
== NULL
) SWIG_fail
;
15114 arg5
= (long)(SWIG_As_long(obj4
));
15115 if (SWIG_arg_fail(5)) SWIG_fail
;
15121 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15125 if (!wxPyCheckForApp()) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15163 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15174 if (SWIG_arg_fail(1)) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (arg1
)->GetValue();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15195 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15198 wxString
*arg2
= 0 ;
15199 bool temp2
= false ;
15200 PyObject
* obj0
= 0 ;
15201 PyObject
* obj1
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self",(char *) "value", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15208 if (SWIG_arg_fail(1)) SWIG_fail
;
15210 arg2
= wxString_in_helper(obj1
);
15211 if (arg2
== NULL
) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 (arg1
)->SetValue((wxString
const &)*arg2
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 Py_INCREF(Py_None
); resultobj
= Py_None
;
15236 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15239 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15241 return Py_BuildValue((char *)"");
15243 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15244 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15249 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15254 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15256 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15263 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxWindow
*arg1
= (wxWindow
*) 0 ;
15266 wxString
*arg2
= 0 ;
15267 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15269 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15270 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15271 long arg5
= (long) wxTextEntryDialogStyle
;
15272 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15273 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15274 wxPasswordEntryDialog
*result
;
15275 bool temp2
= false ;
15276 bool temp3
= false ;
15277 bool temp4
= false ;
15279 PyObject
* obj0
= 0 ;
15280 PyObject
* obj1
= 0 ;
15281 PyObject
* obj2
= 0 ;
15282 PyObject
* obj3
= 0 ;
15283 PyObject
* obj4
= 0 ;
15284 PyObject
* obj5
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15291 if (SWIG_arg_fail(1)) SWIG_fail
;
15293 arg2
= wxString_in_helper(obj1
);
15294 if (arg2
== NULL
) SWIG_fail
;
15299 arg3
= wxString_in_helper(obj2
);
15300 if (arg3
== NULL
) SWIG_fail
;
15306 arg4
= wxString_in_helper(obj3
);
15307 if (arg4
== NULL
) SWIG_fail
;
15313 arg5
= (long)(SWIG_As_long(obj4
));
15314 if (SWIG_arg_fail(5)) SWIG_fail
;
15320 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15361 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15364 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15366 return Py_BuildValue((char *)"");
15368 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxFontData
*result
;
15371 char *kwnames
[] = {
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (wxFontData
*)new wxFontData();
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15390 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxFontData
*arg1
= (wxFontData
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 Py_INCREF(Py_None
); resultobj
= Py_None
;
15415 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxFontData
*arg1
= (wxFontData
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self",(char *) "enable", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail
;
15429 arg2
= (bool)(SWIG_As_bool(obj1
));
15430 if (SWIG_arg_fail(2)) SWIG_fail
;
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 (arg1
)->EnableEffects(arg2
);
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 Py_INCREF(Py_None
); resultobj
= Py_None
;
15446 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxFontData
*arg1
= (wxFontData
*) 0 ;
15450 PyObject
* obj0
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15457 if (SWIG_arg_fail(1)) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (bool)(arg1
)->GetAllowSymbols();
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15474 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxFontData
*arg1
= (wxFontData
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15485 if (SWIG_arg_fail(1)) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (arg1
)->GetColour();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 wxColour
* resultptr
;
15495 resultptr
= new wxColour((wxColour
&)(result
));
15496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15504 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxFontData
*arg1
= (wxFontData
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15515 if (SWIG_arg_fail(1)) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (arg1
)->GetChosenFont();
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15524 wxFont
* resultptr
;
15525 resultptr
= new wxFont((wxFont
&)(result
));
15526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15534 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxFontData
*arg1
= (wxFontData
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (bool)(arg1
)->GetEnableEffects();
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxFontData
*arg1
= (wxFontData
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (arg1
)->GetInitialFont();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 wxFont
* resultptr
;
15583 resultptr
= new wxFont((wxFont
&)(result
));
15584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15592 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxFontData
*arg1
= (wxFontData
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (bool)(arg1
)->GetShowHelp();
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15620 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxFontData
*arg1
= (wxFontData
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self",(char *) "allowSymbols", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15632 if (SWIG_arg_fail(1)) SWIG_fail
;
15634 arg2
= (bool)(SWIG_As_bool(obj1
));
15635 if (SWIG_arg_fail(2)) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 (arg1
)->SetAllowSymbols(arg2
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 Py_INCREF(Py_None
); resultobj
= Py_None
;
15651 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxFontData
*arg1
= (wxFontData
*) 0 ;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "font", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15663 if (SWIG_arg_fail(1)) SWIG_fail
;
15665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15666 if (SWIG_arg_fail(2)) SWIG_fail
;
15667 if (arg2
== NULL
) {
15668 SWIG_null_ref("wxFont");
15670 if (SWIG_arg_fail(2)) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 Py_INCREF(Py_None
); resultobj
= Py_None
;
15686 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxFontData
*arg1
= (wxFontData
*) 0 ;
15689 wxColour
*arg2
= 0 ;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self",(char *) "colour", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15699 if (SWIG_arg_fail(1)) SWIG_fail
;
15702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 (arg1
)->SetColour((wxColour
const &)*arg2
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 Py_INCREF(Py_None
); resultobj
= Py_None
;
15718 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxFontData
*arg1
= (wxFontData
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "font", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail
;
15732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15733 if (SWIG_arg_fail(2)) SWIG_fail
;
15734 if (arg2
== NULL
) {
15735 SWIG_null_ref("wxFont");
15737 if (SWIG_arg_fail(2)) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 Py_INCREF(Py_None
); resultobj
= Py_None
;
15753 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
;
15755 wxFontData
*arg1
= (wxFontData
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 PyObject
* obj2
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self",(char *) "min",(char *) "max", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail
;
15769 arg2
= (int)(SWIG_As_int(obj1
));
15770 if (SWIG_arg_fail(2)) SWIG_fail
;
15773 arg3
= (int)(SWIG_As_int(obj2
));
15774 if (SWIG_arg_fail(3)) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 (arg1
)->SetRange(arg2
,arg3
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 Py_INCREF(Py_None
); resultobj
= Py_None
;
15790 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxFontData
*arg1
= (wxFontData
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self",(char *) "showHelp", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail
;
15804 arg2
= (bool)(SWIG_As_bool(obj1
));
15805 if (SWIG_arg_fail(2)) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->SetShowHelp(arg2
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15824 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15826 return Py_BuildValue((char *)"");
15828 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
;
15830 wxWindow
*arg1
= (wxWindow
*) 0 ;
15831 wxFontData
*arg2
= 0 ;
15832 wxFontDialog
*result
;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "parent",(char *) "data", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail
;
15843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15844 if (SWIG_arg_fail(2)) SWIG_fail
;
15845 if (arg2
== NULL
) {
15846 SWIG_null_ref("wxFontData");
15848 if (SWIG_arg_fail(2)) SWIG_fail
;
15851 if (!wxPyCheckForApp()) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15865 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15868 wxFontData
*result
;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15876 if (SWIG_arg_fail(1)) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15881 result
= (wxFontData
*) &_result_ref
;
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15894 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15897 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15899 return Py_BuildValue((char *)"");
15901 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxWindow
*arg1
= (wxWindow
*) 0 ;
15904 wxString
*arg2
= 0 ;
15905 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15907 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15908 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15909 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15910 wxMessageDialog
*result
;
15911 bool temp2
= false ;
15912 bool temp3
= false ;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 PyObject
* obj2
= 0 ;
15917 PyObject
* obj3
= 0 ;
15918 PyObject
* obj4
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15925 if (SWIG_arg_fail(1)) SWIG_fail
;
15927 arg2
= wxString_in_helper(obj1
);
15928 if (arg2
== NULL
) SWIG_fail
;
15933 arg3
= wxString_in_helper(obj2
);
15934 if (arg3
== NULL
) SWIG_fail
;
15940 arg4
= (long)(SWIG_As_long(obj3
));
15941 if (SWIG_arg_fail(4)) SWIG_fail
;
15947 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15951 if (!wxPyCheckForApp()) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15981 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15984 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15986 return Py_BuildValue((char *)"");
15988 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxString
*arg1
= 0 ;
15991 wxString
*arg2
= 0 ;
15992 int arg3
= (int) 100 ;
15993 wxWindow
*arg4
= (wxWindow
*) NULL
;
15994 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15995 wxProgressDialog
*result
;
15996 bool temp1
= false ;
15997 bool temp2
= false ;
15998 PyObject
* obj0
= 0 ;
15999 PyObject
* obj1
= 0 ;
16000 PyObject
* obj2
= 0 ;
16001 PyObject
* obj3
= 0 ;
16002 PyObject
* obj4
= 0 ;
16003 char *kwnames
[] = {
16004 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16009 arg1
= wxString_in_helper(obj0
);
16010 if (arg1
== NULL
) SWIG_fail
;
16014 arg2
= wxString_in_helper(obj1
);
16015 if (arg2
== NULL
) SWIG_fail
;
16020 arg3
= (int)(SWIG_As_int(obj2
));
16021 if (SWIG_arg_fail(3)) SWIG_fail
;
16025 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16026 if (SWIG_arg_fail(4)) SWIG_fail
;
16030 arg5
= (int)(SWIG_As_int(obj4
));
16031 if (SWIG_arg_fail(5)) SWIG_fail
;
16035 if (!wxPyCheckForApp()) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16065 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16072 bool temp3
= false ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 PyObject
* obj2
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16082 if (SWIG_arg_fail(1)) SWIG_fail
;
16084 arg2
= (int)(SWIG_As_int(obj1
));
16085 if (SWIG_arg_fail(2)) SWIG_fail
;
16089 arg3
= wxString_in_helper(obj2
);
16090 if (arg3
== NULL
) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16118 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 Py_INCREF(Py_None
); resultobj
= Py_None
;
16143 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16146 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16148 return Py_BuildValue((char *)"");
16150 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16153 int arg2
= (int) 0 ;
16154 wxFindDialogEvent
*result
;
16155 PyObject
* obj0
= 0 ;
16156 PyObject
* obj1
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "commandType",(char *) "id", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16164 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16165 if (SWIG_arg_fail(1)) SWIG_fail
;
16170 arg2
= (int)(SWIG_As_int(obj1
));
16171 if (SWIG_arg_fail(2)) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16188 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16199 if (SWIG_arg_fail(1)) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (int)(arg1
)->GetFlags();
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= SWIG_From_int((int)(result
));
16216 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16220 PyObject
* obj0
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16227 if (SWIG_arg_fail(1)) SWIG_fail
;
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 wxString
const &_result_ref
= (arg1
)->GetFindString();
16232 result
= (wxString
*) &_result_ref
;
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16242 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16251 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16262 if (SWIG_arg_fail(1)) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16267 result
= (wxString
*) &_result_ref
;
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16277 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16286 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16289 wxFindReplaceDialog
*result
;
16290 PyObject
* obj0
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16297 if (SWIG_arg_fail(1)) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16312 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "flags", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail
;
16326 arg2
= (int)(SWIG_As_int(obj1
));
16327 if (SWIG_arg_fail(2)) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 (arg1
)->SetFlags(arg2
);
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16346 wxString
*arg2
= 0 ;
16347 bool temp2
= false ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "str", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16356 if (SWIG_arg_fail(1)) SWIG_fail
;
16358 arg2
= wxString_in_helper(obj1
);
16359 if (arg2
== NULL
) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 (arg1
)->SetFindString((wxString
const &)*arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16387 wxString
*arg2
= 0 ;
16388 bool temp2
= false ;
16389 PyObject
* obj0
= 0 ;
16390 PyObject
* obj1
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self",(char *) "str", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16397 if (SWIG_arg_fail(1)) SWIG_fail
;
16399 arg2
= wxString_in_helper(obj1
);
16400 if (arg2
== NULL
) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16428 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16430 return Py_BuildValue((char *)"");
16432 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 int arg1
= (int) 0 ;
16435 wxFindReplaceData
*result
;
16436 PyObject
* obj0
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "flags", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16444 arg1
= (int)(SWIG_As_int(obj0
));
16445 if (SWIG_arg_fail(1)) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16462 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16472 if (SWIG_arg_fail(1)) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 Py_INCREF(Py_None
); resultobj
= Py_None
;
16487 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16498 if (SWIG_arg_fail(1)) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 wxString
const &_result_ref
= (arg1
)->GetFindString();
16503 result
= (wxString
*) &_result_ref
;
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16511 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16513 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16522 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16533 if (SWIG_arg_fail(1)) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16538 result
= (wxString
*) &_result_ref
;
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16548 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16557 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (int)(arg1
)->GetFlags();
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_From_int((int)(result
));
16585 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self",(char *) "flags", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail
;
16599 arg2
= (int)(SWIG_As_int(obj1
));
16600 if (SWIG_arg_fail(2)) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 (arg1
)->SetFlags(arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16619 wxString
*arg2
= 0 ;
16620 bool temp2
= false ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "str", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16629 if (SWIG_arg_fail(1)) SWIG_fail
;
16631 arg2
= wxString_in_helper(obj1
);
16632 if (arg2
== NULL
) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->SetFindString((wxString
const &)*arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16660 wxString
*arg2
= 0 ;
16661 bool temp2
= false ;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self",(char *) "str", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 arg2
= wxString_in_helper(obj1
);
16673 if (arg2
== NULL
) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 Py_INCREF(Py_None
); resultobj
= Py_None
;
16698 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16701 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16703 return Py_BuildValue((char *)"");
16705 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxWindow
*arg1
= (wxWindow
*) 0 ;
16708 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16709 wxString
*arg3
= 0 ;
16710 int arg4
= (int) 0 ;
16711 wxFindReplaceDialog
*result
;
16712 bool temp3
= false ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 PyObject
* obj2
= 0 ;
16716 PyObject
* obj3
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16723 if (SWIG_arg_fail(1)) SWIG_fail
;
16724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16725 if (SWIG_arg_fail(2)) SWIG_fail
;
16727 arg3
= wxString_in_helper(obj2
);
16728 if (arg3
== NULL
) SWIG_fail
;
16733 arg4
= (int)(SWIG_As_int(obj3
));
16734 if (SWIG_arg_fail(4)) SWIG_fail
;
16738 if (!wxPyCheckForApp()) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16760 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 wxFindReplaceDialog
*result
;
16763 char *kwnames
[] = {
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16769 if (!wxPyCheckForApp()) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16783 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16786 wxWindow
*arg2
= (wxWindow
*) 0 ;
16787 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16788 wxString
*arg4
= 0 ;
16789 int arg5
= (int) 0 ;
16791 bool temp4
= false ;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 PyObject
* obj2
= 0 ;
16795 PyObject
* obj3
= 0 ;
16796 PyObject
* obj4
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16803 if (SWIG_arg_fail(1)) SWIG_fail
;
16804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16805 if (SWIG_arg_fail(2)) SWIG_fail
;
16806 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16807 if (SWIG_arg_fail(3)) SWIG_fail
;
16809 arg4
= wxString_in_helper(obj3
);
16810 if (arg4
== NULL
) SWIG_fail
;
16815 arg5
= (int)(SWIG_As_int(obj4
));
16816 if (SWIG_arg_fail(5)) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16843 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
;
16845 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16846 wxFindReplaceData
*result
;
16847 PyObject
* obj0
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "self", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16854 if (SWIG_arg_fail(1)) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16869 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16872 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 PyObject
* obj1
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self",(char *) "data", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16881 if (SWIG_arg_fail(1)) SWIG_fail
;
16882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16883 if (SWIG_arg_fail(2)) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 (arg1
)->SetData(arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 Py_INCREF(Py_None
); resultobj
= Py_None
;
16898 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16901 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16903 return Py_BuildValue((char *)"");
16905 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxWindow
*arg1
= (wxWindow
*) 0 ;
16908 int arg2
= (int) (int)-1 ;
16909 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16910 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16911 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16912 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16913 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16914 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16915 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16916 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16917 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16918 wxMDIParentFrame
*result
;
16919 bool temp3
= false ;
16922 bool temp7
= false ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 PyObject
* obj2
= 0 ;
16926 PyObject
* obj3
= 0 ;
16927 PyObject
* obj4
= 0 ;
16928 PyObject
* obj5
= 0 ;
16929 PyObject
* obj6
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16936 if (SWIG_arg_fail(1)) SWIG_fail
;
16939 arg2
= (int const)(SWIG_As_int(obj1
));
16940 if (SWIG_arg_fail(2)) SWIG_fail
;
16945 arg3
= wxString_in_helper(obj2
);
16946 if (arg3
== NULL
) SWIG_fail
;
16953 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16959 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16964 arg6
= (long)(SWIG_As_long(obj5
));
16965 if (SWIG_arg_fail(6)) SWIG_fail
;
16970 arg7
= wxString_in_helper(obj6
);
16971 if (arg7
== NULL
) SWIG_fail
;
16976 if (!wxPyCheckForApp()) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17006 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxMDIParentFrame
*result
;
17009 char *kwnames
[] = {
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17015 if (!wxPyCheckForApp()) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17029 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17032 wxWindow
*arg2
= (wxWindow
*) 0 ;
17033 int arg3
= (int) (int)-1 ;
17034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17036 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17037 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17038 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17039 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17040 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17041 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17044 bool temp4
= false ;
17047 bool temp8
= false ;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 PyObject
* obj2
= 0 ;
17051 PyObject
* obj3
= 0 ;
17052 PyObject
* obj4
= 0 ;
17053 PyObject
* obj5
= 0 ;
17054 PyObject
* obj6
= 0 ;
17055 PyObject
* obj7
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17062 if (SWIG_arg_fail(1)) SWIG_fail
;
17063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17064 if (SWIG_arg_fail(2)) SWIG_fail
;
17067 arg3
= (int const)(SWIG_As_int(obj2
));
17068 if (SWIG_arg_fail(3)) SWIG_fail
;
17073 arg4
= wxString_in_helper(obj3
);
17074 if (arg4
== NULL
) SWIG_fail
;
17081 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17087 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17092 arg7
= (long)(SWIG_As_long(obj6
));
17093 if (SWIG_arg_fail(7)) SWIG_fail
;
17098 arg8
= wxString_in_helper(obj7
);
17099 if (arg8
== NULL
) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17135 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 (arg1
)->ActivateNext();
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 Py_INCREF(Py_None
); resultobj
= Py_None
;
17160 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17163 PyObject
* obj0
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17170 if (SWIG_arg_fail(1)) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->ActivatePrevious();
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 Py_INCREF(Py_None
); resultobj
= Py_None
;
17185 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 (arg1
)->ArrangeIcons();
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 Py_INCREF(Py_None
); resultobj
= Py_None
;
17210 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17220 if (SWIG_arg_fail(1)) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 Py_INCREF(Py_None
); resultobj
= Py_None
;
17235 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17238 wxMDIChildFrame
*result
;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= wxPyMake_wxObject(result
, 0);
17263 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17266 wxMDIClientWindow
*result
;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= wxPyMake_wxObject(result
, 0);
17291 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
;
17293 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17295 PyObject
* obj0
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "self", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17302 if (SWIG_arg_fail(1)) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (wxWindow
*)(arg1
)->GetToolBar();
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= wxPyMake_wxObject(result
, 0);
17319 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
17329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17330 if (SWIG_arg_fail(1)) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= wxPyMake_wxObject(result
, 0);
17347 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17350 wxMenu
*arg2
= (wxMenu
*) 0 ;
17351 PyObject
* obj0
= 0 ;
17352 PyObject
* obj1
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "self",(char *) "menu", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
17358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail
;
17360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
17361 if (SWIG_arg_fail(2)) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 (arg1
)->SetWindowMenu(arg2
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 Py_INCREF(Py_None
); resultobj
= Py_None
;
17376 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17379 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "toolbar", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
17387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail
;
17389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
17390 if (SWIG_arg_fail(2)) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->SetToolBar(arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17408 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "orient", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17417 if (SWIG_arg_fail(1)) SWIG_fail
;
17420 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17421 if (SWIG_arg_fail(2)) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->Tile((wxOrientation
)arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17438 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17441 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17443 return Py_BuildValue((char *)"");
17445 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17448 int arg2
= (int) (int)-1 ;
17449 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17450 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17455 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17456 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17458 wxMDIChildFrame
*result
;
17459 bool temp3
= false ;
17462 bool temp7
= false ;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 PyObject
* obj2
= 0 ;
17466 PyObject
* obj3
= 0 ;
17467 PyObject
* obj4
= 0 ;
17468 PyObject
* obj5
= 0 ;
17469 PyObject
* obj6
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17479 arg2
= (int const)(SWIG_As_int(obj1
));
17480 if (SWIG_arg_fail(2)) SWIG_fail
;
17485 arg3
= wxString_in_helper(obj2
);
17486 if (arg3
== NULL
) SWIG_fail
;
17493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17504 arg6
= (long)(SWIG_As_long(obj5
));
17505 if (SWIG_arg_fail(6)) SWIG_fail
;
17510 arg7
= wxString_in_helper(obj6
);
17511 if (arg7
== NULL
) SWIG_fail
;
17516 if (!wxPyCheckForApp()) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17546 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxMDIChildFrame
*result
;
17549 char *kwnames
[] = {
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17555 if (!wxPyCheckForApp()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17569 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17572 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17573 int arg3
= (int) (int)-1 ;
17574 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17575 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17576 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17577 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17578 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17579 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17580 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17581 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17582 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17584 bool temp4
= false ;
17587 bool temp8
= false ;
17588 PyObject
* obj0
= 0 ;
17589 PyObject
* obj1
= 0 ;
17590 PyObject
* obj2
= 0 ;
17591 PyObject
* obj3
= 0 ;
17592 PyObject
* obj4
= 0 ;
17593 PyObject
* obj5
= 0 ;
17594 PyObject
* obj6
= 0 ;
17595 PyObject
* obj7
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17602 if (SWIG_arg_fail(1)) SWIG_fail
;
17603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17604 if (SWIG_arg_fail(2)) SWIG_fail
;
17607 arg3
= (int const)(SWIG_As_int(obj2
));
17608 if (SWIG_arg_fail(3)) SWIG_fail
;
17613 arg4
= wxString_in_helper(obj3
);
17614 if (arg4
== NULL
) SWIG_fail
;
17621 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17627 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17632 arg7
= (long)(SWIG_As_long(obj6
));
17633 if (SWIG_arg_fail(7)) SWIG_fail
;
17638 arg8
= wxString_in_helper(obj7
);
17639 if (arg8
== NULL
) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 (arg1
)->Activate();
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 Py_INCREF(Py_None
); resultobj
= Py_None
;
17700 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17703 bool arg2
= (bool) true ;
17704 PyObject
* obj0
= 0 ;
17705 PyObject
* obj1
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "maximize", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail
;
17715 arg2
= (bool)(SWIG_As_bool(obj1
));
17716 if (SWIG_arg_fail(2)) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 (arg1
)->Maximize(arg2
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 Py_INCREF(Py_None
); resultobj
= Py_None
;
17733 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17743 if (SWIG_arg_fail(1)) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17758 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17761 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17763 return Py_BuildValue((char *)"");
17765 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17768 long arg2
= (long) 0 ;
17769 wxMDIClientWindow
*result
;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "parent",(char *) "style", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(1)) SWIG_fail
;
17781 arg2
= (long)(SWIG_As_long(obj1
));
17782 if (SWIG_arg_fail(2)) SWIG_fail
;
17786 if (!wxPyCheckForApp()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17800 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxMDIClientWindow
*result
;
17803 char *kwnames
[] = {
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17809 if (!wxPyCheckForApp()) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17823 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17826 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17827 long arg3
= (long) 0 ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 PyObject
* obj2
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self",(char *) "parent",(char *) "style", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17838 if (SWIG_arg_fail(1)) SWIG_fail
;
17839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17840 if (SWIG_arg_fail(2)) SWIG_fail
;
17843 arg3
= (long)(SWIG_As_long(obj2
));
17844 if (SWIG_arg_fail(3)) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17863 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17868 return Py_BuildValue((char *)"");
17870 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxWindow
*arg1
= (wxWindow
*) 0 ;
17873 int arg2
= (int) (int)-1 ;
17874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17878 long arg5
= (long) 0 ;
17879 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17881 wxPyWindow
*result
;
17884 bool temp6
= false ;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 PyObject
* obj2
= 0 ;
17888 PyObject
* obj3
= 0 ;
17889 PyObject
* obj4
= 0 ;
17890 PyObject
* obj5
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail
;
17900 arg2
= (int const)(SWIG_As_int(obj1
));
17901 if (SWIG_arg_fail(2)) SWIG_fail
;
17907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17913 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17918 arg5
= (long)(SWIG_As_long(obj4
));
17919 if (SWIG_arg_fail(5)) SWIG_fail
;
17924 arg6
= wxString_in_helper(obj5
);
17925 if (arg6
== NULL
) SWIG_fail
;
17930 if (!wxPyCheckForApp()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17952 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxPyWindow
*result
;
17955 char *kwnames
[] = {
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17961 if (!wxPyCheckForApp()) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 result
= (wxPyWindow
*)new wxPyWindow();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17975 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17978 PyObject
*arg2
= (PyObject
*) 0 ;
17979 PyObject
*arg3
= (PyObject
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 PyObject
* obj2
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "self",(char *) "_class", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 Py_INCREF(Py_None
); resultobj
= Py_None
;
18006 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self",(char *) "size", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18019 if (SWIG_arg_fail(1)) SWIG_fail
;
18022 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 Py_INCREF(Py_None
); resultobj
= Py_None
;
18038 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18041 wxDC
*arg2
= (wxDC
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self",(char *) "dc", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18053 if (SWIG_arg_fail(2)) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18070 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
;
18072 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 PyObject
* obj2
= 0 ;
18080 PyObject
* obj3
= 0 ;
18081 PyObject
* obj4
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 arg2
= (int)(SWIG_As_int(obj1
));
18091 if (SWIG_arg_fail(2)) SWIG_fail
;
18094 arg3
= (int)(SWIG_As_int(obj2
));
18095 if (SWIG_arg_fail(3)) SWIG_fail
;
18098 arg4
= (int)(SWIG_As_int(obj3
));
18099 if (SWIG_arg_fail(4)) SWIG_fail
;
18102 arg5
= (int)(SWIG_As_int(obj4
));
18103 if (SWIG_arg_fail(5)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 Py_INCREF(Py_None
); resultobj
= Py_None
;
18119 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18126 int arg6
= (int) wxSIZE_AUTO
;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 PyObject
* obj2
= 0 ;
18130 PyObject
* obj3
= 0 ;
18131 PyObject
* obj4
= 0 ;
18132 PyObject
* obj5
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18139 if (SWIG_arg_fail(1)) SWIG_fail
;
18141 arg2
= (int)(SWIG_As_int(obj1
));
18142 if (SWIG_arg_fail(2)) SWIG_fail
;
18145 arg3
= (int)(SWIG_As_int(obj2
));
18146 if (SWIG_arg_fail(3)) SWIG_fail
;
18149 arg4
= (int)(SWIG_As_int(obj3
));
18150 if (SWIG_arg_fail(4)) SWIG_fail
;
18153 arg5
= (int)(SWIG_As_int(obj4
));
18154 if (SWIG_arg_fail(5)) SWIG_fail
;
18158 arg6
= (int)(SWIG_As_int(obj5
));
18159 if (SWIG_arg_fail(6)) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 Py_INCREF(Py_None
); resultobj
= Py_None
;
18176 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18181 PyObject
* obj0
= 0 ;
18182 PyObject
* obj1
= 0 ;
18183 PyObject
* obj2
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self",(char *) "width",(char *) "height", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18190 if (SWIG_arg_fail(1)) SWIG_fail
;
18192 arg2
= (int)(SWIG_As_int(obj1
));
18193 if (SWIG_arg_fail(2)) SWIG_fail
;
18196 arg3
= (int)(SWIG_As_int(obj2
));
18197 if (SWIG_arg_fail(3)) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 Py_INCREF(Py_None
); resultobj
= Py_None
;
18213 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 PyObject
* obj2
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "x",(char *) "y", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18227 if (SWIG_arg_fail(1)) SWIG_fail
;
18229 arg2
= (int)(SWIG_As_int(obj1
));
18230 if (SWIG_arg_fail(2)) SWIG_fail
;
18233 arg3
= (int)(SWIG_As_int(obj2
));
18234 if (SWIG_arg_fail(3)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18253 int *arg2
= (int *) 0 ;
18254 int *arg3
= (int *) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self", NULL
18264 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18265 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 Py_INCREF(Py_None
); resultobj
= Py_None
;
18277 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18278 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18279 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18280 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18287 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18290 int *arg2
= (int *) 0 ;
18291 int *arg3
= (int *) 0 ;
18296 PyObject
* obj0
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self", NULL
18301 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18302 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18305 if (SWIG_arg_fail(1)) SWIG_fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18315 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18316 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18317 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18324 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18327 int *arg2
= (int *) 0 ;
18328 int *arg3
= (int *) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18339 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18342 if (SWIG_arg_fail(1)) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 Py_INCREF(Py_None
); resultobj
= Py_None
;
18351 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18352 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18353 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18354 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18361 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18372 if (SWIG_arg_fail(1)) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 wxSize
* resultptr
;
18382 resultptr
= new wxSize((wxSize
&)(result
));
18383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18391 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18402 if (SWIG_arg_fail(1)) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 wxSize
* resultptr
;
18412 resultptr
= new wxSize((wxSize
&)(result
));
18413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18421 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 (arg1
)->base_InitDialog();
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 Py_INCREF(Py_None
); resultobj
= Py_None
;
18446 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)(arg1
)->base_TransferDataToWindow();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18485 if (SWIG_arg_fail(1)) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18502 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (bool)(arg1
)->base_Validate();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18530 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18541 if (SWIG_arg_fail(1)) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18558 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18569 if (SWIG_arg_fail(1)) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18586 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18597 if (SWIG_arg_fail(1)) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 wxSize
* resultptr
;
18607 resultptr
= new wxSize((wxSize
&)(result
));
18608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18616 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18619 wxWindow
*arg2
= (wxWindow
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self",(char *) "child", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18628 if (SWIG_arg_fail(1)) SWIG_fail
;
18629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18630 if (SWIG_arg_fail(2)) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->base_AddChild(arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 Py_INCREF(Py_None
); resultobj
= Py_None
;
18645 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18648 wxWindow
*arg2
= (wxWindow
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "child", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail
;
18658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18659 if (SWIG_arg_fail(2)) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 (arg1
)->base_RemoveChild(arg2
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 Py_INCREF(Py_None
); resultobj
= Py_None
;
18674 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18702 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18705 wxVisualAttributes result
;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18713 if (SWIG_arg_fail(1)) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (arg1
)->base_GetDefaultAttributes();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 wxVisualAttributes
* resultptr
;
18723 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18732 static PyObject
*_wrap_PyWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
18741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 (arg1
)->base_OnInternalIdle();
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18750 Py_INCREF(Py_None
); resultobj
= Py_None
;
18757 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18760 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18762 return Py_BuildValue((char *)"");
18764 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxWindow
*arg1
= (wxWindow
*) 0 ;
18767 int arg2
= (int) (int)-1 ;
18768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18772 long arg5
= (long) 0 ;
18773 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18774 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18778 bool temp6
= false ;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 PyObject
* obj2
= 0 ;
18782 PyObject
* obj3
= 0 ;
18783 PyObject
* obj4
= 0 ;
18784 PyObject
* obj5
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18791 if (SWIG_arg_fail(1)) SWIG_fail
;
18794 arg2
= (int const)(SWIG_As_int(obj1
));
18795 if (SWIG_arg_fail(2)) SWIG_fail
;
18801 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18807 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18812 arg5
= (long)(SWIG_As_long(obj4
));
18813 if (SWIG_arg_fail(5)) SWIG_fail
;
18818 arg6
= wxString_in_helper(obj5
);
18819 if (arg6
== NULL
) SWIG_fail
;
18824 if (!wxPyCheckForApp()) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18846 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18849 char *kwnames
[] = {
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18855 if (!wxPyCheckForApp()) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (wxPyPanel
*)new wxPyPanel();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18869 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18872 PyObject
*arg2
= (PyObject
*) 0 ;
18873 PyObject
*arg3
= (PyObject
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 PyObject
* obj1
= 0 ;
18876 PyObject
* obj2
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self",(char *) "self",(char *) "_class", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 Py_INCREF(Py_None
); resultobj
= Py_None
;
18900 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self",(char *) "size", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail
;
18916 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 Py_INCREF(Py_None
); resultobj
= Py_None
;
18932 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18935 wxDC
*arg2
= (wxDC
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "dc", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18947 if (SWIG_arg_fail(2)) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18964 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 PyObject
* obj2
= 0 ;
18974 PyObject
* obj3
= 0 ;
18975 PyObject
* obj4
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
18985 if (SWIG_arg_fail(2)) SWIG_fail
;
18988 arg3
= (int)(SWIG_As_int(obj2
));
18989 if (SWIG_arg_fail(3)) SWIG_fail
;
18992 arg4
= (int)(SWIG_As_int(obj3
));
18993 if (SWIG_arg_fail(4)) SWIG_fail
;
18996 arg5
= (int)(SWIG_As_int(obj4
));
18997 if (SWIG_arg_fail(5)) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19020 int arg6
= (int) wxSIZE_AUTO
;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 PyObject
* obj2
= 0 ;
19024 PyObject
* obj3
= 0 ;
19025 PyObject
* obj4
= 0 ;
19026 PyObject
* obj5
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19033 if (SWIG_arg_fail(1)) SWIG_fail
;
19035 arg2
= (int)(SWIG_As_int(obj1
));
19036 if (SWIG_arg_fail(2)) SWIG_fail
;
19039 arg3
= (int)(SWIG_As_int(obj2
));
19040 if (SWIG_arg_fail(3)) SWIG_fail
;
19043 arg4
= (int)(SWIG_As_int(obj3
));
19044 if (SWIG_arg_fail(4)) SWIG_fail
;
19047 arg5
= (int)(SWIG_As_int(obj4
));
19048 if (SWIG_arg_fail(5)) SWIG_fail
;
19052 arg6
= (int)(SWIG_As_int(obj5
));
19053 if (SWIG_arg_fail(6)) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 PyObject
* obj2
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "width",(char *) "height", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail
;
19086 arg2
= (int)(SWIG_As_int(obj1
));
19087 if (SWIG_arg_fail(2)) SWIG_fail
;
19090 arg3
= (int)(SWIG_As_int(obj2
));
19091 if (SWIG_arg_fail(3)) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 PyObject
* obj2
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "x",(char *) "y", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19121 if (SWIG_arg_fail(1)) SWIG_fail
;
19123 arg2
= (int)(SWIG_As_int(obj1
));
19124 if (SWIG_arg_fail(2)) SWIG_fail
;
19127 arg3
= (int)(SWIG_As_int(obj2
));
19128 if (SWIG_arg_fail(3)) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 Py_INCREF(Py_None
); resultobj
= Py_None
;
19144 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19147 int *arg2
= (int *) 0 ;
19148 int *arg3
= (int *) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19159 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",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 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 Py_INCREF(Py_None
); resultobj
= Py_None
;
19171 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19172 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19173 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19174 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19181 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19184 int *arg2
= (int *) 0 ;
19185 int *arg3
= (int *) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19196 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19209 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19210 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19211 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19218 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19221 int *arg2
= (int *) 0 ;
19222 int *arg3
= (int *) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 char *kwnames
[] = {
19229 (char *) "self", NULL
19232 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19233 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19236 if (SWIG_arg_fail(1)) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 Py_INCREF(Py_None
); resultobj
= Py_None
;
19245 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19246 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19247 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19248 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19255 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19266 if (SWIG_arg_fail(1)) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 wxSize
* resultptr
;
19276 resultptr
= new wxSize((wxSize
&)(result
));
19277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19285 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 wxSize
* resultptr
;
19306 resultptr
= new wxSize((wxSize
&)(result
));
19307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19315 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19325 if (SWIG_arg_fail(1)) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 (arg1
)->base_InitDialog();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 Py_INCREF(Py_None
); resultobj
= Py_None
;
19340 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19344 PyObject
* obj0
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19351 if (SWIG_arg_fail(1)) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (bool)(arg1
)->base_TransferDataToWindow();
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19368 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19372 PyObject
* obj0
= 0 ;
19373 char *kwnames
[] = {
19374 (char *) "self", NULL
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19379 if (SWIG_arg_fail(1)) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19396 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19407 if (SWIG_arg_fail(1)) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 result
= (bool)(arg1
)->base_Validate();
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19424 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19428 PyObject
* obj0
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19435 if (SWIG_arg_fail(1)) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19452 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19463 if (SWIG_arg_fail(1)) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19480 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19482 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19484 PyObject
* obj0
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19491 if (SWIG_arg_fail(1)) SWIG_fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19500 wxSize
* resultptr
;
19501 resultptr
= new wxSize((wxSize
&)(result
));
19502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19510 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19512 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19513 wxWindow
*arg2
= (wxWindow
*) 0 ;
19514 PyObject
* obj0
= 0 ;
19515 PyObject
* obj1
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self",(char *) "child", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19522 if (SWIG_arg_fail(1)) SWIG_fail
;
19523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19524 if (SWIG_arg_fail(2)) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 (arg1
)->base_AddChild(arg2
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 Py_INCREF(Py_None
); resultobj
= Py_None
;
19539 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19542 wxWindow
*arg2
= (wxWindow
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 PyObject
* obj1
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self",(char *) "child", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19551 if (SWIG_arg_fail(1)) SWIG_fail
;
19552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19553 if (SWIG_arg_fail(2)) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 (arg1
)->base_RemoveChild(arg2
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 Py_INCREF(Py_None
); resultobj
= Py_None
;
19568 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19596 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19599 wxVisualAttributes result
;
19600 PyObject
* obj0
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (arg1
)->base_GetDefaultAttributes();
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19616 wxVisualAttributes
* resultptr
;
19617 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19626 static PyObject
*_wrap_PyPanel_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19636 if (SWIG_arg_fail(1)) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 (arg1
)->base_OnInternalIdle();
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 Py_INCREF(Py_None
); resultobj
= Py_None
;
19651 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19654 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19656 return Py_BuildValue((char *)"");
19658 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxWindow
*arg1
= (wxWindow
*) 0 ;
19661 int arg2
= (int) (int)-1 ;
19662 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19663 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19664 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19665 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19666 long arg5
= (long) 0 ;
19667 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19668 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19669 wxPyScrolledWindow
*result
;
19672 bool temp6
= false ;
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 *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19685 if (SWIG_arg_fail(1)) SWIG_fail
;
19688 arg2
= (int const)(SWIG_As_int(obj1
));
19689 if (SWIG_arg_fail(2)) SWIG_fail
;
19695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19701 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19706 arg5
= (long)(SWIG_As_long(obj4
));
19707 if (SWIG_arg_fail(5)) SWIG_fail
;
19712 arg6
= wxString_in_helper(obj5
);
19713 if (arg6
== NULL
) SWIG_fail
;
19718 if (!wxPyCheckForApp()) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19740 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxPyScrolledWindow
*result
;
19743 char *kwnames
[] = {
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19749 if (!wxPyCheckForApp()) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19763 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19766 PyObject
*arg2
= (PyObject
*) 0 ;
19767 PyObject
*arg3
= (PyObject
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 PyObject
* obj2
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self",(char *) "self",(char *) "_class", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19777 if (SWIG_arg_fail(1)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 Py_INCREF(Py_None
); resultobj
= Py_None
;
19794 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self",(char *) "size", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 Py_INCREF(Py_None
); resultobj
= Py_None
;
19826 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19829 wxDC
*arg2
= (wxDC
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self",(char *) "dc", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19839 if (SWIG_arg_fail(1)) SWIG_fail
;
19840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19841 if (SWIG_arg_fail(2)) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19858 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 PyObject
* obj2
= 0 ;
19868 PyObject
* obj3
= 0 ;
19869 PyObject
* obj4
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19876 if (SWIG_arg_fail(1)) SWIG_fail
;
19878 arg2
= (int)(SWIG_As_int(obj1
));
19879 if (SWIG_arg_fail(2)) SWIG_fail
;
19882 arg3
= (int)(SWIG_As_int(obj2
));
19883 if (SWIG_arg_fail(3)) SWIG_fail
;
19886 arg4
= (int)(SWIG_As_int(obj3
));
19887 if (SWIG_arg_fail(4)) SWIG_fail
;
19890 arg5
= (int)(SWIG_As_int(obj4
));
19891 if (SWIG_arg_fail(5)) SWIG_fail
;
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 Py_INCREF(Py_None
); resultobj
= Py_None
;
19907 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19914 int arg6
= (int) wxSIZE_AUTO
;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19917 PyObject
* obj2
= 0 ;
19918 PyObject
* obj3
= 0 ;
19919 PyObject
* obj4
= 0 ;
19920 PyObject
* obj5
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail
;
19929 arg2
= (int)(SWIG_As_int(obj1
));
19930 if (SWIG_arg_fail(2)) SWIG_fail
;
19933 arg3
= (int)(SWIG_As_int(obj2
));
19934 if (SWIG_arg_fail(3)) SWIG_fail
;
19937 arg4
= (int)(SWIG_As_int(obj3
));
19938 if (SWIG_arg_fail(4)) SWIG_fail
;
19941 arg5
= (int)(SWIG_As_int(obj4
));
19942 if (SWIG_arg_fail(5)) SWIG_fail
;
19946 arg6
= (int)(SWIG_As_int(obj5
));
19947 if (SWIG_arg_fail(6)) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 Py_INCREF(Py_None
); resultobj
= Py_None
;
19964 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 PyObject
* obj2
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self",(char *) "width",(char *) "height", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19980 arg2
= (int)(SWIG_As_int(obj1
));
19981 if (SWIG_arg_fail(2)) SWIG_fail
;
19984 arg3
= (int)(SWIG_As_int(obj2
));
19985 if (SWIG_arg_fail(3)) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 Py_INCREF(Py_None
); resultobj
= Py_None
;
20001 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 PyObject
* obj2
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self",(char *) "x",(char *) "y", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20015 if (SWIG_arg_fail(1)) SWIG_fail
;
20017 arg2
= (int)(SWIG_As_int(obj1
));
20018 if (SWIG_arg_fail(2)) SWIG_fail
;
20021 arg3
= (int)(SWIG_As_int(obj2
));
20022 if (SWIG_arg_fail(3)) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 Py_INCREF(Py_None
); resultobj
= Py_None
;
20038 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
;
20040 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20041 int *arg2
= (int *) 0 ;
20042 int *arg3
= (int *) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20053 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
20055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 Py_INCREF(Py_None
); resultobj
= Py_None
;
20065 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20066 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20067 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20068 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20075 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20078 int *arg2
= (int *) 0 ;
20079 int *arg3
= (int *) 0 ;
20084 PyObject
* obj0
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "self", NULL
20089 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20090 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20093 if (SWIG_arg_fail(1)) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 Py_INCREF(Py_None
); resultobj
= Py_None
;
20102 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20103 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20104 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20105 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20112 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20115 int *arg2
= (int *) 0 ;
20116 int *arg3
= (int *) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self", NULL
20126 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20127 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20130 if (SWIG_arg_fail(1)) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20139 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20140 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20141 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20142 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20149 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
;
20151 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20160 if (SWIG_arg_fail(1)) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20169 wxSize
* resultptr
;
20170 resultptr
= new wxSize((wxSize
&)(result
));
20171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20179 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20190 if (SWIG_arg_fail(1)) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20199 wxSize
* resultptr
;
20200 resultptr
= new wxSize((wxSize
&)(result
));
20201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20209 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
20218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20219 if (SWIG_arg_fail(1)) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 (arg1
)->base_InitDialog();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 Py_INCREF(Py_None
); resultobj
= Py_None
;
20234 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (bool)(arg1
)->base_TransferDataToWindow();
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20262 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 char *kwnames
[] = {
20268 (char *) "self", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20273 if (SWIG_arg_fail(1)) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (bool)(arg1
)->base_TransferDataFromWindow();
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20290 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20301 if (SWIG_arg_fail(1)) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (bool)(arg1
)->base_Validate();
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20318 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20329 if (SWIG_arg_fail(1)) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20346 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20357 if (SWIG_arg_fail(1)) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20374 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20378 PyObject
* obj0
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20394 wxSize
* resultptr
;
20395 resultptr
= new wxSize((wxSize
&)(result
));
20396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20404 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20407 wxWindow
*arg2
= (wxWindow
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 PyObject
* obj1
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self",(char *) "child", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20416 if (SWIG_arg_fail(1)) SWIG_fail
;
20417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20418 if (SWIG_arg_fail(2)) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 (arg1
)->base_AddChild(arg2
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 Py_INCREF(Py_None
); resultobj
= Py_None
;
20433 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20436 wxWindow
*arg2
= (wxWindow
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self",(char *) "child", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail
;
20446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20447 if (SWIG_arg_fail(2)) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 (arg1
)->base_RemoveChild(arg2
);
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 Py_INCREF(Py_None
); resultobj
= Py_None
;
20462 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20490 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20493 wxVisualAttributes result
;
20494 PyObject
* obj0
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (arg1
)->base_GetDefaultAttributes();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20510 wxVisualAttributes
* resultptr
;
20511 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20520 static PyObject
*_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->base_OnInternalIdle();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20548 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20550 return Py_BuildValue((char *)"");
20552 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20553 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20558 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20563 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20565 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20572 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20573 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20578 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20583 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20585 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20592 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20593 PyObject
*resultobj
;
20594 wxPrintData
*result
;
20596 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (wxPrintData
*)new wxPrintData();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20611 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20612 PyObject
*resultobj
;
20613 wxPrintData
*arg1
= 0 ;
20614 wxPrintData
*result
;
20615 PyObject
* obj0
= 0 ;
20617 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20620 if (SWIG_arg_fail(1)) SWIG_fail
;
20621 if (arg1
== NULL
) {
20622 SWIG_null_ref("wxPrintData");
20624 if (SWIG_arg_fail(1)) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20640 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20645 argc
= PyObject_Length(args
);
20646 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20647 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20650 return _wrap_new_PrintData__SWIG_0(self
,args
);
20656 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20664 return _wrap_new_PrintData__SWIG_1(self
,args
);
20668 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20673 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20676 PyObject
* obj0
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20683 if (SWIG_arg_fail(1)) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 Py_INCREF(Py_None
); resultobj
= Py_None
;
20698 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20702 PyObject
* obj0
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20709 if (SWIG_arg_fail(1)) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (int)(arg1
)->GetNoCopies();
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_From_int((int)(result
));
20726 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20737 if (SWIG_arg_fail(1)) SWIG_fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (bool)(arg1
)->GetCollate();
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20754 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20765 if (SWIG_arg_fail(1)) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 result
= (int)(arg1
)->GetOrientation();
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_From_int((int)(result
));
20782 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20786 PyObject
* obj0
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (bool)(arg1
)->Ok();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20810 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20826 result
= (wxString
*) &_result_ref
;
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20836 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20845 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20849 PyObject
* obj0
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "self", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20856 if (SWIG_arg_fail(1)) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (bool)(arg1
)->GetColour();
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20873 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20876 wxDuplexMode result
;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_From_int((result
));
20899 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20902 wxPaperSize result
;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20910 if (SWIG_arg_fail(1)) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_From_int((result
));
20925 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20941 result
= (wxSize
*) &_result_ref
;
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20954 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (int)(arg1
)->GetQuality();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_From_int((int)(result
));
20982 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (wxPrintBin
)(arg1
)->GetBin();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_From_int((result
));
21008 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21011 wxPrintMode result
;
21012 PyObject
* obj0
= 0 ;
21013 char *kwnames
[] = {
21014 (char *) "self", NULL
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21019 if (SWIG_arg_fail(1)) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= SWIG_From_int((result
));
21034 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self",(char *) "v", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21046 if (SWIG_arg_fail(1)) SWIG_fail
;
21048 arg2
= (int)(SWIG_As_int(obj1
));
21049 if (SWIG_arg_fail(2)) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 (arg1
)->SetNoCopies(arg2
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 Py_INCREF(Py_None
); resultobj
= Py_None
;
21065 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self",(char *) "flag", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21077 if (SWIG_arg_fail(1)) SWIG_fail
;
21079 arg2
= (bool)(SWIG_As_bool(obj1
));
21080 if (SWIG_arg_fail(2)) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->SetCollate(arg2
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 Py_INCREF(Py_None
); resultobj
= Py_None
;
21096 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 PyObject
* obj1
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "self",(char *) "orient", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21108 if (SWIG_arg_fail(1)) SWIG_fail
;
21110 arg2
= (int)(SWIG_As_int(obj1
));
21111 if (SWIG_arg_fail(2)) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 (arg1
)->SetOrientation(arg2
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 Py_INCREF(Py_None
); resultobj
= Py_None
;
21127 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
;
21129 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21130 wxString
*arg2
= 0 ;
21131 bool temp2
= false ;
21132 PyObject
* obj0
= 0 ;
21133 PyObject
* obj1
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self",(char *) "name", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21140 if (SWIG_arg_fail(1)) SWIG_fail
;
21142 arg2
= wxString_in_helper(obj1
);
21143 if (arg2
== NULL
) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 Py_INCREF(Py_None
); resultobj
= Py_None
;
21168 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self",(char *) "colour", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail
;
21182 arg2
= (bool)(SWIG_As_bool(obj1
));
21183 if (SWIG_arg_fail(2)) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 (arg1
)->SetColour(arg2
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 Py_INCREF(Py_None
); resultobj
= Py_None
;
21199 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21202 wxDuplexMode arg2
;
21203 PyObject
* obj0
= 0 ;
21204 PyObject
* obj1
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "self",(char *) "duplex", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21211 if (SWIG_arg_fail(1)) SWIG_fail
;
21213 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
21214 if (SWIG_arg_fail(2)) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 Py_INCREF(Py_None
); resultobj
= Py_None
;
21230 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self",(char *) "sizeId", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21242 if (SWIG_arg_fail(1)) SWIG_fail
;
21244 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
21245 if (SWIG_arg_fail(2)) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 Py_INCREF(Py_None
); resultobj
= Py_None
;
21261 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "sz", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail
;
21277 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 Py_INCREF(Py_None
); resultobj
= Py_None
;
21293 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "quality", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
21308 if (SWIG_arg_fail(2)) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 (arg1
)->SetQuality(arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 Py_INCREF(Py_None
); resultobj
= Py_None
;
21324 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21328 PyObject
* obj0
= 0 ;
21329 PyObject
* obj1
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self",(char *) "bin", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21336 if (SWIG_arg_fail(1)) SWIG_fail
;
21338 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
21339 if (SWIG_arg_fail(2)) SWIG_fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 (arg1
)->SetBin((wxPrintBin
)arg2
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 Py_INCREF(Py_None
); resultobj
= Py_None
;
21355 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self",(char *) "printMode", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21367 if (SWIG_arg_fail(1)) SWIG_fail
;
21369 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21370 if (SWIG_arg_fail(2)) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 Py_INCREF(Py_None
); resultobj
= Py_None
;
21386 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21390 PyObject
* obj0
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21418 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21421 wxString
*arg2
= 0 ;
21422 bool temp2
= false ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "filename", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
21434 if (arg2
== NULL
) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 (arg1
)->SetFilename((wxString
const &)*arg2
);
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 Py_INCREF(Py_None
); resultobj
= Py_None
;
21459 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21463 PyObject
* obj0
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21470 if (SWIG_arg_fail(1)) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= result
;
21485 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21488 PyObject
*arg2
= (PyObject
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self",(char *) "data", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21497 if (SWIG_arg_fail(1)) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 wxPrintData_SetPrivData(arg1
,arg2
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 Py_INCREF(Py_None
); resultobj
= Py_None
;
21513 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21516 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21518 return Py_BuildValue((char *)"");
21520 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21521 PyObject
*resultobj
;
21522 wxPageSetupDialogData
*result
;
21524 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21539 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21540 PyObject
*resultobj
;
21541 wxPageSetupDialogData
*arg1
= 0 ;
21542 wxPageSetupDialogData
*result
;
21543 PyObject
* obj0
= 0 ;
21545 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21548 if (SWIG_arg_fail(1)) SWIG_fail
;
21549 if (arg1
== NULL
) {
21550 SWIG_null_ref("wxPageSetupDialogData");
21552 if (SWIG_arg_fail(1)) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21568 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21569 PyObject
*resultobj
;
21570 wxPrintData
*arg1
= 0 ;
21571 wxPageSetupDialogData
*result
;
21572 PyObject
* obj0
= 0 ;
21574 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21577 if (SWIG_arg_fail(1)) SWIG_fail
;
21578 if (arg1
== NULL
) {
21579 SWIG_null_ref("wxPrintData");
21581 if (SWIG_arg_fail(1)) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21597 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21602 argc
= PyObject_Length(args
);
21603 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21604 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21607 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21613 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21621 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21628 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21636 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21640 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21645 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 Py_INCREF(Py_None
); resultobj
= Py_None
;
21670 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "flag", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21682 if (SWIG_arg_fail(1)) SWIG_fail
;
21684 arg2
= (bool)(SWIG_As_bool(obj1
));
21685 if (SWIG_arg_fail(2)) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 (arg1
)->EnableHelp(arg2
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 Py_INCREF(Py_None
); resultobj
= Py_None
;
21701 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "flag", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21713 if (SWIG_arg_fail(1)) SWIG_fail
;
21715 arg2
= (bool)(SWIG_As_bool(obj1
));
21716 if (SWIG_arg_fail(2)) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 (arg1
)->EnableMargins(arg2
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 Py_INCREF(Py_None
); resultobj
= Py_None
;
21732 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21734 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self",(char *) "flag", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail
;
21746 arg2
= (bool)(SWIG_As_bool(obj1
));
21747 if (SWIG_arg_fail(2)) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->EnableOrientation(arg2
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 Py_INCREF(Py_None
); resultobj
= Py_None
;
21763 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char *kwnames
[] = {
21770 (char *) "self",(char *) "flag", NULL
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21775 if (SWIG_arg_fail(1)) SWIG_fail
;
21777 arg2
= (bool)(SWIG_As_bool(obj1
));
21778 if (SWIG_arg_fail(2)) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 (arg1
)->EnablePaper(arg2
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 Py_INCREF(Py_None
); resultobj
= Py_None
;
21794 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 PyObject
* obj1
= 0 ;
21800 char *kwnames
[] = {
21801 (char *) "self",(char *) "flag", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21806 if (SWIG_arg_fail(1)) SWIG_fail
;
21808 arg2
= (bool)(SWIG_As_bool(obj1
));
21809 if (SWIG_arg_fail(2)) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 (arg1
)->EnablePrinter(arg2
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 Py_INCREF(Py_None
); resultobj
= Py_None
;
21825 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21829 PyObject
* obj0
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21836 if (SWIG_arg_fail(1)) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= (bool)(arg1
)->GetDefaultMinMargins();
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21853 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21857 PyObject
* obj0
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "self", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
21863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21864 if (SWIG_arg_fail(1)) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (bool)(arg1
)->GetEnableMargins();
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21881 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
21891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail
;
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= (bool)(arg1
)->GetEnableOrientation();
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21909 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
21919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21920 if (SWIG_arg_fail(1)) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (bool)(arg1
)->GetEnablePaper();
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21937 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
21947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21948 if (SWIG_arg_fail(1)) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (bool)(arg1
)->GetEnablePrinter();
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21965 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21969 PyObject
* obj0
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21976 if (SWIG_arg_fail(1)) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= (bool)(arg1
)->GetEnableHelp();
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21993 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22004 if (SWIG_arg_fail(1)) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (bool)(arg1
)->GetDefaultInfo();
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22032 if (SWIG_arg_fail(1)) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (arg1
)->GetMarginTopLeft();
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 wxPoint
* resultptr
;
22042 resultptr
= new wxPoint((wxPoint
&)(result
));
22043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22051 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22055 PyObject
* obj0
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22062 if (SWIG_arg_fail(1)) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 result
= (arg1
)->GetMarginBottomRight();
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22071 wxPoint
* resultptr
;
22072 resultptr
= new wxPoint((wxPoint
&)(result
));
22073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22081 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22092 if (SWIG_arg_fail(1)) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (arg1
)->GetMinMarginTopLeft();
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 wxPoint
* resultptr
;
22102 resultptr
= new wxPoint((wxPoint
&)(result
));
22103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22111 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22122 if (SWIG_arg_fail(1)) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (arg1
)->GetMinMarginBottomRight();
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 wxPoint
* resultptr
;
22132 resultptr
= new wxPoint((wxPoint
&)(result
));
22133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22141 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22144 wxPaperSize result
;
22145 PyObject
* obj0
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22152 if (SWIG_arg_fail(1)) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_From_int((result
));
22167 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22171 PyObject
* obj0
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22178 if (SWIG_arg_fail(1)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (arg1
)->GetPaperSize();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 wxSize
* resultptr
;
22188 resultptr
= new wxSize((wxSize
&)(result
));
22189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22197 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22200 wxPrintData
*result
;
22201 PyObject
* obj0
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22208 if (SWIG_arg_fail(1)) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22213 result
= (wxPrintData
*) &_result_ref
;
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22226 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)(arg1
)->Ok();
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22254 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self",(char *) "flag", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22266 if (SWIG_arg_fail(1)) SWIG_fail
;
22268 arg2
= (bool)(SWIG_As_bool(obj1
));
22269 if (SWIG_arg_fail(2)) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 (arg1
)->SetDefaultInfo(arg2
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 Py_INCREF(Py_None
); resultobj
= Py_None
;
22285 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 char *kwnames
[] = {
22292 (char *) "self",(char *) "flag", NULL
22295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22297 if (SWIG_arg_fail(1)) SWIG_fail
;
22299 arg2
= (bool)(SWIG_As_bool(obj1
));
22300 if (SWIG_arg_fail(2)) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 (arg1
)->SetDefaultMinMargins(arg2
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 Py_INCREF(Py_None
); resultobj
= Py_None
;
22316 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22319 wxPoint
*arg2
= 0 ;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self",(char *) "pt", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22329 if (SWIG_arg_fail(1)) SWIG_fail
;
22332 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 Py_INCREF(Py_None
); resultobj
= Py_None
;
22348 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22351 wxPoint
*arg2
= 0 ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self",(char *) "pt", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22361 if (SWIG_arg_fail(1)) SWIG_fail
;
22364 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 Py_INCREF(Py_None
); resultobj
= Py_None
;
22380 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22383 wxPoint
*arg2
= 0 ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self",(char *) "pt", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22393 if (SWIG_arg_fail(1)) SWIG_fail
;
22396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 Py_INCREF(Py_None
); resultobj
= Py_None
;
22412 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22415 wxPoint
*arg2
= 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self",(char *) "pt", NULL
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22425 if (SWIG_arg_fail(1)) SWIG_fail
;
22428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 Py_INCREF(Py_None
); resultobj
= Py_None
;
22444 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
;
22446 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self",(char *) "id", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22456 if (SWIG_arg_fail(1)) SWIG_fail
;
22458 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22459 if (SWIG_arg_fail(2)) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 Py_INCREF(Py_None
); resultobj
= Py_None
;
22475 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self",(char *) "size", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail
;
22491 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 Py_INCREF(Py_None
); resultobj
= Py_None
;
22507 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22510 wxPrintData
*arg2
= 0 ;
22511 PyObject
* obj0
= 0 ;
22512 PyObject
* obj1
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self",(char *) "printData", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22519 if (SWIG_arg_fail(1)) SWIG_fail
;
22521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22522 if (SWIG_arg_fail(2)) SWIG_fail
;
22523 if (arg2
== NULL
) {
22524 SWIG_null_ref("wxPrintData");
22526 if (SWIG_arg_fail(2)) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 Py_INCREF(Py_None
); resultobj
= Py_None
;
22542 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22552 if (SWIG_arg_fail(1)) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 (arg1
)->CalculateIdFromPaperSize();
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 Py_INCREF(Py_None
); resultobj
= Py_None
;
22567 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22570 PyObject
* obj0
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22577 if (SWIG_arg_fail(1)) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 (arg1
)->CalculatePaperSizeFromId();
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 Py_INCREF(Py_None
); resultobj
= Py_None
;
22592 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22595 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22597 return Py_BuildValue((char *)"");
22599 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxWindow
*arg1
= (wxWindow
*) 0 ;
22602 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22603 wxPageSetupDialog
*result
;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "parent",(char *) "data", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22612 if (SWIG_arg_fail(1)) SWIG_fail
;
22614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22615 if (SWIG_arg_fail(2)) SWIG_fail
;
22618 if (!wxPyCheckForApp()) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22632 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22635 wxPageSetupDialogData
*result
;
22636 PyObject
* obj0
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22643 if (SWIG_arg_fail(1)) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22648 result
= (wxPageSetupDialogData
*) &_result_ref
;
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22661 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22664 wxPageSetupDialogData
*result
;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22672 if (SWIG_arg_fail(1)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22677 result
= (wxPageSetupDialogData
*) &_result_ref
;
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22690 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= (int)(arg1
)->ShowModal();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_From_int((int)(result
));
22718 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22721 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22723 return Py_BuildValue((char *)"");
22725 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22726 PyObject
*resultobj
;
22727 wxPrintDialogData
*result
;
22729 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22744 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22745 PyObject
*resultobj
;
22746 wxPrintData
*arg1
= 0 ;
22747 wxPrintDialogData
*result
;
22748 PyObject
* obj0
= 0 ;
22750 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22753 if (SWIG_arg_fail(1)) SWIG_fail
;
22754 if (arg1
== NULL
) {
22755 SWIG_null_ref("wxPrintData");
22757 if (SWIG_arg_fail(1)) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22773 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22774 PyObject
*resultobj
;
22775 wxPrintDialogData
*arg1
= 0 ;
22776 wxPrintDialogData
*result
;
22777 PyObject
* obj0
= 0 ;
22779 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22782 if (SWIG_arg_fail(1)) SWIG_fail
;
22783 if (arg1
== NULL
) {
22784 SWIG_null_ref("wxPrintDialogData");
22786 if (SWIG_arg_fail(1)) SWIG_fail
;
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22802 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22807 argc
= PyObject_Length(args
);
22808 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22809 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22812 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22818 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22826 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22833 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22841 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
22845 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22850 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
22859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22860 if (SWIG_arg_fail(1)) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
22885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_From_int((int)(result
));
22903 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22907 PyObject
* obj0
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
22913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22914 if (SWIG_arg_fail(1)) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= SWIG_From_int((int)(result
));
22931 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22935 PyObject
* obj0
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
22941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22942 if (SWIG_arg_fail(1)) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_From_int((int)(result
));
22959 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
;
22961 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22963 PyObject
* obj0
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22970 if (SWIG_arg_fail(1)) SWIG_fail
;
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_From_int((int)(result
));
22987 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22991 PyObject
* obj0
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
22997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22998 if (SWIG_arg_fail(1)) SWIG_fail
;
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= SWIG_From_int((int)(result
));
23015 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
;
23017 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23026 if (SWIG_arg_fail(1)) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23043 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23054 if (SWIG_arg_fail(1)) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23071 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23075 PyObject
* obj0
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23099 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23103 PyObject
* obj0
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23110 if (SWIG_arg_fail(1)) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23127 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self",(char *) "v", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23139 if (SWIG_arg_fail(1)) SWIG_fail
;
23141 arg2
= (int)(SWIG_As_int(obj1
));
23142 if (SWIG_arg_fail(2)) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 (arg1
)->SetFromPage(arg2
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 Py_INCREF(Py_None
); resultobj
= Py_None
;
23158 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self",(char *) "v", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail
;
23172 arg2
= (int)(SWIG_As_int(obj1
));
23173 if (SWIG_arg_fail(2)) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 (arg1
)->SetToPage(arg2
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 Py_INCREF(Py_None
); resultobj
= Py_None
;
23189 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "v", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail
;
23203 arg2
= (int)(SWIG_As_int(obj1
));
23204 if (SWIG_arg_fail(2)) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 (arg1
)->SetMinPage(arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 Py_INCREF(Py_None
); resultobj
= Py_None
;
23220 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self",(char *) "v", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23232 if (SWIG_arg_fail(1)) SWIG_fail
;
23234 arg2
= (int)(SWIG_As_int(obj1
));
23235 if (SWIG_arg_fail(2)) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 (arg1
)->SetMaxPage(arg2
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 Py_INCREF(Py_None
); resultobj
= Py_None
;
23251 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self",(char *) "v", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail
;
23265 arg2
= (int)(SWIG_As_int(obj1
));
23266 if (SWIG_arg_fail(2)) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 (arg1
)->SetNoCopies(arg2
);
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 Py_INCREF(Py_None
); resultobj
= Py_None
;
23282 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23286 PyObject
* obj0
= 0 ;
23287 PyObject
* obj1
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self",(char *) "flag", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail
;
23296 arg2
= (bool)(SWIG_As_bool(obj1
));
23297 if (SWIG_arg_fail(2)) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 (arg1
)->SetAllPages(arg2
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23306 Py_INCREF(Py_None
); resultobj
= Py_None
;
23313 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
;
23315 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23317 PyObject
* obj0
= 0 ;
23318 PyObject
* obj1
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self",(char *) "flag", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
23328 if (SWIG_arg_fail(2)) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 (arg1
)->SetSelection(arg2
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23344 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self",(char *) "flag", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23356 if (SWIG_arg_fail(1)) SWIG_fail
;
23358 arg2
= (bool)(SWIG_As_bool(obj1
));
23359 if (SWIG_arg_fail(2)) SWIG_fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 (arg1
)->SetCollate(arg2
);
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 Py_INCREF(Py_None
); resultobj
= Py_None
;
23375 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self",(char *) "flag", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23387 if (SWIG_arg_fail(1)) SWIG_fail
;
23389 arg2
= (bool)(SWIG_As_bool(obj1
));
23390 if (SWIG_arg_fail(2)) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 (arg1
)->SetPrintToFile(arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 Py_INCREF(Py_None
); resultobj
= Py_None
;
23406 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 char *kwnames
[] = {
23413 (char *) "self",(char *) "flag", NULL
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23418 if (SWIG_arg_fail(1)) SWIG_fail
;
23420 arg2
= (bool)(SWIG_As_bool(obj1
));
23421 if (SWIG_arg_fail(2)) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 (arg1
)->EnablePrintToFile(arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 Py_INCREF(Py_None
); resultobj
= Py_None
;
23437 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "flag", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23449 if (SWIG_arg_fail(1)) SWIG_fail
;
23451 arg2
= (bool)(SWIG_As_bool(obj1
));
23452 if (SWIG_arg_fail(2)) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 (arg1
)->EnableSelection(arg2
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 Py_INCREF(Py_None
); resultobj
= Py_None
;
23468 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 PyObject
* obj1
= 0 ;
23474 char *kwnames
[] = {
23475 (char *) "self",(char *) "flag", NULL
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23480 if (SWIG_arg_fail(1)) SWIG_fail
;
23482 arg2
= (bool)(SWIG_As_bool(obj1
));
23483 if (SWIG_arg_fail(2)) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 (arg1
)->EnablePageNumbers(arg2
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 Py_INCREF(Py_None
); resultobj
= Py_None
;
23499 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23501 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self",(char *) "flag", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23511 if (SWIG_arg_fail(1)) SWIG_fail
;
23513 arg2
= (bool)(SWIG_As_bool(obj1
));
23514 if (SWIG_arg_fail(2)) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 (arg1
)->EnableHelp(arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 Py_INCREF(Py_None
); resultobj
= Py_None
;
23530 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23534 PyObject
* obj0
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23558 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23586 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23597 if (SWIG_arg_fail(1)) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23614 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23618 PyObject
* obj0
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23625 if (SWIG_arg_fail(1)) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23642 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23646 PyObject
* obj0
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23653 if (SWIG_arg_fail(1)) SWIG_fail
;
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23670 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
;
23672 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23673 wxPrintData
*result
;
23674 PyObject
* obj0
= 0 ;
23675 char *kwnames
[] = {
23676 (char *) "self", NULL
23679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23681 if (SWIG_arg_fail(1)) SWIG_fail
;
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23686 result
= (wxPrintData
*) &_result_ref
;
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23699 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23702 wxPrintData
*arg2
= 0 ;
23703 PyObject
* obj0
= 0 ;
23704 PyObject
* obj1
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self",(char *) "printData", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23711 if (SWIG_arg_fail(1)) SWIG_fail
;
23713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23714 if (SWIG_arg_fail(2)) SWIG_fail
;
23715 if (arg2
== NULL
) {
23716 SWIG_null_ref("wxPrintData");
23718 if (SWIG_arg_fail(2)) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 Py_INCREF(Py_None
); resultobj
= Py_None
;
23734 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23737 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23739 return Py_BuildValue((char *)"");
23741 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxWindow
*arg1
= (wxWindow
*) 0 ;
23744 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23745 wxPrintDialog
*result
;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "parent",(char *) "data", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23754 if (SWIG_arg_fail(1)) SWIG_fail
;
23756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23757 if (SWIG_arg_fail(2)) SWIG_fail
;
23760 if (!wxPyCheckForApp()) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23774 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23785 if (SWIG_arg_fail(1)) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (int)(arg1
)->ShowModal();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= SWIG_From_int((int)(result
));
23802 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23805 wxPrintDialogData
*result
;
23806 PyObject
* obj0
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23813 if (SWIG_arg_fail(1)) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23818 result
= (wxPrintDialogData
*) &_result_ref
;
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23831 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
;
23833 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23834 wxPrintData
*result
;
23835 PyObject
* obj0
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
23841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23842 if (SWIG_arg_fail(1)) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23847 result
= (wxPrintData
*) &_result_ref
;
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23860 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
23870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23871 if (SWIG_arg_fail(1)) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (wxDC
*)(arg1
)->GetPrintDC();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= wxPyMake_wxObject(result
, 1);
23888 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
23890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23891 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
23893 return Py_BuildValue((char *)"");
23895 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23897 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
23899 PyObject
* obj0
= 0 ;
23900 char *kwnames
[] = {
23901 (char *) "data", NULL
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
23906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23907 if (SWIG_arg_fail(1)) SWIG_fail
;
23910 if (!wxPyCheckForApp()) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (wxPrinter
*)new wxPrinter(arg1
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
23924 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23927 PyObject
* obj0
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "self", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
23933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23934 if (SWIG_arg_fail(1)) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 Py_INCREF(Py_None
); resultobj
= Py_None
;
23949 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23952 wxWindow
*arg2
= (wxWindow
*) 0 ;
23953 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 PyObject
* obj2
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self",(char *) "parent",(char *) "printout", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23964 if (SWIG_arg_fail(1)) SWIG_fail
;
23965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23966 if (SWIG_arg_fail(2)) SWIG_fail
;
23967 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
23968 if (SWIG_arg_fail(3)) SWIG_fail
;
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= wxPyMake_wxObject(result
, 0);
23985 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23988 wxWindow
*arg2
= (wxWindow
*) 0 ;
23989 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
23990 wxString
*arg4
= 0 ;
23991 bool temp4
= false ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 PyObject
* obj2
= 0 ;
23995 PyObject
* obj3
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24002 if (SWIG_arg_fail(1)) SWIG_fail
;
24003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24004 if (SWIG_arg_fail(2)) SWIG_fail
;
24005 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24006 if (SWIG_arg_fail(3)) SWIG_fail
;
24008 arg4
= wxString_in_helper(obj3
);
24009 if (arg4
== NULL
) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 Py_INCREF(Py_None
); resultobj
= Py_None
;
24034 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24037 wxWindow
*arg2
= (wxWindow
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self",(char *) "parent", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24047 if (SWIG_arg_fail(1)) SWIG_fail
;
24048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24049 if (SWIG_arg_fail(2)) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (bool)(arg1
)->Setup(arg2
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24066 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24069 wxWindow
*arg2
= (wxWindow
*) 0 ;
24070 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24071 bool arg4
= (bool) true ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 PyObject
* obj2
= 0 ;
24076 PyObject
* obj3
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24083 if (SWIG_arg_fail(1)) SWIG_fail
;
24084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24085 if (SWIG_arg_fail(2)) SWIG_fail
;
24086 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24087 if (SWIG_arg_fail(3)) SWIG_fail
;
24090 arg4
= (bool)(SWIG_As_bool(obj3
));
24091 if (SWIG_arg_fail(4)) SWIG_fail
;
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24110 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24111 PyObject
*resultobj
;
24112 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24113 wxWindow
*arg2
= (wxWindow
*) 0 ;
24115 PyObject
* obj0
= 0 ;
24116 PyObject
* obj1
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self",(char *) "parent", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24123 if (SWIG_arg_fail(1)) SWIG_fail
;
24124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24125 if (SWIG_arg_fail(2)) SWIG_fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= wxPyMake_wxObject(result
, 0);
24142 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24145 wxPrintDialogData
*result
;
24146 PyObject
* obj0
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24153 if (SWIG_arg_fail(1)) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24158 result
= (wxPrintDialogData
*) &_result_ref
;
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24171 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 char *kwnames
[] = {
24177 (char *) "self", NULL
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24182 if (SWIG_arg_fail(1)) SWIG_fail
;
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 result
= (bool)(arg1
)->GetAbort();
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24199 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24201 wxPrinterError result
;
24202 char *kwnames
[] = {
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (wxPrinterError
)wxPrinter::GetLastError();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_From_int((result
));
24221 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24224 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24226 return Py_BuildValue((char *)"");
24228 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24231 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24232 wxPyPrintout
*result
;
24233 bool temp1
= false ;
24234 PyObject
* obj0
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "title", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24242 arg1
= wxString_in_helper(obj0
);
24243 if (arg1
== NULL
) SWIG_fail
;
24248 if (!wxPyCheckForApp()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= wxPyMake_wxObject(result
, 1);
24272 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24275 PyObject
*arg2
= (PyObject
*) 0 ;
24276 PyObject
*arg3
= (PyObject
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 PyObject
* obj2
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "self",(char *) "_class", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24286 if (SWIG_arg_fail(1)) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 Py_INCREF(Py_None
); resultobj
= Py_None
;
24303 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24307 PyObject
* obj0
= 0 ;
24308 char *kwnames
[] = {
24309 (char *) "self", NULL
24312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24314 if (SWIG_arg_fail(1)) SWIG_fail
;
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24335 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (wxDC
*)(arg1
)->GetDC();
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= wxPyMake_wxObject(result
, 0);
24363 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24366 wxDC
*arg2
= (wxDC
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self",(char *) "dc", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24375 if (SWIG_arg_fail(1)) SWIG_fail
;
24376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24377 if (SWIG_arg_fail(2)) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 (arg1
)->SetDC(arg2
);
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 Py_INCREF(Py_None
); resultobj
= Py_None
;
24392 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
;
24394 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 PyObject
* obj2
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self",(char *) "w",(char *) "h", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail
;
24408 arg2
= (int)(SWIG_As_int(obj1
));
24409 if (SWIG_arg_fail(2)) SWIG_fail
;
24412 arg3
= (int)(SWIG_As_int(obj2
));
24413 if (SWIG_arg_fail(3)) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 Py_INCREF(Py_None
); resultobj
= Py_None
;
24429 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24432 int *arg2
= (int *) 0 ;
24433 int *arg3
= (int *) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self", NULL
24443 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24444 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24447 if (SWIG_arg_fail(1)) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24456 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24457 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24458 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24459 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24466 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 PyObject
* obj2
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self",(char *) "w",(char *) "h", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24480 if (SWIG_arg_fail(1)) SWIG_fail
;
24482 arg2
= (int)(SWIG_As_int(obj1
));
24483 if (SWIG_arg_fail(2)) SWIG_fail
;
24486 arg3
= (int)(SWIG_As_int(obj2
));
24487 if (SWIG_arg_fail(3)) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 Py_INCREF(Py_None
); resultobj
= Py_None
;
24503 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24505 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24506 int *arg2
= (int *) 0 ;
24507 int *arg3
= (int *) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self", NULL
24517 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24518 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 Py_INCREF(Py_None
); resultobj
= Py_None
;
24530 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24531 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24532 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24533 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24540 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 PyObject
* obj2
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "x",(char *) "y", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail
;
24556 arg2
= (int)(SWIG_As_int(obj1
));
24557 if (SWIG_arg_fail(2)) SWIG_fail
;
24560 arg3
= (int)(SWIG_As_int(obj2
));
24561 if (SWIG_arg_fail(3)) SWIG_fail
;
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 (arg1
)->SetPPIScreen(arg2
,arg3
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 Py_INCREF(Py_None
); resultobj
= Py_None
;
24577 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
;
24579 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24580 int *arg2
= (int *) 0 ;
24581 int *arg3
= (int *) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self", NULL
24591 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24592 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24595 if (SWIG_arg_fail(1)) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 (arg1
)->GetPPIScreen(arg2
,arg3
);
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24603 Py_INCREF(Py_None
); resultobj
= Py_None
;
24604 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24605 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24606 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24607 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24614 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 PyObject
* obj2
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "x",(char *) "y", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail
;
24630 arg2
= (int)(SWIG_As_int(obj1
));
24631 if (SWIG_arg_fail(2)) SWIG_fail
;
24634 arg3
= (int)(SWIG_As_int(obj2
));
24635 if (SWIG_arg_fail(3)) SWIG_fail
;
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24639 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 Py_INCREF(Py_None
); resultobj
= Py_None
;
24651 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24654 int *arg2
= (int *) 0 ;
24655 int *arg3
= (int *) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self", NULL
24665 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24666 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24669 if (SWIG_arg_fail(1)) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 Py_INCREF(Py_None
); resultobj
= Py_None
;
24678 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24679 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24680 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24681 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24688 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 char *kwnames
[] = {
24694 (char *) "self", NULL
24697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24699 if (SWIG_arg_fail(1)) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= (bool)(arg1
)->IsPreview();
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24716 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "p", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24730 arg2
= (bool)(SWIG_As_bool(obj1
));
24731 if (SWIG_arg_fail(2)) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 (arg1
)->SetIsPreview(arg2
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 Py_INCREF(Py_None
); resultobj
= Py_None
;
24747 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 PyObject
* obj2
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24762 if (SWIG_arg_fail(1)) SWIG_fail
;
24764 arg2
= (int)(SWIG_As_int(obj1
));
24765 if (SWIG_arg_fail(2)) SWIG_fail
;
24768 arg3
= (int)(SWIG_As_int(obj2
));
24769 if (SWIG_arg_fail(3)) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24787 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24797 if (SWIG_arg_fail(1)) SWIG_fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 (arg1
)->base_OnEndDocument();
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 Py_INCREF(Py_None
); resultobj
= Py_None
;
24812 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
24821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 (arg1
)->base_OnBeginPrinting();
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 Py_INCREF(Py_None
); resultobj
= Py_None
;
24837 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
24846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24847 if (SWIG_arg_fail(1)) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 (arg1
)->base_OnEndPrinting();
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 Py_INCREF(Py_None
); resultobj
= Py_None
;
24862 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
;
24864 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->base_OnPreparePrinting();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "page", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24900 if (SWIG_arg_fail(1)) SWIG_fail
;
24902 arg2
= (int)(SWIG_As_int(obj1
));
24903 if (SWIG_arg_fail(2)) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (bool)(arg1
)->base_HasPage(arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24921 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24924 int *arg2
= (int *) 0 ;
24925 int *arg3
= (int *) 0 ;
24926 int *arg4
= (int *) 0 ;
24927 int *arg5
= (int *) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "self", NULL
24941 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24942 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24943 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
24944 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
24946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24957 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24958 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24959 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24960 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
24961 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
24962 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
24963 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
24970 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
24972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24973 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
24975 return Py_BuildValue((char *)"");
24977 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24980 wxWindow
*arg2
= (wxWindow
*) 0 ;
24981 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24982 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24983 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24984 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24985 long arg5
= (long) 0 ;
24986 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
24987 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24988 wxPreviewCanvas
*result
;
24991 bool temp6
= false ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 PyObject
* obj2
= 0 ;
24995 PyObject
* obj3
= 0 ;
24996 PyObject
* obj4
= 0 ;
24997 PyObject
* obj5
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25004 if (SWIG_arg_fail(1)) SWIG_fail
;
25005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25006 if (SWIG_arg_fail(2)) SWIG_fail
;
25010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25016 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25021 arg5
= (long)(SWIG_As_long(obj4
));
25022 if (SWIG_arg_fail(5)) SWIG_fail
;
25027 arg6
= wxString_in_helper(obj5
);
25028 if (arg6
== NULL
) SWIG_fail
;
25033 if (!wxPyCheckForApp()) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25055 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25058 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25060 return Py_BuildValue((char *)"");
25062 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
;
25064 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25065 wxFrame
*arg2
= (wxFrame
*) 0 ;
25066 wxString
*arg3
= 0 ;
25067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25071 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25072 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25074 wxPreviewFrame
*result
;
25075 bool temp3
= false ;
25078 bool temp7
= false ;
25079 PyObject
* obj0
= 0 ;
25080 PyObject
* obj1
= 0 ;
25081 PyObject
* obj2
= 0 ;
25082 PyObject
* obj3
= 0 ;
25083 PyObject
* obj4
= 0 ;
25084 PyObject
* obj5
= 0 ;
25085 PyObject
* obj6
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25092 if (SWIG_arg_fail(1)) SWIG_fail
;
25093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25094 if (SWIG_arg_fail(2)) SWIG_fail
;
25096 arg3
= wxString_in_helper(obj2
);
25097 if (arg3
== NULL
) SWIG_fail
;
25103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25114 arg6
= (long)(SWIG_As_long(obj5
));
25115 if (SWIG_arg_fail(6)) SWIG_fail
;
25120 arg7
= wxString_in_helper(obj6
);
25121 if (arg7
== NULL
) SWIG_fail
;
25126 if (!wxPyCheckForApp()) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25156 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25159 PyObject
* obj0
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail
;
25168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25169 (arg1
)->Initialize();
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25174 Py_INCREF(Py_None
); resultobj
= Py_None
;
25181 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 char *kwnames
[] = {
25186 (char *) "self", NULL
25189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25191 if (SWIG_arg_fail(1)) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->CreateControlBar();
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 Py_INCREF(Py_None
); resultobj
= Py_None
;
25206 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25216 if (SWIG_arg_fail(1)) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 (arg1
)->CreateCanvas();
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 Py_INCREF(Py_None
); resultobj
= Py_None
;
25231 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25234 wxPreviewControlBar
*result
;
25235 PyObject
* obj0
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25257 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25260 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25262 return Py_BuildValue((char *)"");
25264 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25266 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25268 wxWindow
*arg3
= (wxWindow
*) 0 ;
25269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25273 long arg6
= (long) wxTAB_TRAVERSAL
;
25274 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25275 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25276 wxPreviewControlBar
*result
;
25279 bool temp7
= false ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 PyObject
* obj2
= 0 ;
25283 PyObject
* obj3
= 0 ;
25284 PyObject
* obj4
= 0 ;
25285 PyObject
* obj5
= 0 ;
25286 PyObject
* obj6
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25293 if (SWIG_arg_fail(1)) SWIG_fail
;
25295 arg2
= (long)(SWIG_As_long(obj1
));
25296 if (SWIG_arg_fail(2)) SWIG_fail
;
25298 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25299 if (SWIG_arg_fail(3)) SWIG_fail
;
25303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25314 arg6
= (long)(SWIG_As_long(obj5
));
25315 if (SWIG_arg_fail(6)) SWIG_fail
;
25320 arg7
= wxString_in_helper(obj6
);
25321 if (arg7
== NULL
) SWIG_fail
;
25326 if (!wxPyCheckForApp()) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25348 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25352 PyObject
* obj0
= 0 ;
25353 char *kwnames
[] = {
25354 (char *) "self", NULL
25357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25359 if (SWIG_arg_fail(1)) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 result
= (int)(arg1
)->GetZoomControl();
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= SWIG_From_int((int)(result
));
25376 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25380 PyObject
* obj0
= 0 ;
25381 PyObject
* obj1
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self",(char *) "zoom", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25388 if (SWIG_arg_fail(1)) SWIG_fail
;
25390 arg2
= (int)(SWIG_As_int(obj1
));
25391 if (SWIG_arg_fail(2)) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 (arg1
)->SetZoomControl(arg2
);
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 Py_INCREF(Py_None
); resultobj
= Py_None
;
25407 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25410 wxPrintPreview
*result
;
25411 PyObject
* obj0
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25418 if (SWIG_arg_fail(1)) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25433 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25436 PyObject
* obj0
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25443 if (SWIG_arg_fail(1)) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 Py_INCREF(Py_None
); resultobj
= Py_None
;
25458 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 (arg1
)->OnPrevious();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 Py_INCREF(Py_None
); resultobj
= Py_None
;
25483 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
;
25485 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25493 if (SWIG_arg_fail(1)) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 Py_INCREF(Py_None
); resultobj
= Py_None
;
25508 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 Py_INCREF(Py_None
); resultobj
= Py_None
;
25533 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25543 if (SWIG_arg_fail(1)) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25561 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25563 return Py_BuildValue((char *)"");
25565 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25566 PyObject
*resultobj
;
25567 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25568 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25569 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25570 wxPrintPreview
*result
;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 PyObject
* obj2
= 0 ;
25575 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail
;
25578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25579 if (SWIG_arg_fail(2)) SWIG_fail
;
25581 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25582 if (SWIG_arg_fail(3)) SWIG_fail
;
25585 if (!wxPyCheckForApp()) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25599 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25600 PyObject
*resultobj
;
25601 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25602 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25603 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25604 wxPrintPreview
*result
;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 PyObject
* obj2
= 0 ;
25609 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25611 if (SWIG_arg_fail(1)) SWIG_fail
;
25612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25613 if (SWIG_arg_fail(2)) SWIG_fail
;
25614 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25615 if (SWIG_arg_fail(3)) SWIG_fail
;
25617 if (!wxPyCheckForApp()) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25631 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25636 argc
= PyObject_Length(args
);
25637 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25638 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25640 if ((argc
>= 2) && (argc
<= 3)) {
25644 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25654 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25663 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25667 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25675 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25684 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25694 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25704 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25712 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25718 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25723 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self",(char *) "pageNum", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail
;
25738 arg2
= (int)(SWIG_As_int(obj1
));
25739 if (SWIG_arg_fail(2)) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25757 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
;
25759 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25761 PyObject
* obj0
= 0 ;
25762 char *kwnames
[] = {
25763 (char *) "self", NULL
25766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25768 if (SWIG_arg_fail(1)) SWIG_fail
;
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 result
= (int)(arg1
)->GetCurrentPage();
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= SWIG_From_int((int)(result
));
25785 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
;
25787 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25788 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 char *kwnames
[] = {
25792 (char *) "self",(char *) "printout", NULL
25795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25797 if (SWIG_arg_fail(1)) SWIG_fail
;
25798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25799 if (SWIG_arg_fail(2)) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 (arg1
)->SetPrintout(arg2
);
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25807 Py_INCREF(Py_None
); resultobj
= Py_None
;
25814 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
;
25816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25817 wxPyPrintout
*result
;
25818 PyObject
* obj0
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
25824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= wxPyMake_wxObject(result
, 0);
25842 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25845 wxPyPrintout
*result
;
25846 PyObject
* obj0
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
25852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25853 if (SWIG_arg_fail(1)) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= wxPyMake_wxObject(result
, 0);
25870 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25871 PyObject
*resultobj
;
25872 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25873 wxFrame
*arg2
= (wxFrame
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self",(char *) "frame", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
25881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25882 if (SWIG_arg_fail(1)) SWIG_fail
;
25883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25884 if (SWIG_arg_fail(2)) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 (arg1
)->SetFrame(arg2
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 Py_INCREF(Py_None
); resultobj
= Py_None
;
25899 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25902 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self",(char *) "canvas", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25911 if (SWIG_arg_fail(1)) SWIG_fail
;
25912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
25913 if (SWIG_arg_fail(2)) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 (arg1
)->SetCanvas(arg2
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 Py_INCREF(Py_None
); resultobj
= Py_None
;
25928 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25932 PyObject
* obj0
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
25938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25939 if (SWIG_arg_fail(1)) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= (wxFrame
*)(arg1
)->GetFrame();
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= wxPyMake_wxObject(result
, 0);
25956 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25959 wxPreviewCanvas
*result
;
25960 PyObject
* obj0
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self", NULL
25965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
25966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25967 if (SWIG_arg_fail(1)) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
25982 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25985 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 PyObject
* obj2
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "canvas",(char *) "dc", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail
;
25998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
25999 if (SWIG_arg_fail(2)) SWIG_fail
;
26001 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26002 if (SWIG_arg_fail(3)) SWIG_fail
;
26003 if (arg3
== NULL
) {
26004 SWIG_null_ref("wxDC");
26006 if (SWIG_arg_fail(3)) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26024 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26027 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 PyObject
* obj2
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26039 if (SWIG_arg_fail(1)) SWIG_fail
;
26040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26041 if (SWIG_arg_fail(2)) SWIG_fail
;
26043 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26044 if (SWIG_arg_fail(3)) SWIG_fail
;
26045 if (arg3
== NULL
) {
26046 SWIG_null_ref("wxDC");
26048 if (SWIG_arg_fail(3)) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26066 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 char *kwnames
[] = {
26074 (char *) "self",(char *) "pageNum", NULL
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail
;
26081 arg2
= (int)(SWIG_As_int(obj1
));
26082 if (SWIG_arg_fail(2)) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (bool)(arg1
)->RenderPage(arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26100 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26103 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char *kwnames
[] = {
26107 (char *) "self",(char *) "canvas", NULL
26110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26112 if (SWIG_arg_fail(1)) SWIG_fail
;
26113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26114 if (SWIG_arg_fail(2)) SWIG_fail
;
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 (arg1
)->AdjustScrollbars(arg2
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 Py_INCREF(Py_None
); resultobj
= Py_None
;
26129 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
;
26131 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26132 wxPrintDialogData
*result
;
26133 PyObject
* obj0
= 0 ;
26134 char *kwnames
[] = {
26135 (char *) "self", NULL
26138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26140 if (SWIG_arg_fail(1)) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26145 result
= (wxPrintDialogData
*) &_result_ref
;
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26158 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self",(char *) "percent", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail
;
26172 arg2
= (int)(SWIG_As_int(obj1
));
26173 if (SWIG_arg_fail(2)) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 (arg1
)->SetZoom(arg2
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 Py_INCREF(Py_None
); resultobj
= Py_None
;
26189 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26193 PyObject
* obj0
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail
;
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 result
= (int)(arg1
)->GetZoom();
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= SWIG_From_int((int)(result
));
26217 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26221 PyObject
* obj0
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (int)(arg1
)->GetMaxPage();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= SWIG_From_int((int)(result
));
26245 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
;
26247 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26256 if (SWIG_arg_fail(1)) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (int)(arg1
)->GetMinPage();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_From_int((int)(result
));
26273 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (bool)(arg1
)->Ok();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26301 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26305 PyObject
* obj0
= 0 ;
26306 PyObject
* obj1
= 0 ;
26307 char *kwnames
[] = {
26308 (char *) "self",(char *) "ok", NULL
26311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26313 if (SWIG_arg_fail(1)) SWIG_fail
;
26315 arg2
= (bool)(SWIG_As_bool(obj1
));
26316 if (SWIG_arg_fail(2)) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetOk(arg2
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 Py_INCREF(Py_None
); resultobj
= Py_None
;
26332 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26337 PyObject
* obj0
= 0 ;
26338 PyObject
* obj1
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self",(char *) "interactive", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26345 if (SWIG_arg_fail(1)) SWIG_fail
;
26347 arg2
= (bool)(SWIG_As_bool(obj1
));
26348 if (SWIG_arg_fail(2)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (bool)(arg1
)->Print(arg2
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26366 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 (arg1
)->DetermineScaling();
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 Py_INCREF(Py_None
); resultobj
= Py_None
;
26391 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26394 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26396 return Py_BuildValue((char *)"");
26398 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26399 PyObject
*resultobj
;
26400 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26401 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26402 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26403 wxPyPrintPreview
*result
;
26404 PyObject
* obj0
= 0 ;
26405 PyObject
* obj1
= 0 ;
26406 PyObject
* obj2
= 0 ;
26408 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26410 if (SWIG_arg_fail(1)) SWIG_fail
;
26411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26412 if (SWIG_arg_fail(2)) SWIG_fail
;
26414 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26415 if (SWIG_arg_fail(3)) SWIG_fail
;
26418 if (!wxPyCheckForApp()) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26432 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26433 PyObject
*resultobj
;
26434 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26435 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26436 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26437 wxPyPrintPreview
*result
;
26438 PyObject
* obj0
= 0 ;
26439 PyObject
* obj1
= 0 ;
26440 PyObject
* obj2
= 0 ;
26442 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26444 if (SWIG_arg_fail(1)) SWIG_fail
;
26445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26446 if (SWIG_arg_fail(2)) SWIG_fail
;
26447 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26448 if (SWIG_arg_fail(3)) SWIG_fail
;
26450 if (!wxPyCheckForApp()) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26464 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26469 argc
= PyObject_Length(args
);
26470 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26471 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26473 if ((argc
>= 2) && (argc
<= 3)) {
26477 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26487 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26496 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26500 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26508 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26517 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26527 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26537 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26545 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26551 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26556 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26559 PyObject
*arg2
= (PyObject
*) 0 ;
26560 PyObject
*arg3
= (PyObject
*) 0 ;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 PyObject
* obj2
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "self",(char *) "self",(char *) "_class", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26570 if (SWIG_arg_fail(1)) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 Py_INCREF(Py_None
); resultobj
= Py_None
;
26587 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
;
26589 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26592 PyObject
* obj0
= 0 ;
26593 PyObject
* obj1
= 0 ;
26594 char *kwnames
[] = {
26595 (char *) "self",(char *) "pageNum", NULL
26598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26600 if (SWIG_arg_fail(1)) SWIG_fail
;
26602 arg2
= (int)(SWIG_As_int(obj1
));
26603 if (SWIG_arg_fail(2)) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26621 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26624 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26627 PyObject
* obj0
= 0 ;
26628 PyObject
* obj1
= 0 ;
26629 PyObject
* obj2
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26636 if (SWIG_arg_fail(1)) SWIG_fail
;
26637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26638 if (SWIG_arg_fail(2)) SWIG_fail
;
26640 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26641 if (SWIG_arg_fail(3)) SWIG_fail
;
26642 if (arg3
== NULL
) {
26643 SWIG_null_ref("wxDC");
26645 if (SWIG_arg_fail(3)) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26663 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
;
26665 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26666 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 PyObject
* obj2
= 0 ;
26672 char *kwnames
[] = {
26673 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26678 if (SWIG_arg_fail(1)) SWIG_fail
;
26679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26680 if (SWIG_arg_fail(2)) SWIG_fail
;
26682 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26683 if (SWIG_arg_fail(3)) SWIG_fail
;
26684 if (arg3
== NULL
) {
26685 SWIG_null_ref("wxDC");
26687 if (SWIG_arg_fail(3)) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26705 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26710 PyObject
* obj0
= 0 ;
26711 PyObject
* obj1
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self",(char *) "pageNum", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail
;
26720 arg2
= (int)(SWIG_As_int(obj1
));
26721 if (SWIG_arg_fail(2)) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26739 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 PyObject
* obj1
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self",(char *) "percent", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26751 if (SWIG_arg_fail(1)) SWIG_fail
;
26753 arg2
= (int)(SWIG_As_int(obj1
));
26754 if (SWIG_arg_fail(2)) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->base_SetZoom(arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 Py_INCREF(Py_None
); resultobj
= Py_None
;
26770 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self",(char *) "interactive", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail
;
26785 arg2
= (bool)(SWIG_As_bool(obj1
));
26786 if (SWIG_arg_fail(2)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (bool)(arg1
)->base_Print(arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26804 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 (arg1
)->base_DetermineScaling();
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 Py_INCREF(Py_None
); resultobj
= Py_None
;
26829 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26832 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
26834 return Py_BuildValue((char *)"");
26836 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26839 wxFrame
*arg2
= (wxFrame
*) 0 ;
26840 wxString
*arg3
= 0 ;
26841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26845 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
26846 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
26847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26848 wxPyPreviewFrame
*result
;
26849 bool temp3
= false ;
26852 bool temp7
= false ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 PyObject
* obj3
= 0 ;
26857 PyObject
* obj4
= 0 ;
26858 PyObject
* obj5
= 0 ;
26859 PyObject
* obj6
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26866 if (SWIG_arg_fail(1)) SWIG_fail
;
26867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26868 if (SWIG_arg_fail(2)) SWIG_fail
;
26870 arg3
= wxString_in_helper(obj2
);
26871 if (arg3
== NULL
) SWIG_fail
;
26877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26888 arg6
= (long)(SWIG_As_long(obj5
));
26889 if (SWIG_arg_fail(6)) SWIG_fail
;
26894 arg7
= wxString_in_helper(obj6
);
26895 if (arg7
== NULL
) SWIG_fail
;
26900 if (!wxPyCheckForApp()) SWIG_fail
;
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
26930 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26933 PyObject
*arg2
= (PyObject
*) 0 ;
26934 PyObject
*arg3
= (PyObject
*) 0 ;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26937 PyObject
* obj2
= 0 ;
26938 char *kwnames
[] = {
26939 (char *) "self",(char *) "self",(char *) "_class", NULL
26942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26944 if (SWIG_arg_fail(1)) SWIG_fail
;
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 Py_INCREF(Py_None
); resultobj
= Py_None
;
26961 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
;
26963 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26964 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26965 PyObject
* obj0
= 0 ;
26966 PyObject
* obj1
= 0 ;
26967 char *kwnames
[] = {
26968 (char *) "self",(char *) "canvas", NULL
26971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26973 if (SWIG_arg_fail(1)) SWIG_fail
;
26974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26975 if (SWIG_arg_fail(2)) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 (arg1
)->SetPreviewCanvas(arg2
);
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 Py_INCREF(Py_None
); resultobj
= Py_None
;
26990 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26991 PyObject
*resultobj
;
26992 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26993 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self",(char *) "bar", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27002 if (SWIG_arg_fail(1)) SWIG_fail
;
27003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27004 if (SWIG_arg_fail(2)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 (arg1
)->SetControlBar(arg2
);
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27012 Py_INCREF(Py_None
); resultobj
= Py_None
;
27019 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27022 PyObject
* obj0
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->base_Initialize();
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 Py_INCREF(Py_None
); resultobj
= Py_None
;
27044 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27047 PyObject
* obj0
= 0 ;
27048 char *kwnames
[] = {
27049 (char *) "self", NULL
27052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27054 if (SWIG_arg_fail(1)) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 (arg1
)->base_CreateCanvas();
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 Py_INCREF(Py_None
); resultobj
= Py_None
;
27069 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 (arg1
)->base_CreateControlBar();
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 Py_INCREF(Py_None
); resultobj
= Py_None
;
27094 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27097 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27099 return Py_BuildValue((char *)"");
27101 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27105 wxWindow
*arg3
= (wxWindow
*) 0 ;
27106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27110 long arg6
= (long) 0 ;
27111 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27113 wxPyPreviewControlBar
*result
;
27116 bool temp7
= false ;
27117 PyObject
* obj0
= 0 ;
27118 PyObject
* obj1
= 0 ;
27119 PyObject
* obj2
= 0 ;
27120 PyObject
* obj3
= 0 ;
27121 PyObject
* obj4
= 0 ;
27122 PyObject
* obj5
= 0 ;
27123 PyObject
* obj6
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27130 if (SWIG_arg_fail(1)) SWIG_fail
;
27132 arg2
= (long)(SWIG_As_long(obj1
));
27133 if (SWIG_arg_fail(2)) SWIG_fail
;
27135 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27136 if (SWIG_arg_fail(3)) SWIG_fail
;
27140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27151 arg6
= (long)(SWIG_As_long(obj5
));
27152 if (SWIG_arg_fail(6)) SWIG_fail
;
27157 arg7
= wxString_in_helper(obj6
);
27158 if (arg7
== NULL
) SWIG_fail
;
27163 if (!wxPyCheckForApp()) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27185 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
;
27187 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27188 PyObject
*arg2
= (PyObject
*) 0 ;
27189 PyObject
*arg3
= (PyObject
*) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 PyObject
* obj2
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "self",(char *) "_class", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27199 if (SWIG_arg_fail(1)) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 Py_INCREF(Py_None
); resultobj
= Py_None
;
27216 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27219 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27220 PyObject
* obj0
= 0 ;
27221 PyObject
* obj1
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self",(char *) "preview", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27228 if (SWIG_arg_fail(1)) SWIG_fail
;
27229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(2)) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 (arg1
)->SetPrintPreview(arg2
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 Py_INCREF(Py_None
); resultobj
= Py_None
;
27245 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27255 if (SWIG_arg_fail(1)) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 (arg1
)->base_CreateButtons();
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 Py_INCREF(Py_None
); resultobj
= Py_None
;
27270 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
;
27272 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char *kwnames
[] = {
27277 (char *) "self",(char *) "zoom", NULL
27280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27282 if (SWIG_arg_fail(1)) SWIG_fail
;
27284 arg2
= (int)(SWIG_As_int(obj1
));
27285 if (SWIG_arg_fail(2)) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 (arg1
)->base_SetZoomControl(arg2
);
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 Py_INCREF(Py_None
); resultobj
= Py_None
;
27301 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27304 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27306 return Py_BuildValue((char *)"");
27308 static PyMethodDef SwigMethods
[] = {
27309 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27310 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27311 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27312 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27313 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27314 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27315 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27316 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27317 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27318 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27319 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27320 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27321 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27322 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27323 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27324 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27325 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27326 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27327 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27328 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27329 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27330 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27331 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27332 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27333 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27334 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27335 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27336 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27337 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27338 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27339 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27340 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27341 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27342 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27343 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27344 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27345 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27346 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27347 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27348 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27349 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27350 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27351 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27352 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27353 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27354 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27355 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27356 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27357 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27358 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27359 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27360 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27361 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27362 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27363 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27364 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27365 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27366 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27367 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27368 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27369 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27370 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27371 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27372 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27373 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27374 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27375 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27376 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27377 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27378 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27379 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27380 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27381 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27382 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27383 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27384 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27385 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27386 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27387 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27388 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27389 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27390 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27391 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27392 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27393 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27394 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27395 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27396 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27397 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27398 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27399 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27400 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27401 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27402 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27403 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27404 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27405 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27406 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27407 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27408 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27409 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27410 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27411 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27412 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27413 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27414 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27415 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27416 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27417 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27418 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27419 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27420 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27421 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27422 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27423 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27424 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27425 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27426 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27427 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27428 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27429 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27430 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27431 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27432 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27433 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27434 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27435 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27436 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27437 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27438 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27439 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27440 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27441 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27442 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27443 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27444 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27445 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27446 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27447 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27448 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27449 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27450 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27451 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27452 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27453 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27454 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27455 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27456 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27457 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27458 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27459 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27460 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27461 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27462 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27463 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27464 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27465 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27466 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27467 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27468 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27469 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27470 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27471 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27472 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27473 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27474 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27475 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27476 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27477 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27478 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27479 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27480 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27481 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27482 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27484 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27487 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27489 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27495 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27496 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27504 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27505 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27507 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27513 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27522 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27528 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27533 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27539 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27543 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27563 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27589 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27597 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27606 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27608 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27617 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27620 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27627 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27645 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27649 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27654 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27658 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27660 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27676 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27679 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27681 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27685 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27694 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27703 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27709 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27724 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27731 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27735 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27762 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27789 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27816 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27817 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
27846 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
27847 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
27880 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
27885 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
27886 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
27917 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
27923 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
27934 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
27957 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
27959 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
27965 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
27975 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
27976 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
27999 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28000 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28009 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28017 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28023 { NULL
, NULL
, 0, NULL
}
28027 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28029 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28030 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28032 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28035 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28036 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28038 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28039 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28041 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28042 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28044 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28045 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28047 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28048 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28050 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28051 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28053 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28054 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28056 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28057 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28059 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28060 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28062 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28063 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28065 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28066 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28068 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28069 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28071 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28072 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28074 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28075 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28077 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28078 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28080 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28081 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28083 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28084 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28086 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28087 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28089 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28090 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28092 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28093 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28095 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28096 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28098 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28099 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28101 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28102 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28104 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28105 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28107 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28108 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28110 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28111 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28113 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28114 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28116 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28117 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28119 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28120 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28122 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28123 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28125 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28126 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28128 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28129 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28131 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28132 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28134 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28135 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28137 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28138 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28140 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28143 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28144 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28146 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28147 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28149 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28150 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28152 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28153 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28155 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28156 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28158 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28159 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28161 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28162 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28164 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28167 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28170 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28173 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28174 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28176 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28177 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28179 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28180 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28182 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28183 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28185 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28188 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28191 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28194 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28197 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28200 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28203 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28206 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28209 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28210 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28212 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28213 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28215 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28218 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28221 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28224 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28225 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28227 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28230 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28231 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28233 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28234 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28236 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28237 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28239 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28240 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28242 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28245 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28246 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28248 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28249 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28251 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28254 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28255 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28257 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28260 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28263 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28266 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28267 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28269 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28272 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28273 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28275 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28278 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28281 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28284 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28287 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28290 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28291 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28293 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28296 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28299 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28300 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28302 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28305 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28308 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28311 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28312 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28314 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28315 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28317 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28318 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28320 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28321 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28323 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28324 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28326 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28327 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28329 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28330 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28332 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28333 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28335 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28336 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28338 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28339 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28341 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28344 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28347 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28348 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28350 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28351 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28353 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28356 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28357 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28359 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28360 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28362 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28363 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28365 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28366 return (void *)((wxObject
*) ((wxSizer
*) x
));
28368 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28369 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28371 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28374 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28377 static void *_p_wxEventTo_p_wxObject(void *x
) {
28378 return (void *)((wxObject
*) ((wxEvent
*) x
));
28380 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28381 return (void *)((wxObject
*) ((wxFontData
*) x
));
28383 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28384 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28386 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28387 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28389 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28390 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28392 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28393 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28395 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28396 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28398 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28399 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28401 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28404 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28405 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28407 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28408 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28410 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28411 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28413 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28414 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28416 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28417 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28419 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28420 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28422 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28425 static void *_p_wxControlTo_p_wxObject(void *x
) {
28426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28428 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28429 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28431 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28434 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28435 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28437 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28438 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28440 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28441 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28443 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28446 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28447 return (void *)((wxObject
*) ((wxColourData
*) x
));
28449 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28450 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28452 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28455 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28458 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28461 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28464 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28467 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28470 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28473 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28476 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28479 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28482 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28485 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28486 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28488 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28489 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28491 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28492 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28494 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28497 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28498 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28500 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28503 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28504 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28506 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28507 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28509 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28510 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28512 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28513 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28515 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28516 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28518 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28519 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28521 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28522 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28524 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28525 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28527 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28528 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28530 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28531 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28533 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28534 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28536 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28537 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28539 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28540 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28542 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28543 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28545 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28546 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28548 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28551 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28552 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28554 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28555 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28557 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28558 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28560 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28561 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28563 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28564 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28566 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28569 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28572 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28573 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28575 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28576 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28578 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28581 static void *_p_wxImageTo_p_wxObject(void *x
) {
28582 return (void *)((wxObject
*) ((wxImage
*) x
));
28584 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28587 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28588 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28590 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28591 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28593 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28594 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28596 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28599 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28602 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28605 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28606 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28608 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28609 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28611 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28612 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28614 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28615 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28617 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28620 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28623 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28626 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28629 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28632 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28635 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28638 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28641 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28644 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28647 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28650 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28653 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28656 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28657 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28659 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28660 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28662 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28663 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28665 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28668 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28671 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28674 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28677 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28680 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28681 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28683 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28684 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28686 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28687 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28689 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28690 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28692 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28693 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28695 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28698 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28699 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28701 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28702 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28704 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28705 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28707 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28710 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28711 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28713 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28716 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28719 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28720 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28722 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28723 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28725 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28728 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28731 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28732 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28734 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28735 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28737 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28740 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28741 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28743 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28744 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28746 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28747 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28749 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
28750 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28752 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28753 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28755 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
28756 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28758 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28759 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28761 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28762 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28764 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28765 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28767 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28768 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28770 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28771 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28773 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28774 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28776 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28777 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28779 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28780 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28782 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28783 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28785 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28786 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28788 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28789 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28791 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28792 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28794 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28795 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28797 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28798 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28800 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28801 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28803 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28804 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28806 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28807 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28809 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28810 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28812 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28813 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28815 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28816 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28818 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28819 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28821 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28822 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28824 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
28825 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
28827 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28828 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28830 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
28831 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28833 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
28834 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28836 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
28837 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28839 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
28840 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28842 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
28843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28845 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
28846 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28848 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
28849 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28851 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
28852 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28854 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
28855 return (void *)((wxWindow
*) ((wxPanel
*) x
));
28857 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
28858 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
28860 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
28861 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28863 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
28864 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28866 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
28867 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28869 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
28870 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
28872 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
28873 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28875 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
28876 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
28878 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
28879 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
28881 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
28882 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
28884 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
28885 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
28887 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
28888 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
28890 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
28891 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
28893 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
28894 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28896 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28897 return (void *)((wxWindow
*) ((wxControl
*) x
));
28899 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
28900 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28902 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
28903 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28905 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
28906 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28908 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28909 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28911 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
28912 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
28914 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
28915 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28917 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
28918 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28920 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
28921 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28923 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
28924 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
28926 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
28927 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28929 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
28930 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
28932 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
28933 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28935 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
28936 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28938 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
28939 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28941 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
28942 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
28944 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
28945 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28947 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
28948 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28950 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
28951 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28953 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
28954 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28956 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
28957 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
28959 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
28960 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
28962 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
28963 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
28965 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
28966 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
28968 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
28969 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28971 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
28972 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28974 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
28975 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
28977 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
28978 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28980 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
28981 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
28983 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
28984 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
28986 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
28987 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
28989 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
28990 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28992 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
28993 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28995 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
28996 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28998 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
28999 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29001 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29002 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29004 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29005 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29007 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29008 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29010 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29011 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29013 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29014 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29016 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29017 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29019 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29020 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29022 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29023 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29025 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29026 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29028 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29029 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29031 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29032 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29034 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29035 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29037 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29038 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29040 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29041 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29043 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29044 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29046 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29047 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29049 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29050 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29052 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}};
29053 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}};
29054 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}};
29055 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}};
29056 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}};
29057 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}};
29058 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_wxDateEvent", _p_wxDateEventTo_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}};
29059 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}};
29060 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}};
29061 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}};
29062 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}};
29063 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}};
29064 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}};
29065 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}};
29066 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}};
29067 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}};
29068 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}};
29069 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}};
29070 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}};
29071 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}};
29072 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}};
29073 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}};
29074 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}};
29075 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}};
29076 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}};
29077 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}};
29078 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}};
29079 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}};
29080 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}};
29081 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}};
29082 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}};
29083 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}};
29084 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}};
29085 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}};
29086 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}};
29087 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}};
29088 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}};
29089 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}};
29090 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}};
29091 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}};
29092 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}};
29093 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}};
29094 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}};
29095 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}};
29096 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}};
29097 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}};
29098 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}};
29099 static swig_type_info _swigt__p_wxStdDialogButtonSizer
[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29100 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}};
29101 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}};
29102 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}};
29103 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}};
29104 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}};
29105 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}};
29106 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}};
29107 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}};
29108 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}};
29109 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}};
29110 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_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_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}};
29111 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}};
29112 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}};
29113 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}};
29114 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}};
29115 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}};
29116 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}};
29117 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}};
29118 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}};
29119 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}};
29120 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}};
29121 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}};
29122 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}};
29123 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}};
29124 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}};
29125 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}};
29126 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}};
29127 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}};
29128 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}};
29129 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}};
29130 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}};
29131 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}};
29132 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}};
29133 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}};
29134 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}};
29135 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}};
29136 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}};
29137 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}};
29138 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}};
29139 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}};
29140 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}};
29141 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}};
29142 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_wxDateEvent", _p_wxDateEventTo_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}};
29143 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}};
29144 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}};
29145 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}};
29146 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}};
29147 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}};
29148 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}};
29150 static swig_type_info
*swig_types_initial
[] = {
29151 _swigt__p_wxQueryLayoutInfoEvent
,
29152 _swigt__p_wxPreviewFrame
,
29153 _swigt__p_wxPyPreviewFrame
,
29154 _swigt__p_wxPyPanel
,
29156 _swigt__p_wxFontData
,
29158 _swigt__p_wxPrintData
,
29159 _swigt__p_wxTaskBarIcon
,
29160 _swigt__p_wxPyTaskBarIcon
,
29161 _swigt__p_wxIconBundle
,
29162 _swigt__p_wxLayoutAlgorithm
,
29163 _swigt__p_wxFindDialogEvent
,
29164 _swigt__p_wxPreviewCanvas
,
29166 _swigt__p_wxSplitterEvent
,
29167 _swigt__p_wxRegion
,
29169 _swigt__std__ptrdiff_t
,
29170 _swigt__p_wxFindReplaceData
,
29175 _swigt__p_wxVisualAttributes
,
29176 _swigt__p_wxMDIChildFrame
,
29177 _swigt__p_wxColourData
,
29178 _swigt__p_wxNotifyEvent
,
29179 _swigt__p_wxPyWindow
,
29180 _swigt__p_form_ops_t
,
29181 _swigt__p_wxSplashScreen
,
29182 _swigt__p_wxPasswordEntryDialog
,
29183 _swigt__p_wxSingleChoiceDialog
,
29184 _swigt__p_wxMultiChoiceDialog
,
29185 _swigt__p_wxFileDialog
,
29186 _swigt__p_wxTextEntryDialog
,
29187 _swigt__p_wxMessageDialog
,
29188 _swigt__p_wxProgressDialog
,
29189 _swigt__p_wxFindReplaceDialog
,
29190 _swigt__p_wxPrinter
,
29191 _swigt__p_wxArrayInt
,
29192 _swigt__p_wxDuplexMode
,
29193 _swigt__p_wxEvtHandler
,
29194 _swigt__p_wxCalculateLayoutEvent
,
29195 _swigt__p_wxPyHtmlListBox
,
29196 _swigt__p_wxPyVListBox
,
29198 _swigt__p_wxStdDialogButtonSizer
,
29200 _swigt__p_wxMiniFrame
,
29202 _swigt__p_wxPyPrintout
,
29203 _swigt__p_wxTaskBarIconEvent
,
29204 _swigt__p_wxScrollWinEvent
,
29205 _swigt__p_wxPaperSize
,
29206 _swigt__p_wxStatusBar
,
29207 _swigt__p_wxMDIParentFrame
,
29209 _swigt__p_wxObject
,
29210 _swigt__p_unsigned_long
,
29211 _swigt__p_wxTipWindow
,
29212 _swigt__p_wxSashLayoutWindow
,
29213 _swigt__p_wxSplitterWindow
,
29214 _swigt__p_wxSplashScreenWindow
,
29215 _swigt__p_wxPyVScrolledWindow
,
29216 _swigt__p_wxPyPopupTransientWindow
,
29217 _swigt__p_wxPopupWindow
,
29218 _swigt__p_wxSashWindow
,
29219 _swigt__p_wxTopLevelWindow
,
29220 _swigt__p_wxWindow
,
29221 _swigt__p_wxScrolledWindow
,
29222 _swigt__p_wxMenuBar
,
29223 _swigt__p_wxMDIClientWindow
,
29224 _swigt__p_wxPyScrolledWindow
,
29225 _swigt__p_wxPrintPreview
,
29226 _swigt__p_wxSashEvent
,
29227 _swigt__p_wxString
,
29228 _swigt__p_wxPyPrintPreview
,
29229 _swigt__p_wxDirDialog
,
29230 _swigt__p_wxColourDialog
,
29231 _swigt__p_wxDialog
,
29233 _swigt__p_wxFontDialog
,
29234 _swigt__p_wxPageSetupDialog
,
29235 _swigt__p_wxPrintDialog
,
29236 _swigt__p_wxFileSystem
,
29237 _swigt__p_wxBitmap
,
29238 _swigt__unsigned_int
,
29239 _swigt__p_unsigned_int
,
29240 _swigt__p_unsigned_char
,
29241 _swigt__p_wxCommandEvent
,
29242 _swigt__p_wxPreviewControlBar
,
29243 _swigt__p_wxPyPreviewControlBar
,
29244 _swigt__p_wxColour
,
29245 _swigt__p_wxToolBar
,
29246 _swigt__p_wxPageSetupDialogData
,
29247 _swigt__p_wxPrintDialogData
,
29252 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29254 static swig_const_info swig_const_table
[] = {
29255 {0, 0, 0, 0.0, 0, 0}};
29266 /* Python-specific SWIG API */
29267 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29268 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29269 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29271 /* -----------------------------------------------------------------------------
29272 * global variable support code.
29273 * ----------------------------------------------------------------------------- */
29275 typedef struct swig_globalvar
{
29276 char *name
; /* Name of global variable */
29277 PyObject
*(*get_attr
)(); /* Return the current value */
29278 int (*set_attr
)(PyObject
*); /* Set the value */
29279 struct swig_globalvar
*next
;
29282 typedef struct swig_varlinkobject
{
29284 swig_globalvar
*vars
;
29285 } swig_varlinkobject
;
29288 swig_varlink_repr(swig_varlinkobject
*v
) {
29290 return PyString_FromString("<Swig global variables>");
29294 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29295 swig_globalvar
*var
;
29297 fprintf(fp
,"Swig global variables { ");
29298 for (var
= v
->vars
; var
; var
=var
->next
) {
29299 fprintf(fp
,"%s", var
->name
);
29300 if (var
->next
) fprintf(fp
,", ");
29302 fprintf(fp
," }\n");
29307 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29308 swig_globalvar
*var
= v
->vars
;
29310 if (strcmp(var
->name
,n
) == 0) {
29311 return (*var
->get_attr
)();
29315 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29320 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29321 swig_globalvar
*var
= v
->vars
;
29323 if (strcmp(var
->name
,n
) == 0) {
29324 return (*var
->set_attr
)(p
);
29328 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29332 static PyTypeObject varlinktype
= {
29333 PyObject_HEAD_INIT(0)
29334 0, /* Number of items in variable part (ob_size) */
29335 (char *)"swigvarlink", /* Type name (tp_name) */
29336 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29337 0, /* Itemsize (tp_itemsize) */
29338 0, /* Deallocator (tp_dealloc) */
29339 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29340 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29341 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29342 0, /* tp_compare */
29343 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29344 0, /* tp_as_number */
29345 0, /* tp_as_sequence */
29346 0, /* tp_as_mapping */
29350 0, /* tp_getattro */
29351 0, /* tp_setattro */
29352 0, /* tp_as_buffer */
29355 #if PY_VERSION_HEX >= 0x02000000
29356 0, /* tp_traverse */
29359 #if PY_VERSION_HEX >= 0x02010000
29360 0, /* tp_richcompare */
29361 0, /* tp_weaklistoffset */
29363 #if PY_VERSION_HEX >= 0x02020000
29364 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29366 #if PY_VERSION_HEX >= 0x02030000
29369 #ifdef COUNT_ALLOCS
29370 0,0,0,0 /* tp_alloc -> tp_next */
29374 /* Create a variable linking object for use later */
29376 SWIG_Python_newvarlink(void) {
29377 swig_varlinkobject
*result
= 0;
29378 result
= PyMem_NEW(swig_varlinkobject
,1);
29379 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29380 result
->ob_type
= &varlinktype
;
29382 result
->ob_refcnt
= 0;
29383 Py_XINCREF((PyObject
*) result
);
29384 return ((PyObject
*) result
);
29388 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29389 swig_varlinkobject
*v
;
29390 swig_globalvar
*gv
;
29391 v
= (swig_varlinkobject
*) p
;
29392 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29393 gv
->name
= (char *) malloc(strlen(name
)+1);
29394 strcpy(gv
->name
,name
);
29395 gv
->get_attr
= get_attr
;
29396 gv
->set_attr
= set_attr
;
29397 gv
->next
= v
->vars
;
29401 /* -----------------------------------------------------------------------------
29402 * constants/methods manipulation
29403 * ----------------------------------------------------------------------------- */
29405 /* Install Constants */
29407 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29410 for (i
= 0; constants
[i
].type
; i
++) {
29411 switch(constants
[i
].type
) {
29413 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29415 case SWIG_PY_FLOAT
:
29416 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29418 case SWIG_PY_STRING
:
29419 if (constants
[i
].pvalue
) {
29420 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29422 Py_INCREF(Py_None
);
29426 case SWIG_PY_POINTER
:
29427 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29429 case SWIG_PY_BINARY
:
29430 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29437 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29443 /* -----------------------------------------------------------------------------*/
29444 /* Fix SwigMethods to carry the callback ptrs when needed */
29445 /* -----------------------------------------------------------------------------*/
29448 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29449 swig_const_info
*const_table
,
29450 swig_type_info
**types
,
29451 swig_type_info
**types_initial
) {
29453 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29454 char *c
= methods
[i
].ml_doc
;
29455 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29457 swig_const_info
*ci
= 0;
29458 char *name
= c
+ 10;
29459 for (j
= 0; const_table
[j
].type
; j
++) {
29460 if (strncmp(const_table
[j
].name
, name
,
29461 strlen(const_table
[j
].name
)) == 0) {
29462 ci
= &(const_table
[j
]);
29467 size_t shift
= (ci
->ptype
) - types
;
29468 swig_type_info
*ty
= types_initial
[shift
];
29469 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29470 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29471 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29473 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29474 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29476 strncpy(buff
, "swig_ptr: ", 10);
29478 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29479 methods
[i
].ml_doc
= ndoc
;
29485 /* -----------------------------------------------------------------------------*
29486 * Initialize type list
29487 * -----------------------------------------------------------------------------*/
29489 #if PY_MAJOR_VERSION < 2
29490 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29491 is copied out of Python/modsupport.c in python version 2.3.4 */
29493 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29496 if (!PyModule_Check(m
)) {
29497 PyErr_SetString(PyExc_TypeError
,
29498 "PyModule_AddObject() needs module as first arg");
29502 PyErr_SetString(PyExc_TypeError
,
29503 "PyModule_AddObject() needs non-NULL value");
29507 dict
= PyModule_GetDict(m
);
29508 if (dict
== NULL
) {
29509 /* Internal error -- modules must have a dict! */
29510 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29511 PyModule_GetName(m
));
29514 if (PyDict_SetItemString(dict
, name
, o
))
29521 static swig_type_info
**
29522 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29523 static PyMethodDef swig_empty_runtime_method_table
[] = {
29525 NULL
, NULL
, 0, NULL
29529 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29530 swig_empty_runtime_method_table
);
29531 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29532 if (pointer
&& module) {
29533 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29535 return type_list_handle
;
29538 static swig_type_info
**
29539 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29540 swig_type_info
**type_pointer
;
29542 /* first check if module already created */
29543 type_pointer
= SWIG_Python_GetTypeListHandle();
29544 if (type_pointer
) {
29545 return type_pointer
;
29547 /* create a new module and variable */
29548 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29556 /* -----------------------------------------------------------------------------*
29557 * Partial Init method
29558 * -----------------------------------------------------------------------------*/
29560 #ifdef SWIG_LINK_RUNTIME
29564 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29570 SWIGEXPORT(void) SWIG_init(void) {
29571 static PyObject
*SWIG_globals
= 0;
29572 static int typeinit
= 0;
29575 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29577 /* Fix SwigMethods to carry the callback ptrs when needed */
29578 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29580 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29581 d
= PyModule_GetDict(m
);
29584 #ifdef SWIG_LINK_RUNTIME
29585 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29587 # ifndef SWIG_STATIC_RUNTIME
29588 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29591 for (i
= 0; swig_types_initial
[i
]; i
++) {
29592 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29596 SWIG_InstallConstants(d
,swig_const_table
);
29598 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29599 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29600 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29601 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29602 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29604 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29607 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29610 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29613 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29616 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29619 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29622 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29625 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29628 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29631 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29634 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29637 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29640 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29643 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29646 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29649 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29652 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29655 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29658 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29661 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29664 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29667 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29670 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
29673 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
29676 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29679 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29682 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29685 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29688 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29691 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29694 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29697 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29700 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29703 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29706 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29709 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29712 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29715 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29718 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29721 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29724 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29727 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29730 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29733 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29736 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29738 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29740 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29743 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29746 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29749 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29752 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29755 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29758 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29761 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29764 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
29767 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
29770 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
29773 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
29776 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
29779 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
29781 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
29782 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
29783 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
29784 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
29785 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
29786 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
29788 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
29791 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
29794 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
29797 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
29800 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
29803 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
29806 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
29809 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
29812 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
29815 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
29818 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
29821 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
29824 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
29827 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
29830 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
29832 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
29834 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
29837 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
29840 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
29843 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
29846 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
29849 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
29852 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
29855 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
29858 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
29861 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
29864 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
29866 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
29867 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
29868 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
29870 // Map renamed classes back to their common name for OOR
29871 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
29872 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
29873 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
29875 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
29876 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
29877 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
29878 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
29879 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
29880 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
29881 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
29882 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29883 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29884 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
29885 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29886 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
29887 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
29889 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
29892 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
29894 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
29896 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
29899 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
29902 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
29905 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
29908 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
29911 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
29914 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
29916 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
29917 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
29918 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
29919 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
29920 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
29922 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
29925 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
29928 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
29931 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
29934 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
29937 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
29940 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
29943 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
29946 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
29948 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
29949 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
29951 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
29954 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
29957 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
29960 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
29963 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
29966 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
29969 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
29972 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
29975 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
29978 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
29981 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
29984 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
29987 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
29990 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
29993 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
29996 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
29999 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30002 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30005 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30008 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30011 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30014 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30017 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30020 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30023 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30026 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30029 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30032 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30035 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30038 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30041 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30044 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30047 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30050 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30053 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30056 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30059 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30062 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30065 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30068 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");