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
);
2159 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2161 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2162 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2163 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2164 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2166 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2167 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2168 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2170 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2171 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2173 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2174 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2175 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2176 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2178 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2179 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2180 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2182 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2183 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2185 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2186 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2188 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2190 // C++ version of Python aware wxPanel
2191 class wxPyPanel
: public wxPanel
2193 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2195 wxPyPanel() : wxPanel() {}
2196 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2197 const wxPoint
& pos
= wxDefaultPosition
,
2198 const wxSize
& size
= wxDefaultSize
,
2200 const wxString
& name
= wxPyPanelNameStr
)
2201 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2203 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2204 bool DoEraseBackground(wxDC
* dc
) {
2206 return wxWindow::DoEraseBackground(dc
->GetHDC());
2208 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2215 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2216 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2217 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2218 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2220 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2221 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2222 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2224 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2225 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2227 DEC_PYCALLBACK__(InitDialog
);
2228 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2229 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2230 DEC_PYCALLBACK_BOOL_(Validate
);
2232 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2233 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2234 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2236 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2237 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2239 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2240 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2242 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2247 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2249 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2250 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2251 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2252 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2254 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2255 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2256 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2258 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2259 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2261 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2262 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2263 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2264 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2266 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2267 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2268 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2270 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2271 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2273 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2274 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2276 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2278 // C++ version of Python aware wxScrolledWindow
2279 class wxPyScrolledWindow
: public wxScrolledWindow
2281 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2283 wxPyScrolledWindow() : wxScrolledWindow() {}
2284 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2285 const wxPoint
& pos
= wxDefaultPosition
,
2286 const wxSize
& size
= wxDefaultSize
,
2288 const wxString
& name
= wxPyPanelNameStr
)
2289 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2291 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2292 bool DoEraseBackground(wxDC
* dc
) {
2294 return wxWindow::DoEraseBackground(dc
->GetHDC());
2296 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2302 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2303 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2304 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2305 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2307 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2311 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2312 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2314 DEC_PYCALLBACK__(InitDialog
);
2315 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2316 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2317 DEC_PYCALLBACK_BOOL_(Validate
);
2319 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2320 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2321 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2323 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2324 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2326 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2327 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2329 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2334 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2336 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2337 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2338 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2339 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2343 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2345 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2346 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2348 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2349 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2350 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2351 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2353 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2354 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2355 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2358 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2360 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2361 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2363 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2366 #include "wx/wxPython/printfw.h"
2369 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2370 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2371 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2373 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2374 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2375 self
->GetPrivDataLen());
2376 wxPyEndBlockThreads(blocked
);
2379 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2380 if (! PyString_Check(data
)) {
2381 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2382 "Expected string object"));
2386 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2387 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2388 wxPyEndBlockThreads(blocked
);
2392 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2394 // Since this one would be tough and ugly to do with the Macros...
2395 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2396 bool hadErr
= false;
2399 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2400 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2401 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2402 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2405 val
= PyTuple_GetItem(result
, 0);
2406 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2409 val
= PyTuple_GetItem(result
, 1);
2410 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2413 val
= PyTuple_GetItem(result
, 2);
2414 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2417 val
= PyTuple_GetItem(result
, 3);
2418 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2425 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2430 wxPyEndBlockThreads(blocked
);
2432 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2435 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2436 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2440 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2441 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2442 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2443 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2444 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2445 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2446 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2452 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2453 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2454 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2457 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2458 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2461 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2462 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2463 PyObject* win = wxPyMake_wxObject(a,false); \
2464 PyObject* dc = wxPyMake_wxObject(&b,false); \
2465 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2469 wxPyEndBlockThreads(blocked); \
2471 rval = PCLASS::CBNAME(a, b); \
2474 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2475 return PCLASS::CBNAME(a, b); \
2481 class wxPyPrintPreview
: public wxPrintPreview
2483 DECLARE_CLASS(wxPyPrintPreview
)
2485 wxPyPrintPreview(wxPyPrintout
* printout
,
2486 wxPyPrintout
* printoutForPrinting
,
2487 wxPrintDialogData
* data
=NULL
)
2488 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2490 wxPyPrintPreview(wxPyPrintout
* printout
,
2491 wxPyPrintout
* printoutForPrinting
,
2492 wxPrintData
* data
=NULL
)
2493 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2496 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2497 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2498 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2499 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2500 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2501 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2502 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2507 // Stupid renamed classes... Fix this in 2.5...
2508 #if defined(__WXMSW__)
2509 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2510 #elif defined(__WXMAC__)
2511 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2513 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2516 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2517 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2518 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2519 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2520 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2521 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2522 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2525 class wxPyPreviewFrame
: public wxPreviewFrame
2527 DECLARE_CLASS(wxPyPreviewFrame
);
2529 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2530 const wxString
& title
,
2531 const wxPoint
& pos
= wxDefaultPosition
,
2532 const wxSize
& size
= wxDefaultSize
,
2533 long style
= wxDEFAULT_FRAME_STYLE
,
2534 const wxString
& name
= wxPyFrameNameStr
)
2535 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2538 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2539 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2541 DEC_PYCALLBACK_VOID_(Initialize
);
2542 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2543 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2548 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2550 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2551 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2552 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2555 class wxPyPreviewControlBar
: public wxPreviewControlBar
2557 DECLARE_CLASS(wxPyPreviewControlBar
);
2559 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2562 const wxPoint
& pos
= wxDefaultPosition
,
2563 const wxSize
& size
= wxDefaultSize
,
2565 const wxString
& name
= wxPyPanelNameStr
)
2566 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2569 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2571 DEC_PYCALLBACK_VOID_(CreateButtons
);
2572 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2577 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2578 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2579 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2584 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxWindow
*arg1
= (wxWindow
*) 0 ;
2587 int arg2
= (int) (int)-1 ;
2588 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2589 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2590 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2591 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2592 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2593 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2594 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2598 bool temp6
= false ;
2599 PyObject
* obj0
= 0 ;
2600 PyObject
* obj1
= 0 ;
2601 PyObject
* obj2
= 0 ;
2602 PyObject
* obj3
= 0 ;
2603 PyObject
* obj4
= 0 ;
2604 PyObject
* obj5
= 0 ;
2606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2611 if (SWIG_arg_fail(1)) SWIG_fail
;
2614 arg2
= (int const)(SWIG_As_int(obj1
));
2615 if (SWIG_arg_fail(2)) SWIG_fail
;
2621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2632 arg5
= (long)(SWIG_As_long(obj4
));
2633 if (SWIG_arg_fail(5)) SWIG_fail
;
2638 arg6
= wxString_in_helper(obj5
);
2639 if (arg6
== NULL
) SWIG_fail
;
2644 if (!wxPyCheckForApp()) SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2666 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2675 if (!wxPyCheckForApp()) SWIG_fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 result
= (wxPanel
*)new wxPanel();
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2689 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2691 wxPanel
*arg1
= (wxPanel
*) 0 ;
2692 wxWindow
*arg2
= (wxWindow
*) 0 ;
2693 int arg3
= (int) (int)-1 ;
2694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2698 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2699 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2700 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2704 bool temp7
= false ;
2705 PyObject
* obj0
= 0 ;
2706 PyObject
* obj1
= 0 ;
2707 PyObject
* obj2
= 0 ;
2708 PyObject
* obj3
= 0 ;
2709 PyObject
* obj4
= 0 ;
2710 PyObject
* obj5
= 0 ;
2711 PyObject
* obj6
= 0 ;
2713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail
;
2719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2720 if (SWIG_arg_fail(2)) SWIG_fail
;
2723 arg3
= (int const)(SWIG_As_int(obj2
));
2724 if (SWIG_arg_fail(3)) SWIG_fail
;
2730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2741 arg6
= (long)(SWIG_As_long(obj5
));
2742 if (SWIG_arg_fail(6)) SWIG_fail
;
2747 arg7
= wxString_in_helper(obj6
);
2748 if (arg7
== NULL
) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2776 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2778 wxPanel
*arg1
= (wxPanel
*) 0 ;
2779 PyObject
* obj0
= 0 ;
2781 (char *) "self", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 (arg1
)->InitDialog();
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2794 Py_INCREF(Py_None
); resultobj
= Py_None
;
2801 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxPanel
*arg1
= (wxPanel
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "self", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxPanel
*arg1
= (wxPanel
*) 0 ;
2829 PyObject
* obj0
= 0 ;
2831 (char *) "self", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2836 if (SWIG_arg_fail(1)) SWIG_fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 (arg1
)->SetFocusIgnoringChildren();
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2844 Py_INCREF(Py_None
); resultobj
= Py_None
;
2851 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2853 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2854 wxVisualAttributes result
;
2855 PyObject
* obj0
= 0 ;
2857 (char *) "variant", NULL
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2863 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2864 if (SWIG_arg_fail(1)) SWIG_fail
;
2868 if (!wxPyCheckForApp()) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2876 wxVisualAttributes
* resultptr
;
2877 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2886 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2889 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2891 return Py_BuildValue((char *)"");
2893 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
;
2895 wxWindow
*arg1
= (wxWindow
*) 0 ;
2896 int arg2
= (int) (int)-1 ;
2897 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2898 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2899 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2900 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2901 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2902 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2903 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2904 wxScrolledWindow
*result
;
2907 bool temp6
= false ;
2908 PyObject
* obj0
= 0 ;
2909 PyObject
* obj1
= 0 ;
2910 PyObject
* obj2
= 0 ;
2911 PyObject
* obj3
= 0 ;
2912 PyObject
* obj4
= 0 ;
2913 PyObject
* obj5
= 0 ;
2915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2920 if (SWIG_arg_fail(1)) SWIG_fail
;
2923 arg2
= (int const)(SWIG_As_int(obj1
));
2924 if (SWIG_arg_fail(2)) SWIG_fail
;
2930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2941 arg5
= (long)(SWIG_As_long(obj4
));
2942 if (SWIG_arg_fail(5)) SWIG_fail
;
2947 arg6
= wxString_in_helper(obj5
);
2948 if (arg6
== NULL
) SWIG_fail
;
2953 if (!wxPyCheckForApp()) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2975 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxScrolledWindow
*result
;
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2984 if (!wxPyCheckForApp()) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2998 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3001 wxWindow
*arg2
= (wxWindow
*) 0 ;
3002 int arg3
= (int) (int)-1 ;
3003 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3004 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3005 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3006 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3007 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3008 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3013 bool temp7
= false ;
3014 PyObject
* obj0
= 0 ;
3015 PyObject
* obj1
= 0 ;
3016 PyObject
* obj2
= 0 ;
3017 PyObject
* obj3
= 0 ;
3018 PyObject
* obj4
= 0 ;
3019 PyObject
* obj5
= 0 ;
3020 PyObject
* obj6
= 0 ;
3022 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3027 if (SWIG_arg_fail(1)) SWIG_fail
;
3028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3029 if (SWIG_arg_fail(2)) SWIG_fail
;
3032 arg3
= (int const)(SWIG_As_int(obj2
));
3033 if (SWIG_arg_fail(3)) SWIG_fail
;
3039 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3045 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3050 arg6
= (long)(SWIG_As_long(obj5
));
3051 if (SWIG_arg_fail(6)) SWIG_fail
;
3056 arg7
= wxString_in_helper(obj6
);
3057 if (arg7
== NULL
) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3085 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3092 int arg6
= (int) 0 ;
3093 int arg7
= (int) 0 ;
3094 bool arg8
= (bool) false ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 PyObject
* obj2
= 0 ;
3098 PyObject
* obj3
= 0 ;
3099 PyObject
* obj4
= 0 ;
3100 PyObject
* obj5
= 0 ;
3101 PyObject
* obj6
= 0 ;
3102 PyObject
* obj7
= 0 ;
3104 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3109 if (SWIG_arg_fail(1)) SWIG_fail
;
3111 arg2
= (int)(SWIG_As_int(obj1
));
3112 if (SWIG_arg_fail(2)) SWIG_fail
;
3115 arg3
= (int)(SWIG_As_int(obj2
));
3116 if (SWIG_arg_fail(3)) SWIG_fail
;
3119 arg4
= (int)(SWIG_As_int(obj3
));
3120 if (SWIG_arg_fail(4)) SWIG_fail
;
3123 arg5
= (int)(SWIG_As_int(obj4
));
3124 if (SWIG_arg_fail(5)) SWIG_fail
;
3128 arg6
= (int)(SWIG_As_int(obj5
));
3129 if (SWIG_arg_fail(6)) SWIG_fail
;
3134 arg7
= (int)(SWIG_As_int(obj6
));
3135 if (SWIG_arg_fail(7)) SWIG_fail
;
3140 arg8
= (bool)(SWIG_As_bool(obj7
));
3141 if (SWIG_arg_fail(8)) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3151 Py_INCREF(Py_None
); resultobj
= Py_None
;
3158 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3165 PyObject
* obj2
= 0 ;
3167 (char *) "self",(char *) "x",(char *) "y", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail
;
3174 arg2
= (int)(SWIG_As_int(obj1
));
3175 if (SWIG_arg_fail(2)) SWIG_fail
;
3178 arg3
= (int)(SWIG_As_int(obj2
));
3179 if (SWIG_arg_fail(3)) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 (arg1
)->Scroll(arg2
,arg3
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 Py_INCREF(Py_None
); resultobj
= Py_None
;
3195 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3200 PyObject
* obj0
= 0 ;
3201 PyObject
* obj1
= 0 ;
3203 (char *) "self",(char *) "orient", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3208 if (SWIG_arg_fail(1)) SWIG_fail
;
3210 arg2
= (int)(SWIG_As_int(obj1
));
3211 if (SWIG_arg_fail(2)) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= SWIG_From_int((int)(result
));
3229 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3236 PyObject
* obj2
= 0 ;
3238 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3243 if (SWIG_arg_fail(1)) SWIG_fail
;
3245 arg2
= (int)(SWIG_As_int(obj1
));
3246 if (SWIG_arg_fail(2)) SWIG_fail
;
3249 arg3
= (int)(SWIG_As_int(obj2
));
3250 if (SWIG_arg_fail(3)) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 Py_INCREF(Py_None
); resultobj
= Py_None
;
3266 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3273 PyObject
* obj2
= 0 ;
3275 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail
;
3282 arg2
= (int)(SWIG_As_int(obj1
));
3283 if (SWIG_arg_fail(2)) SWIG_fail
;
3286 arg3
= (int)(SWIG_As_int(obj2
));
3287 if (SWIG_arg_fail(3)) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 (arg1
)->SetScrollRate(arg2
,arg3
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 Py_INCREF(Py_None
); resultobj
= Py_None
;
3303 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3306 int *arg2
= (int *) 0 ;
3307 int *arg3
= (int *) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3318 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3321 if (SWIG_arg_fail(1)) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 Py_INCREF(Py_None
); resultobj
= Py_None
;
3330 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3331 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3332 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3333 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3340 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3347 PyObject
* obj2
= 0 ;
3349 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3354 if (SWIG_arg_fail(1)) SWIG_fail
;
3356 arg2
= (bool)(SWIG_As_bool(obj1
));
3357 if (SWIG_arg_fail(2)) SWIG_fail
;
3360 arg3
= (bool)(SWIG_As_bool(obj2
));
3361 if (SWIG_arg_fail(3)) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 (arg1
)->EnableScrolling(arg2
,arg3
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3380 int *arg2
= (int *) 0 ;
3381 int *arg3
= (int *) 0 ;
3386 PyObject
* obj0
= 0 ;
3388 (char *) "self", NULL
3391 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3392 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3395 if (SWIG_arg_fail(1)) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 Py_INCREF(Py_None
); resultobj
= Py_None
;
3404 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3405 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3406 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3407 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3414 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3421 PyObject
* obj2
= 0 ;
3423 (char *) "self",(char *) "xs",(char *) "ys", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail
;
3430 arg2
= (double)(SWIG_As_double(obj1
));
3431 if (SWIG_arg_fail(2)) SWIG_fail
;
3434 arg3
= (double)(SWIG_As_double(obj2
));
3435 if (SWIG_arg_fail(3)) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 (arg1
)->SetScale(arg2
,arg3
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3471 resultobj
= SWIG_From_double((double)(result
));
3479 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "self", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3490 if (SWIG_arg_fail(1)) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3499 resultobj
= SWIG_From_double((double)(result
));
3507 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3508 PyObject
*resultobj
;
3509 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3513 PyObject
* obj0
= 0 ;
3514 PyObject
* obj1
= 0 ;
3516 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3518 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3531 wxPoint
* resultptr
;
3532 resultptr
= new wxPoint((wxPoint
&)(result
));
3533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3541 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3542 PyObject
*resultobj
;
3543 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3546 int *arg4
= (int *) 0 ;
3547 int *arg5
= (int *) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3554 PyObject
* obj2
= 0 ;
3556 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3557 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3558 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail
;
3562 arg2
= (int)(SWIG_As_int(obj1
));
3563 if (SWIG_arg_fail(2)) SWIG_fail
;
3566 arg3
= (int)(SWIG_As_int(obj2
));
3567 if (SWIG_arg_fail(3)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3577 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3578 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3579 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3580 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3587 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3592 argc
= PyObject_Length(args
);
3593 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3594 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3600 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3609 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3612 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3620 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3628 _v
= SWIG_Check_int(argv
[1]);
3630 _v
= SWIG_Check_int(argv
[2]);
3632 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3638 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3643 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3644 PyObject
*resultobj
;
3645 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3650 PyObject
* obj1
= 0 ;
3652 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3667 wxPoint
* resultptr
;
3668 resultptr
= new wxPoint((wxPoint
&)(result
));
3669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3677 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3678 PyObject
*resultobj
;
3679 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3682 int *arg4
= (int *) 0 ;
3683 int *arg5
= (int *) 0 ;
3688 PyObject
* obj0
= 0 ;
3689 PyObject
* obj1
= 0 ;
3690 PyObject
* obj2
= 0 ;
3692 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3693 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3694 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3696 if (SWIG_arg_fail(1)) SWIG_fail
;
3698 arg2
= (int)(SWIG_As_int(obj1
));
3699 if (SWIG_arg_fail(2)) SWIG_fail
;
3702 arg3
= (int)(SWIG_As_int(obj2
));
3703 if (SWIG_arg_fail(3)) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 Py_INCREF(Py_None
); resultobj
= Py_None
;
3713 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3714 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3715 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3716 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3723 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3728 argc
= PyObject_Length(args
);
3729 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3730 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3736 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3745 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3748 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3756 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3764 _v
= SWIG_Check_int(argv
[1]);
3766 _v
= SWIG_Check_int(argv
[2]);
3768 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3774 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3779 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->AdjustScrollbars();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3807 wxScrollWinEvent
*arg2
= 0 ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3812 (char *) "self",(char *) "event", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3817 if (SWIG_arg_fail(1)) SWIG_fail
;
3819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(2)) SWIG_fail
;
3822 SWIG_null_ref("wxScrollWinEvent");
3824 if (SWIG_arg_fail(2)) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_From_int((int)(result
));
3842 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3845 wxWindow
*arg2
= (wxWindow
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "target", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3856 if (SWIG_arg_fail(2)) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 (arg1
)->SetTargetWindow(arg2
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= wxPyMake_wxObject(result
, 0);
3899 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "rect", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail
;
3915 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3937 (char *) "self", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3942 if (SWIG_arg_fail(1)) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3952 resultptr
= new wxRect((wxRect
&)(result
));
3953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3961 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3968 (char *) "self",(char *) "dc", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3973 if (SWIG_arg_fail(1)) SWIG_fail
;
3975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3976 if (SWIG_arg_fail(2)) SWIG_fail
;
3978 SWIG_null_ref("wxDC");
3980 if (SWIG_arg_fail(2)) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 (arg1
)->DoPrepareDC(*arg2
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 Py_INCREF(Py_None
); resultobj
= Py_None
;
3996 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3999 wxVisualAttributes result
;
4000 PyObject
* obj0
= 0 ;
4002 (char *) "variant", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4008 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4009 if (SWIG_arg_fail(1)) SWIG_fail
;
4013 if (!wxPyCheckForApp()) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 wxVisualAttributes
* resultptr
;
4022 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4031 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4034 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4036 return Py_BuildValue((char *)"");
4038 static int _wrap_FrameNameStr_set(PyObject
*) {
4039 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4044 static PyObject
*_wrap_FrameNameStr_get(void) {
4049 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4051 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4058 static int _wrap_DialogNameStr_set(PyObject
*) {
4059 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4064 static PyObject
*_wrap_DialogNameStr_get(void) {
4069 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4071 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4078 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4079 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4084 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4089 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4091 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4098 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4099 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4104 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4109 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4111 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4118 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4121 bool arg2
= (bool) true ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4125 (char *) "self",(char *) "maximize", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 arg2
= (bool)(SWIG_As_bool(obj1
));
4134 if (SWIG_arg_fail(2)) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 (arg1
)->Maximize(arg2
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 Py_INCREF(Py_None
); resultobj
= Py_None
;
4151 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "self", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4161 if (SWIG_arg_fail(1)) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 Py_INCREF(Py_None
); resultobj
= Py_None
;
4176 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4179 bool arg2
= (bool) true ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4183 (char *) "self",(char *) "iconize", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4188 if (SWIG_arg_fail(1)) SWIG_fail
;
4191 arg2
= (bool)(SWIG_As_bool(obj1
));
4192 if (SWIG_arg_fail(2)) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 (arg1
)->Iconize(arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 Py_INCREF(Py_None
); resultobj
= Py_None
;
4209 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4211 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4215 (char *) "self", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4220 if (SWIG_arg_fail(1)) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4237 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4248 if (SWIG_arg_fail(1)) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4265 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4271 (char *) "self", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4276 if (SWIG_arg_fail(1)) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4286 resultptr
= new wxIcon((wxIcon
&)(result
));
4287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4295 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "icon", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail
;
4309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4310 if (SWIG_arg_fail(2)) SWIG_fail
;
4312 SWIG_null_ref("wxIcon");
4314 if (SWIG_arg_fail(2)) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 Py_INCREF(Py_None
); resultobj
= Py_None
;
4330 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
;
4332 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4333 wxIconBundle
*arg2
= 0 ;
4334 PyObject
* obj0
= 0 ;
4335 PyObject
* obj1
= 0 ;
4337 (char *) "self",(char *) "icons", NULL
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4342 if (SWIG_arg_fail(1)) SWIG_fail
;
4344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4345 if (SWIG_arg_fail(2)) SWIG_fail
;
4347 SWIG_null_ref("wxIconBundle");
4349 if (SWIG_arg_fail(2)) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 Py_INCREF(Py_None
); resultobj
= Py_None
;
4365 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4369 long arg3
= (long) wxFULLSCREEN_ALL
;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4373 PyObject
* obj2
= 0 ;
4375 (char *) "self",(char *) "show",(char *) "style", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4380 if (SWIG_arg_fail(1)) SWIG_fail
;
4382 arg2
= (bool)(SWIG_As_bool(obj1
));
4383 if (SWIG_arg_fail(2)) SWIG_fail
;
4387 arg3
= (long)(SWIG_As_long(obj2
));
4388 if (SWIG_arg_fail(3)) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4407 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4409 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4413 (char *) "self", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4435 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4438 wxString
*arg2
= 0 ;
4439 bool temp2
= false ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4443 (char *) "self",(char *) "title", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4448 if (SWIG_arg_fail(1)) SWIG_fail
;
4450 arg2
= wxString_in_helper(obj1
);
4451 if (arg2
== NULL
) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 (arg1
)->SetTitle((wxString
const &)*arg2
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "self", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4487 if (SWIG_arg_fail(1)) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4508 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4511 wxRegion
*arg2
= 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "self",(char *) "region", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4521 if (SWIG_arg_fail(1)) SWIG_fail
;
4523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4524 if (SWIG_arg_fail(2)) SWIG_fail
;
4526 SWIG_null_ref("wxRegion");
4528 if (SWIG_arg_fail(2)) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4549 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4550 PyObject
* obj0
= 0 ;
4551 PyObject
* obj1
= 0 ;
4553 (char *) "self",(char *) "flags", NULL
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4558 if (SWIG_arg_fail(1)) SWIG_fail
;
4561 arg2
= (int)(SWIG_As_int(obj1
));
4562 if (SWIG_arg_fail(2)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 (arg1
)->RequestUserAttention(arg2
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (bool)(arg1
)->IsActive();
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4607 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4614 (char *) "self",(char *) "on", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4621 arg2
= (bool)(SWIG_As_bool(obj1
));
4622 if (SWIG_arg_fail(2)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4649 if (SWIG_arg_fail(1)) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4666 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4669 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4671 return Py_BuildValue((char *)"");
4673 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxWindow
*arg1
= (wxWindow
*) 0 ;
4676 int arg2
= (int) (int)-1 ;
4677 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4679 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4680 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4681 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4682 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4683 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4684 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4685 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4687 bool temp3
= false ;
4690 bool temp7
= false ;
4691 PyObject
* obj0
= 0 ;
4692 PyObject
* obj1
= 0 ;
4693 PyObject
* obj2
= 0 ;
4694 PyObject
* obj3
= 0 ;
4695 PyObject
* obj4
= 0 ;
4696 PyObject
* obj5
= 0 ;
4697 PyObject
* obj6
= 0 ;
4699 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4704 if (SWIG_arg_fail(1)) SWIG_fail
;
4707 arg2
= (int const)(SWIG_As_int(obj1
));
4708 if (SWIG_arg_fail(2)) SWIG_fail
;
4713 arg3
= wxString_in_helper(obj2
);
4714 if (arg3
== NULL
) SWIG_fail
;
4721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4732 arg6
= (long)(SWIG_As_long(obj5
));
4733 if (SWIG_arg_fail(6)) SWIG_fail
;
4738 arg7
= wxString_in_helper(obj6
);
4739 if (arg7
== NULL
) SWIG_fail
;
4744 if (!wxPyCheckForApp()) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4774 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4783 if (!wxPyCheckForApp()) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (wxFrame
*)new wxFrame();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4797 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxFrame
*arg1
= (wxFrame
*) 0 ;
4800 wxWindow
*arg2
= (wxWindow
*) 0 ;
4801 int arg3
= (int) (int)-1 ;
4802 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4804 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4805 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4806 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4807 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4808 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4809 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4810 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4812 bool temp4
= false ;
4815 bool temp8
= false ;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4818 PyObject
* obj2
= 0 ;
4819 PyObject
* obj3
= 0 ;
4820 PyObject
* obj4
= 0 ;
4821 PyObject
* obj5
= 0 ;
4822 PyObject
* obj6
= 0 ;
4823 PyObject
* obj7
= 0 ;
4825 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4830 if (SWIG_arg_fail(1)) SWIG_fail
;
4831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4832 if (SWIG_arg_fail(2)) SWIG_fail
;
4835 arg3
= (int const)(SWIG_As_int(obj2
));
4836 if (SWIG_arg_fail(3)) SWIG_fail
;
4841 arg4
= wxString_in_helper(obj3
);
4842 if (arg4
== NULL
) SWIG_fail
;
4849 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4855 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4860 arg7
= (long)(SWIG_As_long(obj6
));
4861 if (SWIG_arg_fail(7)) SWIG_fail
;
4866 arg8
= wxString_in_helper(obj7
);
4867 if (arg8
== NULL
) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4903 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxFrame
*arg1
= (wxFrame
*) 0 ;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "self", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4923 wxPoint
* resultptr
;
4924 resultptr
= new wxPoint((wxPoint
&)(result
));
4925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4933 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxFrame
*arg1
= (wxFrame
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 (arg1
)->SendSizeEvent();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4958 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
;
4960 wxFrame
*arg1
= (wxFrame
*) 0 ;
4961 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4962 PyObject
* obj0
= 0 ;
4963 PyObject
* obj1
= 0 ;
4965 (char *) "self",(char *) "menubar", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4970 if (SWIG_arg_fail(1)) SWIG_fail
;
4971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4972 if (SWIG_arg_fail(2)) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 (arg1
)->SetMenuBar(arg2
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 Py_INCREF(Py_None
); resultobj
= Py_None
;
4987 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxFrame
*arg1
= (wxFrame
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4993 (char *) "self", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= wxPyMake_wxObject(result
, 0);
5015 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxFrame
*arg1
= (wxFrame
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5021 PyObject
* obj1
= 0 ;
5023 (char *) "self",(char *) "winid", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail
;
5030 arg2
= (int)(SWIG_As_int(obj1
));
5031 if (SWIG_arg_fail(2)) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxFrame
*arg1
= (wxFrame
*) 0 ;
5052 int arg2
= (int) 1 ;
5053 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5054 int arg4
= (int) 0 ;
5055 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5056 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5057 wxStatusBar
*result
;
5058 bool temp5
= false ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5061 PyObject
* obj2
= 0 ;
5062 PyObject
* obj3
= 0 ;
5063 PyObject
* obj4
= 0 ;
5065 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5070 if (SWIG_arg_fail(1)) SWIG_fail
;
5073 arg2
= (int)(SWIG_As_int(obj1
));
5074 if (SWIG_arg_fail(2)) SWIG_fail
;
5079 arg3
= (long)(SWIG_As_long(obj2
));
5080 if (SWIG_arg_fail(3)) SWIG_fail
;
5085 arg4
= (int)(SWIG_As_int(obj3
));
5086 if (SWIG_arg_fail(4)) SWIG_fail
;
5091 arg5
= wxString_in_helper(obj4
);
5092 if (arg5
== NULL
) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= wxPyMake_wxObject(result
, 0);
5120 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxFrame
*arg1
= (wxFrame
*) 0 ;
5123 wxStatusBar
*result
;
5124 PyObject
* obj0
= 0 ;
5126 (char *) "self", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5131 if (SWIG_arg_fail(1)) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= wxPyMake_wxObject(result
, 0);
5148 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxFrame
*arg1
= (wxFrame
*) 0 ;
5151 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5155 (char *) "self",(char *) "statBar", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5160 if (SWIG_arg_fail(1)) SWIG_fail
;
5161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5162 if (SWIG_arg_fail(2)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 (arg1
)->SetStatusBar(arg2
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 Py_INCREF(Py_None
); resultobj
= Py_None
;
5177 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxFrame
*arg1
= (wxFrame
*) 0 ;
5180 wxString
*arg2
= 0 ;
5181 int arg3
= (int) 0 ;
5182 bool temp2
= false ;
5183 PyObject
* obj0
= 0 ;
5184 PyObject
* obj1
= 0 ;
5185 PyObject
* obj2
= 0 ;
5187 (char *) "self",(char *) "text",(char *) "number", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5192 if (SWIG_arg_fail(1)) SWIG_fail
;
5194 arg2
= wxString_in_helper(obj1
);
5195 if (arg2
== NULL
) SWIG_fail
;
5200 arg3
= (int)(SWIG_As_int(obj2
));
5201 if (SWIG_arg_fail(3)) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 Py_INCREF(Py_None
); resultobj
= Py_None
;
5226 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxFrame
*arg1
= (wxFrame
*) 0 ;
5230 int *arg3
= (int *) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 (char *) "self",(char *) "widths", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5239 if (SWIG_arg_fail(1)) SWIG_fail
;
5241 arg2
= PyList_Size(obj1
);
5242 arg3
= int_LIST_helper(obj1
);
5243 if (arg3
== NULL
) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 Py_INCREF(Py_None
); resultobj
= Py_None
;
5254 if (arg3
) delete [] arg3
;
5259 if (arg3
) delete [] arg3
;
5265 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxFrame
*arg1
= (wxFrame
*) 0 ;
5268 wxString
*arg2
= 0 ;
5269 int arg3
= (int) 0 ;
5270 bool temp2
= false ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5275 (char *) "self",(char *) "text",(char *) "number", NULL
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5280 if (SWIG_arg_fail(1)) SWIG_fail
;
5282 arg2
= wxString_in_helper(obj1
);
5283 if (arg2
== NULL
) SWIG_fail
;
5288 arg3
= (int)(SWIG_As_int(obj2
));
5289 if (SWIG_arg_fail(3)) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 Py_INCREF(Py_None
); resultobj
= Py_None
;
5314 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxFrame
*arg1
= (wxFrame
*) 0 ;
5317 int arg2
= (int) 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5321 (char *) "self",(char *) "number", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5326 if (SWIG_arg_fail(1)) SWIG_fail
;
5329 arg2
= (int)(SWIG_As_int(obj1
));
5330 if (SWIG_arg_fail(2)) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 (arg1
)->PopStatusText(arg2
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 Py_INCREF(Py_None
); resultobj
= Py_None
;
5347 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxFrame
*arg1
= (wxFrame
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5354 (char *) "self",(char *) "n", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail
;
5361 arg2
= (int)(SWIG_As_int(obj1
));
5362 if (SWIG_arg_fail(2)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 (arg1
)->SetStatusBarPane(arg2
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 Py_INCREF(Py_None
); resultobj
= Py_None
;
5378 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxFrame
*arg1
= (wxFrame
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5384 (char *) "self", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5389 if (SWIG_arg_fail(1)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= SWIG_From_int((int)(result
));
5406 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxFrame
*arg1
= (wxFrame
*) 0 ;
5409 long arg2
= (long) -1 ;
5410 int arg3
= (int) -1 ;
5411 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5412 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5414 bool temp4
= false ;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5417 PyObject
* obj2
= 0 ;
5418 PyObject
* obj3
= 0 ;
5420 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5425 if (SWIG_arg_fail(1)) SWIG_fail
;
5428 arg2
= (long)(SWIG_As_long(obj1
));
5429 if (SWIG_arg_fail(2)) SWIG_fail
;
5434 arg3
= (int)(SWIG_As_int(obj2
));
5435 if (SWIG_arg_fail(3)) SWIG_fail
;
5440 arg4
= wxString_in_helper(obj3
);
5441 if (arg4
== NULL
) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= wxPyMake_wxObject(result
, 0);
5469 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxFrame
*arg1
= (wxFrame
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5475 (char *) "self", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5480 if (SWIG_arg_fail(1)) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= wxPyMake_wxObject(result
, 0);
5497 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
;
5499 wxFrame
*arg1
= (wxFrame
*) 0 ;
5500 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5501 PyObject
* obj0
= 0 ;
5502 PyObject
* obj1
= 0 ;
5504 (char *) "self",(char *) "toolbar", NULL
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5509 if (SWIG_arg_fail(1)) SWIG_fail
;
5510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5511 if (SWIG_arg_fail(2)) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 (arg1
)->SetToolBar(arg2
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5519 Py_INCREF(Py_None
); resultobj
= Py_None
;
5526 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxFrame
*arg1
= (wxFrame
*) 0 ;
5529 wxString
*arg2
= 0 ;
5531 bool temp2
= false ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 PyObject
* obj2
= 0 ;
5536 (char *) "self",(char *) "text",(char *) "show", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5541 if (SWIG_arg_fail(1)) SWIG_fail
;
5543 arg2
= wxString_in_helper(obj1
);
5544 if (arg2
== NULL
) SWIG_fail
;
5548 arg3
= (bool)(SWIG_As_bool(obj2
));
5549 if (SWIG_arg_fail(3)) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxFrame
*arg1
= (wxFrame
*) 0 ;
5576 wxMenu
*arg2
= (wxMenu
*) NULL
;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "menu", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5585 if (SWIG_arg_fail(1)) SWIG_fail
;
5587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5588 if (SWIG_arg_fail(2)) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->DoMenuUpdates(arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5604 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5607 wxVisualAttributes result
;
5608 PyObject
* obj0
= 0 ;
5610 (char *) "variant", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5616 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5617 if (SWIG_arg_fail(1)) SWIG_fail
;
5621 if (!wxPyCheckForApp()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5629 wxVisualAttributes
* resultptr
;
5630 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5639 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5642 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5644 return Py_BuildValue((char *)"");
5646 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 wxWindow
*arg1
= (wxWindow
*) 0 ;
5649 int arg2
= (int) (int)-1 ;
5650 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5651 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5652 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5653 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5654 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5655 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5656 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5657 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5658 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5660 bool temp3
= false ;
5663 bool temp7
= false ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5668 PyObject
* obj4
= 0 ;
5669 PyObject
* obj5
= 0 ;
5670 PyObject
* obj6
= 0 ;
5672 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5677 if (SWIG_arg_fail(1)) SWIG_fail
;
5680 arg2
= (int const)(SWIG_As_int(obj1
));
5681 if (SWIG_arg_fail(2)) SWIG_fail
;
5686 arg3
= wxString_in_helper(obj2
);
5687 if (arg3
== NULL
) SWIG_fail
;
5694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5705 arg6
= (long)(SWIG_As_long(obj5
));
5706 if (SWIG_arg_fail(6)) SWIG_fail
;
5711 arg7
= wxString_in_helper(obj6
);
5712 if (arg7
== NULL
) SWIG_fail
;
5717 if (!wxPyCheckForApp()) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5747 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5756 if (!wxPyCheckForApp()) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (wxDialog
*)new wxDialog();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5770 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxDialog
*arg1
= (wxDialog
*) 0 ;
5773 wxWindow
*arg2
= (wxWindow
*) 0 ;
5774 int arg3
= (int) (int)-1 ;
5775 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5776 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5777 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5778 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5779 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5780 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5781 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5782 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5783 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5785 bool temp4
= false ;
5788 bool temp8
= false ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5792 PyObject
* obj3
= 0 ;
5793 PyObject
* obj4
= 0 ;
5794 PyObject
* obj5
= 0 ;
5795 PyObject
* obj6
= 0 ;
5796 PyObject
* obj7
= 0 ;
5798 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5805 if (SWIG_arg_fail(2)) SWIG_fail
;
5808 arg3
= (int const)(SWIG_As_int(obj2
));
5809 if (SWIG_arg_fail(3)) SWIG_fail
;
5814 arg4
= wxString_in_helper(obj3
);
5815 if (arg4
== NULL
) SWIG_fail
;
5822 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5828 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5833 arg7
= (long)(SWIG_As_long(obj6
));
5834 if (SWIG_arg_fail(7)) SWIG_fail
;
5839 arg8
= wxString_in_helper(obj7
);
5840 if (arg8
== NULL
) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5876 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxDialog
*arg1
= (wxDialog
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5883 (char *) "self",(char *) "returnCode", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail
;
5890 arg2
= (int)(SWIG_As_int(obj1
));
5891 if (SWIG_arg_fail(2)) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 (arg1
)->SetReturnCode(arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 Py_INCREF(Py_None
); resultobj
= Py_None
;
5907 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxDialog
*arg1
= (wxDialog
*) 0 ;
5911 PyObject
* obj0
= 0 ;
5913 (char *) "self", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5918 if (SWIG_arg_fail(1)) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_From_int((int)(result
));
5935 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxDialog
*arg1
= (wxDialog
*) 0 ;
5938 wxString
*arg2
= 0 ;
5940 bool temp2
= false ;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5944 (char *) "self",(char *) "message", NULL
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5949 if (SWIG_arg_fail(1)) SWIG_fail
;
5951 arg2
= wxString_in_helper(obj1
);
5952 if (arg2
== NULL
) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= wxPyMake_wxObject(result
, 0);
5979 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
;
5981 wxDialog
*arg1
= (wxDialog
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5987 (char *) "self",(char *) "flags", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5992 if (SWIG_arg_fail(1)) SWIG_fail
;
5994 arg2
= (long)(SWIG_As_long(obj1
));
5995 if (SWIG_arg_fail(2)) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= wxPyMake_wxObject(result
, 0);
6013 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxDialog
*arg1
= (wxDialog
*) 0 ;
6017 wxStdDialogButtonSizer
*result
;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6021 (char *) "self",(char *) "flags", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail
;
6028 arg2
= (long)(SWIG_As_long(obj1
));
6029 if (SWIG_arg_fail(2)) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6045 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxDialog
*arg1
= (wxDialog
*) 0 ;
6049 PyObject
* obj0
= 0 ;
6051 (char *) "self", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6056 if (SWIG_arg_fail(1)) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6073 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxDialog
*arg1
= (wxDialog
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6079 (char *) "self", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6084 if (SWIG_arg_fail(1)) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (int)(arg1
)->ShowModal();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_From_int((int)(result
));
6101 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxDialog
*arg1
= (wxDialog
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6108 (char *) "self",(char *) "retCode", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6113 if (SWIG_arg_fail(1)) SWIG_fail
;
6115 arg2
= (int)(SWIG_As_int(obj1
));
6116 if (SWIG_arg_fail(2)) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->EndModal(arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6135 wxVisualAttributes result
;
6136 PyObject
* obj0
= 0 ;
6138 (char *) "variant", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6144 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6145 if (SWIG_arg_fail(1)) SWIG_fail
;
6149 if (!wxPyCheckForApp()) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 wxVisualAttributes
* resultptr
;
6158 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6167 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6170 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6172 return Py_BuildValue((char *)"");
6174 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6176 wxWindow
*arg1
= (wxWindow
*) 0 ;
6177 int arg2
= (int) (int)-1 ;
6178 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6179 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6180 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6181 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6182 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6183 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6184 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6185 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6186 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6187 wxMiniFrame
*result
;
6188 bool temp3
= false ;
6191 bool temp7
= false ;
6192 PyObject
* obj0
= 0 ;
6193 PyObject
* obj1
= 0 ;
6194 PyObject
* obj2
= 0 ;
6195 PyObject
* obj3
= 0 ;
6196 PyObject
* obj4
= 0 ;
6197 PyObject
* obj5
= 0 ;
6198 PyObject
* obj6
= 0 ;
6200 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6205 if (SWIG_arg_fail(1)) SWIG_fail
;
6208 arg2
= (int const)(SWIG_As_int(obj1
));
6209 if (SWIG_arg_fail(2)) SWIG_fail
;
6214 arg3
= wxString_in_helper(obj2
);
6215 if (arg3
== NULL
) SWIG_fail
;
6222 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6228 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6233 arg6
= (long)(SWIG_As_long(obj5
));
6234 if (SWIG_arg_fail(6)) SWIG_fail
;
6239 arg7
= wxString_in_helper(obj6
);
6240 if (arg7
== NULL
) SWIG_fail
;
6245 if (!wxPyCheckForApp()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6275 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxMiniFrame
*result
;
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6284 if (!wxPyCheckForApp()) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (wxMiniFrame
*)new wxMiniFrame();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6298 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6301 wxWindow
*arg2
= (wxWindow
*) 0 ;
6302 int arg3
= (int) (int)-1 ;
6303 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6304 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6305 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6306 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6307 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6308 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6309 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6310 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6311 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6313 bool temp4
= false ;
6316 bool temp8
= false ;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 PyObject
* obj2
= 0 ;
6320 PyObject
* obj3
= 0 ;
6321 PyObject
* obj4
= 0 ;
6322 PyObject
* obj5
= 0 ;
6323 PyObject
* obj6
= 0 ;
6324 PyObject
* obj7
= 0 ;
6326 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6331 if (SWIG_arg_fail(1)) SWIG_fail
;
6332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6333 if (SWIG_arg_fail(2)) SWIG_fail
;
6336 arg3
= (int const)(SWIG_As_int(obj2
));
6337 if (SWIG_arg_fail(3)) SWIG_fail
;
6342 arg4
= wxString_in_helper(obj3
);
6343 if (arg4
== NULL
) SWIG_fail
;
6350 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6356 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6361 arg7
= (long)(SWIG_As_long(obj6
));
6362 if (SWIG_arg_fail(7)) SWIG_fail
;
6367 arg8
= wxString_in_helper(obj7
);
6368 if (arg8
== NULL
) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6407 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6409 return Py_BuildValue((char *)"");
6411 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 wxBitmap
*arg1
= 0 ;
6414 wxWindow
*arg2
= (wxWindow
*) 0 ;
6416 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6417 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6418 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6419 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6420 long arg6
= (long) wxNO_BORDER
;
6421 wxSplashScreenWindow
*result
;
6424 PyObject
* obj0
= 0 ;
6425 PyObject
* obj1
= 0 ;
6426 PyObject
* obj2
= 0 ;
6427 PyObject
* obj3
= 0 ;
6428 PyObject
* obj4
= 0 ;
6429 PyObject
* obj5
= 0 ;
6431 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6437 if (SWIG_arg_fail(1)) SWIG_fail
;
6439 SWIG_null_ref("wxBitmap");
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6444 if (SWIG_arg_fail(2)) SWIG_fail
;
6446 arg3
= (int)(SWIG_As_int(obj2
));
6447 if (SWIG_arg_fail(3)) SWIG_fail
;
6452 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6458 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6463 arg6
= (long)(SWIG_As_long(obj5
));
6464 if (SWIG_arg_fail(6)) SWIG_fail
;
6468 if (!wxPyCheckForApp()) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6482 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6485 wxBitmap
*arg2
= 0 ;
6486 PyObject
* obj0
= 0 ;
6487 PyObject
* obj1
= 0 ;
6489 (char *) "self",(char *) "bitmap", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6494 if (SWIG_arg_fail(1)) SWIG_fail
;
6496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6497 if (SWIG_arg_fail(2)) SWIG_fail
;
6499 SWIG_null_ref("wxBitmap");
6501 if (SWIG_arg_fail(2)) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 Py_INCREF(Py_None
); resultobj
= Py_None
;
6517 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6533 result
= (wxBitmap
*) &_result_ref
;
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6540 wxBitmap
* resultptr
= new wxBitmap(*result
);
6541 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6549 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6552 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6554 return Py_BuildValue((char *)"");
6556 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxBitmap
*arg1
= 0 ;
6561 wxWindow
*arg4
= (wxWindow
*) 0 ;
6562 int arg5
= (int) -1 ;
6563 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6564 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6565 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6566 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6567 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6568 wxSplashScreen
*result
;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 PyObject
* obj2
= 0 ;
6574 PyObject
* obj3
= 0 ;
6575 PyObject
* obj4
= 0 ;
6576 PyObject
* obj5
= 0 ;
6577 PyObject
* obj6
= 0 ;
6578 PyObject
* obj7
= 0 ;
6580 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6586 if (SWIG_arg_fail(1)) SWIG_fail
;
6588 SWIG_null_ref("wxBitmap");
6590 if (SWIG_arg_fail(1)) SWIG_fail
;
6593 arg2
= (long)(SWIG_As_long(obj1
));
6594 if (SWIG_arg_fail(2)) SWIG_fail
;
6597 arg3
= (int)(SWIG_As_int(obj2
));
6598 if (SWIG_arg_fail(3)) SWIG_fail
;
6600 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(4)) SWIG_fail
;
6604 arg5
= (int)(SWIG_As_int(obj4
));
6605 if (SWIG_arg_fail(5)) SWIG_fail
;
6611 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6617 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6622 arg8
= (long)(SWIG_As_long(obj7
));
6623 if (SWIG_arg_fail(8)) SWIG_fail
;
6627 if (!wxPyCheckForApp()) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6641 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6652 if (SWIG_arg_fail(1)) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_From_long((long)(result
));
6669 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6672 wxSplashScreenWindow
*result
;
6673 PyObject
* obj0
= 0 ;
6675 (char *) "self", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6680 if (SWIG_arg_fail(1)) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6695 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6706 if (SWIG_arg_fail(1)) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_From_int((int)(result
));
6723 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6726 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6728 return Py_BuildValue((char *)"");
6730 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxWindow
*arg1
= (wxWindow
*) 0 ;
6733 int arg2
= (int) -1 ;
6734 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6735 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6736 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6737 wxStatusBar
*result
;
6738 bool temp4
= false ;
6739 PyObject
* obj0
= 0 ;
6740 PyObject
* obj1
= 0 ;
6741 PyObject
* obj2
= 0 ;
6742 PyObject
* obj3
= 0 ;
6744 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6749 if (SWIG_arg_fail(1)) SWIG_fail
;
6752 arg2
= (int)(SWIG_As_int(obj1
));
6753 if (SWIG_arg_fail(2)) SWIG_fail
;
6758 arg3
= (long)(SWIG_As_long(obj2
));
6759 if (SWIG_arg_fail(3)) SWIG_fail
;
6764 arg4
= wxString_in_helper(obj3
);
6765 if (arg4
== NULL
) SWIG_fail
;
6770 if (!wxPyCheckForApp()) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6792 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxStatusBar
*result
;
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6801 if (!wxPyCheckForApp()) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 result
= (wxStatusBar
*)new wxStatusBar();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6815 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6818 wxWindow
*arg2
= (wxWindow
*) 0 ;
6819 int arg3
= (int) -1 ;
6820 long arg4
= (long) wxST_SIZEGRIP
;
6821 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6822 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6824 bool temp5
= false ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6827 PyObject
* obj2
= 0 ;
6828 PyObject
* obj3
= 0 ;
6829 PyObject
* obj4
= 0 ;
6831 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6836 if (SWIG_arg_fail(1)) SWIG_fail
;
6837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6838 if (SWIG_arg_fail(2)) SWIG_fail
;
6841 arg3
= (int)(SWIG_As_int(obj2
));
6842 if (SWIG_arg_fail(3)) SWIG_fail
;
6847 arg4
= (long)(SWIG_As_long(obj3
));
6848 if (SWIG_arg_fail(4)) SWIG_fail
;
6853 arg5
= wxString_in_helper(obj4
);
6854 if (arg5
== NULL
) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6882 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6885 int arg2
= (int) 1 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6889 (char *) "self",(char *) "number", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail
;
6897 arg2
= (int)(SWIG_As_int(obj1
));
6898 if (SWIG_arg_fail(2)) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 (arg1
)->SetFieldsCount(arg2
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 Py_INCREF(Py_None
); resultobj
= Py_None
;
6915 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6921 (char *) "self", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_From_int((int)(result
));
6943 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6946 wxString
*arg2
= 0 ;
6947 int arg3
= (int) 0 ;
6948 bool temp2
= false ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 PyObject
* obj2
= 0 ;
6953 (char *) "self",(char *) "text",(char *) "number", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6958 if (SWIG_arg_fail(1)) SWIG_fail
;
6960 arg2
= wxString_in_helper(obj1
);
6961 if (arg2
== NULL
) SWIG_fail
;
6966 arg3
= (int)(SWIG_As_int(obj2
));
6967 if (SWIG_arg_fail(3)) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 Py_INCREF(Py_None
); resultobj
= Py_None
;
6992 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6994 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6995 int arg2
= (int) 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "number", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7005 if (SWIG_arg_fail(1)) SWIG_fail
;
7008 arg2
= (int)(SWIG_As_int(obj1
));
7009 if (SWIG_arg_fail(2)) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7032 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7035 wxString
*arg2
= 0 ;
7036 int arg3
= (int) 0 ;
7037 bool temp2
= false ;
7038 PyObject
* obj0
= 0 ;
7039 PyObject
* obj1
= 0 ;
7040 PyObject
* obj2
= 0 ;
7042 (char *) "self",(char *) "text",(char *) "number", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7047 if (SWIG_arg_fail(1)) SWIG_fail
;
7049 arg2
= wxString_in_helper(obj1
);
7050 if (arg2
== NULL
) SWIG_fail
;
7055 arg3
= (int)(SWIG_As_int(obj2
));
7056 if (SWIG_arg_fail(3)) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 Py_INCREF(Py_None
); resultobj
= Py_None
;
7081 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7084 int arg2
= (int) 0 ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7088 (char *) "self",(char *) "number", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7093 if (SWIG_arg_fail(1)) SWIG_fail
;
7096 arg2
= (int)(SWIG_As_int(obj1
));
7097 if (SWIG_arg_fail(2)) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 (arg1
)->PopStatusText(arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 Py_INCREF(Py_None
); resultobj
= Py_None
;
7114 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7118 int *arg3
= (int *) 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7122 (char *) "self",(char *) "widths", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7127 if (SWIG_arg_fail(1)) SWIG_fail
;
7129 arg2
= PyList_Size(obj1
);
7130 arg3
= int_LIST_helper(obj1
);
7131 if (arg3
== NULL
) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7142 if (arg3
) delete [] arg3
;
7147 if (arg3
) delete [] arg3
;
7153 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7157 int *arg3
= (int *) 0 ;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7161 (char *) "self",(char *) "styles", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7166 if (SWIG_arg_fail(1)) SWIG_fail
;
7168 arg2
= PyList_Size(obj1
);
7169 arg3
= int_LIST_helper(obj1
);
7170 if (arg3
== NULL
) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 if (arg3
) delete [] arg3
;
7186 if (arg3
) delete [] arg3
;
7192 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7200 (char *) "self",(char *) "i", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7205 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 arg2
= (int)(SWIG_As_int(obj1
));
7208 if (SWIG_arg_fail(2)) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7219 resultptr
= new wxRect((wxRect
&)(result
));
7220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7228 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 (char *) "self",(char *) "height", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 arg2
= (int)(SWIG_As_int(obj1
));
7243 if (SWIG_arg_fail(2)) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 (arg1
)->SetMinHeight(arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 Py_INCREF(Py_None
); resultobj
= Py_None
;
7259 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "self", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7270 if (SWIG_arg_fail(1)) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_From_int((int)(result
));
7287 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7293 (char *) "self", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7298 if (SWIG_arg_fail(1)) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_From_int((int)(result
));
7315 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7318 wxVisualAttributes result
;
7319 PyObject
* obj0
= 0 ;
7321 (char *) "variant", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7327 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7328 if (SWIG_arg_fail(1)) SWIG_fail
;
7332 if (!wxPyCheckForApp()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7340 wxVisualAttributes
* resultptr
;
7341 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7350 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7353 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7355 return Py_BuildValue((char *)"");
7357 static int _wrap_SplitterNameStr_set(PyObject
*) {
7358 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7363 static PyObject
*_wrap_SplitterNameStr_get(void) {
7368 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7370 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7377 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxWindow
*arg1
= (wxWindow
*) 0 ;
7380 int arg2
= (int) -1 ;
7381 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7382 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7383 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7384 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7385 long arg5
= (long) wxSP_3D
;
7386 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7387 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7388 wxSplitterWindow
*result
;
7391 bool temp6
= false ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7394 PyObject
* obj2
= 0 ;
7395 PyObject
* obj3
= 0 ;
7396 PyObject
* obj4
= 0 ;
7397 PyObject
* obj5
= 0 ;
7399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail
;
7407 arg2
= (int)(SWIG_As_int(obj1
));
7408 if (SWIG_arg_fail(2)) SWIG_fail
;
7414 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7420 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7425 arg5
= (long)(SWIG_As_long(obj4
));
7426 if (SWIG_arg_fail(5)) SWIG_fail
;
7431 arg6
= wxString_in_helper(obj5
);
7432 if (arg6
== NULL
) SWIG_fail
;
7437 if (!wxPyCheckForApp()) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7459 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxSplitterWindow
*result
;
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7468 if (!wxPyCheckForApp()) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7482 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7485 wxWindow
*arg2
= (wxWindow
*) 0 ;
7486 int arg3
= (int) -1 ;
7487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7491 long arg6
= (long) wxSP_3D
;
7492 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7493 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7497 bool temp7
= false ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7500 PyObject
* obj2
= 0 ;
7501 PyObject
* obj3
= 0 ;
7502 PyObject
* obj4
= 0 ;
7503 PyObject
* obj5
= 0 ;
7504 PyObject
* obj6
= 0 ;
7506 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7511 if (SWIG_arg_fail(1)) SWIG_fail
;
7512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7513 if (SWIG_arg_fail(2)) SWIG_fail
;
7516 arg3
= (int)(SWIG_As_int(obj2
));
7517 if (SWIG_arg_fail(3)) SWIG_fail
;
7523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7534 arg6
= (long)(SWIG_As_long(obj5
));
7535 if (SWIG_arg_fail(6)) SWIG_fail
;
7540 arg7
= wxString_in_helper(obj6
);
7541 if (arg7
== NULL
) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7569 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7575 (char *) "self", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7580 if (SWIG_arg_fail(1)) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= wxPyMake_wxObject(result
, 0);
7597 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7601 PyObject
* obj0
= 0 ;
7603 (char *) "self", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7608 if (SWIG_arg_fail(1)) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= wxPyMake_wxObject(result
, 0);
7625 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7632 (char *) "self",(char *) "mode", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail
;
7639 arg2
= (int)(SWIG_As_int(obj1
));
7640 if (SWIG_arg_fail(2)) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 (arg1
)->SetSplitMode(arg2
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7656 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "self", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7667 if (SWIG_arg_fail(1)) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= SWIG_From_int((result
));
7682 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7685 wxWindow
*arg2
= (wxWindow
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7689 (char *) "self",(char *) "window", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail
;
7695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7696 if (SWIG_arg_fail(2)) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 (arg1
)->Initialize(arg2
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 Py_INCREF(Py_None
); resultobj
= Py_None
;
7711 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7714 wxWindow
*arg2
= (wxWindow
*) 0 ;
7715 wxWindow
*arg3
= (wxWindow
*) 0 ;
7716 int arg4
= (int) 0 ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7720 PyObject
* obj2
= 0 ;
7721 PyObject
* obj3
= 0 ;
7723 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7730 if (SWIG_arg_fail(2)) SWIG_fail
;
7731 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7732 if (SWIG_arg_fail(3)) SWIG_fail
;
7735 arg4
= (int)(SWIG_As_int(obj3
));
7736 if (SWIG_arg_fail(4)) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7755 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7758 wxWindow
*arg2
= (wxWindow
*) 0 ;
7759 wxWindow
*arg3
= (wxWindow
*) 0 ;
7760 int arg4
= (int) 0 ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7764 PyObject
* obj2
= 0 ;
7765 PyObject
* obj3
= 0 ;
7767 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7772 if (SWIG_arg_fail(1)) SWIG_fail
;
7773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7774 if (SWIG_arg_fail(2)) SWIG_fail
;
7775 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7776 if (SWIG_arg_fail(3)) SWIG_fail
;
7779 arg4
= (int)(SWIG_As_int(obj3
));
7780 if (SWIG_arg_fail(4)) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7799 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7801 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7802 wxWindow
*arg2
= (wxWindow
*) NULL
;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7807 (char *) "self",(char *) "toRemove", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail
;
7814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7815 if (SWIG_arg_fail(2)) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (bool)(arg1
)->Unsplit(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7833 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7836 wxWindow
*arg2
= (wxWindow
*) 0 ;
7837 wxWindow
*arg3
= (wxWindow
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7841 PyObject
* obj2
= 0 ;
7843 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7850 if (SWIG_arg_fail(2)) SWIG_fail
;
7851 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7852 if (SWIG_arg_fail(3)) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7869 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7872 PyObject
* obj0
= 0 ;
7874 (char *) "self", NULL
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7879 if (SWIG_arg_fail(1)) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 (arg1
)->UpdateSize();
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 Py_INCREF(Py_None
); resultobj
= Py_None
;
7894 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7922 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7929 (char *) "self",(char *) "width", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail
;
7936 arg2
= (int)(SWIG_As_int(obj1
));
7937 if (SWIG_arg_fail(2)) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 (arg1
)->SetSashSize(arg2
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7960 (char *) "self",(char *) "width", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail
;
7967 arg2
= (int)(SWIG_As_int(obj1
));
7968 if (SWIG_arg_fail(2)) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 (arg1
)->SetBorderSize(arg2
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7995 if (SWIG_arg_fail(1)) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_From_int((int)(result
));
8012 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_From_int((int)(result
));
8040 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8044 bool arg3
= (bool) true ;
8045 PyObject
* obj0
= 0 ;
8046 PyObject
* obj1
= 0 ;
8047 PyObject
* obj2
= 0 ;
8049 (char *) "self",(char *) "position",(char *) "redraw", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 arg2
= (int)(SWIG_As_int(obj1
));
8057 if (SWIG_arg_fail(2)) SWIG_fail
;
8061 arg3
= (bool)(SWIG_As_bool(obj2
));
8062 if (SWIG_arg_fail(3)) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 (arg1
)->SetSashPosition(arg2
,arg3
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "self", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8090 if (SWIG_arg_fail(1)) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_From_int((int)(result
));
8107 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8112 PyObject
* obj1
= 0 ;
8114 (char *) "self",(char *) "gravity", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8119 if (SWIG_arg_fail(1)) SWIG_fail
;
8121 arg2
= (double)(SWIG_As_double(obj1
));
8122 if (SWIG_arg_fail(2)) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 (arg1
)->SetSashGravity(arg2
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 Py_INCREF(Py_None
); resultobj
= Py_None
;
8138 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
;
8140 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8142 PyObject
* obj0
= 0 ;
8144 (char *) "self", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8149 if (SWIG_arg_fail(1)) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= SWIG_From_double((double)(result
));
8166 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8170 PyObject
* obj0
= 0 ;
8171 PyObject
* obj1
= 0 ;
8173 (char *) "self",(char *) "min", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail
;
8180 arg2
= (int)(SWIG_As_int(obj1
));
8181 if (SWIG_arg_fail(2)) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 (arg1
)->SetMinimumPaneSize(arg2
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8197 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8203 (char *) "self", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8208 if (SWIG_arg_fail(1)) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_From_int((int)(result
));
8225 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8230 int arg4
= (int) 5 ;
8232 PyObject
* obj0
= 0 ;
8233 PyObject
* obj1
= 0 ;
8234 PyObject
* obj2
= 0 ;
8235 PyObject
* obj3
= 0 ;
8237 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8242 if (SWIG_arg_fail(1)) SWIG_fail
;
8244 arg2
= (int)(SWIG_As_int(obj1
));
8245 if (SWIG_arg_fail(2)) SWIG_fail
;
8248 arg3
= (int)(SWIG_As_int(obj2
));
8249 if (SWIG_arg_fail(3)) SWIG_fail
;
8253 arg4
= (int)(SWIG_As_int(obj3
));
8254 if (SWIG_arg_fail(4)) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8273 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8276 PyObject
* obj0
= 0 ;
8278 (char *) "self", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8283 if (SWIG_arg_fail(1)) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 (arg1
)->SizeWindows();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 Py_INCREF(Py_None
); resultobj
= Py_None
;
8298 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "self",(char *) "needUpdating", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail
;
8312 arg2
= (bool)(SWIG_As_bool(obj1
));
8313 if (SWIG_arg_fail(2)) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 (arg1
)->SetNeedUpdating(arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8329 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8333 PyObject
* obj0
= 0 ;
8335 (char *) "self", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8340 if (SWIG_arg_fail(1)) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8357 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8360 wxVisualAttributes result
;
8361 PyObject
* obj0
= 0 ;
8363 (char *) "variant", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8369 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8370 if (SWIG_arg_fail(1)) SWIG_fail
;
8374 if (!wxPyCheckForApp()) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8382 wxVisualAttributes
* resultptr
;
8383 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8392 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8395 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8397 return Py_BuildValue((char *)"");
8399 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8402 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8403 wxSplitterEvent
*result
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "type",(char *) "splitter", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8413 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8414 if (SWIG_arg_fail(1)) SWIG_fail
;
8418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8419 if (SWIG_arg_fail(2)) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8435 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8442 (char *) "self",(char *) "pos", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 arg2
= (int)(SWIG_As_int(obj1
));
8450 if (SWIG_arg_fail(2)) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 (arg1
)->SetSashPosition(arg2
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 Py_INCREF(Py_None
); resultobj
= Py_None
;
8466 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8470 PyObject
* obj0
= 0 ;
8472 (char *) "self", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8477 if (SWIG_arg_fail(1)) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_From_int((int)(result
));
8494 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8505 if (SWIG_arg_fail(1)) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= wxPyMake_wxObject(result
, 0);
8522 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_From_int((int)(result
));
8550 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8556 (char *) "self", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= SWIG_From_int((int)(result
));
8578 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8581 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8583 return Py_BuildValue((char *)"");
8585 static int _wrap_SashNameStr_set(PyObject
*) {
8586 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8591 static PyObject
*_wrap_SashNameStr_get(void) {
8596 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8598 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8605 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8606 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8611 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8616 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8618 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8625 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxWindow
*arg1
= (wxWindow
*) 0 ;
8628 int arg2
= (int) -1 ;
8629 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8630 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8631 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8632 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8633 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8634 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8635 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8636 wxSashWindow
*result
;
8639 bool temp6
= false ;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8642 PyObject
* obj2
= 0 ;
8643 PyObject
* obj3
= 0 ;
8644 PyObject
* obj4
= 0 ;
8645 PyObject
* obj5
= 0 ;
8647 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8652 if (SWIG_arg_fail(1)) SWIG_fail
;
8655 arg2
= (int)(SWIG_As_int(obj1
));
8656 if (SWIG_arg_fail(2)) SWIG_fail
;
8662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8673 arg5
= (long)(SWIG_As_long(obj4
));
8674 if (SWIG_arg_fail(5)) SWIG_fail
;
8679 arg6
= wxString_in_helper(obj5
);
8680 if (arg6
== NULL
) SWIG_fail
;
8685 if (!wxPyCheckForApp()) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8707 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxSashWindow
*result
;
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8716 if (!wxPyCheckForApp()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxSashWindow
*)new wxSashWindow();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8730 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8733 wxWindow
*arg2
= (wxWindow
*) 0 ;
8734 int arg3
= (int) -1 ;
8735 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8736 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8737 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8738 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8739 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8740 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8741 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8745 bool temp7
= false ;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8748 PyObject
* obj2
= 0 ;
8749 PyObject
* obj3
= 0 ;
8750 PyObject
* obj4
= 0 ;
8751 PyObject
* obj5
= 0 ;
8752 PyObject
* obj6
= 0 ;
8754 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8759 if (SWIG_arg_fail(1)) SWIG_fail
;
8760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8761 if (SWIG_arg_fail(2)) SWIG_fail
;
8764 arg3
= (int)(SWIG_As_int(obj2
));
8765 if (SWIG_arg_fail(3)) SWIG_fail
;
8771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8782 arg6
= (long)(SWIG_As_long(obj5
));
8783 if (SWIG_arg_fail(6)) SWIG_fail
;
8788 arg7
= wxString_in_helper(obj6
);
8789 if (arg7
== NULL
) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8817 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8820 wxSashEdgePosition arg2
;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8826 (char *) "self",(char *) "edge",(char *) "sash", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8831 if (SWIG_arg_fail(1)) SWIG_fail
;
8833 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8834 if (SWIG_arg_fail(2)) SWIG_fail
;
8837 arg3
= (bool)(SWIG_As_bool(obj2
));
8838 if (SWIG_arg_fail(3)) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 Py_INCREF(Py_None
); resultobj
= Py_None
;
8854 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8857 wxSashEdgePosition arg2
;
8859 PyObject
* obj0
= 0 ;
8860 PyObject
* obj1
= 0 ;
8862 (char *) "self",(char *) "edge", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8867 if (SWIG_arg_fail(1)) SWIG_fail
;
8869 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8870 if (SWIG_arg_fail(2)) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8888 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8891 wxSashEdgePosition arg2
;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 PyObject
* obj2
= 0 ;
8897 (char *) "self",(char *) "edge",(char *) "border", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8902 if (SWIG_arg_fail(1)) SWIG_fail
;
8904 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8905 if (SWIG_arg_fail(2)) SWIG_fail
;
8908 arg3
= (bool)(SWIG_As_bool(obj2
));
8909 if (SWIG_arg_fail(3)) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 Py_INCREF(Py_None
); resultobj
= Py_None
;
8925 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8928 wxSashEdgePosition arg2
;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8933 (char *) "self",(char *) "edge", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8938 if (SWIG_arg_fail(1)) SWIG_fail
;
8940 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8941 if (SWIG_arg_fail(2)) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8959 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
;
8961 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8962 wxSashEdgePosition arg2
;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8967 (char *) "self",(char *) "edge", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8972 if (SWIG_arg_fail(1)) SWIG_fail
;
8974 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8975 if (SWIG_arg_fail(2)) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_From_int((int)(result
));
8993 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8997 PyObject
* obj0
= 0 ;
8998 PyObject
* obj1
= 0 ;
9000 (char *) "self",(char *) "width", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9005 if (SWIG_arg_fail(1)) SWIG_fail
;
9007 arg2
= (int)(SWIG_As_int(obj1
));
9008 if (SWIG_arg_fail(2)) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 (arg1
)->SetDefaultBorderSize(arg2
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 Py_INCREF(Py_None
); resultobj
= Py_None
;
9024 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "self", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9035 if (SWIG_arg_fail(1)) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_From_int((int)(result
));
9052 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9059 (char *) "self",(char *) "width", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail
;
9066 arg2
= (int)(SWIG_As_int(obj1
));
9067 if (SWIG_arg_fail(2)) SWIG_fail
;
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 (arg1
)->SetExtraBorderSize(arg2
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 Py_INCREF(Py_None
); resultobj
= Py_None
;
9083 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9089 (char *) "self", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9094 if (SWIG_arg_fail(1)) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_From_int((int)(result
));
9111 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9115 PyObject
* obj0
= 0 ;
9116 PyObject
* obj1
= 0 ;
9118 (char *) "self",(char *) "min", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9123 if (SWIG_arg_fail(1)) SWIG_fail
;
9125 arg2
= (int)(SWIG_As_int(obj1
));
9126 if (SWIG_arg_fail(2)) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 (arg1
)->SetMinimumSizeX(arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 Py_INCREF(Py_None
); resultobj
= Py_None
;
9142 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9149 (char *) "self",(char *) "min", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail
;
9156 arg2
= (int)(SWIG_As_int(obj1
));
9157 if (SWIG_arg_fail(2)) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 (arg1
)->SetMinimumSizeY(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 Py_INCREF(Py_None
); resultobj
= Py_None
;
9173 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9177 PyObject
* obj0
= 0 ;
9179 (char *) "self", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_From_int((int)(result
));
9201 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9205 PyObject
* obj0
= 0 ;
9207 (char *) "self", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_From_int((int)(result
));
9229 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9236 (char *) "self",(char *) "max", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9241 if (SWIG_arg_fail(1)) SWIG_fail
;
9243 arg2
= (int)(SWIG_As_int(obj1
));
9244 if (SWIG_arg_fail(2)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 (arg1
)->SetMaximumSizeX(arg2
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9267 (char *) "self",(char *) "max", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9272 if (SWIG_arg_fail(1)) SWIG_fail
;
9274 arg2
= (int)(SWIG_As_int(obj1
));
9275 if (SWIG_arg_fail(2)) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->SetMaximumSizeY(arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9291 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9297 (char *) "self", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9311 resultobj
= SWIG_From_int((int)(result
));
9319 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9325 (char *) "self", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9330 if (SWIG_arg_fail(1)) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_From_int((int)(result
));
9347 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9352 int arg4
= (int) 2 ;
9353 wxSashEdgePosition result
;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9356 PyObject
* obj2
= 0 ;
9357 PyObject
* obj3
= 0 ;
9359 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9364 if (SWIG_arg_fail(1)) SWIG_fail
;
9366 arg2
= (int)(SWIG_As_int(obj1
));
9367 if (SWIG_arg_fail(2)) SWIG_fail
;
9370 arg3
= (int)(SWIG_As_int(obj2
));
9371 if (SWIG_arg_fail(3)) SWIG_fail
;
9375 arg4
= (int)(SWIG_As_int(obj3
));
9376 if (SWIG_arg_fail(4)) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_From_int((result
));
9393 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9398 (char *) "self", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9403 if (SWIG_arg_fail(1)) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->SizeWindows();
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 Py_INCREF(Py_None
); resultobj
= Py_None
;
9418 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9421 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9423 return Py_BuildValue((char *)"");
9425 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 int arg1
= (int) 0 ;
9428 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9429 wxSashEvent
*result
;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9433 (char *) "id",(char *) "edge", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9439 arg1
= (int)(SWIG_As_int(obj0
));
9440 if (SWIG_arg_fail(1)) SWIG_fail
;
9445 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9446 if (SWIG_arg_fail(2)) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9463 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9466 wxSashEdgePosition arg2
;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9470 (char *) "self",(char *) "edge", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail
;
9477 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9478 if (SWIG_arg_fail(2)) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 Py_INCREF(Py_None
); resultobj
= Py_None
;
9494 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9497 wxSashEdgePosition result
;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= SWIG_From_int((result
));
9520 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9528 (char *) "self",(char *) "rect", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9533 if (SWIG_arg_fail(1)) SWIG_fail
;
9536 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 Py_INCREF(Py_None
); resultobj
= Py_None
;
9552 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9556 PyObject
* obj0
= 0 ;
9558 (char *) "self", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9563 if (SWIG_arg_fail(1)) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9573 resultptr
= new wxRect((wxRect
&)(result
));
9574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9582 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9585 wxSashDragStatus arg2
;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9589 (char *) "self",(char *) "status", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail
;
9596 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9597 if (SWIG_arg_fail(2)) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 Py_INCREF(Py_None
); resultobj
= Py_None
;
9613 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9616 wxSashDragStatus result
;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_From_int((result
));
9639 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9642 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9644 return Py_BuildValue((char *)"");
9646 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 int arg1
= (int) 0 ;
9649 wxQueryLayoutInfoEvent
*result
;
9650 PyObject
* obj0
= 0 ;
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9658 arg1
= (int)(SWIG_As_int(obj0
));
9659 if (SWIG_arg_fail(1)) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9676 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
;
9678 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9680 PyObject
* obj0
= 0 ;
9681 PyObject
* obj1
= 0 ;
9683 (char *) "self",(char *) "length", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail
;
9690 arg2
= (int)(SWIG_As_int(obj1
));
9691 if (SWIG_arg_fail(2)) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 (arg1
)->SetRequestedLength(arg2
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 Py_INCREF(Py_None
); resultobj
= Py_None
;
9707 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "self", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_From_int((int)(result
));
9735 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9742 (char *) "self",(char *) "flags", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 arg2
= (int)(SWIG_As_int(obj1
));
9750 if (SWIG_arg_fail(2)) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 (arg1
)->SetFlags(arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 Py_INCREF(Py_None
); resultobj
= Py_None
;
9766 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9772 (char *) "self", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_From_int((int)(result
));
9794 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9802 (char *) "self",(char *) "size", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 (arg1
)->SetSize((wxSize
const &)*arg2
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 Py_INCREF(Py_None
); resultobj
= Py_None
;
9826 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9832 (char *) "self", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9847 resultptr
= new wxSize((wxSize
&)(result
));
9848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9856 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9859 wxLayoutOrientation arg2
;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9863 (char *) "self",(char *) "orient", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9868 if (SWIG_arg_fail(1)) SWIG_fail
;
9870 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9871 if (SWIG_arg_fail(2)) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 Py_INCREF(Py_None
); resultobj
= Py_None
;
9887 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9890 wxLayoutOrientation result
;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_From_int((result
));
9913 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9916 wxLayoutAlignment arg2
;
9917 PyObject
* obj0
= 0 ;
9918 PyObject
* obj1
= 0 ;
9920 (char *) "self",(char *) "align", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail
;
9927 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9928 if (SWIG_arg_fail(2)) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 Py_INCREF(Py_None
); resultobj
= Py_None
;
9944 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9947 wxLayoutAlignment result
;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9955 if (SWIG_arg_fail(1)) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_From_int((result
));
9970 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9973 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9975 return Py_BuildValue((char *)"");
9977 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 int arg1
= (int) 0 ;
9980 wxCalculateLayoutEvent
*result
;
9981 PyObject
* obj0
= 0 ;
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9989 arg1
= (int)(SWIG_As_int(obj0
));
9990 if (SWIG_arg_fail(1)) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10007 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "flags", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail
;
10021 arg2
= (int)(SWIG_As_int(obj1
));
10022 if (SWIG_arg_fail(2)) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 (arg1
)->SetFlags(arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 Py_INCREF(Py_None
); resultobj
= Py_None
;
10038 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= SWIG_From_int((int)(result
));
10066 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 PyObject
* obj1
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self",(char *) "rect", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail
;
10082 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->SetRect((wxRect
const &)*arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 wxRect
* resultptr
;
10119 resultptr
= new wxRect((wxRect
&)(result
));
10120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10128 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10131 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10133 return Py_BuildValue((char *)"");
10135 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxWindow
*arg1
= (wxWindow
*) 0 ;
10138 int arg2
= (int) -1 ;
10139 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10140 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10141 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10142 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10143 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10144 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10145 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10146 wxSashLayoutWindow
*result
;
10149 bool temp6
= false ;
10150 PyObject
* obj0
= 0 ;
10151 PyObject
* obj1
= 0 ;
10152 PyObject
* obj2
= 0 ;
10153 PyObject
* obj3
= 0 ;
10154 PyObject
* obj4
= 0 ;
10155 PyObject
* obj5
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail
;
10165 arg2
= (int)(SWIG_As_int(obj1
));
10166 if (SWIG_arg_fail(2)) SWIG_fail
;
10172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10178 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10183 arg5
= (long)(SWIG_As_long(obj4
));
10184 if (SWIG_arg_fail(5)) SWIG_fail
;
10189 arg6
= wxString_in_helper(obj5
);
10190 if (arg6
== NULL
) SWIG_fail
;
10195 if (!wxPyCheckForApp()) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10217 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxSashLayoutWindow
*result
;
10220 char *kwnames
[] = {
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10226 if (!wxPyCheckForApp()) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10240 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10243 wxWindow
*arg2
= (wxWindow
*) 0 ;
10244 int arg3
= (int) -1 ;
10245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10249 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10250 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10251 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10255 bool temp7
= false ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 PyObject
* obj2
= 0 ;
10259 PyObject
* obj3
= 0 ;
10260 PyObject
* obj4
= 0 ;
10261 PyObject
* obj5
= 0 ;
10262 PyObject
* obj6
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10269 if (SWIG_arg_fail(1)) SWIG_fail
;
10270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10271 if (SWIG_arg_fail(2)) SWIG_fail
;
10274 arg3
= (int)(SWIG_As_int(obj2
));
10275 if (SWIG_arg_fail(3)) SWIG_fail
;
10281 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10287 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10292 arg6
= (long)(SWIG_As_long(obj5
));
10293 if (SWIG_arg_fail(6)) SWIG_fail
;
10298 arg7
= wxString_in_helper(obj6
);
10299 if (arg7
== NULL
) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10327 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
;
10329 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10330 wxLayoutAlignment result
;
10331 PyObject
* obj0
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10338 if (SWIG_arg_fail(1)) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= SWIG_From_int((result
));
10353 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10356 wxLayoutOrientation result
;
10357 PyObject
* obj0
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10364 if (SWIG_arg_fail(1)) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_From_int((result
));
10379 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10382 wxLayoutAlignment arg2
;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "alignment", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10391 if (SWIG_arg_fail(1)) SWIG_fail
;
10393 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10394 if (SWIG_arg_fail(2)) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 Py_INCREF(Py_None
); resultobj
= Py_None
;
10410 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self",(char *) "size", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10423 if (SWIG_arg_fail(1)) SWIG_fail
;
10426 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 Py_INCREF(Py_None
); resultobj
= Py_None
;
10442 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10445 wxLayoutOrientation arg2
;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self",(char *) "orientation", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10454 if (SWIG_arg_fail(1)) SWIG_fail
;
10456 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10457 if (SWIG_arg_fail(2)) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 Py_INCREF(Py_None
); resultobj
= Py_None
;
10473 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10476 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10478 return Py_BuildValue((char *)"");
10480 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxLayoutAlgorithm
*result
;
10483 char *kwnames
[] = {
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10502 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10505 PyObject
* obj0
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 Py_INCREF(Py_None
); resultobj
= Py_None
;
10527 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10530 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10531 wxRect
*arg3
= (wxRect
*) NULL
;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 PyObject
* obj2
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self",(char *) "frame",(char *) "rect", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail
;
10543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10544 if (SWIG_arg_fail(2)) SWIG_fail
;
10546 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10547 if (SWIG_arg_fail(3)) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10565 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10568 wxFrame
*arg2
= (wxFrame
*) 0 ;
10569 wxWindow
*arg3
= (wxWindow
*) NULL
;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10580 if (SWIG_arg_fail(1)) SWIG_fail
;
10581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10582 if (SWIG_arg_fail(2)) SWIG_fail
;
10584 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10585 if (SWIG_arg_fail(3)) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10603 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10606 wxWindow
*arg2
= (wxWindow
*) 0 ;
10607 wxWindow
*arg3
= (wxWindow
*) NULL
;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10618 if (SWIG_arg_fail(1)) SWIG_fail
;
10619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10620 if (SWIG_arg_fail(2)) SWIG_fail
;
10622 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10623 if (SWIG_arg_fail(3)) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10641 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10644 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10646 return Py_BuildValue((char *)"");
10648 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxWindow
*arg1
= (wxWindow
*) 0 ;
10651 int arg2
= (int) wxBORDER_NONE
;
10652 wxPopupWindow
*result
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 char *kwnames
[] = {
10656 (char *) "parent",(char *) "flags", NULL
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10661 if (SWIG_arg_fail(1)) SWIG_fail
;
10664 arg2
= (int)(SWIG_As_int(obj1
));
10665 if (SWIG_arg_fail(2)) SWIG_fail
;
10669 if (!wxPyCheckForApp()) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10683 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxPopupWindow
*result
;
10686 char *kwnames
[] = {
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10692 if (!wxPyCheckForApp()) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (wxPopupWindow
*)new wxPopupWindow();
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10706 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10709 wxWindow
*arg2
= (wxWindow
*) 0 ;
10710 int arg3
= (int) wxBORDER_NONE
;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 PyObject
* obj2
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self",(char *) "parent",(char *) "flags", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10721 if (SWIG_arg_fail(1)) SWIG_fail
;
10722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10723 if (SWIG_arg_fail(2)) SWIG_fail
;
10726 arg3
= (int)(SWIG_As_int(obj2
));
10727 if (SWIG_arg_fail(3)) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10746 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10749 wxPoint
*arg2
= 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10769 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 Py_INCREF(Py_None
); resultobj
= Py_None
;
10785 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10788 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10790 return Py_BuildValue((char *)"");
10792 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxWindow
*arg1
= (wxWindow
*) 0 ;
10795 int arg2
= (int) wxBORDER_NONE
;
10796 wxPyPopupTransientWindow
*result
;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "parent",(char *) "style", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10805 if (SWIG_arg_fail(1)) SWIG_fail
;
10808 arg2
= (int)(SWIG_As_int(obj1
));
10809 if (SWIG_arg_fail(2)) SWIG_fail
;
10813 if (!wxPyCheckForApp()) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10827 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxPyPopupTransientWindow
*result
;
10830 char *kwnames
[] = {
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10836 if (!wxPyCheckForApp()) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10850 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10853 PyObject
*arg2
= (PyObject
*) 0 ;
10854 PyObject
*arg3
= (PyObject
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 PyObject
* obj2
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self",(char *) "self",(char *) "_class", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10884 wxWindow
*arg2
= (wxWindow
*) NULL
;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "focus", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10896 if (SWIG_arg_fail(2)) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->Popup(arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10922 if (SWIG_arg_fail(1)) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10940 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10942 return Py_BuildValue((char *)"");
10944 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxWindow
*arg1
= (wxWindow
*) 0 ;
10947 wxString
*arg2
= 0 ;
10948 int arg3
= (int) 100 ;
10949 wxRect
*arg4
= (wxRect
*) NULL
;
10950 wxTipWindow
*result
;
10951 bool temp2
= false ;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 PyObject
* obj2
= 0 ;
10955 PyObject
* obj3
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10962 if (SWIG_arg_fail(1)) SWIG_fail
;
10964 arg2
= wxString_in_helper(obj1
);
10965 if (arg2
== NULL
) SWIG_fail
;
10970 arg3
= (int)(SWIG_As_int(obj2
));
10971 if (SWIG_arg_fail(3)) SWIG_fail
;
10975 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10976 if (SWIG_arg_fail(4)) SWIG_fail
;
10979 if (!wxPyCheckForApp()) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11001 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "rectBound", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail
;
11017 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 Py_INCREF(Py_None
); resultobj
= Py_None
;
11033 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11061 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11063 return Py_BuildValue((char *)"");
11065 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxWindow
*arg1
= (wxWindow
*) 0 ;
11068 int arg2
= (int) wxID_ANY
;
11069 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11070 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11071 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11072 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11073 long arg5
= (long) 0 ;
11074 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11075 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11076 wxPyVScrolledWindow
*result
;
11079 bool temp6
= false ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 PyObject
* obj2
= 0 ;
11083 PyObject
* obj3
= 0 ;
11084 PyObject
* obj4
= 0 ;
11085 PyObject
* obj5
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11092 if (SWIG_arg_fail(1)) SWIG_fail
;
11095 arg2
= (int)(SWIG_As_int(obj1
));
11096 if (SWIG_arg_fail(2)) SWIG_fail
;
11102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11108 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11113 arg5
= (long)(SWIG_As_long(obj4
));
11114 if (SWIG_arg_fail(5)) SWIG_fail
;
11119 arg6
= wxString_in_helper(obj5
);
11120 if (arg6
== NULL
) SWIG_fail
;
11125 if (!wxPyCheckForApp()) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11147 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxPyVScrolledWindow
*result
;
11150 char *kwnames
[] = {
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11156 if (!wxPyCheckForApp()) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11170 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11173 PyObject
*arg2
= (PyObject
*) 0 ;
11174 PyObject
*arg3
= (PyObject
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 PyObject
* obj2
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self",(char *) "self",(char *) "_class", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11204 wxWindow
*arg2
= (wxWindow
*) 0 ;
11205 int arg3
= (int) wxID_ANY
;
11206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11210 long arg6
= (long) 0 ;
11211 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11216 bool temp7
= false ;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 PyObject
* obj2
= 0 ;
11220 PyObject
* obj3
= 0 ;
11221 PyObject
* obj4
= 0 ;
11222 PyObject
* obj5
= 0 ;
11223 PyObject
* obj6
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail
;
11231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11232 if (SWIG_arg_fail(2)) SWIG_fail
;
11235 arg3
= (int)(SWIG_As_int(obj2
));
11236 if (SWIG_arg_fail(3)) SWIG_fail
;
11242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11253 arg6
= (long)(SWIG_As_long(obj5
));
11254 if (SWIG_arg_fail(6)) SWIG_fail
;
11259 arg7
= wxString_in_helper(obj6
);
11260 if (arg7
== NULL
) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11288 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11292 PyObject
* obj0
= 0 ;
11293 PyObject
* obj1
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self",(char *) "count", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11300 if (SWIG_arg_fail(1)) SWIG_fail
;
11302 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11303 if (SWIG_arg_fail(2)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->SetLineCount(arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "line", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11332 if (SWIG_arg_fail(1)) SWIG_fail
;
11334 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11335 if (SWIG_arg_fail(2)) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11353 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "lines", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11366 if (SWIG_arg_fail(1)) SWIG_fail
;
11368 arg2
= (int)(SWIG_As_int(obj1
));
11369 if (SWIG_arg_fail(2)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (bool)(arg1
)->ScrollLines(arg2
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11387 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "pages", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 arg2
= (int)(SWIG_As_int(obj1
));
11403 if (SWIG_arg_fail(2)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (bool)(arg1
)->ScrollPages(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11421 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "line", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11433 if (SWIG_arg_fail(1)) SWIG_fail
;
11435 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11436 if (SWIG_arg_fail(2)) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 (arg1
)->RefreshLine(arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 Py_INCREF(Py_None
); resultobj
= Py_None
;
11452 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 PyObject
* obj2
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "self",(char *) "from",(char *) "to", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11466 if (SWIG_arg_fail(1)) SWIG_fail
;
11468 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11469 if (SWIG_arg_fail(2)) SWIG_fail
;
11472 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11473 if (SWIG_arg_fail(3)) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->RefreshLines(arg2
,arg3
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11489 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "x",(char *) "y", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11504 if (SWIG_arg_fail(1)) SWIG_fail
;
11506 arg2
= (int)(SWIG_As_int(obj1
));
11507 if (SWIG_arg_fail(2)) SWIG_fail
;
11510 arg3
= (int)(SWIG_As_int(obj2
));
11511 if (SWIG_arg_fail(3)) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_From_int((int)(result
));
11529 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11532 wxPoint
*arg2
= 0 ;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "pt", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_From_int((int)(result
));
11564 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11574 if (SWIG_arg_fail(1)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 (arg1
)->RefreshAll();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11617 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11628 if (SWIG_arg_fail(1)) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11645 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11673 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "line", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail
;
11688 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11689 if (SWIG_arg_fail(2)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11707 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11735 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11739 PyObject
* obj0
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11763 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11766 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11768 return Py_BuildValue((char *)"");
11770 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11771 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11776 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11781 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11783 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11790 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxWindow
*arg1
= (wxWindow
*) 0 ;
11793 int arg2
= (int) wxID_ANY
;
11794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11798 long arg5
= (long) 0 ;
11799 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11800 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11801 wxPyVListBox
*result
;
11804 bool temp6
= false ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 PyObject
* obj2
= 0 ;
11808 PyObject
* obj3
= 0 ;
11809 PyObject
* obj4
= 0 ;
11810 PyObject
* obj5
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11817 if (SWIG_arg_fail(1)) SWIG_fail
;
11820 arg2
= (int)(SWIG_As_int(obj1
));
11821 if (SWIG_arg_fail(2)) SWIG_fail
;
11827 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11833 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11838 arg5
= (long)(SWIG_As_long(obj4
));
11839 if (SWIG_arg_fail(5)) SWIG_fail
;
11844 arg6
= wxString_in_helper(obj5
);
11845 if (arg6
== NULL
) SWIG_fail
;
11850 if (!wxPyCheckForApp()) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11872 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxPyVListBox
*result
;
11875 char *kwnames
[] = {
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11881 if (!wxPyCheckForApp()) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (wxPyVListBox
*)new wxPyVListBox();
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11895 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11898 PyObject
*arg2
= (PyObject
*) 0 ;
11899 PyObject
*arg3
= (PyObject
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 PyObject
* obj2
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self",(char *) "self",(char *) "_class", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11909 if (SWIG_arg_fail(1)) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 Py_INCREF(Py_None
); resultobj
= Py_None
;
11926 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11929 wxWindow
*arg2
= (wxWindow
*) 0 ;
11930 int arg3
= (int) wxID_ANY
;
11931 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11932 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11933 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11934 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11935 long arg6
= (long) 0 ;
11936 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11937 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11941 bool temp7
= false ;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 PyObject
* obj2
= 0 ;
11945 PyObject
* obj3
= 0 ;
11946 PyObject
* obj4
= 0 ;
11947 PyObject
* obj5
= 0 ;
11948 PyObject
* obj6
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11955 if (SWIG_arg_fail(1)) SWIG_fail
;
11956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11957 if (SWIG_arg_fail(2)) SWIG_fail
;
11960 arg3
= (int)(SWIG_As_int(obj2
));
11961 if (SWIG_arg_fail(3)) SWIG_fail
;
11967 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11973 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11978 arg6
= (long)(SWIG_As_long(obj5
));
11979 if (SWIG_arg_fail(6)) SWIG_fail
;
11984 arg7
= wxString_in_helper(obj6
);
11985 if (arg7
== NULL
) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12013 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12024 if (SWIG_arg_fail(1)) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12041 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12045 PyObject
* obj0
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12069 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12080 if (SWIG_arg_fail(1)) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_From_int((int)(result
));
12097 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12102 PyObject
* obj0
= 0 ;
12103 PyObject
* obj1
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self",(char *) "item", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail
;
12112 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12113 if (SWIG_arg_fail(2)) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12131 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "item", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12146 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12147 if (SWIG_arg_fail(2)) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12165 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12193 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= result
;
12219 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12222 unsigned long arg2
;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "cookie", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail
;
12234 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12235 if (SWIG_arg_fail(2)) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= result
;
12251 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 wxPoint
* resultptr
;
12272 resultptr
= new wxPoint((wxPoint
&)(result
));
12273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12281 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12292 if (SWIG_arg_fail(1)) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12297 result
= (wxColour
*) &_result_ref
;
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12310 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "count", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail
;
12324 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12325 if (SWIG_arg_fail(2)) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 (arg1
)->SetItemCount(arg2
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 Py_INCREF(Py_None
); resultobj
= Py_None
;
12341 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12344 PyObject
* obj0
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12351 if (SWIG_arg_fail(1)) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 Py_INCREF(Py_None
); resultobj
= Py_None
;
12366 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self",(char *) "selection", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12378 if (SWIG_arg_fail(1)) SWIG_fail
;
12380 arg2
= (int)(SWIG_As_int(obj1
));
12381 if (SWIG_arg_fail(2)) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 (arg1
)->SetSelection(arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12397 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12401 bool arg3
= (bool) true ;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 PyObject
* obj2
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self",(char *) "item",(char *) "select", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail
;
12414 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12415 if (SWIG_arg_fail(2)) SWIG_fail
;
12419 arg3
= (bool)(SWIG_As_bool(obj2
));
12420 if (SWIG_arg_fail(3)) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12439 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 PyObject
* obj2
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self",(char *) "from",(char *) "to", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12454 if (SWIG_arg_fail(1)) SWIG_fail
;
12456 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12457 if (SWIG_arg_fail(2)) SWIG_fail
;
12460 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12461 if (SWIG_arg_fail(3)) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12479 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "item", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12493 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12494 if (SWIG_arg_fail(2)) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->Toggle(arg2
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (bool)(arg1
)->SelectAll();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12538 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12549 if (SWIG_arg_fail(1)) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (bool)(arg1
)->DeselectAll();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12569 wxPoint
*arg2
= 0 ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "pt", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12579 if (SWIG_arg_fail(1)) SWIG_fail
;
12582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 PyObject
* obj2
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self",(char *) "x",(char *) "y", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12612 if (SWIG_arg_fail(1)) SWIG_fail
;
12614 arg2
= (int)(SWIG_As_int(obj1
));
12615 if (SWIG_arg_fail(2)) SWIG_fail
;
12618 arg3
= (int)(SWIG_As_int(obj2
));
12619 if (SWIG_arg_fail(3)) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetMargins(arg2
,arg3
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12638 wxColour
*arg2
= 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "col", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail
;
12651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12670 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12672 return Py_BuildValue((char *)"");
12674 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxWindow
*arg1
= (wxWindow
*) 0 ;
12677 int arg2
= (int) wxID_ANY
;
12678 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12679 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12680 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12681 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12682 long arg5
= (long) 0 ;
12683 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12684 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12685 wxPyHtmlListBox
*result
;
12688 bool temp6
= false ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 PyObject
* obj2
= 0 ;
12692 PyObject
* obj3
= 0 ;
12693 PyObject
* obj4
= 0 ;
12694 PyObject
* obj5
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12701 if (SWIG_arg_fail(1)) SWIG_fail
;
12704 arg2
= (int)(SWIG_As_int(obj1
));
12705 if (SWIG_arg_fail(2)) SWIG_fail
;
12711 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12717 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12722 arg5
= (long)(SWIG_As_long(obj4
));
12723 if (SWIG_arg_fail(5)) SWIG_fail
;
12728 arg6
= wxString_in_helper(obj5
);
12729 if (arg6
== NULL
) SWIG_fail
;
12734 if (!wxPyCheckForApp()) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12756 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxPyHtmlListBox
*result
;
12759 char *kwnames
[] = {
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12765 if (!wxPyCheckForApp()) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12779 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12782 PyObject
*arg2
= (PyObject
*) 0 ;
12783 PyObject
*arg3
= (PyObject
*) 0 ;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 PyObject
* obj2
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self",(char *) "self",(char *) "_class", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12793 if (SWIG_arg_fail(1)) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 Py_INCREF(Py_None
); resultobj
= Py_None
;
12810 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12813 wxWindow
*arg2
= (wxWindow
*) 0 ;
12814 int arg3
= (int) wxID_ANY
;
12815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12819 long arg6
= (long) 0 ;
12820 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12825 bool temp7
= false ;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 PyObject
* obj2
= 0 ;
12829 PyObject
* obj3
= 0 ;
12830 PyObject
* obj4
= 0 ;
12831 PyObject
* obj5
= 0 ;
12832 PyObject
* obj6
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12839 if (SWIG_arg_fail(1)) SWIG_fail
;
12840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12841 if (SWIG_arg_fail(2)) SWIG_fail
;
12844 arg3
= (int)(SWIG_As_int(obj2
));
12845 if (SWIG_arg_fail(3)) SWIG_fail
;
12851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12862 arg6
= (long)(SWIG_As_long(obj5
));
12863 if (SWIG_arg_fail(6)) SWIG_fail
;
12868 arg7
= wxString_in_helper(obj6
);
12869 if (arg7
== NULL
) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 (arg1
)->RefreshAll();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 Py_INCREF(Py_None
); resultobj
= Py_None
;
12922 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self",(char *) "count", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12934 if (SWIG_arg_fail(1)) SWIG_fail
;
12936 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12937 if (SWIG_arg_fail(2)) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 (arg1
)->SetItemCount(arg2
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 Py_INCREF(Py_None
); resultobj
= Py_None
;
12953 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12956 wxFileSystem
*result
;
12957 PyObject
* obj0
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12964 if (SWIG_arg_fail(1)) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12969 result
= (wxFileSystem
*) &_result_ref
;
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12982 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12985 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12987 return Py_BuildValue((char *)"");
12989 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxPyTaskBarIcon
*result
;
12992 char *kwnames
[] = {
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12998 if (!wxPyCheckForApp()) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13012 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13015 PyObject
*arg2
= (PyObject
*) 0 ;
13016 PyObject
*arg3
= (PyObject
*) 0 ;
13018 PyObject
* obj0
= 0 ;
13019 PyObject
* obj1
= 0 ;
13020 PyObject
* obj2
= 0 ;
13021 PyObject
* obj3
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13028 if (SWIG_arg_fail(1)) SWIG_fail
;
13032 arg4
= (int)(SWIG_As_int(obj3
));
13033 if (SWIG_arg_fail(4)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 Py_INCREF(Py_None
); resultobj
= Py_None
;
13049 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13059 if (SWIG_arg_fail(1)) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 wxPyTaskBarIcon_Destroy(arg1
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13102 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13113 if (SWIG_arg_fail(1)) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13130 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
;
13132 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13134 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13137 bool temp3
= false ;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 PyObject
* obj2
= 0 ;
13141 char *kwnames
[] = {
13142 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13147 if (SWIG_arg_fail(1)) SWIG_fail
;
13149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13150 if (SWIG_arg_fail(2)) SWIG_fail
;
13151 if (arg2
== NULL
) {
13152 SWIG_null_ref("wxIcon");
13154 if (SWIG_arg_fail(2)) SWIG_fail
;
13158 arg3
= wxString_in_helper(obj2
);
13159 if (arg3
== NULL
) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13187 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (bool)(arg1
)->RemoveIcon();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13218 wxMenu
*arg2
= (wxMenu
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "menu", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13228 if (SWIG_arg_fail(1)) SWIG_fail
;
13229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13230 if (SWIG_arg_fail(2)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (bool)(arg1
)->PopupMenu(arg2
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13247 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13250 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13252 return Py_BuildValue((char *)"");
13254 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13257 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13258 wxTaskBarIconEvent
*result
;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "evtType",(char *) "tbIcon", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13267 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13268 if (SWIG_arg_fail(1)) SWIG_fail
;
13270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13271 if (SWIG_arg_fail(2)) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13286 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13289 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13291 return Py_BuildValue((char *)"");
13293 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13294 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13299 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13304 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13306 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13313 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13314 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13319 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13324 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13326 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13333 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13334 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13339 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13344 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13346 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13353 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13354 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13359 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13364 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13366 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13373 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13374 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13379 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13384 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13386 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13393 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13394 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13399 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13404 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13406 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13413 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxColourData
*result
;
13416 char *kwnames
[] = {
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (wxColourData
*)new wxColourData();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13435 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxColourData
*arg1
= (wxColourData
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13445 if (SWIG_arg_fail(1)) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 Py_INCREF(Py_None
); resultobj
= Py_None
;
13460 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxColourData
*arg1
= (wxColourData
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13471 if (SWIG_arg_fail(1)) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (bool)(arg1
)->GetChooseFull();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13488 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxColourData
*arg1
= (wxColourData
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13499 if (SWIG_arg_fail(1)) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (arg1
)->GetColour();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13508 wxColour
* resultptr
;
13509 resultptr
= new wxColour((wxColour
&)(result
));
13510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13518 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxColourData
*arg1
= (wxColourData
*) 0 ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self",(char *) "i", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13531 if (SWIG_arg_fail(1)) SWIG_fail
;
13533 arg2
= (int)(SWIG_As_int(obj1
));
13534 if (SWIG_arg_fail(2)) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= (arg1
)->GetCustomColour(arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 wxColour
* resultptr
;
13545 resultptr
= new wxColour((wxColour
&)(result
));
13546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13554 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxColourData
*arg1
= (wxColourData
*) 0 ;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self",(char *) "flag", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13566 if (SWIG_arg_fail(1)) SWIG_fail
;
13568 arg2
= (int)(SWIG_As_int(obj1
));
13569 if (SWIG_arg_fail(2)) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 (arg1
)->SetChooseFull(arg2
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 Py_INCREF(Py_None
); resultobj
= Py_None
;
13585 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxColourData
*arg1
= (wxColourData
*) 0 ;
13588 wxColour
*arg2
= 0 ;
13590 PyObject
* obj0
= 0 ;
13591 PyObject
* obj1
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self",(char *) "colour", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail
;
13601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 (arg1
)->SetColour((wxColour
const &)*arg2
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 Py_INCREF(Py_None
); resultobj
= Py_None
;
13617 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxColourData
*arg1
= (wxColourData
*) 0 ;
13621 wxColour
*arg3
= 0 ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj2
= 0 ;
13626 char *kwnames
[] = {
13627 (char *) "self",(char *) "i",(char *) "colour", NULL
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13632 if (SWIG_arg_fail(1)) SWIG_fail
;
13634 arg2
= (int)(SWIG_As_int(obj1
));
13635 if (SWIG_arg_fail(2)) SWIG_fail
;
13639 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 Py_INCREF(Py_None
); resultobj
= Py_None
;
13655 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13658 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13660 return Py_BuildValue((char *)"");
13662 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxWindow
*arg1
= (wxWindow
*) 0 ;
13665 wxColourData
*arg2
= (wxColourData
*) NULL
;
13666 wxColourDialog
*result
;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "parent",(char *) "data", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13675 if (SWIG_arg_fail(1)) SWIG_fail
;
13677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13678 if (SWIG_arg_fail(2)) SWIG_fail
;
13681 if (!wxPyCheckForApp()) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13695 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13698 wxColourData
*result
;
13699 PyObject
* obj0
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13706 if (SWIG_arg_fail(1)) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13711 result
= (wxColourData
*) &_result_ref
;
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13724 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13727 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13729 return Py_BuildValue((char *)"");
13731 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxWindow
*arg1
= (wxWindow
*) 0 ;
13734 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13735 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13736 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13737 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13738 long arg4
= (long) 0 ;
13739 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13740 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13741 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13742 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13743 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13744 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13745 wxDirDialog
*result
;
13746 bool temp2
= false ;
13747 bool temp3
= false ;
13750 bool temp7
= false ;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 PyObject
* obj2
= 0 ;
13754 PyObject
* obj3
= 0 ;
13755 PyObject
* obj4
= 0 ;
13756 PyObject
* obj5
= 0 ;
13757 PyObject
* obj6
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13764 if (SWIG_arg_fail(1)) SWIG_fail
;
13767 arg2
= wxString_in_helper(obj1
);
13768 if (arg2
== NULL
) SWIG_fail
;
13774 arg3
= wxString_in_helper(obj2
);
13775 if (arg3
== NULL
) SWIG_fail
;
13781 arg4
= (long)(SWIG_As_long(obj3
));
13782 if (SWIG_arg_fail(4)) SWIG_fail
;
13788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13799 arg7
= wxString_in_helper(obj6
);
13800 if (arg7
== NULL
) SWIG_fail
;
13805 if (!wxPyCheckForApp()) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13843 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13847 PyObject
* obj0
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13854 if (SWIG_arg_fail(1)) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (arg1
)->GetPath();
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13875 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13886 if (SWIG_arg_fail(1)) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (arg1
)->GetMessage();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13907 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13911 PyObject
* obj0
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13918 if (SWIG_arg_fail(1)) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (long)(arg1
)->GetStyle();
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_From_long((long)(result
));
13935 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13938 wxString
*arg2
= 0 ;
13939 bool temp2
= false ;
13940 PyObject
* obj0
= 0 ;
13941 PyObject
* obj1
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self",(char *) "message", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13948 if (SWIG_arg_fail(1)) SWIG_fail
;
13950 arg2
= wxString_in_helper(obj1
);
13951 if (arg2
== NULL
) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 (arg1
)->SetMessage((wxString
const &)*arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 Py_INCREF(Py_None
); resultobj
= Py_None
;
13976 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13979 wxString
*arg2
= 0 ;
13980 bool temp2
= false ;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self",(char *) "path", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13989 if (SWIG_arg_fail(1)) SWIG_fail
;
13991 arg2
= wxString_in_helper(obj1
);
13992 if (arg2
== NULL
) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 (arg1
)->SetPath((wxString
const &)*arg2
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 Py_INCREF(Py_None
); resultobj
= Py_None
;
14017 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14020 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14022 return Py_BuildValue((char *)"");
14024 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxWindow
*arg1
= (wxWindow
*) 0 ;
14027 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14028 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14029 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14030 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14031 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14032 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14033 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14034 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14035 long arg6
= (long) 0 ;
14036 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14037 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14038 wxFileDialog
*result
;
14039 bool temp2
= false ;
14040 bool temp3
= false ;
14041 bool temp4
= false ;
14042 bool temp5
= false ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 PyObject
* obj2
= 0 ;
14047 PyObject
* obj3
= 0 ;
14048 PyObject
* obj4
= 0 ;
14049 PyObject
* obj5
= 0 ;
14050 PyObject
* obj6
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail
;
14060 arg2
= wxString_in_helper(obj1
);
14061 if (arg2
== NULL
) SWIG_fail
;
14067 arg3
= wxString_in_helper(obj2
);
14068 if (arg3
== NULL
) SWIG_fail
;
14074 arg4
= wxString_in_helper(obj3
);
14075 if (arg4
== NULL
) SWIG_fail
;
14081 arg5
= wxString_in_helper(obj4
);
14082 if (arg5
== NULL
) SWIG_fail
;
14088 arg6
= (long)(SWIG_As_long(obj5
));
14089 if (SWIG_arg_fail(6)) SWIG_fail
;
14095 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14099 if (!wxPyCheckForApp()) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14145 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14148 wxString
*arg2
= 0 ;
14149 bool temp2
= false ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self",(char *) "message", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14158 if (SWIG_arg_fail(1)) SWIG_fail
;
14160 arg2
= wxString_in_helper(obj1
);
14161 if (arg2
== NULL
) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 (arg1
)->SetMessage((wxString
const &)*arg2
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14186 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14187 PyObject
*resultobj
;
14188 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14189 wxString
*arg2
= 0 ;
14190 bool temp2
= false ;
14191 PyObject
* obj0
= 0 ;
14192 PyObject
* obj1
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self",(char *) "path", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail
;
14201 arg2
= wxString_in_helper(obj1
);
14202 if (arg2
== NULL
) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 (arg1
)->SetPath((wxString
const &)*arg2
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 Py_INCREF(Py_None
); resultobj
= Py_None
;
14227 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14230 wxString
*arg2
= 0 ;
14231 bool temp2
= false ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self",(char *) "dir", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14240 if (SWIG_arg_fail(1)) SWIG_fail
;
14242 arg2
= wxString_in_helper(obj1
);
14243 if (arg2
== NULL
) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 Py_INCREF(Py_None
); resultobj
= Py_None
;
14268 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14271 wxString
*arg2
= 0 ;
14272 bool temp2
= false ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self",(char *) "name", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail
;
14283 arg2
= wxString_in_helper(obj1
);
14284 if (arg2
== NULL
) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 (arg1
)->SetFilename((wxString
const &)*arg2
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 Py_INCREF(Py_None
); resultobj
= Py_None
;
14309 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14312 wxString
*arg2
= 0 ;
14313 bool temp2
= false ;
14314 PyObject
* obj0
= 0 ;
14315 PyObject
* obj1
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self",(char *) "wildCard", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail
;
14324 arg2
= wxString_in_helper(obj1
);
14325 if (arg2
== NULL
) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self",(char *) "style", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14362 if (SWIG_arg_fail(1)) SWIG_fail
;
14364 arg2
= (long)(SWIG_As_long(obj1
));
14365 if (SWIG_arg_fail(2)) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 (arg1
)->SetStyle(arg2
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 Py_INCREF(Py_None
); resultobj
= Py_None
;
14381 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
;
14383 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self",(char *) "filterIndex", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14393 if (SWIG_arg_fail(1)) SWIG_fail
;
14395 arg2
= (int)(SWIG_As_int(obj1
));
14396 if (SWIG_arg_fail(2)) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 (arg1
)->SetFilterIndex(arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 Py_INCREF(Py_None
); resultobj
= Py_None
;
14412 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14444 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14455 if (SWIG_arg_fail(1)) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14476 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14508 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "self", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14519 if (SWIG_arg_fail(1)) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14540 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14551 if (SWIG_arg_fail(1)) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14572 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14583 if (SWIG_arg_fail(1)) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_From_long((long)(result
));
14600 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14611 if (SWIG_arg_fail(1)) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_From_int((int)(result
));
14628 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14639 if (SWIG_arg_fail(1)) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= result
;
14654 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14658 PyObject
* obj0
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14665 if (SWIG_arg_fail(1)) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= result
;
14680 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14683 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14685 return Py_BuildValue((char *)"");
14687 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxWindow
*arg1
= (wxWindow
*) 0 ;
14690 wxString
*arg2
= 0 ;
14691 wxString
*arg3
= 0 ;
14692 int arg4
= (int) 0 ;
14693 wxString
*arg5
= (wxString
*) NULL
;
14694 long arg6
= (long) wxCHOICEDLG_STYLE
;
14695 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14696 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14697 wxMultiChoiceDialog
*result
;
14698 bool temp2
= false ;
14699 bool temp3
= false ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 PyObject
* obj2
= 0 ;
14704 PyObject
* obj3
= 0 ;
14705 PyObject
* obj4
= 0 ;
14706 PyObject
* obj5
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14713 if (SWIG_arg_fail(1)) SWIG_fail
;
14715 arg2
= wxString_in_helper(obj1
);
14716 if (arg2
== NULL
) SWIG_fail
;
14720 arg3
= wxString_in_helper(obj2
);
14721 if (arg3
== NULL
) SWIG_fail
;
14726 arg4
= PyList_Size(obj3
);
14727 arg5
= wxString_LIST_helper(obj3
);
14728 if (arg5
== NULL
) SWIG_fail
;
14733 arg6
= (long)(SWIG_As_long(obj4
));
14734 if (SWIG_arg_fail(6)) SWIG_fail
;
14740 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14744 if (!wxPyCheckForApp()) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14761 if (arg5
) delete [] arg5
;
14774 if (arg5
) delete [] arg5
;
14780 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14783 wxArrayInt
*arg2
= 0 ;
14784 bool temp2
= false ;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14787 char *kwnames
[] = {
14788 (char *) "self",(char *) "selections", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14793 if (SWIG_arg_fail(1)) SWIG_fail
;
14795 if (! PySequence_Check(obj1
)) {
14796 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14799 arg2
= new wxArrayInt
;
14801 int i
, len
=PySequence_Length(obj1
);
14802 for (i
=0; i
<len
; i
++) {
14803 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14804 PyObject
* number
= PyNumber_Int(item
);
14805 arg2
->Add(PyInt_AS_LONG(number
));
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 Py_INCREF(Py_None
); resultobj
= Py_None
;
14819 if (temp2
) delete arg2
;
14824 if (temp2
) delete arg2
;
14830 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14841 if (SWIG_arg_fail(1)) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= result
;
14856 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14859 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14861 return Py_BuildValue((char *)"");
14863 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxWindow
*arg1
= (wxWindow
*) 0 ;
14866 wxString
*arg2
= 0 ;
14867 wxString
*arg3
= 0 ;
14869 wxString
*arg5
= (wxString
*) 0 ;
14870 long arg6
= (long) wxCHOICEDLG_STYLE
;
14871 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14872 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14873 wxSingleChoiceDialog
*result
;
14874 bool temp2
= false ;
14875 bool temp3
= false ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 PyObject
* obj2
= 0 ;
14880 PyObject
* obj3
= 0 ;
14881 PyObject
* obj4
= 0 ;
14882 PyObject
* obj5
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14889 if (SWIG_arg_fail(1)) SWIG_fail
;
14891 arg2
= wxString_in_helper(obj1
);
14892 if (arg2
== NULL
) SWIG_fail
;
14896 arg3
= wxString_in_helper(obj2
);
14897 if (arg3
== NULL
) SWIG_fail
;
14901 arg4
= PyList_Size(obj3
);
14902 arg5
= wxString_LIST_helper(obj3
);
14903 if (arg5
== NULL
) SWIG_fail
;
14907 arg6
= (long)(SWIG_As_long(obj4
));
14908 if (SWIG_arg_fail(6)) SWIG_fail
;
14914 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14918 if (!wxPyCheckForApp()) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14935 if (arg5
) delete [] arg5
;
14948 if (arg5
) delete [] arg5
;
14954 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14965 if (SWIG_arg_fail(1)) SWIG_fail
;
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= (int)(arg1
)->GetSelection();
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= SWIG_From_int((int)(result
));
14982 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14993 if (SWIG_arg_fail(1)) SWIG_fail
;
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 result
= (arg1
)->GetStringSelection();
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15014 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 PyObject
* obj1
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self",(char *) "sel", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15026 if (SWIG_arg_fail(1)) SWIG_fail
;
15028 arg2
= (int)(SWIG_As_int(obj1
));
15029 if (SWIG_arg_fail(2)) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 (arg1
)->SetSelection(arg2
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 Py_INCREF(Py_None
); resultobj
= Py_None
;
15045 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15048 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15050 return Py_BuildValue((char *)"");
15052 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxWindow
*arg1
= (wxWindow
*) 0 ;
15055 wxString
*arg2
= 0 ;
15056 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15057 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15058 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15060 long arg5
= (long) wxTextEntryDialogStyle
;
15061 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15062 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15063 wxTextEntryDialog
*result
;
15064 bool temp2
= false ;
15065 bool temp3
= false ;
15066 bool temp4
= false ;
15068 PyObject
* obj0
= 0 ;
15069 PyObject
* obj1
= 0 ;
15070 PyObject
* obj2
= 0 ;
15071 PyObject
* obj3
= 0 ;
15072 PyObject
* obj4
= 0 ;
15073 PyObject
* obj5
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15080 if (SWIG_arg_fail(1)) SWIG_fail
;
15082 arg2
= wxString_in_helper(obj1
);
15083 if (arg2
== NULL
) SWIG_fail
;
15088 arg3
= wxString_in_helper(obj2
);
15089 if (arg3
== NULL
) SWIG_fail
;
15095 arg4
= wxString_in_helper(obj3
);
15096 if (arg4
== NULL
) SWIG_fail
;
15102 arg5
= (long)(SWIG_As_long(obj4
));
15103 if (SWIG_arg_fail(5)) SWIG_fail
;
15109 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15113 if (!wxPyCheckForApp()) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15151 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 char *kwnames
[] = {
15157 (char *) "self", NULL
15160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15162 if (SWIG_arg_fail(1)) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (arg1
)->GetValue();
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15183 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15186 wxString
*arg2
= 0 ;
15187 bool temp2
= false ;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "self",(char *) "value", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15196 if (SWIG_arg_fail(1)) SWIG_fail
;
15198 arg2
= wxString_in_helper(obj1
);
15199 if (arg2
== NULL
) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 (arg1
)->SetValue((wxString
const &)*arg2
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 Py_INCREF(Py_None
); resultobj
= Py_None
;
15224 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15227 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15229 return Py_BuildValue((char *)"");
15231 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15232 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15237 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15242 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15244 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15251 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxWindow
*arg1
= (wxWindow
*) 0 ;
15254 wxString
*arg2
= 0 ;
15255 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15257 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15258 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15259 long arg5
= (long) wxTextEntryDialogStyle
;
15260 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15261 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15262 wxPasswordEntryDialog
*result
;
15263 bool temp2
= false ;
15264 bool temp3
= false ;
15265 bool temp4
= false ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 PyObject
* obj2
= 0 ;
15270 PyObject
* obj3
= 0 ;
15271 PyObject
* obj4
= 0 ;
15272 PyObject
* obj5
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15279 if (SWIG_arg_fail(1)) SWIG_fail
;
15281 arg2
= wxString_in_helper(obj1
);
15282 if (arg2
== NULL
) SWIG_fail
;
15287 arg3
= wxString_in_helper(obj2
);
15288 if (arg3
== NULL
) SWIG_fail
;
15294 arg4
= wxString_in_helper(obj3
);
15295 if (arg4
== NULL
) SWIG_fail
;
15301 arg5
= (long)(SWIG_As_long(obj4
));
15302 if (SWIG_arg_fail(5)) SWIG_fail
;
15308 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15349 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15352 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15354 return Py_BuildValue((char *)"");
15356 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxFontData
*result
;
15359 char *kwnames
[] = {
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (wxFontData
*)new wxFontData();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15378 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxFontData
*arg1
= (wxFontData
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 Py_INCREF(Py_None
); resultobj
= Py_None
;
15403 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxFontData
*arg1
= (wxFontData
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "enable", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15415 if (SWIG_arg_fail(1)) SWIG_fail
;
15417 arg2
= (bool)(SWIG_As_bool(obj1
));
15418 if (SWIG_arg_fail(2)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->EnableEffects(arg2
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 Py_INCREF(Py_None
); resultobj
= Py_None
;
15434 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxFontData
*arg1
= (wxFontData
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)(arg1
)->GetAllowSymbols();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxFontData
*arg1
= (wxFontData
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (arg1
)->GetColour();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15482 wxColour
* resultptr
;
15483 resultptr
= new wxColour((wxColour
&)(result
));
15484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15492 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxFontData
*arg1
= (wxFontData
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15503 if (SWIG_arg_fail(1)) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (arg1
)->GetChosenFont();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15512 wxFont
* resultptr
;
15513 resultptr
= new wxFont((wxFont
&)(result
));
15514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15522 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxFontData
*arg1
= (wxFontData
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= (bool)(arg1
)->GetEnableEffects();
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15550 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxFontData
*arg1
= (wxFontData
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 result
= (arg1
)->GetInitialFont();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15570 wxFont
* resultptr
;
15571 resultptr
= new wxFont((wxFont
&)(result
));
15572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15580 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
;
15582 wxFontData
*arg1
= (wxFontData
*) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15591 if (SWIG_arg_fail(1)) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (bool)(arg1
)->GetShowHelp();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15608 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxFontData
*arg1
= (wxFontData
*) 0 ;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self",(char *) "allowSymbols", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15620 if (SWIG_arg_fail(1)) SWIG_fail
;
15622 arg2
= (bool)(SWIG_As_bool(obj1
));
15623 if (SWIG_arg_fail(2)) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 (arg1
)->SetAllowSymbols(arg2
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 Py_INCREF(Py_None
); resultobj
= Py_None
;
15639 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxFontData
*arg1
= (wxFontData
*) 0 ;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self",(char *) "font", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15651 if (SWIG_arg_fail(1)) SWIG_fail
;
15653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15654 if (SWIG_arg_fail(2)) SWIG_fail
;
15655 if (arg2
== NULL
) {
15656 SWIG_null_ref("wxFont");
15658 if (SWIG_arg_fail(2)) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 Py_INCREF(Py_None
); resultobj
= Py_None
;
15674 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxFontData
*arg1
= (wxFontData
*) 0 ;
15677 wxColour
*arg2
= 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self",(char *) "colour", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15687 if (SWIG_arg_fail(1)) SWIG_fail
;
15690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->SetColour((wxColour
const &)*arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 Py_INCREF(Py_None
); resultobj
= Py_None
;
15706 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxFontData
*arg1
= (wxFontData
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self",(char *) "font", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15718 if (SWIG_arg_fail(1)) SWIG_fail
;
15720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15721 if (SWIG_arg_fail(2)) SWIG_fail
;
15722 if (arg2
== NULL
) {
15723 SWIG_null_ref("wxFont");
15725 if (SWIG_arg_fail(2)) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 Py_INCREF(Py_None
); resultobj
= Py_None
;
15741 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
;
15743 wxFontData
*arg1
= (wxFontData
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 PyObject
* obj1
= 0 ;
15748 PyObject
* obj2
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self",(char *) "min",(char *) "max", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15755 if (SWIG_arg_fail(1)) SWIG_fail
;
15757 arg2
= (int)(SWIG_As_int(obj1
));
15758 if (SWIG_arg_fail(2)) SWIG_fail
;
15761 arg3
= (int)(SWIG_As_int(obj2
));
15762 if (SWIG_arg_fail(3)) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 (arg1
)->SetRange(arg2
,arg3
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 Py_INCREF(Py_None
); resultobj
= Py_None
;
15778 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxFontData
*arg1
= (wxFontData
*) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self",(char *) "showHelp", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15790 if (SWIG_arg_fail(1)) SWIG_fail
;
15792 arg2
= (bool)(SWIG_As_bool(obj1
));
15793 if (SWIG_arg_fail(2)) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 (arg1
)->SetShowHelp(arg2
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 Py_INCREF(Py_None
); resultobj
= Py_None
;
15809 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15812 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15814 return Py_BuildValue((char *)"");
15816 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxWindow
*arg1
= (wxWindow
*) 0 ;
15819 wxFontData
*arg2
= 0 ;
15820 wxFontDialog
*result
;
15821 PyObject
* obj0
= 0 ;
15822 PyObject
* obj1
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "parent",(char *) "data", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15829 if (SWIG_arg_fail(1)) SWIG_fail
;
15831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15832 if (SWIG_arg_fail(2)) SWIG_fail
;
15833 if (arg2
== NULL
) {
15834 SWIG_null_ref("wxFontData");
15836 if (SWIG_arg_fail(2)) SWIG_fail
;
15839 if (!wxPyCheckForApp()) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15853 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15856 wxFontData
*result
;
15857 PyObject
* obj0
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15864 if (SWIG_arg_fail(1)) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15869 result
= (wxFontData
*) &_result_ref
;
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15882 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15885 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15887 return Py_BuildValue((char *)"");
15889 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxWindow
*arg1
= (wxWindow
*) 0 ;
15892 wxString
*arg2
= 0 ;
15893 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15894 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15895 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15898 wxMessageDialog
*result
;
15899 bool temp2
= false ;
15900 bool temp3
= false ;
15902 PyObject
* obj0
= 0 ;
15903 PyObject
* obj1
= 0 ;
15904 PyObject
* obj2
= 0 ;
15905 PyObject
* obj3
= 0 ;
15906 PyObject
* obj4
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15913 if (SWIG_arg_fail(1)) SWIG_fail
;
15915 arg2
= wxString_in_helper(obj1
);
15916 if (arg2
== NULL
) SWIG_fail
;
15921 arg3
= wxString_in_helper(obj2
);
15922 if (arg3
== NULL
) SWIG_fail
;
15928 arg4
= (long)(SWIG_As_long(obj3
));
15929 if (SWIG_arg_fail(4)) SWIG_fail
;
15935 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15939 if (!wxPyCheckForApp()) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15969 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15972 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15974 return Py_BuildValue((char *)"");
15976 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxString
*arg1
= 0 ;
15979 wxString
*arg2
= 0 ;
15980 int arg3
= (int) 100 ;
15981 wxWindow
*arg4
= (wxWindow
*) NULL
;
15982 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15983 wxProgressDialog
*result
;
15984 bool temp1
= false ;
15985 bool temp2
= false ;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 PyObject
* obj2
= 0 ;
15989 PyObject
* obj3
= 0 ;
15990 PyObject
* obj4
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15997 arg1
= wxString_in_helper(obj0
);
15998 if (arg1
== NULL
) SWIG_fail
;
16002 arg2
= wxString_in_helper(obj1
);
16003 if (arg2
== NULL
) SWIG_fail
;
16008 arg3
= (int)(SWIG_As_int(obj2
));
16009 if (SWIG_arg_fail(3)) SWIG_fail
;
16013 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(4)) SWIG_fail
;
16018 arg5
= (int)(SWIG_As_int(obj4
));
16019 if (SWIG_arg_fail(5)) SWIG_fail
;
16023 if (!wxPyCheckForApp()) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16053 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16057 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16058 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16060 bool temp3
= false ;
16061 PyObject
* obj0
= 0 ;
16062 PyObject
* obj1
= 0 ;
16063 PyObject
* obj2
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(1)) SWIG_fail
;
16072 arg2
= (int)(SWIG_As_int(obj1
));
16073 if (SWIG_arg_fail(2)) SWIG_fail
;
16077 arg3
= wxString_in_helper(obj2
);
16078 if (arg3
== NULL
) SWIG_fail
;
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16106 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 char *kwnames
[] = {
16111 (char *) "self", NULL
16114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16116 if (SWIG_arg_fail(1)) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 Py_INCREF(Py_None
); resultobj
= Py_None
;
16131 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16134 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16136 return Py_BuildValue((char *)"");
16138 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16141 int arg2
= (int) 0 ;
16142 wxFindDialogEvent
*result
;
16143 PyObject
* obj0
= 0 ;
16144 PyObject
* obj1
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "commandType",(char *) "id", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16152 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16153 if (SWIG_arg_fail(1)) SWIG_fail
;
16158 arg2
= (int)(SWIG_As_int(obj1
));
16159 if (SWIG_arg_fail(2)) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16176 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16180 PyObject
* obj0
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16187 if (SWIG_arg_fail(1)) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (int)(arg1
)->GetFlags();
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= SWIG_From_int((int)(result
));
16204 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16215 if (SWIG_arg_fail(1)) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 wxString
const &_result_ref
= (arg1
)->GetFindString();
16220 result
= (wxString
*) &_result_ref
;
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16230 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16239 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16255 result
= (wxString
*) &_result_ref
;
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16265 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16274 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16277 wxFindReplaceDialog
*result
;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16285 if (SWIG_arg_fail(1)) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16300 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 PyObject
* obj1
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self",(char *) "flags", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16312 if (SWIG_arg_fail(1)) SWIG_fail
;
16314 arg2
= (int)(SWIG_As_int(obj1
));
16315 if (SWIG_arg_fail(2)) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 (arg1
)->SetFlags(arg2
);
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 Py_INCREF(Py_None
); resultobj
= Py_None
;
16331 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16334 wxString
*arg2
= 0 ;
16335 bool temp2
= false ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "str", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail
;
16346 arg2
= wxString_in_helper(obj1
);
16347 if (arg2
== NULL
) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 (arg1
)->SetFindString((wxString
const &)*arg2
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 Py_INCREF(Py_None
); resultobj
= Py_None
;
16372 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16375 wxString
*arg2
= 0 ;
16376 bool temp2
= false ;
16377 PyObject
* obj0
= 0 ;
16378 PyObject
* obj1
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self",(char *) "str", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16385 if (SWIG_arg_fail(1)) SWIG_fail
;
16387 arg2
= wxString_in_helper(obj1
);
16388 if (arg2
== NULL
) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 Py_INCREF(Py_None
); resultobj
= Py_None
;
16413 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16416 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16418 return Py_BuildValue((char *)"");
16420 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 int arg1
= (int) 0 ;
16423 wxFindReplaceData
*result
;
16424 PyObject
* obj0
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "flags", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16432 arg1
= (int)(SWIG_As_int(obj0
));
16433 if (SWIG_arg_fail(1)) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16450 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16460 if (SWIG_arg_fail(1)) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 Py_INCREF(Py_None
); resultobj
= Py_None
;
16475 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 wxString
const &_result_ref
= (arg1
)->GetFindString();
16491 result
= (wxString
*) &_result_ref
;
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16501 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16510 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16521 if (SWIG_arg_fail(1)) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16526 result
= (wxString
*) &_result_ref
;
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16536 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16545 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= (int)(arg1
)->GetFlags();
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_From_int((int)(result
));
16573 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
;
16575 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self",(char *) "flags", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail
;
16587 arg2
= (int)(SWIG_As_int(obj1
));
16588 if (SWIG_arg_fail(2)) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 (arg1
)->SetFlags(arg2
);
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 Py_INCREF(Py_None
); resultobj
= Py_None
;
16604 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16607 wxString
*arg2
= 0 ;
16608 bool temp2
= false ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self",(char *) "str", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail
;
16619 arg2
= wxString_in_helper(obj1
);
16620 if (arg2
== NULL
) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 (arg1
)->SetFindString((wxString
const &)*arg2
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 Py_INCREF(Py_None
); resultobj
= Py_None
;
16645 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16648 wxString
*arg2
= 0 ;
16649 bool temp2
= false ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "str", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail
;
16660 arg2
= wxString_in_helper(obj1
);
16661 if (arg2
== NULL
) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16689 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16691 return Py_BuildValue((char *)"");
16693 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxWindow
*arg1
= (wxWindow
*) 0 ;
16696 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16697 wxString
*arg3
= 0 ;
16698 int arg4
= (int) 0 ;
16699 wxFindReplaceDialog
*result
;
16700 bool temp3
= false ;
16701 PyObject
* obj0
= 0 ;
16702 PyObject
* obj1
= 0 ;
16703 PyObject
* obj2
= 0 ;
16704 PyObject
* obj3
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16711 if (SWIG_arg_fail(1)) SWIG_fail
;
16712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16713 if (SWIG_arg_fail(2)) SWIG_fail
;
16715 arg3
= wxString_in_helper(obj2
);
16716 if (arg3
== NULL
) SWIG_fail
;
16721 arg4
= (int)(SWIG_As_int(obj3
));
16722 if (SWIG_arg_fail(4)) SWIG_fail
;
16726 if (!wxPyCheckForApp()) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16748 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxFindReplaceDialog
*result
;
16751 char *kwnames
[] = {
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16757 if (!wxPyCheckForApp()) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16771 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16774 wxWindow
*arg2
= (wxWindow
*) 0 ;
16775 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16776 wxString
*arg4
= 0 ;
16777 int arg5
= (int) 0 ;
16779 bool temp4
= false ;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 PyObject
* obj2
= 0 ;
16783 PyObject
* obj3
= 0 ;
16784 PyObject
* obj4
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16793 if (SWIG_arg_fail(2)) SWIG_fail
;
16794 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16795 if (SWIG_arg_fail(3)) SWIG_fail
;
16797 arg4
= wxString_in_helper(obj3
);
16798 if (arg4
== NULL
) SWIG_fail
;
16803 arg5
= (int)(SWIG_As_int(obj4
));
16804 if (SWIG_arg_fail(5)) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16831 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16834 wxFindReplaceData
*result
;
16835 PyObject
* obj0
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "self", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16842 if (SWIG_arg_fail(1)) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16857 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16860 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16861 PyObject
* obj0
= 0 ;
16862 PyObject
* obj1
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self",(char *) "data", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16869 if (SWIG_arg_fail(1)) SWIG_fail
;
16870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16871 if (SWIG_arg_fail(2)) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 (arg1
)->SetData(arg2
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 Py_INCREF(Py_None
); resultobj
= Py_None
;
16886 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16889 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16891 return Py_BuildValue((char *)"");
16893 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16895 wxWindow
*arg1
= (wxWindow
*) 0 ;
16896 int arg2
= (int) (int)-1 ;
16897 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16898 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16903 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16904 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16906 wxMDIParentFrame
*result
;
16907 bool temp3
= false ;
16910 bool temp7
= false ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 PyObject
* obj2
= 0 ;
16914 PyObject
* obj3
= 0 ;
16915 PyObject
* obj4
= 0 ;
16916 PyObject
* obj5
= 0 ;
16917 PyObject
* obj6
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail
;
16927 arg2
= (int const)(SWIG_As_int(obj1
));
16928 if (SWIG_arg_fail(2)) SWIG_fail
;
16933 arg3
= wxString_in_helper(obj2
);
16934 if (arg3
== NULL
) SWIG_fail
;
16941 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16947 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16952 arg6
= (long)(SWIG_As_long(obj5
));
16953 if (SWIG_arg_fail(6)) SWIG_fail
;
16958 arg7
= wxString_in_helper(obj6
);
16959 if (arg7
== NULL
) SWIG_fail
;
16964 if (!wxPyCheckForApp()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16994 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxMDIParentFrame
*result
;
16997 char *kwnames
[] = {
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17003 if (!wxPyCheckForApp()) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17017 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17020 wxWindow
*arg2
= (wxWindow
*) 0 ;
17021 int arg3
= (int) (int)-1 ;
17022 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17023 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17024 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17025 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17026 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17027 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17028 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17029 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17030 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17032 bool temp4
= false ;
17035 bool temp8
= false ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 PyObject
* obj2
= 0 ;
17039 PyObject
* obj3
= 0 ;
17040 PyObject
* obj4
= 0 ;
17041 PyObject
* obj5
= 0 ;
17042 PyObject
* obj6
= 0 ;
17043 PyObject
* obj7
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17050 if (SWIG_arg_fail(1)) SWIG_fail
;
17051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17052 if (SWIG_arg_fail(2)) SWIG_fail
;
17055 arg3
= (int const)(SWIG_As_int(obj2
));
17056 if (SWIG_arg_fail(3)) SWIG_fail
;
17061 arg4
= wxString_in_helper(obj3
);
17062 if (arg4
== NULL
) SWIG_fail
;
17069 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17075 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17080 arg7
= (long)(SWIG_As_long(obj6
));
17081 if (SWIG_arg_fail(7)) SWIG_fail
;
17086 arg8
= wxString_in_helper(obj7
);
17087 if (arg8
== NULL
) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17123 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 char *kwnames
[] = {
17128 (char *) "self", NULL
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17133 if (SWIG_arg_fail(1)) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 (arg1
)->ActivateNext();
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 Py_INCREF(Py_None
); resultobj
= Py_None
;
17148 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 (arg1
)->ActivatePrevious();
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 Py_INCREF(Py_None
); resultobj
= Py_None
;
17173 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17175 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17183 if (SWIG_arg_fail(1)) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 (arg1
)->ArrangeIcons();
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 Py_INCREF(Py_None
); resultobj
= Py_None
;
17198 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17201 PyObject
* obj0
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17208 if (SWIG_arg_fail(1)) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 Py_INCREF(Py_None
); resultobj
= Py_None
;
17223 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17226 wxMDIChildFrame
*result
;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17234 if (SWIG_arg_fail(1)) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= wxPyMake_wxObject(result
, 0);
17251 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17254 wxMDIClientWindow
*result
;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= wxPyMake_wxObject(result
, 0);
17279 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17290 if (SWIG_arg_fail(1)) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (wxWindow
*)(arg1
)->GetToolBar();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= wxPyMake_wxObject(result
, 0);
17307 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
17317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= wxPyMake_wxObject(result
, 0);
17335 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17338 wxMenu
*arg2
= (wxMenu
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "menu", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17347 if (SWIG_arg_fail(1)) SWIG_fail
;
17348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
17349 if (SWIG_arg_fail(2)) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 (arg1
)->SetWindowMenu(arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 Py_INCREF(Py_None
); resultobj
= Py_None
;
17364 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17366 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17367 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "self",(char *) "toolbar", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
17375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17376 if (SWIG_arg_fail(1)) SWIG_fail
;
17377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
17378 if (SWIG_arg_fail(2)) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 (arg1
)->SetToolBar(arg2
);
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 Py_INCREF(Py_None
); resultobj
= Py_None
;
17393 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
;
17395 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17396 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self",(char *) "orient", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17405 if (SWIG_arg_fail(1)) SWIG_fail
;
17408 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17409 if (SWIG_arg_fail(2)) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 (arg1
)->Tile((wxOrientation
)arg2
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17419 Py_INCREF(Py_None
); resultobj
= Py_None
;
17426 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17429 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17431 return Py_BuildValue((char *)"");
17433 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17436 int arg2
= (int) (int)-1 ;
17437 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17438 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17439 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17440 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17441 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17442 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17443 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17444 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17445 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17446 wxMDIChildFrame
*result
;
17447 bool temp3
= false ;
17450 bool temp7
= false ;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 PyObject
* obj2
= 0 ;
17454 PyObject
* obj3
= 0 ;
17455 PyObject
* obj4
= 0 ;
17456 PyObject
* obj5
= 0 ;
17457 PyObject
* obj6
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail
;
17467 arg2
= (int const)(SWIG_As_int(obj1
));
17468 if (SWIG_arg_fail(2)) SWIG_fail
;
17473 arg3
= wxString_in_helper(obj2
);
17474 if (arg3
== NULL
) SWIG_fail
;
17481 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17487 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17492 arg6
= (long)(SWIG_As_long(obj5
));
17493 if (SWIG_arg_fail(6)) SWIG_fail
;
17498 arg7
= wxString_in_helper(obj6
);
17499 if (arg7
== NULL
) SWIG_fail
;
17504 if (!wxPyCheckForApp()) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17534 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxMDIChildFrame
*result
;
17537 char *kwnames
[] = {
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17543 if (!wxPyCheckForApp()) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17557 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17560 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17561 int arg3
= (int) (int)-1 ;
17562 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17563 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17564 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17565 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17566 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17567 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17568 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17569 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17570 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17572 bool temp4
= false ;
17575 bool temp8
= false ;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 PyObject
* obj2
= 0 ;
17579 PyObject
* obj3
= 0 ;
17580 PyObject
* obj4
= 0 ;
17581 PyObject
* obj5
= 0 ;
17582 PyObject
* obj6
= 0 ;
17583 PyObject
* obj7
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17590 if (SWIG_arg_fail(1)) SWIG_fail
;
17591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17592 if (SWIG_arg_fail(2)) SWIG_fail
;
17595 arg3
= (int const)(SWIG_As_int(obj2
));
17596 if (SWIG_arg_fail(3)) SWIG_fail
;
17601 arg4
= wxString_in_helper(obj3
);
17602 if (arg4
== NULL
) SWIG_fail
;
17609 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17615 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17620 arg7
= (long)(SWIG_As_long(obj6
));
17621 if (SWIG_arg_fail(7)) SWIG_fail
;
17626 arg8
= wxString_in_helper(obj7
);
17627 if (arg8
== NULL
) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17663 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17673 if (SWIG_arg_fail(1)) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 (arg1
)->Activate();
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 Py_INCREF(Py_None
); resultobj
= Py_None
;
17688 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17691 bool arg2
= (bool) true ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "maximize", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17700 if (SWIG_arg_fail(1)) SWIG_fail
;
17703 arg2
= (bool)(SWIG_As_bool(obj1
));
17704 if (SWIG_arg_fail(2)) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->Maximize(arg2
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17724 PyObject
* obj0
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17731 if (SWIG_arg_fail(1)) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 Py_INCREF(Py_None
); resultobj
= Py_None
;
17746 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17749 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17751 return Py_BuildValue((char *)"");
17753 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17756 long arg2
= (long) 0 ;
17757 wxMDIClientWindow
*result
;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "parent",(char *) "style", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17766 if (SWIG_arg_fail(1)) SWIG_fail
;
17769 arg2
= (long)(SWIG_As_long(obj1
));
17770 if (SWIG_arg_fail(2)) SWIG_fail
;
17774 if (!wxPyCheckForApp()) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17788 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxMDIClientWindow
*result
;
17791 char *kwnames
[] = {
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17797 if (!wxPyCheckForApp()) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17811 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17814 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17815 long arg3
= (long) 0 ;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 PyObject
* obj2
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "parent",(char *) "style", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17826 if (SWIG_arg_fail(1)) SWIG_fail
;
17827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17828 if (SWIG_arg_fail(2)) SWIG_fail
;
17831 arg3
= (long)(SWIG_As_long(obj2
));
17832 if (SWIG_arg_fail(3)) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17851 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17854 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17856 return Py_BuildValue((char *)"");
17858 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxWindow
*arg1
= (wxWindow
*) 0 ;
17861 int arg2
= (int) (int)-1 ;
17862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17866 long arg5
= (long) 0 ;
17867 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17868 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17869 wxPyWindow
*result
;
17872 bool temp6
= false ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 PyObject
* obj2
= 0 ;
17876 PyObject
* obj3
= 0 ;
17877 PyObject
* obj4
= 0 ;
17878 PyObject
* obj5
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17885 if (SWIG_arg_fail(1)) SWIG_fail
;
17888 arg2
= (int const)(SWIG_As_int(obj1
));
17889 if (SWIG_arg_fail(2)) SWIG_fail
;
17895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17906 arg5
= (long)(SWIG_As_long(obj4
));
17907 if (SWIG_arg_fail(5)) SWIG_fail
;
17912 arg6
= wxString_in_helper(obj5
);
17913 if (arg6
== NULL
) SWIG_fail
;
17918 if (!wxPyCheckForApp()) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17940 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxPyWindow
*result
;
17943 char *kwnames
[] = {
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17949 if (!wxPyCheckForApp()) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (wxPyWindow
*)new wxPyWindow();
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17963 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17966 PyObject
*arg2
= (PyObject
*) 0 ;
17967 PyObject
*arg3
= (PyObject
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 PyObject
* obj2
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "self",(char *) "_class", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17977 if (SWIG_arg_fail(1)) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 Py_INCREF(Py_None
); resultobj
= Py_None
;
17994 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self",(char *) "size", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail
;
18010 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 Py_INCREF(Py_None
); resultobj
= Py_None
;
18026 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18029 wxDC
*arg2
= (wxDC
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 PyObject
* obj1
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self",(char *) "dc", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18039 if (SWIG_arg_fail(1)) SWIG_fail
;
18040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18041 if (SWIG_arg_fail(2)) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18058 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 PyObject
* obj1
= 0 ;
18067 PyObject
* obj2
= 0 ;
18068 PyObject
* obj3
= 0 ;
18069 PyObject
* obj4
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail
;
18078 arg2
= (int)(SWIG_As_int(obj1
));
18079 if (SWIG_arg_fail(2)) SWIG_fail
;
18082 arg3
= (int)(SWIG_As_int(obj2
));
18083 if (SWIG_arg_fail(3)) SWIG_fail
;
18086 arg4
= (int)(SWIG_As_int(obj3
));
18087 if (SWIG_arg_fail(4)) SWIG_fail
;
18090 arg5
= (int)(SWIG_As_int(obj4
));
18091 if (SWIG_arg_fail(5)) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18107 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18114 int arg6
= (int) wxSIZE_AUTO
;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 PyObject
* obj2
= 0 ;
18118 PyObject
* obj3
= 0 ;
18119 PyObject
* obj4
= 0 ;
18120 PyObject
* obj5
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18129 arg2
= (int)(SWIG_As_int(obj1
));
18130 if (SWIG_arg_fail(2)) SWIG_fail
;
18133 arg3
= (int)(SWIG_As_int(obj2
));
18134 if (SWIG_arg_fail(3)) SWIG_fail
;
18137 arg4
= (int)(SWIG_As_int(obj3
));
18138 if (SWIG_arg_fail(4)) SWIG_fail
;
18141 arg5
= (int)(SWIG_As_int(obj4
));
18142 if (SWIG_arg_fail(5)) SWIG_fail
;
18146 arg6
= (int)(SWIG_As_int(obj5
));
18147 if (SWIG_arg_fail(6)) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 Py_INCREF(Py_None
); resultobj
= Py_None
;
18164 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 PyObject
* obj2
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "width",(char *) "height", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail
;
18180 arg2
= (int)(SWIG_As_int(obj1
));
18181 if (SWIG_arg_fail(2)) SWIG_fail
;
18184 arg3
= (int)(SWIG_As_int(obj2
));
18185 if (SWIG_arg_fail(3)) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 Py_INCREF(Py_None
); resultobj
= Py_None
;
18201 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "x",(char *) "y", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail
;
18217 arg2
= (int)(SWIG_As_int(obj1
));
18218 if (SWIG_arg_fail(2)) SWIG_fail
;
18221 arg3
= (int)(SWIG_As_int(obj2
));
18222 if (SWIG_arg_fail(3)) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 Py_INCREF(Py_None
); resultobj
= Py_None
;
18238 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18241 int *arg2
= (int *) 0 ;
18242 int *arg3
= (int *) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self", NULL
18252 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18253 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18256 if (SWIG_arg_fail(1)) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 Py_INCREF(Py_None
); resultobj
= Py_None
;
18265 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18266 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18267 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18268 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18275 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
;
18277 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18278 int *arg2
= (int *) 0 ;
18279 int *arg3
= (int *) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self", NULL
18289 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18290 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18302 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18303 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18304 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18305 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18312 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18315 int *arg2
= (int *) 0 ;
18316 int *arg3
= (int *) 0 ;
18321 PyObject
* obj0
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self", NULL
18326 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18327 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18330 if (SWIG_arg_fail(1)) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 Py_INCREF(Py_None
); resultobj
= Py_None
;
18339 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18340 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18341 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18342 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18349 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18360 if (SWIG_arg_fail(1)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 wxSize
* resultptr
;
18370 resultptr
= new wxSize((wxSize
&)(result
));
18371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18379 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18383 PyObject
* obj0
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18390 if (SWIG_arg_fail(1)) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18399 wxSize
* resultptr
;
18400 resultptr
= new wxSize((wxSize
&)(result
));
18401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18409 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18412 PyObject
* obj0
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 (arg1
)->base_InitDialog();
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 Py_INCREF(Py_None
); resultobj
= Py_None
;
18434 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18445 if (SWIG_arg_fail(1)) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (bool)(arg1
)->base_TransferDataToWindow();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18462 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18490 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18501 if (SWIG_arg_fail(1)) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (bool)(arg1
)->base_Validate();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18518 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18546 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18557 if (SWIG_arg_fail(1)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18574 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18585 if (SWIG_arg_fail(1)) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 wxSize
* resultptr
;
18595 resultptr
= new wxSize((wxSize
&)(result
));
18596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18604 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18607 wxWindow
*arg2
= (wxWindow
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 PyObject
* obj1
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "child", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18616 if (SWIG_arg_fail(1)) SWIG_fail
;
18617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18618 if (SWIG_arg_fail(2)) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 (arg1
)->base_AddChild(arg2
);
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 Py_INCREF(Py_None
); resultobj
= Py_None
;
18633 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18636 wxWindow
*arg2
= (wxWindow
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 PyObject
* obj1
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self",(char *) "child", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18647 if (SWIG_arg_fail(2)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 (arg1
)->base_RemoveChild(arg2
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 Py_INCREF(Py_None
); resultobj
= Py_None
;
18662 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18690 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18693 wxVisualAttributes result
;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18701 if (SWIG_arg_fail(1)) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (arg1
)->base_GetDefaultAttributes();
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 wxVisualAttributes
* resultptr
;
18711 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18720 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18723 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18725 return Py_BuildValue((char *)"");
18727 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxWindow
*arg1
= (wxWindow
*) 0 ;
18730 int arg2
= (int) (int)-1 ;
18731 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18732 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18733 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18734 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18735 long arg5
= (long) 0 ;
18736 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18737 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18741 bool temp6
= false ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 PyObject
* obj2
= 0 ;
18745 PyObject
* obj3
= 0 ;
18746 PyObject
* obj4
= 0 ;
18747 PyObject
* obj5
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18754 if (SWIG_arg_fail(1)) SWIG_fail
;
18757 arg2
= (int const)(SWIG_As_int(obj1
));
18758 if (SWIG_arg_fail(2)) SWIG_fail
;
18764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18770 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18775 arg5
= (long)(SWIG_As_long(obj4
));
18776 if (SWIG_arg_fail(5)) SWIG_fail
;
18781 arg6
= wxString_in_helper(obj5
);
18782 if (arg6
== NULL
) SWIG_fail
;
18787 if (!wxPyCheckForApp()) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18809 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18812 char *kwnames
[] = {
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18818 if (!wxPyCheckForApp()) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (wxPyPanel
*)new wxPyPanel();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18832 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18835 PyObject
*arg2
= (PyObject
*) 0 ;
18836 PyObject
*arg3
= (PyObject
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 PyObject
* obj2
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "self",(char *) "_class", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 Py_INCREF(Py_None
); resultobj
= Py_None
;
18863 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 PyObject
* obj1
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self",(char *) "size", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18876 if (SWIG_arg_fail(1)) SWIG_fail
;
18879 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 Py_INCREF(Py_None
); resultobj
= Py_None
;
18895 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18898 wxDC
*arg2
= (wxDC
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self",(char *) "dc", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18908 if (SWIG_arg_fail(1)) SWIG_fail
;
18909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18910 if (SWIG_arg_fail(2)) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18927 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 PyObject
* obj2
= 0 ;
18937 PyObject
* obj3
= 0 ;
18938 PyObject
* obj4
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 arg2
= (int)(SWIG_As_int(obj1
));
18948 if (SWIG_arg_fail(2)) SWIG_fail
;
18951 arg3
= (int)(SWIG_As_int(obj2
));
18952 if (SWIG_arg_fail(3)) SWIG_fail
;
18955 arg4
= (int)(SWIG_As_int(obj3
));
18956 if (SWIG_arg_fail(4)) SWIG_fail
;
18959 arg5
= (int)(SWIG_As_int(obj4
));
18960 if (SWIG_arg_fail(5)) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18976 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18983 int arg6
= (int) wxSIZE_AUTO
;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 PyObject
* obj2
= 0 ;
18987 PyObject
* obj3
= 0 ;
18988 PyObject
* obj4
= 0 ;
18989 PyObject
* obj5
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18996 if (SWIG_arg_fail(1)) SWIG_fail
;
18998 arg2
= (int)(SWIG_As_int(obj1
));
18999 if (SWIG_arg_fail(2)) SWIG_fail
;
19002 arg3
= (int)(SWIG_As_int(obj2
));
19003 if (SWIG_arg_fail(3)) SWIG_fail
;
19006 arg4
= (int)(SWIG_As_int(obj3
));
19007 if (SWIG_arg_fail(4)) SWIG_fail
;
19010 arg5
= (int)(SWIG_As_int(obj4
));
19011 if (SWIG_arg_fail(5)) SWIG_fail
;
19015 arg6
= (int)(SWIG_As_int(obj5
));
19016 if (SWIG_arg_fail(6)) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 Py_INCREF(Py_None
); resultobj
= Py_None
;
19033 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 PyObject
* obj2
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "width",(char *) "height", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail
;
19049 arg2
= (int)(SWIG_As_int(obj1
));
19050 if (SWIG_arg_fail(2)) SWIG_fail
;
19053 arg3
= (int)(SWIG_As_int(obj2
));
19054 if (SWIG_arg_fail(3)) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(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 *) "x",(char *) "y", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",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_DoSetVirtualSize(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_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19110 int *arg2
= (int *) 0 ;
19111 int *arg3
= (int *) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self", NULL
19121 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19122 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19125 if (SWIG_arg_fail(1)) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19135 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19136 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19137 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19144 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(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_DoGetClientSize",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_DoGetClientSize(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_DoGetPosition(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_DoGetPosition",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_DoGetPosition(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_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19222 PyObject
* obj0
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19229 if (SWIG_arg_fail(1)) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 wxSize
* resultptr
;
19239 resultptr
= new wxSize((wxSize
&)(result
));
19240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19248 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "self", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19259 if (SWIG_arg_fail(1)) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19268 wxSize
* resultptr
;
19269 resultptr
= new wxSize((wxSize
&)(result
));
19270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19278 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19281 PyObject
* obj0
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19288 if (SWIG_arg_fail(1)) SWIG_fail
;
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 (arg1
)->base_InitDialog();
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19296 Py_INCREF(Py_None
); resultobj
= Py_None
;
19303 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19314 if (SWIG_arg_fail(1)) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= (bool)(arg1
)->base_TransferDataToWindow();
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19331 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19342 if (SWIG_arg_fail(1)) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19359 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19370 if (SWIG_arg_fail(1)) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (bool)(arg1
)->base_Validate();
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19387 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19398 if (SWIG_arg_fail(1)) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19415 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19426 if (SWIG_arg_fail(1)) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19443 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19454 if (SWIG_arg_fail(1)) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19463 wxSize
* resultptr
;
19464 resultptr
= new wxSize((wxSize
&)(result
));
19465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19473 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19476 wxWindow
*arg2
= (wxWindow
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "child", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19485 if (SWIG_arg_fail(1)) SWIG_fail
;
19486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19487 if (SWIG_arg_fail(2)) SWIG_fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 (arg1
)->base_AddChild(arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 Py_INCREF(Py_None
); resultobj
= Py_None
;
19502 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19505 wxWindow
*arg2
= (wxWindow
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "child", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19514 if (SWIG_arg_fail(1)) SWIG_fail
;
19515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19516 if (SWIG_arg_fail(2)) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 (arg1
)->base_RemoveChild(arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 Py_INCREF(Py_None
); resultobj
= Py_None
;
19531 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19542 if (SWIG_arg_fail(1)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19559 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19562 wxVisualAttributes result
;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19570 if (SWIG_arg_fail(1)) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (arg1
)->base_GetDefaultAttributes();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 wxVisualAttributes
* resultptr
;
19580 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19589 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19592 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19594 return Py_BuildValue((char *)"");
19596 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxWindow
*arg1
= (wxWindow
*) 0 ;
19599 int arg2
= (int) (int)-1 ;
19600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19602 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19603 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19604 long arg5
= (long) 0 ;
19605 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19606 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19607 wxPyScrolledWindow
*result
;
19610 bool temp6
= false ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 PyObject
* obj2
= 0 ;
19614 PyObject
* obj3
= 0 ;
19615 PyObject
* obj4
= 0 ;
19616 PyObject
* obj5
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19623 if (SWIG_arg_fail(1)) SWIG_fail
;
19626 arg2
= (int const)(SWIG_As_int(obj1
));
19627 if (SWIG_arg_fail(2)) SWIG_fail
;
19633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19644 arg5
= (long)(SWIG_As_long(obj4
));
19645 if (SWIG_arg_fail(5)) SWIG_fail
;
19650 arg6
= wxString_in_helper(obj5
);
19651 if (arg6
== NULL
) SWIG_fail
;
19656 if (!wxPyCheckForApp()) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19678 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxPyScrolledWindow
*result
;
19681 char *kwnames
[] = {
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19687 if (!wxPyCheckForApp()) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19701 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19704 PyObject
*arg2
= (PyObject
*) 0 ;
19705 PyObject
*arg3
= (PyObject
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 PyObject
* obj2
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self",(char *) "self",(char *) "_class", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19715 if (SWIG_arg_fail(1)) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 Py_INCREF(Py_None
); resultobj
= Py_None
;
19732 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "size", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail
;
19748 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 Py_INCREF(Py_None
); resultobj
= Py_None
;
19764 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19767 wxDC
*arg2
= (wxDC
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self",(char *) "dc", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19777 if (SWIG_arg_fail(1)) SWIG_fail
;
19778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19779 if (SWIG_arg_fail(2)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19796 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 PyObject
* obj2
= 0 ;
19806 PyObject
* obj3
= 0 ;
19807 PyObject
* obj4
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19814 if (SWIG_arg_fail(1)) SWIG_fail
;
19816 arg2
= (int)(SWIG_As_int(obj1
));
19817 if (SWIG_arg_fail(2)) SWIG_fail
;
19820 arg3
= (int)(SWIG_As_int(obj2
));
19821 if (SWIG_arg_fail(3)) SWIG_fail
;
19824 arg4
= (int)(SWIG_As_int(obj3
));
19825 if (SWIG_arg_fail(4)) SWIG_fail
;
19828 arg5
= (int)(SWIG_As_int(obj4
));
19829 if (SWIG_arg_fail(5)) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 Py_INCREF(Py_None
); resultobj
= Py_None
;
19845 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19852 int arg6
= (int) wxSIZE_AUTO
;
19853 PyObject
* obj0
= 0 ;
19854 PyObject
* obj1
= 0 ;
19855 PyObject
* obj2
= 0 ;
19856 PyObject
* obj3
= 0 ;
19857 PyObject
* obj4
= 0 ;
19858 PyObject
* obj5
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19865 if (SWIG_arg_fail(1)) SWIG_fail
;
19867 arg2
= (int)(SWIG_As_int(obj1
));
19868 if (SWIG_arg_fail(2)) SWIG_fail
;
19871 arg3
= (int)(SWIG_As_int(obj2
));
19872 if (SWIG_arg_fail(3)) SWIG_fail
;
19875 arg4
= (int)(SWIG_As_int(obj3
));
19876 if (SWIG_arg_fail(4)) SWIG_fail
;
19879 arg5
= (int)(SWIG_As_int(obj4
));
19880 if (SWIG_arg_fail(5)) SWIG_fail
;
19884 arg6
= (int)(SWIG_As_int(obj5
));
19885 if (SWIG_arg_fail(6)) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 Py_INCREF(Py_None
); resultobj
= Py_None
;
19902 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 PyObject
* obj2
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self",(char *) "width",(char *) "height", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19916 if (SWIG_arg_fail(1)) SWIG_fail
;
19918 arg2
= (int)(SWIG_As_int(obj1
));
19919 if (SWIG_arg_fail(2)) SWIG_fail
;
19922 arg3
= (int)(SWIG_As_int(obj2
));
19923 if (SWIG_arg_fail(3)) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 Py_INCREF(Py_None
); resultobj
= Py_None
;
19939 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 PyObject
* obj1
= 0 ;
19946 PyObject
* obj2
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self",(char *) "x",(char *) "y", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail
;
19955 arg2
= (int)(SWIG_As_int(obj1
));
19956 if (SWIG_arg_fail(2)) SWIG_fail
;
19959 arg3
= (int)(SWIG_As_int(obj2
));
19960 if (SWIG_arg_fail(3)) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 Py_INCREF(Py_None
); resultobj
= Py_None
;
19976 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19979 int *arg2
= (int *) 0 ;
19980 int *arg3
= (int *) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self", NULL
19990 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19991 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19994 if (SWIG_arg_fail(1)) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 Py_INCREF(Py_None
); resultobj
= Py_None
;
20003 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20004 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20005 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20006 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20013 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20016 int *arg2
= (int *) 0 ;
20017 int *arg3
= (int *) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20028 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20031 if (SWIG_arg_fail(1)) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 Py_INCREF(Py_None
); resultobj
= Py_None
;
20040 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20041 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20042 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20043 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20050 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20053 int *arg2
= (int *) 0 ;
20054 int *arg3
= (int *) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self", NULL
20064 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20065 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20068 if (SWIG_arg_fail(1)) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 Py_INCREF(Py_None
); resultobj
= Py_None
;
20077 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20078 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20079 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20080 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20087 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20098 if (SWIG_arg_fail(1)) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20107 wxSize
* resultptr
;
20108 resultptr
= new wxSize((wxSize
&)(result
));
20109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20117 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20128 if (SWIG_arg_fail(1)) SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20137 wxSize
* resultptr
;
20138 resultptr
= new wxSize((wxSize
&)(result
));
20139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20147 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20150 PyObject
* obj0
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
20156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 (arg1
)->base_InitDialog();
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 Py_INCREF(Py_None
); resultobj
= Py_None
;
20172 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20183 if (SWIG_arg_fail(1)) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 result
= (bool)(arg1
)->base_TransferDataToWindow();
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20200 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 result
= (bool)(arg1
)->base_TransferDataFromWindow();
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20228 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20232 PyObject
* obj0
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20239 if (SWIG_arg_fail(1)) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (bool)(arg1
)->base_Validate();
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20256 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "self", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20267 if (SWIG_arg_fail(1)) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20284 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20295 if (SWIG_arg_fail(1)) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20312 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20332 wxSize
* resultptr
;
20333 resultptr
= new wxSize((wxSize
&)(result
));
20334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20342 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20345 wxWindow
*arg2
= (wxWindow
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "child", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20354 if (SWIG_arg_fail(1)) SWIG_fail
;
20355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(2)) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 (arg1
)->base_AddChild(arg2
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 Py_INCREF(Py_None
); resultobj
= Py_None
;
20371 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20374 wxWindow
*arg2
= (wxWindow
*) 0 ;
20375 PyObject
* obj0
= 0 ;
20376 PyObject
* obj1
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self",(char *) "child", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20383 if (SWIG_arg_fail(1)) SWIG_fail
;
20384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20385 if (SWIG_arg_fail(2)) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 (arg1
)->base_RemoveChild(arg2
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 Py_INCREF(Py_None
); resultobj
= Py_None
;
20400 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20411 if (SWIG_arg_fail(1)) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20428 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20431 wxVisualAttributes result
;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (arg1
)->base_GetDefaultAttributes();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20448 wxVisualAttributes
* resultptr
;
20449 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20458 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20461 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20463 return Py_BuildValue((char *)"");
20465 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20466 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20471 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20476 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20478 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20485 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20486 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20491 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20496 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20498 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20505 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20506 PyObject
*resultobj
;
20507 wxPrintData
*result
;
20509 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 result
= (wxPrintData
*)new wxPrintData();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20524 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20525 PyObject
*resultobj
;
20526 wxPrintData
*arg1
= 0 ;
20527 wxPrintData
*result
;
20528 PyObject
* obj0
= 0 ;
20530 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20533 if (SWIG_arg_fail(1)) SWIG_fail
;
20534 if (arg1
== NULL
) {
20535 SWIG_null_ref("wxPrintData");
20537 if (SWIG_arg_fail(1)) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20553 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20558 argc
= PyObject_Length(args
);
20559 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20560 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20563 return _wrap_new_PrintData__SWIG_0(self
,args
);
20569 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20577 return _wrap_new_PrintData__SWIG_1(self
,args
);
20581 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20586 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20589 PyObject
* obj0
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20596 if (SWIG_arg_fail(1)) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 Py_INCREF(Py_None
); resultobj
= Py_None
;
20611 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (int)(arg1
)->GetNoCopies();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_From_int((int)(result
));
20639 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (bool)(arg1
)->GetCollate();
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20667 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= (int)(arg1
)->GetOrientation();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_From_int((int)(result
));
20695 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20706 if (SWIG_arg_fail(1)) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (bool)(arg1
)->Ok();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20723 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20734 if (SWIG_arg_fail(1)) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20739 result
= (wxString
*) &_result_ref
;
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20749 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20758 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20762 PyObject
* obj0
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20769 if (SWIG_arg_fail(1)) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (bool)(arg1
)->GetColour();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20786 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20789 wxDuplexMode result
;
20790 PyObject
* obj0
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20797 if (SWIG_arg_fail(1)) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_From_int((result
));
20812 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20815 wxPaperSize result
;
20816 PyObject
* obj0
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= SWIG_From_int((result
));
20838 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20849 if (SWIG_arg_fail(1)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20854 result
= (wxSize
*) &_result_ref
;
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20867 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (int)(arg1
)->GetQuality();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_From_int((int)(result
));
20895 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20899 PyObject
* obj0
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20906 if (SWIG_arg_fail(1)) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (wxPrintBin
)(arg1
)->GetBin();
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_From_int((result
));
20921 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20924 wxPrintMode result
;
20925 PyObject
* obj0
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "self", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20932 if (SWIG_arg_fail(1)) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 resultobj
= SWIG_From_int((result
));
20947 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20951 PyObject
* obj0
= 0 ;
20952 PyObject
* obj1
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self",(char *) "v", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20959 if (SWIG_arg_fail(1)) SWIG_fail
;
20961 arg2
= (int)(SWIG_As_int(obj1
));
20962 if (SWIG_arg_fail(2)) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 (arg1
)->SetNoCopies(arg2
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 Py_INCREF(Py_None
); resultobj
= Py_None
;
20978 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self",(char *) "flag", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20990 if (SWIG_arg_fail(1)) SWIG_fail
;
20992 arg2
= (bool)(SWIG_As_bool(obj1
));
20993 if (SWIG_arg_fail(2)) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 (arg1
)->SetCollate(arg2
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 Py_INCREF(Py_None
); resultobj
= Py_None
;
21009 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self",(char *) "orient", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21021 if (SWIG_arg_fail(1)) SWIG_fail
;
21023 arg2
= (int)(SWIG_As_int(obj1
));
21024 if (SWIG_arg_fail(2)) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 (arg1
)->SetOrientation(arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 Py_INCREF(Py_None
); resultobj
= Py_None
;
21040 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21043 wxString
*arg2
= 0 ;
21044 bool temp2
= false ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self",(char *) "name", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21053 if (SWIG_arg_fail(1)) SWIG_fail
;
21055 arg2
= wxString_in_helper(obj1
);
21056 if (arg2
== NULL
) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self",(char *) "colour", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21093 if (SWIG_arg_fail(1)) SWIG_fail
;
21095 arg2
= (bool)(SWIG_As_bool(obj1
));
21096 if (SWIG_arg_fail(2)) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 (arg1
)->SetColour(arg2
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 Py_INCREF(Py_None
); resultobj
= Py_None
;
21112 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21115 wxDuplexMode arg2
;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "duplex", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21124 if (SWIG_arg_fail(1)) SWIG_fail
;
21126 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
21127 if (SWIG_arg_fail(2)) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 Py_INCREF(Py_None
); resultobj
= Py_None
;
21143 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21147 PyObject
* obj0
= 0 ;
21148 PyObject
* obj1
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self",(char *) "sizeId", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21155 if (SWIG_arg_fail(1)) SWIG_fail
;
21157 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
21158 if (SWIG_arg_fail(2)) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "sz", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21187 if (SWIG_arg_fail(1)) SWIG_fail
;
21190 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 Py_INCREF(Py_None
); resultobj
= Py_None
;
21206 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self",(char *) "quality", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21218 if (SWIG_arg_fail(1)) SWIG_fail
;
21220 arg2
= (int)(SWIG_As_int(obj1
));
21221 if (SWIG_arg_fail(2)) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 (arg1
)->SetQuality(arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 Py_INCREF(Py_None
); resultobj
= Py_None
;
21237 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "bin", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail
;
21251 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
21252 if (SWIG_arg_fail(2)) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 (arg1
)->SetBin((wxPrintBin
)arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 Py_INCREF(Py_None
); resultobj
= Py_None
;
21268 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21272 PyObject
* obj0
= 0 ;
21273 PyObject
* obj1
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self",(char *) "printMode", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21280 if (SWIG_arg_fail(1)) SWIG_fail
;
21282 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21283 if (SWIG_arg_fail(2)) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 Py_INCREF(Py_None
); resultobj
= Py_None
;
21299 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
;
21301 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21303 PyObject
* obj0
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "self", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21310 if (SWIG_arg_fail(1)) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21331 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21334 wxString
*arg2
= 0 ;
21335 bool temp2
= false ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "filename", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail
;
21346 arg2
= wxString_in_helper(obj1
);
21347 if (arg2
== NULL
) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 (arg1
)->SetFilename((wxString
const &)*arg2
);
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 Py_INCREF(Py_None
); resultobj
= Py_None
;
21372 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21376 PyObject
* obj0
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= result
;
21398 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21401 PyObject
*arg2
= (PyObject
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "data", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21410 if (SWIG_arg_fail(1)) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 wxPrintData_SetPrivData(arg1
,arg2
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 Py_INCREF(Py_None
); resultobj
= Py_None
;
21426 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21437 if (SWIG_arg_fail(1)) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21442 result
= (wxString
*) &_result_ref
;
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21452 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21461 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21465 PyObject
* obj0
= 0 ;
21466 char *kwnames
[] = {
21467 (char *) "self", NULL
21470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21472 if (SWIG_arg_fail(1)) SWIG_fail
;
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21477 result
= (wxString
*) &_result_ref
;
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21487 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21496 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21500 PyObject
* obj0
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21512 result
= (wxString
*) &_result_ref
;
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21522 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21531 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21533 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 char *kwnames
[] = {
21537 (char *) "self", NULL
21540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21542 if (SWIG_arg_fail(1)) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21547 result
= (wxString
*) &_result_ref
;
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21557 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21566 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&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
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (double)(arg1
)->GetPrinterScaleX();
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_From_double((double)(result
));
21594 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21598 PyObject
* obj0
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21605 if (SWIG_arg_fail(1)) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (double)(arg1
)->GetPrinterScaleY();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= SWIG_From_double((double)(result
));
21622 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 char *kwnames
[] = {
21628 (char *) "self", NULL
21631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21633 if (SWIG_arg_fail(1)) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 result
= (long)(arg1
)->GetPrinterTranslateX();
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= SWIG_From_long((long)(result
));
21650 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= (long)(arg1
)->GetPrinterTranslateY();
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= SWIG_From_long((long)(result
));
21678 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21681 wxString
*arg2
= 0 ;
21682 bool temp2
= false ;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self",(char *) "command", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21691 if (SWIG_arg_fail(1)) SWIG_fail
;
21693 arg2
= wxString_in_helper(obj1
);
21694 if (arg2
== NULL
) SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 Py_INCREF(Py_None
); resultobj
= Py_None
;
21719 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21722 wxString
*arg2
= 0 ;
21723 bool temp2
= false ;
21724 PyObject
* obj0
= 0 ;
21725 PyObject
* obj1
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self",(char *) "options", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21732 if (SWIG_arg_fail(1)) SWIG_fail
;
21734 arg2
= wxString_in_helper(obj1
);
21735 if (arg2
== NULL
) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 Py_INCREF(Py_None
); resultobj
= Py_None
;
21760 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21761 PyObject
*resultobj
;
21762 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21763 wxString
*arg2
= 0 ;
21764 bool temp2
= false ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self",(char *) "command", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21773 if (SWIG_arg_fail(1)) SWIG_fail
;
21775 arg2
= wxString_in_helper(obj1
);
21776 if (arg2
== NULL
) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 Py_INCREF(Py_None
); resultobj
= Py_None
;
21801 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21804 wxString
*arg2
= 0 ;
21805 bool temp2
= false ;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "path", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21814 if (SWIG_arg_fail(1)) SWIG_fail
;
21816 arg2
= wxString_in_helper(obj1
);
21817 if (arg2
== NULL
) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 Py_INCREF(Py_None
); resultobj
= Py_None
;
21842 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "x", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21854 if (SWIG_arg_fail(1)) SWIG_fail
;
21856 arg2
= (double)(SWIG_As_double(obj1
));
21857 if (SWIG_arg_fail(2)) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->SetPrinterScaleX(arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 Py_INCREF(Py_None
); resultobj
= Py_None
;
21873 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 PyObject
* obj1
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self",(char *) "y", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21885 if (SWIG_arg_fail(1)) SWIG_fail
;
21887 arg2
= (double)(SWIG_As_double(obj1
));
21888 if (SWIG_arg_fail(2)) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 (arg1
)->SetPrinterScaleY(arg2
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 Py_INCREF(Py_None
); resultobj
= Py_None
;
21904 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 PyObject
* obj2
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "x",(char *) "y", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21918 if (SWIG_arg_fail(1)) SWIG_fail
;
21920 arg2
= (double)(SWIG_As_double(obj1
));
21921 if (SWIG_arg_fail(2)) SWIG_fail
;
21924 arg3
= (double)(SWIG_As_double(obj2
));
21925 if (SWIG_arg_fail(3)) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 Py_INCREF(Py_None
); resultobj
= Py_None
;
21941 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 char *kwnames
[] = {
21948 (char *) "self",(char *) "x", NULL
21951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21953 if (SWIG_arg_fail(1)) SWIG_fail
;
21955 arg2
= (long)(SWIG_As_long(obj1
));
21956 if (SWIG_arg_fail(2)) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 (arg1
)->SetPrinterTranslateX(arg2
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 Py_INCREF(Py_None
); resultobj
= Py_None
;
21972 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
;
21974 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self",(char *) "y", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 arg2
= (long)(SWIG_As_long(obj1
));
21987 if (SWIG_arg_fail(2)) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 (arg1
)->SetPrinterTranslateY(arg2
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21996 Py_INCREF(Py_None
); resultobj
= Py_None
;
22003 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
22008 PyObject
* obj0
= 0 ;
22009 PyObject
* obj1
= 0 ;
22010 PyObject
* obj2
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "self",(char *) "x",(char *) "y", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22017 if (SWIG_arg_fail(1)) SWIG_fail
;
22019 arg2
= (long)(SWIG_As_long(obj1
));
22020 if (SWIG_arg_fail(2)) SWIG_fail
;
22023 arg3
= (long)(SWIG_As_long(obj2
));
22024 if (SWIG_arg_fail(3)) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 Py_INCREF(Py_None
); resultobj
= Py_None
;
22040 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
22042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22043 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
22045 return Py_BuildValue((char *)"");
22047 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22048 PyObject
*resultobj
;
22049 wxPageSetupDialogData
*result
;
22051 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
22066 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22067 PyObject
*resultobj
;
22068 wxPageSetupDialogData
*arg1
= 0 ;
22069 wxPageSetupDialogData
*result
;
22070 PyObject
* obj0
= 0 ;
22072 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
22074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(1)) SWIG_fail
;
22076 if (arg1
== NULL
) {
22077 SWIG_null_ref("wxPageSetupDialogData");
22079 if (SWIG_arg_fail(1)) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
22095 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22096 PyObject
*resultobj
;
22097 wxPrintData
*arg1
= 0 ;
22098 wxPageSetupDialogData
*result
;
22099 PyObject
* obj0
= 0 ;
22101 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
22103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22104 if (SWIG_arg_fail(1)) SWIG_fail
;
22105 if (arg1
== NULL
) {
22106 SWIG_null_ref("wxPrintData");
22108 if (SWIG_arg_fail(1)) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
22124 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
22129 argc
= PyObject_Length(args
);
22130 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22131 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22134 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
22140 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
22148 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
22155 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22163 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
22167 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
22172 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22175 PyObject
* obj0
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22182 if (SWIG_arg_fail(1)) SWIG_fail
;
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22190 Py_INCREF(Py_None
); resultobj
= Py_None
;
22197 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 char *kwnames
[] = {
22204 (char *) "self",(char *) "flag", NULL
22207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
22208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22209 if (SWIG_arg_fail(1)) SWIG_fail
;
22211 arg2
= (bool)(SWIG_As_bool(obj1
));
22212 if (SWIG_arg_fail(2)) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 (arg1
)->EnableHelp(arg2
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 Py_INCREF(Py_None
); resultobj
= Py_None
;
22228 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self",(char *) "flag", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 arg2
= (bool)(SWIG_As_bool(obj1
));
22243 if (SWIG_arg_fail(2)) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 (arg1
)->EnableMargins(arg2
);
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 Py_INCREF(Py_None
); resultobj
= Py_None
;
22259 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
;
22261 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "flag", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail
;
22273 arg2
= (bool)(SWIG_As_bool(obj1
));
22274 if (SWIG_arg_fail(2)) SWIG_fail
;
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 (arg1
)->EnableOrientation(arg2
);
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 Py_INCREF(Py_None
); resultobj
= Py_None
;
22290 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
;
22292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "flag", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail
;
22304 arg2
= (bool)(SWIG_As_bool(obj1
));
22305 if (SWIG_arg_fail(2)) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 (arg1
)->EnablePaper(arg2
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 Py_INCREF(Py_None
); resultobj
= Py_None
;
22321 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "flag", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22333 if (SWIG_arg_fail(1)) SWIG_fail
;
22335 arg2
= (bool)(SWIG_As_bool(obj1
));
22336 if (SWIG_arg_fail(2)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->EnablePrinter(arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (bool)(arg1
)->GetDefaultMinMargins();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22380 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (bool)(arg1
)->GetEnableMargins();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22408 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22412 PyObject
* obj0
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "self", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22419 if (SWIG_arg_fail(1)) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (bool)(arg1
)->GetEnableOrientation();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22436 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= (bool)(arg1
)->GetEnablePaper();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22464 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= (bool)(arg1
)->GetEnablePrinter();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22492 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 char *kwnames
[] = {
22498 (char *) "self", NULL
22501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22503 if (SWIG_arg_fail(1)) SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (bool)(arg1
)->GetEnableHelp();
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22520 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22524 PyObject
* obj0
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22531 if (SWIG_arg_fail(1)) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (bool)(arg1
)->GetDefaultInfo();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22548 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (arg1
)->GetMarginTopLeft();
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22568 wxPoint
* resultptr
;
22569 resultptr
= new wxPoint((wxPoint
&)(result
));
22570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22578 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22582 PyObject
* obj0
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22589 if (SWIG_arg_fail(1)) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= (arg1
)->GetMarginBottomRight();
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22598 wxPoint
* resultptr
;
22599 resultptr
= new wxPoint((wxPoint
&)(result
));
22600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22608 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22619 if (SWIG_arg_fail(1)) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= (arg1
)->GetMinMarginTopLeft();
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22628 wxPoint
* resultptr
;
22629 resultptr
= new wxPoint((wxPoint
&)(result
));
22630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22638 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22649 if (SWIG_arg_fail(1)) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= (arg1
)->GetMinMarginBottomRight();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22658 wxPoint
* resultptr
;
22659 resultptr
= new wxPoint((wxPoint
&)(result
));
22660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22668 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22671 wxPaperSize result
;
22672 PyObject
* obj0
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22679 if (SWIG_arg_fail(1)) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_From_int((result
));
22694 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22705 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (arg1
)->GetPaperSize();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 wxSize
* resultptr
;
22715 resultptr
= new wxSize((wxSize
&)(result
));
22716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22724 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22727 wxPrintData
*result
;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22740 result
= (wxPrintData
*) &_result_ref
;
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22753 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22764 if (SWIG_arg_fail(1)) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)(arg1
)->Ok();
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22781 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self",(char *) "flag", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail
;
22795 arg2
= (bool)(SWIG_As_bool(obj1
));
22796 if (SWIG_arg_fail(2)) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 (arg1
)->SetDefaultInfo(arg2
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 Py_INCREF(Py_None
); resultobj
= Py_None
;
22812 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 PyObject
* obj1
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self",(char *) "flag", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22824 if (SWIG_arg_fail(1)) SWIG_fail
;
22826 arg2
= (bool)(SWIG_As_bool(obj1
));
22827 if (SWIG_arg_fail(2)) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 (arg1
)->SetDefaultMinMargins(arg2
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 Py_INCREF(Py_None
); resultobj
= Py_None
;
22843 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22846 wxPoint
*arg2
= 0 ;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self",(char *) "pt", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22856 if (SWIG_arg_fail(1)) SWIG_fail
;
22859 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22878 wxPoint
*arg2
= 0 ;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self",(char *) "pt", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22888 if (SWIG_arg_fail(1)) SWIG_fail
;
22891 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 Py_INCREF(Py_None
); resultobj
= Py_None
;
22907 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
;
22909 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22910 wxPoint
*arg2
= 0 ;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "pt", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail
;
22923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 Py_INCREF(Py_None
); resultobj
= Py_None
;
22939 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
;
22941 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22942 wxPoint
*arg2
= 0 ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self",(char *) "pt", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22952 if (SWIG_arg_fail(1)) SWIG_fail
;
22955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 Py_INCREF(Py_None
); resultobj
= Py_None
;
22971 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22975 PyObject
* obj0
= 0 ;
22976 PyObject
* obj1
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self",(char *) "id", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail
;
22985 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22986 if (SWIG_arg_fail(2)) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 Py_INCREF(Py_None
); resultobj
= Py_None
;
23002 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self",(char *) "size", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail
;
23018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 Py_INCREF(Py_None
); resultobj
= Py_None
;
23034 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
23037 wxPrintData
*arg2
= 0 ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self",(char *) "printData", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail
;
23048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23049 if (SWIG_arg_fail(2)) SWIG_fail
;
23050 if (arg2
== NULL
) {
23051 SWIG_null_ref("wxPrintData");
23053 if (SWIG_arg_fail(2)) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 Py_INCREF(Py_None
); resultobj
= Py_None
;
23069 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
23078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23079 if (SWIG_arg_fail(1)) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 (arg1
)->CalculateIdFromPaperSize();
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 Py_INCREF(Py_None
); resultobj
= Py_None
;
23094 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "self", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
23103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23104 if (SWIG_arg_fail(1)) SWIG_fail
;
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 (arg1
)->CalculatePaperSizeFromId();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 Py_INCREF(Py_None
); resultobj
= Py_None
;
23119 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
23121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23122 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
23124 return Py_BuildValue((char *)"");
23126 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxWindow
*arg1
= (wxWindow
*) 0 ;
23129 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
23130 wxPageSetupDialog
*result
;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "parent",(char *) "data", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23139 if (SWIG_arg_fail(1)) SWIG_fail
;
23141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23142 if (SWIG_arg_fail(2)) SWIG_fail
;
23145 if (!wxPyCheckForApp()) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
23159 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23162 wxPageSetupDialogData
*result
;
23163 PyObject
* obj0
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
23169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
23175 result
= (wxPageSetupDialogData
*) &_result_ref
;
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23188 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23191 wxPageSetupDialogData
*result
;
23192 PyObject
* obj0
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
23198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23199 if (SWIG_arg_fail(1)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
23204 result
= (wxPageSetupDialogData
*) &_result_ref
;
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23217 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23221 PyObject
* obj0
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23228 if (SWIG_arg_fail(1)) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= (int)(arg1
)->ShowModal();
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23237 resultobj
= SWIG_From_int((int)(result
));
23245 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23248 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23250 return Py_BuildValue((char *)"");
23252 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23253 PyObject
*resultobj
;
23254 wxPrintDialogData
*result
;
23256 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23271 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23272 PyObject
*resultobj
;
23273 wxPrintData
*arg1
= 0 ;
23274 wxPrintDialogData
*result
;
23275 PyObject
* obj0
= 0 ;
23277 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23281 if (arg1
== NULL
) {
23282 SWIG_null_ref("wxPrintData");
23284 if (SWIG_arg_fail(1)) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23300 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23301 PyObject
*resultobj
;
23302 wxPrintDialogData
*arg1
= 0 ;
23303 wxPrintDialogData
*result
;
23304 PyObject
* obj0
= 0 ;
23306 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23309 if (SWIG_arg_fail(1)) SWIG_fail
;
23310 if (arg1
== NULL
) {
23311 SWIG_null_ref("wxPrintDialogData");
23313 if (SWIG_arg_fail(1)) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23329 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23334 argc
= PyObject_Length(args
);
23335 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23336 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23339 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23345 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23353 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23360 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23368 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23372 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23377 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23380 PyObject
* obj0
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 Py_INCREF(Py_None
); resultobj
= Py_None
;
23402 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_From_int((int)(result
));
23430 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_From_int((int)(result
));
23458 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_From_int((int)(result
));
23486 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
;
23488 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23490 PyObject
* obj0
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= SWIG_From_int((int)(result
));
23514 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23518 PyObject
* obj0
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23525 if (SWIG_arg_fail(1)) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_From_int((int)(result
));
23542 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23570 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23598 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23602 PyObject
* obj0
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23626 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23630 PyObject
* obj0
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "self", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23637 if (SWIG_arg_fail(1)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23654 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23682 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23684 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self",(char *) "flag", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail
;
23696 arg2
= (bool)(SWIG_As_bool(obj1
));
23697 if (SWIG_arg_fail(2)) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 (arg1
)->SetSetupDialog(arg2
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 Py_INCREF(Py_None
); resultobj
= Py_None
;
23713 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 PyObject
* obj1
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self",(char *) "v", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23725 if (SWIG_arg_fail(1)) SWIG_fail
;
23727 arg2
= (int)(SWIG_As_int(obj1
));
23728 if (SWIG_arg_fail(2)) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 (arg1
)->SetFromPage(arg2
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 Py_INCREF(Py_None
); resultobj
= Py_None
;
23744 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23748 PyObject
* obj0
= 0 ;
23749 PyObject
* obj1
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self",(char *) "v", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23756 if (SWIG_arg_fail(1)) SWIG_fail
;
23758 arg2
= (int)(SWIG_As_int(obj1
));
23759 if (SWIG_arg_fail(2)) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 (arg1
)->SetToPage(arg2
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 Py_INCREF(Py_None
); resultobj
= Py_None
;
23775 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "v", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23787 if (SWIG_arg_fail(1)) SWIG_fail
;
23789 arg2
= (int)(SWIG_As_int(obj1
));
23790 if (SWIG_arg_fail(2)) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 (arg1
)->SetMinPage(arg2
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 Py_INCREF(Py_None
); resultobj
= Py_None
;
23806 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "self",(char *) "v", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23818 if (SWIG_arg_fail(1)) SWIG_fail
;
23820 arg2
= (int)(SWIG_As_int(obj1
));
23821 if (SWIG_arg_fail(2)) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 (arg1
)->SetMaxPage(arg2
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 Py_INCREF(Py_None
); resultobj
= Py_None
;
23837 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self",(char *) "v", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23849 if (SWIG_arg_fail(1)) SWIG_fail
;
23851 arg2
= (int)(SWIG_As_int(obj1
));
23852 if (SWIG_arg_fail(2)) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 (arg1
)->SetNoCopies(arg2
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23868 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23872 PyObject
* obj0
= 0 ;
23873 PyObject
* obj1
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self",(char *) "flag", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23880 if (SWIG_arg_fail(1)) SWIG_fail
;
23882 arg2
= (bool)(SWIG_As_bool(obj1
));
23883 if (SWIG_arg_fail(2)) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 (arg1
)->SetAllPages(arg2
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 Py_INCREF(Py_None
); resultobj
= Py_None
;
23899 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self",(char *) "flag", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23911 if (SWIG_arg_fail(1)) SWIG_fail
;
23913 arg2
= (bool)(SWIG_As_bool(obj1
));
23914 if (SWIG_arg_fail(2)) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 (arg1
)->SetSelection(arg2
);
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 Py_INCREF(Py_None
); resultobj
= Py_None
;
23930 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
;
23932 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self",(char *) "flag", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23942 if (SWIG_arg_fail(1)) SWIG_fail
;
23944 arg2
= (bool)(SWIG_As_bool(obj1
));
23945 if (SWIG_arg_fail(2)) SWIG_fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 (arg1
)->SetCollate(arg2
);
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 Py_INCREF(Py_None
); resultobj
= Py_None
;
23961 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
;
23963 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self",(char *) "flag", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail
;
23975 arg2
= (bool)(SWIG_As_bool(obj1
));
23976 if (SWIG_arg_fail(2)) SWIG_fail
;
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 (arg1
)->SetPrintToFile(arg2
);
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 Py_INCREF(Py_None
); resultobj
= Py_None
;
23992 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
;
23994 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self",(char *) "flag", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
24003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24004 if (SWIG_arg_fail(1)) SWIG_fail
;
24006 arg2
= (bool)(SWIG_As_bool(obj1
));
24007 if (SWIG_arg_fail(2)) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 (arg1
)->EnablePrintToFile(arg2
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 Py_INCREF(Py_None
); resultobj
= Py_None
;
24023 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self",(char *) "flag", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24035 if (SWIG_arg_fail(1)) SWIG_fail
;
24037 arg2
= (bool)(SWIG_As_bool(obj1
));
24038 if (SWIG_arg_fail(2)) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 (arg1
)->EnableSelection(arg2
);
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 Py_INCREF(Py_None
); resultobj
= Py_None
;
24054 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "flag", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
24065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail
;
24068 arg2
= (bool)(SWIG_As_bool(obj1
));
24069 if (SWIG_arg_fail(2)) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 (arg1
)->EnablePageNumbers(arg2
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 Py_INCREF(Py_None
); resultobj
= Py_None
;
24085 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 char *kwnames
[] = {
24092 (char *) "self",(char *) "flag", NULL
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24097 if (SWIG_arg_fail(1)) SWIG_fail
;
24099 arg2
= (bool)(SWIG_As_bool(obj1
));
24100 if (SWIG_arg_fail(2)) SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 (arg1
)->EnableHelp(arg2
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 Py_INCREF(Py_None
); resultobj
= Py_None
;
24116 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24120 PyObject
* obj0
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
24126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24127 if (SWIG_arg_fail(1)) SWIG_fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24144 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24148 PyObject
* obj0
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
24154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24155 if (SWIG_arg_fail(1)) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24172 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24176 PyObject
* obj0
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
24182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24183 if (SWIG_arg_fail(1)) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24200 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24204 PyObject
* obj0
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
24210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24211 if (SWIG_arg_fail(1)) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24228 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24232 PyObject
* obj0
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
24238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24239 if (SWIG_arg_fail(1)) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24256 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24259 wxPrintData
*result
;
24260 PyObject
* obj0
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "self", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24267 if (SWIG_arg_fail(1)) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24272 result
= (wxPrintData
*) &_result_ref
;
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24285 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24288 wxPrintData
*arg2
= 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self",(char *) "printData", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24297 if (SWIG_arg_fail(1)) SWIG_fail
;
24299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24300 if (SWIG_arg_fail(2)) SWIG_fail
;
24301 if (arg2
== NULL
) {
24302 SWIG_null_ref("wxPrintData");
24304 if (SWIG_arg_fail(2)) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 Py_INCREF(Py_None
); resultobj
= Py_None
;
24320 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24323 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24325 return Py_BuildValue((char *)"");
24327 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxWindow
*arg1
= (wxWindow
*) 0 ;
24330 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24331 wxPrintDialog
*result
;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "parent",(char *) "data", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24340 if (SWIG_arg_fail(1)) SWIG_fail
;
24342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24343 if (SWIG_arg_fail(2)) SWIG_fail
;
24346 if (!wxPyCheckForApp()) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24360 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(1)) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (int)(arg1
)->ShowModal();
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= SWIG_From_int((int)(result
));
24388 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24391 wxPrintDialogData
*result
;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24399 if (SWIG_arg_fail(1)) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24404 result
= (wxPrintDialogData
*) &_result_ref
;
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24417 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24420 wxPrintData
*result
;
24421 PyObject
* obj0
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24428 if (SWIG_arg_fail(1)) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24433 result
= (wxPrintData
*) &_result_ref
;
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24446 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24457 if (SWIG_arg_fail(1)) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= (wxDC
*)(arg1
)->GetPrintDC();
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= wxPyMake_wxObject(result
, 1);
24474 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24477 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24479 return Py_BuildValue((char *)"");
24481 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24485 PyObject
* obj0
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "data", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail
;
24496 if (!wxPyCheckForApp()) SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (wxPrinter
*)new wxPrinter(arg1
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24510 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24520 if (SWIG_arg_fail(1)) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 Py_INCREF(Py_None
); resultobj
= Py_None
;
24535 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
;
24537 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24538 wxWindow
*arg2
= (wxWindow
*) 0 ;
24539 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 PyObject
* obj2
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "parent",(char *) "printout", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24550 if (SWIG_arg_fail(1)) SWIG_fail
;
24551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24552 if (SWIG_arg_fail(2)) SWIG_fail
;
24553 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(3)) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= wxPyMake_wxObject(result
, 0);
24571 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24574 wxWindow
*arg2
= (wxWindow
*) 0 ;
24575 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24576 wxString
*arg4
= 0 ;
24577 bool temp4
= false ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 PyObject
* obj2
= 0 ;
24581 PyObject
* obj3
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail
;
24589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24590 if (SWIG_arg_fail(2)) SWIG_fail
;
24591 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(3)) SWIG_fail
;
24594 arg4
= wxString_in_helper(obj3
);
24595 if (arg4
== NULL
) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 Py_INCREF(Py_None
); resultobj
= Py_None
;
24620 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24623 wxWindow
*arg2
= (wxWindow
*) 0 ;
24625 PyObject
* obj0
= 0 ;
24626 PyObject
* obj1
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self",(char *) "parent", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24633 if (SWIG_arg_fail(1)) SWIG_fail
;
24634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24635 if (SWIG_arg_fail(2)) SWIG_fail
;
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= (bool)(arg1
)->Setup(arg2
);
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24652 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24655 wxWindow
*arg2
= (wxWindow
*) 0 ;
24656 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24657 bool arg4
= (bool) true ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 PyObject
* obj2
= 0 ;
24662 PyObject
* obj3
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24669 if (SWIG_arg_fail(1)) SWIG_fail
;
24670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24671 if (SWIG_arg_fail(2)) SWIG_fail
;
24672 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24673 if (SWIG_arg_fail(3)) SWIG_fail
;
24676 arg4
= (bool)(SWIG_As_bool(obj3
));
24677 if (SWIG_arg_fail(4)) SWIG_fail
;
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24696 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24699 wxWindow
*arg2
= (wxWindow
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 char *kwnames
[] = {
24704 (char *) "self",(char *) "parent", NULL
24707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24709 if (SWIG_arg_fail(1)) SWIG_fail
;
24710 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24711 if (SWIG_arg_fail(2)) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= wxPyMake_wxObject(result
, 0);
24728 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24731 wxPrintDialogData
*result
;
24732 PyObject
* obj0
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24739 if (SWIG_arg_fail(1)) SWIG_fail
;
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24744 result
= (wxPrintDialogData
*) &_result_ref
;
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24757 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24768 if (SWIG_arg_fail(1)) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (bool)(arg1
)->GetAbort();
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24785 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
;
24787 wxPrinterError result
;
24788 char *kwnames
[] = {
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 result
= (wxPrinterError
)wxPrinter::GetLastError();
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 resultobj
= SWIG_From_int((result
));
24807 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24810 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24812 return Py_BuildValue((char *)"");
24814 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24817 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24818 wxPyPrintout
*result
;
24819 bool temp1
= false ;
24820 PyObject
* obj0
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "title", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24828 arg1
= wxString_in_helper(obj0
);
24829 if (arg1
== NULL
) SWIG_fail
;
24834 if (!wxPyCheckForApp()) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= wxPyMake_wxObject(result
, 1);
24858 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24861 PyObject
*arg2
= (PyObject
*) 0 ;
24862 PyObject
*arg3
= (PyObject
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 PyObject
* obj2
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "self",(char *) "_class", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 Py_INCREF(Py_None
); resultobj
= Py_None
;
24889 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24893 PyObject
* obj0
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24921 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24932 if (SWIG_arg_fail(1)) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= (wxDC
*)(arg1
)->GetDC();
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= wxPyMake_wxObject(result
, 0);
24949 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24952 wxDC
*arg2
= (wxDC
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 PyObject
* obj1
= 0 ;
24955 char *kwnames
[] = {
24956 (char *) "self",(char *) "dc", NULL
24959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24961 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24963 if (SWIG_arg_fail(2)) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 (arg1
)->SetDC(arg2
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 Py_INCREF(Py_None
); resultobj
= Py_None
;
24978 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
;
24980 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 PyObject
* obj1
= 0 ;
24985 PyObject
* obj2
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self",(char *) "w",(char *) "h", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail
;
24994 arg2
= (int)(SWIG_As_int(obj1
));
24995 if (SWIG_arg_fail(2)) SWIG_fail
;
24998 arg3
= (int)(SWIG_As_int(obj2
));
24999 if (SWIG_arg_fail(3)) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 (arg1
)->SetPageSizePixels(arg2
,arg3
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 Py_INCREF(Py_None
); resultobj
= Py_None
;
25015 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25018 int *arg2
= (int *) 0 ;
25019 int *arg3
= (int *) 0 ;
25024 PyObject
* obj0
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self", NULL
25029 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25030 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
25032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail
;
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 (arg1
)->GetPageSizePixels(arg2
,arg3
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 Py_INCREF(Py_None
); resultobj
= Py_None
;
25042 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25043 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25044 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25045 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25052 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25057 PyObject
* obj0
= 0 ;
25058 PyObject
* obj1
= 0 ;
25059 PyObject
* obj2
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "w",(char *) "h", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail
;
25068 arg2
= (int)(SWIG_As_int(obj1
));
25069 if (SWIG_arg_fail(2)) SWIG_fail
;
25072 arg3
= (int)(SWIG_As_int(obj2
));
25073 if (SWIG_arg_fail(3)) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 (arg1
)->SetPageSizeMM(arg2
,arg3
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 Py_INCREF(Py_None
); resultobj
= Py_None
;
25089 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25092 int *arg2
= (int *) 0 ;
25093 int *arg3
= (int *) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self", NULL
25103 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25104 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
25106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->GetPageSizeMM(arg2
,arg3
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25117 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25118 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25119 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25126 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 PyObject
* obj2
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self",(char *) "x",(char *) "y", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25140 if (SWIG_arg_fail(1)) SWIG_fail
;
25142 arg2
= (int)(SWIG_As_int(obj1
));
25143 if (SWIG_arg_fail(2)) SWIG_fail
;
25146 arg3
= (int)(SWIG_As_int(obj2
));
25147 if (SWIG_arg_fail(3)) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 (arg1
)->SetPPIScreen(arg2
,arg3
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 Py_INCREF(Py_None
); resultobj
= Py_None
;
25163 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25166 int *arg2
= (int *) 0 ;
25167 int *arg3
= (int *) 0 ;
25172 PyObject
* obj0
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self", NULL
25177 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25178 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
25180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25181 if (SWIG_arg_fail(1)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->GetPPIScreen(arg2
,arg3
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 Py_INCREF(Py_None
); resultobj
= Py_None
;
25190 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25191 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25192 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25193 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25200 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 PyObject
* obj2
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self",(char *) "x",(char *) "y", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail
;
25216 arg2
= (int)(SWIG_As_int(obj1
));
25217 if (SWIG_arg_fail(2)) SWIG_fail
;
25220 arg3
= (int)(SWIG_As_int(obj2
));
25221 if (SWIG_arg_fail(3)) SWIG_fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 (arg1
)->SetPPIPrinter(arg2
,arg3
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 Py_INCREF(Py_None
); resultobj
= Py_None
;
25237 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25240 int *arg2
= (int *) 0 ;
25241 int *arg3
= (int *) 0 ;
25246 PyObject
* obj0
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self", NULL
25251 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25252 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
25254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->GetPPIPrinter(arg2
,arg3
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 Py_INCREF(Py_None
); resultobj
= Py_None
;
25264 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25265 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25266 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25267 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25274 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self", NULL
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25285 if (SWIG_arg_fail(1)) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (bool)(arg1
)->IsPreview();
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25302 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
;
25304 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25306 PyObject
* obj0
= 0 ;
25307 PyObject
* obj1
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self",(char *) "p", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25314 if (SWIG_arg_fail(1)) SWIG_fail
;
25316 arg2
= (bool)(SWIG_As_bool(obj1
));
25317 if (SWIG_arg_fail(2)) SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 (arg1
)->SetIsPreview(arg2
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 Py_INCREF(Py_None
); resultobj
= Py_None
;
25333 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 PyObject
* obj2
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25348 if (SWIG_arg_fail(1)) SWIG_fail
;
25350 arg2
= (int)(SWIG_As_int(obj1
));
25351 if (SWIG_arg_fail(2)) SWIG_fail
;
25354 arg3
= (int)(SWIG_As_int(obj2
));
25355 if (SWIG_arg_fail(3)) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25373 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25376 PyObject
* obj0
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25383 if (SWIG_arg_fail(1)) SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 (arg1
)->base_OnEndDocument();
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 Py_INCREF(Py_None
); resultobj
= Py_None
;
25398 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25401 PyObject
* obj0
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail
;
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 (arg1
)->base_OnBeginPrinting();
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 Py_INCREF(Py_None
); resultobj
= Py_None
;
25423 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25425 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->base_OnEndPrinting();
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 Py_INCREF(Py_None
); resultobj
= Py_None
;
25448 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25451 PyObject
* obj0
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail
;
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 (arg1
)->base_OnPreparePrinting();
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25466 Py_INCREF(Py_None
); resultobj
= Py_None
;
25473 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
;
25475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self",(char *) "page", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25486 if (SWIG_arg_fail(1)) SWIG_fail
;
25488 arg2
= (int)(SWIG_As_int(obj1
));
25489 if (SWIG_arg_fail(2)) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (bool)(arg1
)->base_HasPage(arg2
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25507 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25510 int *arg2
= (int *) 0 ;
25511 int *arg3
= (int *) 0 ;
25512 int *arg4
= (int *) 0 ;
25513 int *arg5
= (int *) 0 ;
25522 PyObject
* obj0
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self", NULL
25527 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25528 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25529 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25530 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 Py_INCREF(Py_None
); resultobj
= Py_None
;
25542 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25543 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25544 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25545 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25546 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25547 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25548 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25549 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25556 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25559 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25561 return Py_BuildValue((char *)"");
25563 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25566 wxWindow
*arg2
= (wxWindow
*) 0 ;
25567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25571 long arg5
= (long) 0 ;
25572 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25573 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25574 wxPreviewCanvas
*result
;
25577 bool temp6
= false ;
25578 PyObject
* obj0
= 0 ;
25579 PyObject
* obj1
= 0 ;
25580 PyObject
* obj2
= 0 ;
25581 PyObject
* obj3
= 0 ;
25582 PyObject
* obj4
= 0 ;
25583 PyObject
* obj5
= 0 ;
25584 char *kwnames
[] = {
25585 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25590 if (SWIG_arg_fail(1)) SWIG_fail
;
25591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25592 if (SWIG_arg_fail(2)) SWIG_fail
;
25596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25607 arg5
= (long)(SWIG_As_long(obj4
));
25608 if (SWIG_arg_fail(5)) SWIG_fail
;
25613 arg6
= wxString_in_helper(obj5
);
25614 if (arg6
== NULL
) SWIG_fail
;
25619 if (!wxPyCheckForApp()) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25641 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25644 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25646 return Py_BuildValue((char *)"");
25648 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
;
25650 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25651 wxFrame
*arg2
= (wxFrame
*) 0 ;
25652 wxString
*arg3
= 0 ;
25653 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25654 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25655 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25656 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25657 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25658 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25659 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25660 wxPreviewFrame
*result
;
25661 bool temp3
= false ;
25664 bool temp7
= false ;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 PyObject
* obj2
= 0 ;
25668 PyObject
* obj3
= 0 ;
25669 PyObject
* obj4
= 0 ;
25670 PyObject
* obj5
= 0 ;
25671 PyObject
* obj6
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25678 if (SWIG_arg_fail(1)) SWIG_fail
;
25679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25680 if (SWIG_arg_fail(2)) SWIG_fail
;
25682 arg3
= wxString_in_helper(obj2
);
25683 if (arg3
== NULL
) SWIG_fail
;
25689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25700 arg6
= (long)(SWIG_As_long(obj5
));
25701 if (SWIG_arg_fail(6)) SWIG_fail
;
25706 arg7
= wxString_in_helper(obj6
);
25707 if (arg7
== NULL
) SWIG_fail
;
25712 if (!wxPyCheckForApp()) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25742 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25745 PyObject
* obj0
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25752 if (SWIG_arg_fail(1)) SWIG_fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 (arg1
)->Initialize();
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 Py_INCREF(Py_None
); resultobj
= Py_None
;
25767 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25770 PyObject
* obj0
= 0 ;
25771 char *kwnames
[] = {
25772 (char *) "self", NULL
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25777 if (SWIG_arg_fail(1)) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 (arg1
)->CreateControlBar();
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 Py_INCREF(Py_None
); resultobj
= Py_None
;
25792 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25795 PyObject
* obj0
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25802 if (SWIG_arg_fail(1)) SWIG_fail
;
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 (arg1
)->CreateCanvas();
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 Py_INCREF(Py_None
); resultobj
= Py_None
;
25817 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25820 wxPreviewControlBar
*result
;
25821 PyObject
* obj0
= 0 ;
25822 char *kwnames
[] = {
25823 (char *) "self", NULL
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25828 if (SWIG_arg_fail(1)) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25843 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25846 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25848 return Py_BuildValue((char *)"");
25850 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25854 wxWindow
*arg3
= (wxWindow
*) 0 ;
25855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25859 long arg6
= (long) wxTAB_TRAVERSAL
;
25860 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25862 wxPreviewControlBar
*result
;
25865 bool temp7
= false ;
25866 PyObject
* obj0
= 0 ;
25867 PyObject
* obj1
= 0 ;
25868 PyObject
* obj2
= 0 ;
25869 PyObject
* obj3
= 0 ;
25870 PyObject
* obj4
= 0 ;
25871 PyObject
* obj5
= 0 ;
25872 PyObject
* obj6
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25879 if (SWIG_arg_fail(1)) SWIG_fail
;
25881 arg2
= (long)(SWIG_As_long(obj1
));
25882 if (SWIG_arg_fail(2)) SWIG_fail
;
25884 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25885 if (SWIG_arg_fail(3)) SWIG_fail
;
25889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25900 arg6
= (long)(SWIG_As_long(obj5
));
25901 if (SWIG_arg_fail(6)) SWIG_fail
;
25906 arg7
= wxString_in_helper(obj6
);
25907 if (arg7
== NULL
) SWIG_fail
;
25912 if (!wxPyCheckForApp()) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25934 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "self", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25945 if (SWIG_arg_fail(1)) SWIG_fail
;
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (int)(arg1
)->GetZoomControl();
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_From_int((int)(result
));
25962 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self",(char *) "zoom", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25974 if (SWIG_arg_fail(1)) SWIG_fail
;
25976 arg2
= (int)(SWIG_As_int(obj1
));
25977 if (SWIG_arg_fail(2)) SWIG_fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 (arg1
)->SetZoomControl(arg2
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 Py_INCREF(Py_None
); resultobj
= Py_None
;
25993 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25996 wxPrintPreview
*result
;
25997 PyObject
* obj0
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
26019 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
26022 PyObject
* obj0
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
26028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26029 if (SWIG_arg_fail(1)) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 Py_INCREF(Py_None
); resultobj
= Py_None
;
26044 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
26053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26054 if (SWIG_arg_fail(1)) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 (arg1
)->OnPrevious();
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 Py_INCREF(Py_None
); resultobj
= Py_None
;
26069 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
26072 PyObject
* obj0
= 0 ;
26073 char *kwnames
[] = {
26074 (char *) "self", NULL
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
26078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 Py_INCREF(Py_None
); resultobj
= Py_None
;
26094 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26096 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
26097 PyObject
* obj0
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
26103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail
;
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 Py_INCREF(Py_None
); resultobj
= Py_None
;
26119 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
26122 PyObject
* obj0
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
26128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26129 if (SWIG_arg_fail(1)) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 Py_INCREF(Py_None
); resultobj
= Py_None
;
26144 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
26146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26147 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
26149 return Py_BuildValue((char *)"");
26151 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26152 PyObject
*resultobj
;
26153 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26154 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26155 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26156 wxPrintPreview
*result
;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 PyObject
* obj2
= 0 ;
26161 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26163 if (SWIG_arg_fail(1)) SWIG_fail
;
26164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26165 if (SWIG_arg_fail(2)) SWIG_fail
;
26167 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26168 if (SWIG_arg_fail(3)) SWIG_fail
;
26171 if (!wxPyCheckForApp()) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26185 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26186 PyObject
*resultobj
;
26187 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26188 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26189 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26190 wxPrintPreview
*result
;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 PyObject
* obj2
= 0 ;
26195 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail
;
26198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(2)) SWIG_fail
;
26200 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26201 if (SWIG_arg_fail(3)) SWIG_fail
;
26203 if (!wxPyCheckForApp()) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26217 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
26222 argc
= PyObject_Length(args
);
26223 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26224 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26226 if ((argc
>= 2) && (argc
<= 3)) {
26230 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26240 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26249 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26253 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26261 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26270 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26280 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26290 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26298 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26304 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26309 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
;
26311 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self",(char *) "pageNum", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail
;
26324 arg2
= (int)(SWIG_As_int(obj1
));
26325 if (SWIG_arg_fail(2)) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26343 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail
;
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 result
= (int)(arg1
)->GetCurrentPage();
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= SWIG_From_int((int)(result
));
26371 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
;
26373 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26374 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26375 PyObject
* obj0
= 0 ;
26376 PyObject
* obj1
= 0 ;
26377 char *kwnames
[] = {
26378 (char *) "self",(char *) "printout", NULL
26381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26383 if (SWIG_arg_fail(1)) SWIG_fail
;
26384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26385 if (SWIG_arg_fail(2)) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 (arg1
)->SetPrintout(arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 Py_INCREF(Py_None
); resultobj
= Py_None
;
26400 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
;
26402 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26403 wxPyPrintout
*result
;
26404 PyObject
* obj0
= 0 ;
26405 char *kwnames
[] = {
26406 (char *) "self", NULL
26409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26411 if (SWIG_arg_fail(1)) SWIG_fail
;
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= wxPyMake_wxObject(result
, 0);
26428 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
;
26430 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26431 wxPyPrintout
*result
;
26432 PyObject
* obj0
= 0 ;
26433 char *kwnames
[] = {
26434 (char *) "self", NULL
26437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26439 if (SWIG_arg_fail(1)) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= wxPyMake_wxObject(result
, 0);
26456 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26459 wxFrame
*arg2
= (wxFrame
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "frame", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail
;
26469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26470 if (SWIG_arg_fail(2)) SWIG_fail
;
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->SetFrame(arg2
);
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 Py_INCREF(Py_None
); resultobj
= Py_None
;
26485 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26488 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self",(char *) "canvas", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail
;
26498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26499 if (SWIG_arg_fail(2)) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 (arg1
)->SetCanvas(arg2
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 Py_INCREF(Py_None
); resultobj
= Py_None
;
26514 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
;
26516 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 char *kwnames
[] = {
26520 (char *) "self", NULL
26523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26525 if (SWIG_arg_fail(1)) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 result
= (wxFrame
*)(arg1
)->GetFrame();
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= wxPyMake_wxObject(result
, 0);
26542 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26543 PyObject
*resultobj
;
26544 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26545 wxPreviewCanvas
*result
;
26546 PyObject
* obj0
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26553 if (SWIG_arg_fail(1)) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26568 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26571 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26574 PyObject
* obj0
= 0 ;
26575 PyObject
* obj1
= 0 ;
26576 PyObject
* obj2
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail
;
26584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26585 if (SWIG_arg_fail(2)) SWIG_fail
;
26587 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26588 if (SWIG_arg_fail(3)) SWIG_fail
;
26589 if (arg3
== NULL
) {
26590 SWIG_null_ref("wxDC");
26592 if (SWIG_arg_fail(3)) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26610 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26613 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 PyObject
* obj2
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26625 if (SWIG_arg_fail(1)) SWIG_fail
;
26626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26627 if (SWIG_arg_fail(2)) SWIG_fail
;
26629 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26630 if (SWIG_arg_fail(3)) SWIG_fail
;
26631 if (arg3
== NULL
) {
26632 SWIG_null_ref("wxDC");
26634 if (SWIG_arg_fail(3)) SWIG_fail
;
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26652 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
;
26654 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "pageNum", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail
;
26667 arg2
= (int)(SWIG_As_int(obj1
));
26668 if (SWIG_arg_fail(2)) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 result
= (bool)(arg1
)->RenderPage(arg2
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26686 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
;
26688 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26689 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self",(char *) "canvas", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail
;
26699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26700 if (SWIG_arg_fail(2)) SWIG_fail
;
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 (arg1
)->AdjustScrollbars(arg2
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 Py_INCREF(Py_None
); resultobj
= Py_None
;
26715 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
;
26717 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26718 wxPrintDialogData
*result
;
26719 PyObject
* obj0
= 0 ;
26720 char *kwnames
[] = {
26721 (char *) "self", NULL
26724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26726 if (SWIG_arg_fail(1)) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26731 result
= (wxPrintDialogData
*) &_result_ref
;
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26744 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
;
26746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26748 PyObject
* obj0
= 0 ;
26749 PyObject
* obj1
= 0 ;
26750 char *kwnames
[] = {
26751 (char *) "self",(char *) "percent", NULL
26754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26756 if (SWIG_arg_fail(1)) SWIG_fail
;
26758 arg2
= (int)(SWIG_As_int(obj1
));
26759 if (SWIG_arg_fail(2)) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 (arg1
)->SetZoom(arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 Py_INCREF(Py_None
); resultobj
= Py_None
;
26775 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26786 if (SWIG_arg_fail(1)) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= (int)(arg1
)->GetZoom();
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_From_int((int)(result
));
26803 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
;
26805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 result
= (int)(arg1
)->GetMaxPage();
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_From_int((int)(result
));
26831 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26835 PyObject
* obj0
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26842 if (SWIG_arg_fail(1)) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (int)(arg1
)->GetMinPage();
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= SWIG_From_int((int)(result
));
26859 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= (bool)(arg1
)->Ok();
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26887 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26888 PyObject
*resultobj
;
26889 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 char *kwnames
[] = {
26894 (char *) "self",(char *) "ok", NULL
26897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26899 if (SWIG_arg_fail(1)) SWIG_fail
;
26901 arg2
= (bool)(SWIG_As_bool(obj1
));
26902 if (SWIG_arg_fail(2)) SWIG_fail
;
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 (arg1
)->SetOk(arg2
);
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26911 Py_INCREF(Py_None
); resultobj
= Py_None
;
26918 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
;
26920 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self",(char *) "interactive", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26931 if (SWIG_arg_fail(1)) SWIG_fail
;
26933 arg2
= (bool)(SWIG_As_bool(obj1
));
26934 if (SWIG_arg_fail(2)) SWIG_fail
;
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 result
= (bool)(arg1
)->Print(arg2
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26952 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 (arg1
)->DetermineScaling();
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 Py_INCREF(Py_None
); resultobj
= Py_None
;
26977 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26980 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26982 return Py_BuildValue((char *)"");
26984 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26985 PyObject
*resultobj
;
26986 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26987 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26988 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26989 wxPyPrintPreview
*result
;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 PyObject
* obj2
= 0 ;
26994 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26996 if (SWIG_arg_fail(1)) SWIG_fail
;
26997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(2)) SWIG_fail
;
27000 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
27001 if (SWIG_arg_fail(3)) SWIG_fail
;
27004 if (!wxPyCheckForApp()) SWIG_fail
;
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
27018 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
27019 PyObject
*resultobj
;
27020 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27021 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
27022 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
27023 wxPyPrintPreview
*result
;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 PyObject
* obj2
= 0 ;
27028 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
27029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail
;
27031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
27032 if (SWIG_arg_fail(2)) SWIG_fail
;
27033 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
27034 if (SWIG_arg_fail(3)) SWIG_fail
;
27036 if (!wxPyCheckForApp()) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
27050 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
27055 argc
= PyObject_Length(args
);
27056 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
27057 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27059 if ((argc
>= 2) && (argc
<= 3)) {
27063 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
27073 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
27082 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
27086 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
27094 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
27103 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
27113 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
27123 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
27131 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
27137 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
27142 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27145 PyObject
*arg2
= (PyObject
*) 0 ;
27146 PyObject
*arg3
= (PyObject
*) 0 ;
27147 PyObject
* obj0
= 0 ;
27148 PyObject
* obj1
= 0 ;
27149 PyObject
* obj2
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "self",(char *) "_class", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27156 if (SWIG_arg_fail(1)) SWIG_fail
;
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27163 wxPyEndAllowThreads(__tstate
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27166 Py_INCREF(Py_None
); resultobj
= Py_None
;
27173 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27174 PyObject
*resultobj
;
27175 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 PyObject
* obj1
= 0 ;
27180 char *kwnames
[] = {
27181 (char *) "self",(char *) "pageNum", NULL
27184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27186 if (SWIG_arg_fail(1)) SWIG_fail
;
27188 arg2
= (int)(SWIG_As_int(obj1
));
27189 if (SWIG_arg_fail(2)) SWIG_fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27207 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27210 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 PyObject
* obj2
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail
;
27223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27224 if (SWIG_arg_fail(2)) SWIG_fail
;
27226 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27227 if (SWIG_arg_fail(3)) SWIG_fail
;
27228 if (arg3
== NULL
) {
27229 SWIG_null_ref("wxDC");
27231 if (SWIG_arg_fail(3)) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
27237 wxPyEndAllowThreads(__tstate
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27249 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27252 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27255 PyObject
* obj0
= 0 ;
27256 PyObject
* obj1
= 0 ;
27257 PyObject
* obj2
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail
;
27265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27266 if (SWIG_arg_fail(2)) SWIG_fail
;
27268 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27269 if (SWIG_arg_fail(3)) SWIG_fail
;
27270 if (arg3
== NULL
) {
27271 SWIG_null_ref("wxDC");
27273 if (SWIG_arg_fail(3)) SWIG_fail
;
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27291 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "pageNum", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail
;
27306 arg2
= (int)(SWIG_As_int(obj1
));
27307 if (SWIG_arg_fail(2)) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27325 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self",(char *) "percent", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail
;
27339 arg2
= (int)(SWIG_As_int(obj1
));
27340 if (SWIG_arg_fail(2)) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 (arg1
)->base_SetZoom(arg2
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 Py_INCREF(Py_None
); resultobj
= Py_None
;
27356 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 char *kwnames
[] = {
27364 (char *) "self",(char *) "interactive", NULL
27367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27369 if (SWIG_arg_fail(1)) SWIG_fail
;
27371 arg2
= (bool)(SWIG_As_bool(obj1
));
27372 if (SWIG_arg_fail(2)) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (bool)(arg1
)->base_Print(arg2
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27390 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27400 if (SWIG_arg_fail(1)) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->base_DetermineScaling();
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27418 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27420 return Py_BuildValue((char *)"");
27422 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27425 wxFrame
*arg2
= (wxFrame
*) 0 ;
27426 wxString
*arg3
= 0 ;
27427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27431 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27432 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27433 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27434 wxPyPreviewFrame
*result
;
27435 bool temp3
= false ;
27438 bool temp7
= false ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 PyObject
* obj2
= 0 ;
27442 PyObject
* obj3
= 0 ;
27443 PyObject
* obj4
= 0 ;
27444 PyObject
* obj5
= 0 ;
27445 PyObject
* obj6
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail
;
27453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27454 if (SWIG_arg_fail(2)) SWIG_fail
;
27456 arg3
= wxString_in_helper(obj2
);
27457 if (arg3
== NULL
) SWIG_fail
;
27463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27474 arg6
= (long)(SWIG_As_long(obj5
));
27475 if (SWIG_arg_fail(6)) SWIG_fail
;
27480 arg7
= wxString_in_helper(obj6
);
27481 if (arg7
== NULL
) SWIG_fail
;
27486 if (!wxPyCheckForApp()) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27516 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27519 PyObject
*arg2
= (PyObject
*) 0 ;
27520 PyObject
*arg3
= (PyObject
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 PyObject
* obj2
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self",(char *) "self",(char *) "_class", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27540 Py_INCREF(Py_None
); resultobj
= Py_None
;
27547 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
;
27549 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27550 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27551 PyObject
* obj0
= 0 ;
27552 PyObject
* obj1
= 0 ;
27553 char *kwnames
[] = {
27554 (char *) "self",(char *) "canvas", NULL
27557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27559 if (SWIG_arg_fail(1)) SWIG_fail
;
27560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27561 if (SWIG_arg_fail(2)) SWIG_fail
;
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 (arg1
)->SetPreviewCanvas(arg2
);
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 Py_INCREF(Py_None
); resultobj
= Py_None
;
27576 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27577 PyObject
*resultobj
;
27578 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27579 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27580 PyObject
* obj0
= 0 ;
27581 PyObject
* obj1
= 0 ;
27582 char *kwnames
[] = {
27583 (char *) "self",(char *) "bar", NULL
27586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27588 if (SWIG_arg_fail(1)) SWIG_fail
;
27589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(2)) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 (arg1
)->SetControlBar(arg2
);
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 Py_INCREF(Py_None
); resultobj
= Py_None
;
27605 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27606 PyObject
*resultobj
;
27607 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27608 PyObject
* obj0
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27615 if (SWIG_arg_fail(1)) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 (arg1
)->base_Initialize();
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 Py_INCREF(Py_None
); resultobj
= Py_None
;
27630 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27640 if (SWIG_arg_fail(1)) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 (arg1
)->base_CreateCanvas();
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 Py_INCREF(Py_None
); resultobj
= Py_None
;
27655 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 char *kwnames
[] = {
27660 (char *) "self", NULL
27663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27665 if (SWIG_arg_fail(1)) SWIG_fail
;
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 (arg1
)->base_CreateControlBar();
27670 wxPyEndAllowThreads(__tstate
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27673 Py_INCREF(Py_None
); resultobj
= Py_None
;
27680 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27683 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27685 return Py_BuildValue((char *)"");
27687 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
;
27689 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27691 wxWindow
*arg3
= (wxWindow
*) 0 ;
27692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27696 long arg6
= (long) 0 ;
27697 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27699 wxPyPreviewControlBar
*result
;
27702 bool temp7
= false ;
27703 PyObject
* obj0
= 0 ;
27704 PyObject
* obj1
= 0 ;
27705 PyObject
* obj2
= 0 ;
27706 PyObject
* obj3
= 0 ;
27707 PyObject
* obj4
= 0 ;
27708 PyObject
* obj5
= 0 ;
27709 PyObject
* obj6
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail
;
27718 arg2
= (long)(SWIG_As_long(obj1
));
27719 if (SWIG_arg_fail(2)) SWIG_fail
;
27721 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27722 if (SWIG_arg_fail(3)) SWIG_fail
;
27726 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27732 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27737 arg6
= (long)(SWIG_As_long(obj5
));
27738 if (SWIG_arg_fail(6)) SWIG_fail
;
27743 arg7
= wxString_in_helper(obj6
);
27744 if (arg7
== NULL
) SWIG_fail
;
27749 if (!wxPyCheckForApp()) SWIG_fail
;
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27751 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27771 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27774 PyObject
*arg2
= (PyObject
*) 0 ;
27775 PyObject
*arg3
= (PyObject
*) 0 ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 PyObject
* obj2
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "self",(char *) "_class", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail
;
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 Py_INCREF(Py_None
); resultobj
= Py_None
;
27802 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27805 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27806 PyObject
* obj0
= 0 ;
27807 PyObject
* obj1
= 0 ;
27808 char *kwnames
[] = {
27809 (char *) "self",(char *) "preview", NULL
27812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27814 if (SWIG_arg_fail(1)) SWIG_fail
;
27815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27816 if (SWIG_arg_fail(2)) SWIG_fail
;
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 (arg1
)->SetPrintPreview(arg2
);
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 Py_INCREF(Py_None
); resultobj
= Py_None
;
27831 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27834 PyObject
* obj0
= 0 ;
27835 char *kwnames
[] = {
27836 (char *) "self", NULL
27839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27841 if (SWIG_arg_fail(1)) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 (arg1
)->base_CreateButtons();
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 Py_INCREF(Py_None
); resultobj
= Py_None
;
27856 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27857 PyObject
*resultobj
;
27858 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27860 PyObject
* obj0
= 0 ;
27861 PyObject
* obj1
= 0 ;
27862 char *kwnames
[] = {
27863 (char *) "self",(char *) "zoom", NULL
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27868 if (SWIG_arg_fail(1)) SWIG_fail
;
27870 arg2
= (int)(SWIG_As_int(obj1
));
27871 if (SWIG_arg_fail(2)) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 (arg1
)->base_SetZoomControl(arg2
);
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 Py_INCREF(Py_None
); resultobj
= Py_None
;
27887 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27890 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27892 return Py_BuildValue((char *)"");
27894 static PyMethodDef SwigMethods
[] = {
27895 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27903 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27918 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27919 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27928 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27946 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27970 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27983 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27987 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27991 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27996 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
28013 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
28043 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
28050 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
28073 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
28081 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
28093 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
28099 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
28108 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
28114 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
28119 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
28125 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
28129 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28149 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
28175 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
28183 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
28192 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
28194 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
28203 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
28206 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
28213 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
28231 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28235 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28240 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28244 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28246 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
28262 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28265 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28267 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28271 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28280 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28289 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28295 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28310 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28317 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28321 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28347 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28373 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28397 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28398 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28399 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28400 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28401 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28403 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28405 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28406 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28407 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28408 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28409 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28412 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28415 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28431 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28435 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28437 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28438 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28439 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28440 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28443 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28445 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28446 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28447 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28448 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28449 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28450 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28451 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28452 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28453 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28454 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28455 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28456 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28459 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28461 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28466 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28467 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28469 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28470 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28471 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28473 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28474 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28475 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28477 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28478 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28479 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28481 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28482 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28484 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28485 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28486 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28487 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28488 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28489 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28490 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28491 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28495 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28498 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28499 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28500 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28501 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28502 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28503 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28504 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28505 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28506 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28507 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28508 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28509 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28510 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28511 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28512 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28513 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28514 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28515 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28516 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28517 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28518 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28519 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28520 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28521 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28522 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28523 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28524 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28525 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28526 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28527 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28528 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28529 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28530 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28531 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28532 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28533 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28534 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28535 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28536 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28537 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28538 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28539 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28540 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28541 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28542 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28543 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28544 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28545 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28546 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28547 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28548 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28549 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28550 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28551 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28552 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28553 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28554 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28555 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28556 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28557 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28558 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28559 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28560 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28561 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28562 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28563 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28564 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28565 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28566 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28567 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28568 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28569 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28570 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28571 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28572 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28573 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28574 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28575 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28576 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28577 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28578 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28579 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28580 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28581 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28582 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28583 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28584 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28585 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28586 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28587 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28588 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28589 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28590 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28591 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28592 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28593 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28594 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28595 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28596 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28597 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28598 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28599 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28600 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28601 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28602 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28603 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28604 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28605 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28606 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28607 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28608 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28609 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28610 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28611 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28612 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28613 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28614 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28615 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28616 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28617 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28618 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28619 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28620 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28621 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28622 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28623 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28624 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28625 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28626 { NULL
, NULL
, 0, NULL
}
28630 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28632 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28633 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28635 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28638 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28639 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28641 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28642 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28644 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28645 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28647 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28648 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28650 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28651 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28653 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28654 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28656 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28657 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28659 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28660 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28662 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28665 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28666 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28668 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28669 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28671 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28672 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28674 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28675 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28677 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28680 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28681 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28683 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28684 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28686 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28687 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28689 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28690 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28692 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28693 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28695 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28696 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28698 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28701 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28702 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28704 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28705 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28707 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28708 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28710 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28711 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28713 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28714 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28716 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28717 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28719 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28720 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28722 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28723 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28725 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28726 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28728 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28731 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28734 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28735 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28737 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28738 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28740 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28741 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28743 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28744 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28746 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28747 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28749 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28750 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28752 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28753 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28755 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28756 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28758 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28759 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28761 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28762 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28764 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28765 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28767 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28770 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28773 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28776 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28777 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28779 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28780 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28782 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28783 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28785 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28786 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28788 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28791 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28794 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28797 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28800 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28803 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28806 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28809 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28812 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28813 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28815 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28816 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28818 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28821 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28824 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28827 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28828 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28830 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28833 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28834 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28836 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28837 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28839 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28842 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28843 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28845 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28848 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28849 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28851 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28852 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28854 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28857 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28858 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28860 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28863 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28866 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28869 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28870 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28872 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28875 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28876 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28878 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28881 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28884 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28887 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28890 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28893 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28894 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28896 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28899 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28902 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28905 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28908 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28911 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28914 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28915 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28917 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28918 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28920 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28921 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28923 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28924 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28926 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28927 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28929 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28930 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28932 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28933 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28935 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28936 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28938 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28939 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28941 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28942 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28944 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28947 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28950 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28951 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28953 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28954 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28956 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28959 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28960 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28962 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28963 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28965 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28966 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28968 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28969 return (void *)((wxObject
*) ((wxSizer
*) x
));
28971 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28972 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28974 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28977 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28980 static void *_p_wxEventTo_p_wxObject(void *x
) {
28981 return (void *)((wxObject
*) ((wxEvent
*) x
));
28983 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28984 return (void *)((wxObject
*) ((wxFontData
*) x
));
28986 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28987 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28989 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28990 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28992 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28993 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28995 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28996 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28998 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28999 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
29001 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
29002 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
29004 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
29005 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29007 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29008 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29010 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29011 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29013 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29014 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29016 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29017 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29019 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29020 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29022 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29023 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29025 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
29026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29028 static void *_p_wxControlTo_p_wxObject(void *x
) {
29029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29031 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29032 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29034 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
29035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29037 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29038 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29040 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
29041 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
29043 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29044 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29046 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
29047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29049 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
29050 return (void *)((wxObject
*) ((wxColourData
*) x
));
29052 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29053 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29055 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29056 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29058 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
29059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
29061 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
29062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29064 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
29065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29067 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
29068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29070 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
29071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29073 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
29074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29076 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
29077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29079 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
29080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29082 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
29083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29085 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
29086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29088 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29089 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29091 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
29092 return (void *)((wxObject
*) ((wxPrinter
*) x
));
29094 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29095 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29097 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
29098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
29100 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29101 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29103 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29106 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29107 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29109 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29110 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29112 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29113 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29115 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29116 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29118 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29119 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29121 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29122 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29124 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29127 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29128 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29130 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29133 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29136 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29137 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29139 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29142 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29143 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29145 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29146 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29148 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29149 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29151 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29154 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29157 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29160 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29163 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
29166 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29169 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29172 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
29175 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29178 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29181 static void *_p_wxImageTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) ((wxImage
*) x
));
29184 static void *_p_wxFrameTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
29187 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
29190 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29193 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
29196 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
29199 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29202 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29205 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29208 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29211 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29214 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29217 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29220 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
29223 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
29226 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
29229 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
29232 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
29235 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29238 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
29241 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29244 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29247 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29250 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
29253 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29256 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
29259 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
29262 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29265 static void *_p_wxPanelTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
29268 static void *_p_wxDialogTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
29271 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29274 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29277 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29280 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29283 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29286 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29289 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29292 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29295 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29298 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29301 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29304 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29307 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29310 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29313 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29316 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29319 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29322 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29325 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29328 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29331 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29334 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29337 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29340 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29343 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29344 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29346 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29347 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29349 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29350 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29352 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29353 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29355 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29356 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29358 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29359 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29361 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29362 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29364 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29365 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29367 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29368 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29370 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29371 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29373 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29374 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29376 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29377 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29379 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29380 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29382 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29383 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29385 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29386 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29388 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29389 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29391 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29392 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29394 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29395 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29397 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29398 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29400 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29401 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29403 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29404 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29406 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29407 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29409 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29410 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29412 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29413 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29415 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29416 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29418 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29419 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29421 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29422 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29424 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29425 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29427 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29428 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29430 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29431 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29433 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29434 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29436 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29437 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29439 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29440 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29442 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29445 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29446 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29448 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29449 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29451 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29452 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29454 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29455 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29457 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29458 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29460 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29461 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29463 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29464 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29466 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29467 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29469 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29470 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29472 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29473 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29475 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29476 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29478 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29479 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29481 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29482 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29484 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29485 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29487 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29488 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29490 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29491 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29493 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29494 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29496 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29497 return (void *)((wxWindow
*) ((wxControl
*) x
));
29499 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29500 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29502 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29503 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29505 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29506 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29508 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29509 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29511 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29512 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29514 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29515 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29517 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29518 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29520 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29521 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29523 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29524 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29526 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29527 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29529 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29530 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29532 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29533 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29535 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29536 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29538 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29539 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29541 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29542 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29544 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29547 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29548 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29550 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29551 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29553 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29554 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29556 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29557 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29559 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29560 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29562 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29563 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29565 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29566 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29568 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29569 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29571 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29572 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29574 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29575 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29577 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29578 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29580 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29581 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29583 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29584 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29586 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29587 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29589 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29590 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29592 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29593 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29595 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29596 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29598 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29599 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29601 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29602 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29604 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29605 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29607 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29608 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29610 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29611 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29613 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29614 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29616 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29617 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29619 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29620 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29622 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29623 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29625 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29626 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29628 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29629 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29631 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29632 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29634 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29635 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29637 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29638 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29640 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29641 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29643 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29644 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29646 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29647 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29649 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29650 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29652 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}};
29653 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}};
29654 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}};
29655 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}};
29656 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}};
29657 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}};
29658 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}};
29659 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}};
29660 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}};
29661 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}};
29662 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}};
29663 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}};
29664 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}};
29665 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}};
29666 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}};
29667 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}};
29668 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}};
29669 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}};
29670 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}};
29671 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}};
29672 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}};
29673 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}};
29674 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}};
29675 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}};
29676 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}};
29677 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}};
29678 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}};
29679 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}};
29680 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}};
29681 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}};
29682 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}};
29683 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}};
29684 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}};
29685 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}};
29686 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}};
29687 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}};
29688 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}};
29689 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}};
29690 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}};
29691 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}};
29692 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}};
29693 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}};
29694 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}};
29695 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}};
29696 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}};
29697 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}};
29698 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}};
29699 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}};
29700 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}};
29701 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}};
29702 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}};
29703 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}};
29704 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}};
29705 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}};
29706 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}};
29707 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}};
29708 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}};
29709 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}};
29710 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_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}};
29711 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}};
29712 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}};
29713 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}};
29714 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}};
29715 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}};
29716 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}};
29717 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}};
29718 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}};
29719 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}};
29720 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}};
29721 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}};
29722 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}};
29723 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}};
29724 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}};
29725 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}};
29726 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}};
29727 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}};
29728 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}};
29729 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}};
29730 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}};
29731 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}};
29732 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}};
29733 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}};
29734 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}};
29735 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}};
29736 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}};
29737 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}};
29738 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}};
29739 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}};
29740 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}};
29741 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}};
29742 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}};
29743 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}};
29744 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}};
29745 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}};
29746 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}};
29747 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}};
29748 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}};
29750 static swig_type_info
*swig_types_initial
[] = {
29751 _swigt__p_wxQueryLayoutInfoEvent
,
29752 _swigt__p_wxPreviewFrame
,
29753 _swigt__p_wxPyPreviewFrame
,
29754 _swigt__p_wxPyPanel
,
29756 _swigt__p_wxFontData
,
29758 _swigt__p_wxPrintData
,
29759 _swigt__p_wxTaskBarIcon
,
29760 _swigt__p_wxPyTaskBarIcon
,
29761 _swigt__p_wxIconBundle
,
29762 _swigt__p_wxLayoutAlgorithm
,
29763 _swigt__p_wxFindDialogEvent
,
29764 _swigt__p_wxPreviewCanvas
,
29766 _swigt__p_wxSplitterEvent
,
29767 _swigt__p_wxRegion
,
29769 _swigt__std__ptrdiff_t
,
29770 _swigt__p_wxFindReplaceData
,
29775 _swigt__p_wxVisualAttributes
,
29776 _swigt__p_wxMDIChildFrame
,
29777 _swigt__p_wxColourData
,
29778 _swigt__p_wxNotifyEvent
,
29779 _swigt__p_wxPyWindow
,
29780 _swigt__p_form_ops_t
,
29781 _swigt__p_wxSplashScreen
,
29782 _swigt__p_wxPasswordEntryDialog
,
29783 _swigt__p_wxSingleChoiceDialog
,
29784 _swigt__p_wxMultiChoiceDialog
,
29785 _swigt__p_wxFileDialog
,
29786 _swigt__p_wxTextEntryDialog
,
29787 _swigt__p_wxMessageDialog
,
29788 _swigt__p_wxProgressDialog
,
29789 _swigt__p_wxFindReplaceDialog
,
29790 _swigt__p_wxPrinter
,
29791 _swigt__p_wxArrayInt
,
29792 _swigt__p_wxDuplexMode
,
29793 _swigt__p_wxEvtHandler
,
29794 _swigt__p_wxCalculateLayoutEvent
,
29795 _swigt__p_wxPyHtmlListBox
,
29796 _swigt__p_wxPyVListBox
,
29798 _swigt__p_wxStdDialogButtonSizer
,
29800 _swigt__p_wxMiniFrame
,
29802 _swigt__p_wxPyPrintout
,
29803 _swigt__p_wxTaskBarIconEvent
,
29804 _swigt__p_wxScrollWinEvent
,
29805 _swigt__p_wxPaperSize
,
29806 _swigt__p_wxStatusBar
,
29807 _swigt__p_wxMDIParentFrame
,
29809 _swigt__p_wxObject
,
29810 _swigt__p_unsigned_long
,
29811 _swigt__p_wxTipWindow
,
29812 _swigt__p_wxSashLayoutWindow
,
29813 _swigt__p_wxSplitterWindow
,
29814 _swigt__p_wxSplashScreenWindow
,
29815 _swigt__p_wxPyVScrolledWindow
,
29816 _swigt__p_wxPyPopupTransientWindow
,
29817 _swigt__p_wxPopupWindow
,
29818 _swigt__p_wxSashWindow
,
29819 _swigt__p_wxTopLevelWindow
,
29820 _swigt__p_wxWindow
,
29821 _swigt__p_wxScrolledWindow
,
29822 _swigt__p_wxMenuBar
,
29823 _swigt__p_wxMDIClientWindow
,
29824 _swigt__p_wxPyScrolledWindow
,
29825 _swigt__p_wxPrintPreview
,
29826 _swigt__p_wxSashEvent
,
29827 _swigt__p_wxString
,
29828 _swigt__p_wxPyPrintPreview
,
29829 _swigt__p_wxDirDialog
,
29830 _swigt__p_wxColourDialog
,
29831 _swigt__p_wxDialog
,
29833 _swigt__p_wxFontDialog
,
29834 _swigt__p_wxPageSetupDialog
,
29835 _swigt__p_wxPrintDialog
,
29836 _swigt__p_wxFileSystem
,
29837 _swigt__p_wxBitmap
,
29838 _swigt__unsigned_int
,
29839 _swigt__p_unsigned_int
,
29840 _swigt__p_unsigned_char
,
29841 _swigt__p_wxCommandEvent
,
29842 _swigt__p_wxPreviewControlBar
,
29843 _swigt__p_wxPyPreviewControlBar
,
29844 _swigt__p_wxColour
,
29845 _swigt__p_wxToolBar
,
29846 _swigt__p_wxPageSetupDialogData
,
29847 _swigt__p_wxPrintDialogData
,
29852 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29854 static swig_const_info swig_const_table
[] = {
29855 {0, 0, 0, 0.0, 0, 0}};
29866 /* Python-specific SWIG API */
29867 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29868 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29869 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29871 /* -----------------------------------------------------------------------------
29872 * global variable support code.
29873 * ----------------------------------------------------------------------------- */
29875 typedef struct swig_globalvar
{
29876 char *name
; /* Name of global variable */
29877 PyObject
*(*get_attr
)(); /* Return the current value */
29878 int (*set_attr
)(PyObject
*); /* Set the value */
29879 struct swig_globalvar
*next
;
29882 typedef struct swig_varlinkobject
{
29884 swig_globalvar
*vars
;
29885 } swig_varlinkobject
;
29888 swig_varlink_repr(swig_varlinkobject
*v
) {
29890 return PyString_FromString("<Swig global variables>");
29894 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29895 swig_globalvar
*var
;
29897 fprintf(fp
,"Swig global variables { ");
29898 for (var
= v
->vars
; var
; var
=var
->next
) {
29899 fprintf(fp
,"%s", var
->name
);
29900 if (var
->next
) fprintf(fp
,", ");
29902 fprintf(fp
," }\n");
29907 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29908 swig_globalvar
*var
= v
->vars
;
29910 if (strcmp(var
->name
,n
) == 0) {
29911 return (*var
->get_attr
)();
29915 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29920 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29921 swig_globalvar
*var
= v
->vars
;
29923 if (strcmp(var
->name
,n
) == 0) {
29924 return (*var
->set_attr
)(p
);
29928 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29932 static PyTypeObject varlinktype
= {
29933 PyObject_HEAD_INIT(0)
29934 0, /* Number of items in variable part (ob_size) */
29935 (char *)"swigvarlink", /* Type name (tp_name) */
29936 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29937 0, /* Itemsize (tp_itemsize) */
29938 0, /* Deallocator (tp_dealloc) */
29939 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29940 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29941 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29942 0, /* tp_compare */
29943 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29944 0, /* tp_as_number */
29945 0, /* tp_as_sequence */
29946 0, /* tp_as_mapping */
29950 0, /* tp_getattro */
29951 0, /* tp_setattro */
29952 0, /* tp_as_buffer */
29955 #if PY_VERSION_HEX >= 0x02000000
29956 0, /* tp_traverse */
29959 #if PY_VERSION_HEX >= 0x02010000
29960 0, /* tp_richcompare */
29961 0, /* tp_weaklistoffset */
29963 #if PY_VERSION_HEX >= 0x02020000
29964 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29966 #if PY_VERSION_HEX >= 0x02030000
29969 #ifdef COUNT_ALLOCS
29970 0,0,0,0 /* tp_alloc -> tp_next */
29974 /* Create a variable linking object for use later */
29976 SWIG_Python_newvarlink(void) {
29977 swig_varlinkobject
*result
= 0;
29978 result
= PyMem_NEW(swig_varlinkobject
,1);
29979 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29980 result
->ob_type
= &varlinktype
;
29982 result
->ob_refcnt
= 0;
29983 Py_XINCREF((PyObject
*) result
);
29984 return ((PyObject
*) result
);
29988 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29989 swig_varlinkobject
*v
;
29990 swig_globalvar
*gv
;
29991 v
= (swig_varlinkobject
*) p
;
29992 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29993 gv
->name
= (char *) malloc(strlen(name
)+1);
29994 strcpy(gv
->name
,name
);
29995 gv
->get_attr
= get_attr
;
29996 gv
->set_attr
= set_attr
;
29997 gv
->next
= v
->vars
;
30001 /* -----------------------------------------------------------------------------
30002 * constants/methods manipulation
30003 * ----------------------------------------------------------------------------- */
30005 /* Install Constants */
30007 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30010 for (i
= 0; constants
[i
].type
; i
++) {
30011 switch(constants
[i
].type
) {
30013 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30015 case SWIG_PY_FLOAT
:
30016 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30018 case SWIG_PY_STRING
:
30019 if (constants
[i
].pvalue
) {
30020 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30022 Py_INCREF(Py_None
);
30026 case SWIG_PY_POINTER
:
30027 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30029 case SWIG_PY_BINARY
:
30030 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30037 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30043 /* -----------------------------------------------------------------------------*/
30044 /* Fix SwigMethods to carry the callback ptrs when needed */
30045 /* -----------------------------------------------------------------------------*/
30048 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30049 swig_const_info
*const_table
,
30050 swig_type_info
**types
,
30051 swig_type_info
**types_initial
) {
30053 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30054 char *c
= methods
[i
].ml_doc
;
30055 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30057 swig_const_info
*ci
= 0;
30058 char *name
= c
+ 10;
30059 for (j
= 0; const_table
[j
].type
; j
++) {
30060 if (strncmp(const_table
[j
].name
, name
,
30061 strlen(const_table
[j
].name
)) == 0) {
30062 ci
= &(const_table
[j
]);
30067 size_t shift
= (ci
->ptype
) - types
;
30068 swig_type_info
*ty
= types_initial
[shift
];
30069 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30070 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30071 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30073 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
30074 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30076 strncpy(buff
, "swig_ptr: ", 10);
30078 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30079 methods
[i
].ml_doc
= ndoc
;
30085 /* -----------------------------------------------------------------------------*
30086 * Initialize type list
30087 * -----------------------------------------------------------------------------*/
30089 #if PY_MAJOR_VERSION < 2
30090 /* PyModule_AddObject function was introduced in Python 2.0. The following function
30091 is copied out of Python/modsupport.c in python version 2.3.4 */
30093 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
30096 if (!PyModule_Check(m
)) {
30097 PyErr_SetString(PyExc_TypeError
,
30098 "PyModule_AddObject() needs module as first arg");
30102 PyErr_SetString(PyExc_TypeError
,
30103 "PyModule_AddObject() needs non-NULL value");
30107 dict
= PyModule_GetDict(m
);
30108 if (dict
== NULL
) {
30109 /* Internal error -- modules must have a dict! */
30110 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
30111 PyModule_GetName(m
));
30114 if (PyDict_SetItemString(dict
, name
, o
))
30121 static swig_type_info
**
30122 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
30123 static PyMethodDef swig_empty_runtime_method_table
[] = {
30125 NULL
, NULL
, 0, NULL
30129 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
30130 swig_empty_runtime_method_table
);
30131 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
30132 if (pointer
&& module) {
30133 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
30135 return type_list_handle
;
30138 static swig_type_info
**
30139 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
30140 swig_type_info
**type_pointer
;
30142 /* first check if module already created */
30143 type_pointer
= SWIG_Python_GetTypeListHandle();
30144 if (type_pointer
) {
30145 return type_pointer
;
30147 /* create a new module and variable */
30148 return SWIG_Python_SetTypeListHandle(type_list_handle
);
30156 /* -----------------------------------------------------------------------------*
30157 * Partial Init method
30158 * -----------------------------------------------------------------------------*/
30160 #ifdef SWIG_LINK_RUNTIME
30164 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30170 SWIGEXPORT(void) SWIG_init(void) {
30171 static PyObject
*SWIG_globals
= 0;
30172 static int typeinit
= 0;
30175 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30177 /* Fix SwigMethods to carry the callback ptrs when needed */
30178 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
30180 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30181 d
= PyModule_GetDict(m
);
30184 #ifdef SWIG_LINK_RUNTIME
30185 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
30187 # ifndef SWIG_STATIC_RUNTIME
30188 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
30191 for (i
= 0; swig_types_initial
[i
]; i
++) {
30192 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30196 SWIG_InstallConstants(d
,swig_const_table
);
30198 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30199 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30200 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30201 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30202 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30204 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
30207 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
30210 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
30213 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
30216 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
30219 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
30222 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
30225 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
30228 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
30231 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
30234 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
30237 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
30240 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
30243 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
30246 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
30249 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
30252 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
30255 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
30258 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
30261 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
30264 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
30267 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
30270 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
30273 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
30276 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
30279 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
30282 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
30285 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
30288 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
30291 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
30294 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
30297 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
30300 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
30303 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
30306 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
30309 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
30312 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
30315 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
30318 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
30321 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
30324 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
30327 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
30330 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30333 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30336 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30338 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30340 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30343 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30346 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30349 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30352 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30355 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30358 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30361 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30364 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30367 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30370 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30373 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30376 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30379 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30381 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30382 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30383 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30384 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30385 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30386 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30388 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30391 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30394 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30397 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30400 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30403 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30406 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30409 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30412 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30415 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30418 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30421 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30424 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30427 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30430 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30432 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30434 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30437 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30440 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30443 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30446 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30449 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30452 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30455 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30458 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30461 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30464 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30466 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30467 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30468 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30470 // Map renamed classes back to their common name for OOR
30471 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30472 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30473 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30475 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30476 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30477 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30478 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30479 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30480 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30481 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30482 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30483 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30484 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30485 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30486 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30487 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30489 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30492 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30494 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30496 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30499 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30502 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30505 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30508 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30511 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30514 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30516 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30517 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30518 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30519 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30520 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30522 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30525 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30528 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30531 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30534 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30537 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30540 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30543 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30546 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30548 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30549 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30551 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30554 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30557 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30560 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30563 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30566 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30569 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30572 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30575 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30578 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30581 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30584 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30587 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30590 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30593 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30596 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30599 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30602 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30605 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30608 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30611 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30614 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30617 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30620 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30623 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30626 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30629 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30632 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30635 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30638 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30641 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30644 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30647 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30650 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30653 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30656 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30659 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30662 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30665 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30668 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");