1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxFontData swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxPrintData swig_types[7]
1349 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1352 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357 #define SWIGTYPE_p_wxRegion swig_types[16]
1358 #define SWIGTYPE_ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367 #define SWIGTYPE_p_wxColourData swig_types[26]
1368 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1370 #define SWIGTYPE_p_form_ops_t swig_types[29]
1371 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1376 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380 #define SWIGTYPE_p_wxPrinter swig_types[39]
1381 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1382 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387 #define SWIGTYPE_p_wxRect swig_types[46]
1388 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389 #define SWIGTYPE_p_char swig_types[48]
1390 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391 #define SWIGTYPE_p_wxFrame swig_types[50]
1392 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1396 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1397 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398 #define SWIGTYPE_p_wxPoint swig_types[57]
1399 #define SWIGTYPE_p_wxObject swig_types[58]
1400 #define SWIGTYPE_p_unsigned_long swig_types[59]
1401 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1402 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[62]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[63]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65]
1407 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1409 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410 #define SWIGTYPE_p_wxWindow swig_types[69]
1411 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1413 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1420 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1421 #define SWIGTYPE_p_wxDialog swig_types[80]
1422 #define SWIGTYPE_p_wxPanel swig_types[81]
1423 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1427 #define SWIGTYPE_p_wxBitmap swig_types[86]
1428 #define SWIGTYPE_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_int swig_types[88]
1430 #define SWIGTYPE_p_unsigned_char swig_types[89]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxToolBar swig_types[94]
1436 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438 static swig_type_info
*swig_types
[98];
1440 /* -------- TYPES TABLE (END) -------- */
1443 /*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_windows_
1448 #define SWIG_name "_windows_"
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyEmptyString(wxEmptyString
);
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1463 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1466 if (value
< min_value
) {
1468 PyErr_Format(PyExc_OverflowError
,
1469 "value %ld is less than '%s' minimum %ld",
1470 value
, errmsg
, min_value
);
1473 } else if (value
> max_value
) {
1475 PyErr_Format(PyExc_OverflowError
,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value
, errmsg
, max_value
);
1486 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1488 if (PyNumber_Check(obj
)) {
1489 if (val
) *val
= PyInt_AsLong(obj
);
1493 SWIG_type_error("number", obj
);
1499 #if INT_MAX != LONG_MAX
1501 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1503 const char* errmsg
= val
? "int" : (char*)0;
1505 if (SWIG_AsVal_long(obj
, &v
)) {
1506 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1507 if (val
) *val
= (int)(v
);
1516 SWIG_type_error(errmsg
, obj
);
1522 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1524 return SWIG_AsVal_long(obj
,(long*)val
);
1530 SWIG_As_int(PyObject
* obj
)
1533 if (!SWIG_AsVal_int(obj
, &v
)) {
1535 this is needed to make valgrind/purify happier.
1537 memset((void*)&v
, 0, sizeof(int));
1543 SWIGINTERNSHORT
long
1544 SWIG_As_long(PyObject
* obj
)
1547 if (!SWIG_AsVal_long(obj
, &v
)) {
1549 this is needed to make valgrind/purify happier.
1551 memset((void*)&v
, 0, sizeof(long));
1558 SWIG_Check_int(PyObject
* obj
)
1560 return SWIG_AsVal_int(obj
, (int*)0);
1565 SWIG_Check_long(PyObject
* obj
)
1567 return SWIG_AsVal_long(obj
, (long*)0);
1572 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1574 if (obj
== Py_True
) {
1575 if (val
) *val
= true;
1578 if (obj
== Py_False
) {
1579 if (val
) *val
= false;
1583 if (SWIG_AsVal_int(obj
, &res
)) {
1584 if (val
) *val
= res
? true : false;
1590 SWIG_type_error("bool", obj
);
1596 SWIGINTERNSHORT
bool
1597 SWIG_As_bool(PyObject
* obj
)
1600 if (!SWIG_AsVal_bool(obj
, &v
)) {
1602 this is needed to make valgrind/purify happier.
1604 memset((void*)&v
, 0, sizeof(bool));
1611 SWIG_Check_bool(PyObject
* obj
)
1613 return SWIG_AsVal_bool(obj
, (bool*)0);
1617 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1618 #define SWIG_From_int PyInt_FromLong
1622 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1628 } else if (target
== Py_None
) {
1632 if (!PyTuple_Check(target
)) {
1634 target
= PyTuple_New(1);
1635 PyTuple_SetItem(target
, 0, o2
);
1637 o3
= PyTuple_New(1);
1638 PyTuple_SetItem(o3
, 0, o
);
1641 target
= PySequence_Concat(o2
, o3
);
1651 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1653 if (PyNumber_Check(obj
)) {
1654 if (val
) *val
= PyFloat_AsDouble(obj
);
1658 SWIG_type_error("number", obj
);
1664 SWIGINTERNSHORT
double
1665 SWIG_As_double(PyObject
* obj
)
1668 if (!SWIG_AsVal_double(obj
, &v
)) {
1670 this is needed to make valgrind/purify happier.
1672 memset((void*)&v
, 0, sizeof(double));
1679 SWIG_Check_double(PyObject
* obj
)
1681 return SWIG_AsVal_double(obj
, (double*)0);
1685 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1686 #define SWIG_From_double PyFloat_FromDouble
1689 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1690 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1691 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1692 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1694 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1695 #define SWIG_From_long PyInt_FromLong
1700 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1702 self
->GetFieldRect(i
, r
);
1705 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1706 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1707 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1709 #include <wx/popupwin.h>
1712 class wxPopupWindow
: public wxWindow
{
1714 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1715 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1718 class wxPyPopupTransientWindow
: public wxPopupWindow
1721 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1722 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1726 #include <wx/tipwin.h>
1728 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1729 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1732 #include <wx/tipwin.h>
1735 #include <wx/vscroll.h>
1738 class wxPyVScrolledWindow
: public wxVScrolledWindow
1740 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1742 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1744 wxPyVScrolledWindow(wxWindow
*parent
,
1745 wxWindowID id
= wxID_ANY
,
1746 const wxPoint
& pos
= wxDefaultPosition
,
1747 const wxSize
& size
= wxDefaultSize
,
1749 const wxString
& name
= wxPyPanelNameStr
)
1750 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1753 // Overridable virtuals
1755 // this function must be overridden in the derived class and it should
1756 // return the height of the given line in pixels
1757 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1760 // this function doesn't have to be overridden but it may be useful to do
1761 // it if calculating the lines heights is a relatively expensive operation
1762 // as it gives the user code a possibility to calculate several of them at
1765 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1766 // shouldn't rely on the latter being called for all lines in the interval
1767 // specified here. It is also possible that OnGetLineHeight() will be
1768 // called for the lines outside of this interval, so this is really just a
1769 // hint, not a promise.
1771 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1773 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1776 // when the number of lines changes, we try to estimate the total height
1777 // of all lines which is a rather expensive operation in terms of lines
1778 // access, so if the user code may estimate the average height
1779 // better/faster than we do, it should override this function to implement
1782 // this function should return the best guess for the total height it may
1784 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1787 // Also expose some other interesting protected methods
1790 // find the index of the line we need to show at the top of the window such
1791 // that the last (fully or partially) visible line is the given one
1792 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1793 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1795 // get the total height of the lines between lineMin (inclusive) and
1796 // lineMax (exclusive)
1797 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1798 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1804 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1806 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1807 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1808 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1812 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1815 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1816 SWIG_type_error("unsigned number", obj
);
1819 *val
= (unsigned long)v
;
1824 SWIGINTERNSHORT
unsigned long
1825 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1828 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1830 this is needed to make valgrind/purify happier.
1832 memset((void*)&v
, 0, sizeof(unsigned long));
1839 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1841 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1845 SWIGINTERNSHORT PyObject
*
1846 SWIG_From_unsigned_SS_long(unsigned long value
)
1848 return (value
> LONG_MAX
) ?
1849 PyLong_FromUnsignedLong(value
)
1850 : PyInt_FromLong((long)(value
));
1854 #include <wx/vlbox.h>
1856 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1858 class wxPyVListBox
: public wxVListBox
1860 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1862 wxPyVListBox() : wxVListBox() {}
1864 wxPyVListBox(wxWindow
*parent
,
1865 wxWindowID id
= wxID_ANY
,
1866 const wxPoint
& pos
= wxDefaultPosition
,
1867 const wxSize
& size
= wxDefaultSize
,
1869 const wxString
& name
= wxPyVListBoxNameStr
)
1870 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1873 // Overridable virtuals
1875 // the derived class must implement this function to actually draw the item
1876 // with the given index on the provided DC
1877 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1878 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1881 // the derived class must implement this method to return the height of the
1883 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1887 // this method may be used to draw separators between the lines; note that
1888 // the rectangle may be modified, typically to deflate it a bit before
1889 // passing to OnDrawItem()
1891 // the base class version doesn't do anything
1892 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1893 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1896 // this method is used to draw the items background and, maybe, a border
1899 // the base class version implements a reasonable default behaviour which
1900 // consists in drawing the selected item with the standard background
1901 // colour and drawing a border around the item if it is either selected or
1903 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1904 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1910 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1912 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1913 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1914 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1915 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1918 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1919 unsigned long cookie
= 0;
1920 int selected
= self
->GetFirstSelected(cookie
);
1921 bool blocked
= wxPyBeginBlockThreads();
1922 PyObject
* tup
= PyTuple_New(2);
1923 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1924 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1925 wxPyEndBlockThreads(blocked
);
1928 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1929 int selected
= self
->GetNextSelected(cookie
);
1930 bool blocked
= wxPyBeginBlockThreads();
1931 PyObject
* tup
= PyTuple_New(2);
1932 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1933 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1934 wxPyEndBlockThreads(blocked
);
1938 #include <wx/htmllbox.h>
1941 class wxPyHtmlListBox
: public wxHtmlListBox
1943 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1945 wxPyHtmlListBox() : wxHtmlListBox() {}
1947 wxPyHtmlListBox(wxWindow
*parent
,
1948 wxWindowID id
= wxID_ANY
,
1949 const wxPoint
& pos
= wxDefaultPosition
,
1950 const wxSize
& size
= wxDefaultSize
,
1952 const wxString
& name
= wxPyVListBoxNameStr
)
1953 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1956 // Overridable virtuals
1958 // this method must be implemented in the derived class and should return
1959 // the body (i.e. without <html>) of the HTML for the given item
1960 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1962 // this function may be overridden to decorate HTML returned by OnGetItem()
1963 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1966 // // this method allows to customize the selection appearance: it may be used
1967 // // to specify the colour of the text which normally has the given colour
1968 // // colFg when it is inside the selection
1970 // // by default, the original colour is not used at all and all text has the
1971 // // same (default for this system) colour inside selection
1972 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1974 // // this is the same as GetSelectedTextColour() but allows to customize the
1975 // // background colour -- this is even more rarely used as you can change it
1976 // // globally using SetSelectionBackground()
1977 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1986 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1987 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
1993 #ifndef wxHAS_TASK_BAR_ICON
1994 // implement dummy classes for platforms that don't have it
1996 class wxTaskBarIcon
: public wxEvtHandler
1999 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2003 class wxTaskBarIconEvent
: public wxEvent
2006 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2007 { wxPyRaiseNotImplemented(); }
2008 virtual wxEvent
* Clone() const { return NULL
; }
2009 bool IsOk() const { return false; }
2010 bool IsIconInstalled() const { return false; }
2011 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2012 bool RemoveIcon() { return false; }
2013 bool PopupMenu(wxMenu
*menu
) { return false; }
2017 wxEVT_TASKBAR_MOVE
= 0,
2018 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2019 wxEVT_TASKBAR_LEFT_UP
= 0,
2020 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2021 wxEVT_TASKBAR_RIGHT_UP
= 0,
2022 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2023 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2028 // Otherwise make a class that can virtualize CreatePopupMenu
2029 class wxPyTaskBarIcon
: public wxTaskBarIcon
2031 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2033 wxPyTaskBarIcon() : wxTaskBarIcon()
2036 wxMenu
* CreatePopupMenu() {
2037 wxMenu
*rval
= NULL
;
2039 bool blocked
= wxPyBeginBlockThreads();
2040 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2043 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2045 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2050 wxPyEndBlockThreads(blocked
);
2052 rval
= wxTaskBarIcon::CreatePopupMenu();
2059 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2063 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2067 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2068 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2069 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2070 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2071 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2072 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2073 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2075 self
->GetFilenames(arr
);
2076 return wxArrayString2PyList_helper(arr
);
2078 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2080 self
->GetPaths(arr
);
2081 return wxArrayString2PyList_helper(arr
);
2083 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2084 return wxArrayInt2PyList_helper(self
->GetSelections());
2086 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
){
2087 return new wxSingleChoiceDialog(parent
, message
, caption
,
2088 choices
, choices_array
, NULL
, style
, pos
);
2090 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2094 // C++ version of Python aware wxWindow
2095 class wxPyWindow
: public wxWindow
2097 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2099 wxPyWindow() : wxWindow() {}
2100 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2101 const wxPoint
& pos
= wxDefaultPosition
,
2102 const wxSize
& size
= wxDefaultSize
,
2104 const wxString
& name
= wxPyPanelNameStr
)
2105 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2107 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2110 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2121 DEC_PYCALLBACK__(InitDialog
);
2122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2124 DEC_PYCALLBACK_BOOL_(Validate
);
2126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2128 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2137 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2154 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2156 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2159 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2162 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2163 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2169 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2170 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2172 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2174 // C++ version of Python aware wxPanel
2175 class wxPyPanel
: public wxPanel
2177 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2179 wxPyPanel() : wxPanel() {}
2180 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2181 const wxPoint
& pos
= wxDefaultPosition
,
2182 const wxSize
& size
= wxDefaultSize
,
2184 const wxString
& name
= wxPyPanelNameStr
)
2185 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2187 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2190 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2191 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2192 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2193 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2196 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2199 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2200 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2202 DEC_PYCALLBACK__(InitDialog
);
2203 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2204 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2205 DEC_PYCALLBACK_BOOL_(Validate
);
2207 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2208 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2209 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2211 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2212 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2214 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2215 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2216 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2218 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2223 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2225 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2226 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2227 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2228 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2234 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2235 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2237 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2238 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2239 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2240 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2242 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2243 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2244 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2246 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2250 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2251 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2253 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2255 // C++ version of Python aware wxScrolledWindow
2256 class wxPyScrolledWindow
: public wxScrolledWindow
2258 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2260 wxPyScrolledWindow() : wxScrolledWindow() {}
2261 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2262 const wxPoint
& pos
= wxDefaultPosition
,
2263 const wxSize
& size
= wxDefaultSize
,
2265 const wxString
& name
= wxPyPanelNameStr
)
2266 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2268 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2270 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2271 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2272 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2273 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2275 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2276 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2277 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2279 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2280 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2282 DEC_PYCALLBACK__(InitDialog
);
2283 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2284 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2285 DEC_PYCALLBACK_BOOL_(Validate
);
2287 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2288 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2289 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2291 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2292 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2294 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2295 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2296 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2298 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2303 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2305 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2306 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2307 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2308 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2311 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2312 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2314 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2315 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2317 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2318 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2319 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2320 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2322 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2323 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2324 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2326 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2327 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2330 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2331 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2333 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2336 #include "wx/wxPython/printfw.h"
2339 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2340 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2343 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2345 // Since this one would be tough and ugly to do with the Macros...
2346 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2347 bool hadErr
= false;
2350 bool blocked
= wxPyBeginBlockThreads();
2351 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2352 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2353 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2356 val
= PyTuple_GetItem(result
, 0);
2357 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2360 val
= PyTuple_GetItem(result
, 1);
2361 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2364 val
= PyTuple_GetItem(result
, 2);
2365 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2368 val
= PyTuple_GetItem(result
, 3);
2369 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2376 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2381 wxPyEndBlockThreads(blocked
);
2383 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2386 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2387 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2391 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2392 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2393 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2394 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2395 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2396 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2397 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2403 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2404 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2405 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2408 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2409 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2412 bool blocked = wxPyBeginBlockThreads(); \
2413 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2414 PyObject* win = wxPyMake_wxObject(a,false); \
2415 PyObject* dc = wxPyMake_wxObject(&b,false); \
2416 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2420 wxPyEndBlockThreads(blocked); \
2422 rval = PCLASS::CBNAME(a, b); \
2425 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2426 return PCLASS::CBNAME(a, b); \
2432 class wxPyPrintPreview
: public wxPrintPreview
2434 DECLARE_CLASS(wxPyPrintPreview
)
2436 wxPyPrintPreview(wxPyPrintout
* printout
,
2437 wxPyPrintout
* printoutForPrinting
,
2438 wxPrintDialogData
* data
=NULL
)
2439 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2441 wxPyPrintPreview(wxPyPrintout
* printout
,
2442 wxPyPrintout
* printoutForPrinting
,
2443 wxPrintData
* data
=NULL
)
2444 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2447 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2448 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2449 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2450 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2451 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2452 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2453 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2458 // Stupid renamed classes... Fix this in 2.5...
2459 #if defined(__WXMSW__)
2460 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2461 #elif defined(__WXMAC__)
2462 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2464 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2467 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2468 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2469 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2470 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2471 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2472 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2473 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2476 class wxPyPreviewFrame
: public wxPreviewFrame
2478 DECLARE_CLASS(wxPyPreviewFrame
);
2480 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2481 const wxString
& title
,
2482 const wxPoint
& pos
= wxDefaultPosition
,
2483 const wxSize
& size
= wxDefaultSize
,
2484 long style
= wxDEFAULT_FRAME_STYLE
,
2485 const wxString
& name
= wxPyFrameNameStr
)
2486 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2489 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2490 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2492 DEC_PYCALLBACK_VOID_(Initialize
);
2493 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2494 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2499 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2501 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2502 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2503 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2506 class wxPyPreviewControlBar
: public wxPreviewControlBar
2508 DECLARE_CLASS(wxPyPreviewControlBar
);
2510 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2513 const wxPoint
& pos
= wxDefaultPosition
,
2514 const wxSize
& size
= wxDefaultSize
,
2516 const wxString
& name
= wxPyPanelNameStr
)
2517 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2520 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2522 DEC_PYCALLBACK_VOID_(CreateButtons
);
2523 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2528 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2529 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2530 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2535 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 wxWindow
*arg1
= (wxWindow
*) 0 ;
2538 int arg2
= (int) (int)-1 ;
2539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2541 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2542 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2543 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2544 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2545 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2549 bool temp6
= false ;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2552 PyObject
* obj2
= 0 ;
2553 PyObject
* obj3
= 0 ;
2554 PyObject
* obj4
= 0 ;
2555 PyObject
* obj5
= 0 ;
2557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2562 if (SWIG_arg_fail(1)) SWIG_fail
;
2565 arg2
= (int const)(SWIG_As_int(obj1
));
2566 if (SWIG_arg_fail(2)) SWIG_fail
;
2572 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2578 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2583 arg5
= (long)(SWIG_As_long(obj4
));
2584 if (SWIG_arg_fail(5)) SWIG_fail
;
2589 arg6
= wxString_in_helper(obj5
);
2590 if (arg6
== NULL
) SWIG_fail
;
2595 if (!wxPyCheckForApp()) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2617 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2626 if (!wxPyCheckForApp()) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (wxPanel
*)new wxPanel();
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2640 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxPanel
*arg1
= (wxPanel
*) 0 ;
2643 wxWindow
*arg2
= (wxWindow
*) 0 ;
2644 int arg3
= (int) (int)-1 ;
2645 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2646 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2647 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2648 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2649 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2650 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2651 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2655 bool temp7
= false ;
2656 PyObject
* obj0
= 0 ;
2657 PyObject
* obj1
= 0 ;
2658 PyObject
* obj2
= 0 ;
2659 PyObject
* obj3
= 0 ;
2660 PyObject
* obj4
= 0 ;
2661 PyObject
* obj5
= 0 ;
2662 PyObject
* obj6
= 0 ;
2664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2669 if (SWIG_arg_fail(1)) SWIG_fail
;
2670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2671 if (SWIG_arg_fail(2)) SWIG_fail
;
2674 arg3
= (int const)(SWIG_As_int(obj2
));
2675 if (SWIG_arg_fail(3)) SWIG_fail
;
2681 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2687 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2692 arg6
= (long)(SWIG_As_long(obj5
));
2693 if (SWIG_arg_fail(6)) SWIG_fail
;
2698 arg7
= wxString_in_helper(obj6
);
2699 if (arg7
== NULL
) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2727 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxPanel
*arg1
= (wxPanel
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2732 (char *) "self", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2737 if (SWIG_arg_fail(1)) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 (arg1
)->InitDialog();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 Py_INCREF(Py_None
); resultobj
= Py_None
;
2752 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxPanel
*arg1
= (wxPanel
*) 0 ;
2755 PyObject
* obj0
= 0 ;
2757 (char *) "self", NULL
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2762 if (SWIG_arg_fail(1)) SWIG_fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2770 Py_INCREF(Py_None
); resultobj
= Py_None
;
2777 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
*resultobj
;
2779 wxPanel
*arg1
= (wxPanel
*) 0 ;
2780 PyObject
* obj0
= 0 ;
2782 (char *) "self", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2787 if (SWIG_arg_fail(1)) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 (arg1
)->SetFocusIgnoringChildren();
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2795 Py_INCREF(Py_None
); resultobj
= Py_None
;
2802 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2805 wxVisualAttributes result
;
2806 PyObject
* obj0
= 0 ;
2808 (char *) "variant", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2814 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2815 if (SWIG_arg_fail(1)) SWIG_fail
;
2819 if (!wxPyCheckForApp()) SWIG_fail
;
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 wxVisualAttributes
* resultptr
;
2828 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2837 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2840 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2842 return Py_BuildValue((char *)"");
2844 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2846 wxWindow
*arg1
= (wxWindow
*) 0 ;
2847 int arg2
= (int) (int)-1 ;
2848 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2849 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2850 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2851 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2852 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2853 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2854 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2855 wxScrolledWindow
*result
;
2858 bool temp6
= false ;
2859 PyObject
* obj0
= 0 ;
2860 PyObject
* obj1
= 0 ;
2861 PyObject
* obj2
= 0 ;
2862 PyObject
* obj3
= 0 ;
2863 PyObject
* obj4
= 0 ;
2864 PyObject
* obj5
= 0 ;
2866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2871 if (SWIG_arg_fail(1)) SWIG_fail
;
2874 arg2
= (int const)(SWIG_As_int(obj1
));
2875 if (SWIG_arg_fail(2)) SWIG_fail
;
2881 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2887 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2892 arg5
= (long)(SWIG_As_long(obj4
));
2893 if (SWIG_arg_fail(5)) SWIG_fail
;
2898 arg6
= wxString_in_helper(obj5
);
2899 if (arg6
== NULL
) SWIG_fail
;
2904 if (!wxPyCheckForApp()) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2926 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2928 wxScrolledWindow
*result
;
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2935 if (!wxPyCheckForApp()) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2949 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2952 wxWindow
*arg2
= (wxWindow
*) 0 ;
2953 int arg3
= (int) (int)-1 ;
2954 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2955 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2956 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2957 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2958 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2959 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2960 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2964 bool temp7
= false ;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2968 PyObject
* obj3
= 0 ;
2969 PyObject
* obj4
= 0 ;
2970 PyObject
* obj5
= 0 ;
2971 PyObject
* obj6
= 0 ;
2973 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2978 if (SWIG_arg_fail(1)) SWIG_fail
;
2979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2980 if (SWIG_arg_fail(2)) SWIG_fail
;
2983 arg3
= (int const)(SWIG_As_int(obj2
));
2984 if (SWIG_arg_fail(3)) SWIG_fail
;
2990 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2996 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3001 arg6
= (long)(SWIG_As_long(obj5
));
3002 if (SWIG_arg_fail(6)) SWIG_fail
;
3007 arg7
= wxString_in_helper(obj6
);
3008 if (arg7
== NULL
) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3036 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3043 int arg6
= (int) 0 ;
3044 int arg7
= (int) 0 ;
3045 bool arg8
= (bool) false ;
3046 PyObject
* obj0
= 0 ;
3047 PyObject
* obj1
= 0 ;
3048 PyObject
* obj2
= 0 ;
3049 PyObject
* obj3
= 0 ;
3050 PyObject
* obj4
= 0 ;
3051 PyObject
* obj5
= 0 ;
3052 PyObject
* obj6
= 0 ;
3053 PyObject
* obj7
= 0 ;
3055 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3060 if (SWIG_arg_fail(1)) SWIG_fail
;
3062 arg2
= (int)(SWIG_As_int(obj1
));
3063 if (SWIG_arg_fail(2)) SWIG_fail
;
3066 arg3
= (int)(SWIG_As_int(obj2
));
3067 if (SWIG_arg_fail(3)) SWIG_fail
;
3070 arg4
= (int)(SWIG_As_int(obj3
));
3071 if (SWIG_arg_fail(4)) SWIG_fail
;
3074 arg5
= (int)(SWIG_As_int(obj4
));
3075 if (SWIG_arg_fail(5)) SWIG_fail
;
3079 arg6
= (int)(SWIG_As_int(obj5
));
3080 if (SWIG_arg_fail(6)) SWIG_fail
;
3085 arg7
= (int)(SWIG_As_int(obj6
));
3086 if (SWIG_arg_fail(7)) SWIG_fail
;
3091 arg8
= (bool)(SWIG_As_bool(obj7
));
3092 if (SWIG_arg_fail(8)) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3102 Py_INCREF(Py_None
); resultobj
= Py_None
;
3109 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3114 PyObject
* obj0
= 0 ;
3115 PyObject
* obj1
= 0 ;
3116 PyObject
* obj2
= 0 ;
3118 (char *) "self",(char *) "x",(char *) "y", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3123 if (SWIG_arg_fail(1)) SWIG_fail
;
3125 arg2
= (int)(SWIG_As_int(obj1
));
3126 if (SWIG_arg_fail(2)) SWIG_fail
;
3129 arg3
= (int)(SWIG_As_int(obj2
));
3130 if (SWIG_arg_fail(3)) SWIG_fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 (arg1
)->Scroll(arg2
,arg3
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3151 PyObject
* obj0
= 0 ;
3152 PyObject
* obj1
= 0 ;
3154 (char *) "self",(char *) "orient", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3159 if (SWIG_arg_fail(1)) SWIG_fail
;
3161 arg2
= (int)(SWIG_As_int(obj1
));
3162 if (SWIG_arg_fail(2)) SWIG_fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= SWIG_From_int((int)(result
));
3180 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3186 PyObject
* obj1
= 0 ;
3187 PyObject
* obj2
= 0 ;
3189 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3194 if (SWIG_arg_fail(1)) SWIG_fail
;
3196 arg2
= (int)(SWIG_As_int(obj1
));
3197 if (SWIG_arg_fail(2)) SWIG_fail
;
3200 arg3
= (int)(SWIG_As_int(obj2
));
3201 if (SWIG_arg_fail(3)) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3210 Py_INCREF(Py_None
); resultobj
= Py_None
;
3217 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3222 PyObject
* obj0
= 0 ;
3223 PyObject
* obj1
= 0 ;
3224 PyObject
* obj2
= 0 ;
3226 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3231 if (SWIG_arg_fail(1)) SWIG_fail
;
3233 arg2
= (int)(SWIG_As_int(obj1
));
3234 if (SWIG_arg_fail(2)) SWIG_fail
;
3237 arg3
= (int)(SWIG_As_int(obj2
));
3238 if (SWIG_arg_fail(3)) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 (arg1
)->SetScrollRate(arg2
,arg3
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3254 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3257 int *arg2
= (int *) 0 ;
3258 int *arg3
= (int *) 0 ;
3263 PyObject
* obj0
= 0 ;
3265 (char *) "self", NULL
3268 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3269 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3272 if (SWIG_arg_fail(1)) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3282 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3283 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3284 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3291 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3296 PyObject
* obj0
= 0 ;
3297 PyObject
* obj1
= 0 ;
3298 PyObject
* obj2
= 0 ;
3300 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3305 if (SWIG_arg_fail(1)) SWIG_fail
;
3307 arg2
= (bool)(SWIG_As_bool(obj1
));
3308 if (SWIG_arg_fail(2)) SWIG_fail
;
3311 arg3
= (bool)(SWIG_As_bool(obj2
));
3312 if (SWIG_arg_fail(3)) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 (arg1
)->EnableScrolling(arg2
,arg3
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3331 int *arg2
= (int *) 0 ;
3332 int *arg3
= (int *) 0 ;
3337 PyObject
* obj0
= 0 ;
3339 (char *) "self", NULL
3342 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3343 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3346 if (SWIG_arg_fail(1)) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3355 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3356 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3357 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3358 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3365 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3372 PyObject
* obj2
= 0 ;
3374 (char *) "self",(char *) "xs",(char *) "ys", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail
;
3381 arg2
= (double)(SWIG_As_double(obj1
));
3382 if (SWIG_arg_fail(2)) SWIG_fail
;
3385 arg3
= (double)(SWIG_As_double(obj2
));
3386 if (SWIG_arg_fail(3)) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 (arg1
)->SetScale(arg2
,arg3
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3408 (char *) "self", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3413 if (SWIG_arg_fail(1)) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= SWIG_From_double((double)(result
));
3430 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3436 (char *) "self", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3441 if (SWIG_arg_fail(1)) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= SWIG_From_double((double)(result
));
3458 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3459 PyObject
*resultobj
;
3460 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3467 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3469 if (SWIG_arg_fail(1)) SWIG_fail
;
3472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 wxPoint
* resultptr
;
3483 resultptr
= new wxPoint((wxPoint
&)(result
));
3484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3492 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3493 PyObject
*resultobj
;
3494 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3497 int *arg4
= (int *) 0 ;
3498 int *arg5
= (int *) 0 ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj2
= 0 ;
3507 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3508 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3509 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 arg2
= (int)(SWIG_As_int(obj1
));
3514 if (SWIG_arg_fail(2)) SWIG_fail
;
3517 arg3
= (int)(SWIG_As_int(obj2
));
3518 if (SWIG_arg_fail(3)) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3527 Py_INCREF(Py_None
); resultobj
= Py_None
;
3528 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3529 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3530 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3531 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3538 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3543 argc
= PyObject_Length(args
);
3544 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3545 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3551 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3560 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3563 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3571 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3579 _v
= SWIG_Check_int(argv
[1]);
3581 _v
= SWIG_Check_int(argv
[2]);
3583 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3589 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3594 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3595 PyObject
*resultobj
;
3596 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3603 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3605 if (SWIG_arg_fail(1)) SWIG_fail
;
3608 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3618 wxPoint
* resultptr
;
3619 resultptr
= new wxPoint((wxPoint
&)(result
));
3620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3628 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3629 PyObject
*resultobj
;
3630 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3633 int *arg4
= (int *) 0 ;
3634 int *arg5
= (int *) 0 ;
3639 PyObject
* obj0
= 0 ;
3640 PyObject
* obj1
= 0 ;
3641 PyObject
* obj2
= 0 ;
3643 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3644 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3645 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3647 if (SWIG_arg_fail(1)) SWIG_fail
;
3649 arg2
= (int)(SWIG_As_int(obj1
));
3650 if (SWIG_arg_fail(2)) SWIG_fail
;
3653 arg3
= (int)(SWIG_As_int(obj2
));
3654 if (SWIG_arg_fail(3)) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 Py_INCREF(Py_None
); resultobj
= Py_None
;
3664 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3665 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3666 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3667 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3674 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3679 argc
= PyObject_Length(args
);
3680 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3681 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3687 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3696 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3699 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3707 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3715 _v
= SWIG_Check_int(argv
[1]);
3717 _v
= SWIG_Check_int(argv
[2]);
3719 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3725 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3730 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3733 PyObject
* obj0
= 0 ;
3735 (char *) "self", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 (arg1
)->AdjustScrollbars();
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3758 wxScrollWinEvent
*arg2
= 0 ;
3760 PyObject
* obj0
= 0 ;
3761 PyObject
* obj1
= 0 ;
3763 (char *) "self",(char *) "event", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3768 if (SWIG_arg_fail(1)) SWIG_fail
;
3770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3771 if (SWIG_arg_fail(2)) SWIG_fail
;
3773 SWIG_null_ref("wxScrollWinEvent");
3775 if (SWIG_arg_fail(2)) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_From_int((int)(result
));
3793 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3796 wxWindow
*arg2
= (wxWindow
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3800 (char *) "self",(char *) "target", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3805 if (SWIG_arg_fail(1)) SWIG_fail
;
3806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3807 if (SWIG_arg_fail(2)) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 (arg1
)->SetTargetWindow(arg2
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 Py_INCREF(Py_None
); resultobj
= Py_None
;
3822 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3826 PyObject
* obj0
= 0 ;
3828 (char *) "self", NULL
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3833 if (SWIG_arg_fail(1)) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= wxPyMake_wxObject(result
, 0);
3850 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3856 PyObject
* obj1
= 0 ;
3858 (char *) "self",(char *) "rect", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3863 if (SWIG_arg_fail(1)) SWIG_fail
;
3866 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 Py_INCREF(Py_None
); resultobj
= Py_None
;
3882 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3886 PyObject
* obj0
= 0 ;
3888 (char *) "self", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3903 resultptr
= new wxRect((wxRect
&)(result
));
3904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3912 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3919 (char *) "self",(char *) "dc", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3924 if (SWIG_arg_fail(1)) SWIG_fail
;
3926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3927 if (SWIG_arg_fail(2)) SWIG_fail
;
3929 SWIG_null_ref("wxDC");
3931 if (SWIG_arg_fail(2)) SWIG_fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 (arg1
)->DoPrepareDC(*arg2
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 Py_INCREF(Py_None
); resultobj
= Py_None
;
3947 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3950 wxVisualAttributes result
;
3951 PyObject
* obj0
= 0 ;
3953 (char *) "variant", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3959 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3960 if (SWIG_arg_fail(1)) SWIG_fail
;
3964 if (!wxPyCheckForApp()) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3972 wxVisualAttributes
* resultptr
;
3973 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3982 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3985 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
3987 return Py_BuildValue((char *)"");
3989 static int _wrap_FrameNameStr_set(PyObject
*) {
3990 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
3995 static PyObject
*_wrap_FrameNameStr_get(void) {
4000 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4002 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4009 static int _wrap_DialogNameStr_set(PyObject
*) {
4010 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4015 static PyObject
*_wrap_DialogNameStr_get(void) {
4020 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4022 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4029 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4030 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4035 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4040 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4042 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4049 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4050 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4055 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4060 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4062 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4069 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4071 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4072 bool arg2
= (bool) true ;
4073 PyObject
* obj0
= 0 ;
4074 PyObject
* obj1
= 0 ;
4076 (char *) "self",(char *) "maximize", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4081 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 arg2
= (bool)(SWIG_As_bool(obj1
));
4085 if (SWIG_arg_fail(2)) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 (arg1
)->Maximize(arg2
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 Py_INCREF(Py_None
); resultobj
= Py_None
;
4102 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4107 (char *) "self", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4112 if (SWIG_arg_fail(1)) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 Py_INCREF(Py_None
); resultobj
= Py_None
;
4127 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4130 bool arg2
= (bool) true ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "iconize", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail
;
4142 arg2
= (bool)(SWIG_As_bool(obj1
));
4143 if (SWIG_arg_fail(2)) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 (arg1
)->Iconize(arg2
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4160 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4166 (char *) "self", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4171 if (SWIG_arg_fail(1)) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4188 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4192 PyObject
* obj0
= 0 ;
4194 (char *) "self", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4199 if (SWIG_arg_fail(1)) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4216 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4222 (char *) "self", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4227 if (SWIG_arg_fail(1)) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4237 resultptr
= new wxIcon((wxIcon
&)(result
));
4238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4246 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4251 PyObject
* obj1
= 0 ;
4253 (char *) "self",(char *) "icon", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4258 if (SWIG_arg_fail(1)) SWIG_fail
;
4260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4261 if (SWIG_arg_fail(2)) SWIG_fail
;
4263 SWIG_null_ref("wxIcon");
4265 if (SWIG_arg_fail(2)) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 Py_INCREF(Py_None
); resultobj
= Py_None
;
4281 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4284 wxIconBundle
*arg2
= 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4288 (char *) "self",(char *) "icons", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4293 if (SWIG_arg_fail(1)) SWIG_fail
;
4295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4296 if (SWIG_arg_fail(2)) SWIG_fail
;
4298 SWIG_null_ref("wxIconBundle");
4300 if (SWIG_arg_fail(2)) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 Py_INCREF(Py_None
); resultobj
= Py_None
;
4316 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4320 long arg3
= (long) wxFULLSCREEN_ALL
;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4324 PyObject
* obj2
= 0 ;
4326 (char *) "self",(char *) "show",(char *) "style", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail
;
4333 arg2
= (bool)(SWIG_As_bool(obj1
));
4334 if (SWIG_arg_fail(2)) SWIG_fail
;
4338 arg3
= (long)(SWIG_As_long(obj2
));
4339 if (SWIG_arg_fail(3)) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4358 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4364 (char *) "self", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4369 if (SWIG_arg_fail(1)) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4386 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4389 wxString
*arg2
= 0 ;
4390 bool temp2
= false ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4394 (char *) "self",(char *) "title", NULL
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4399 if (SWIG_arg_fail(1)) SWIG_fail
;
4401 arg2
= wxString_in_helper(obj1
);
4402 if (arg2
== NULL
) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 (arg1
)->SetTitle((wxString
const &)*arg2
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 Py_INCREF(Py_None
); resultobj
= Py_None
;
4427 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4431 PyObject
* obj0
= 0 ;
4433 (char *) "self", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4438 if (SWIG_arg_fail(1)) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4459 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4462 wxRegion
*arg2
= 0 ;
4464 PyObject
* obj0
= 0 ;
4465 PyObject
* obj1
= 0 ;
4467 (char *) "self",(char *) "region", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4472 if (SWIG_arg_fail(1)) SWIG_fail
;
4474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4475 if (SWIG_arg_fail(2)) SWIG_fail
;
4477 SWIG_null_ref("wxRegion");
4479 if (SWIG_arg_fail(2)) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4497 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4500 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4504 (char *) "self",(char *) "flags", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4509 if (SWIG_arg_fail(1)) SWIG_fail
;
4512 arg2
= (int)(SWIG_As_int(obj1
));
4513 if (SWIG_arg_fail(2)) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 (arg1
)->RequestUserAttention(arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4541 if (SWIG_arg_fail(1)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)(arg1
)->IsActive();
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4565 (char *) "self",(char *) "on", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4570 if (SWIG_arg_fail(1)) SWIG_fail
;
4572 arg2
= (bool)(SWIG_As_bool(obj1
));
4573 if (SWIG_arg_fail(2)) SWIG_fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 (arg1
)->MacSetMetalAppearance(arg2
);
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 Py_INCREF(Py_None
); resultobj
= Py_None
;
4589 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4595 (char *) "self", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4600 if (SWIG_arg_fail(1)) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4617 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4620 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4622 return Py_BuildValue((char *)"");
4624 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxWindow
*arg1
= (wxWindow
*) 0 ;
4627 int arg2
= (int) (int)-1 ;
4628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4634 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4635 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4638 bool temp3
= false ;
4641 bool temp7
= false ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4644 PyObject
* obj2
= 0 ;
4645 PyObject
* obj3
= 0 ;
4646 PyObject
* obj4
= 0 ;
4647 PyObject
* obj5
= 0 ;
4648 PyObject
* obj6
= 0 ;
4650 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4655 if (SWIG_arg_fail(1)) SWIG_fail
;
4658 arg2
= (int const)(SWIG_As_int(obj1
));
4659 if (SWIG_arg_fail(2)) SWIG_fail
;
4664 arg3
= wxString_in_helper(obj2
);
4665 if (arg3
== NULL
) SWIG_fail
;
4672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4683 arg6
= (long)(SWIG_As_long(obj5
));
4684 if (SWIG_arg_fail(6)) SWIG_fail
;
4689 arg7
= wxString_in_helper(obj6
);
4690 if (arg7
== NULL
) SWIG_fail
;
4695 if (!wxPyCheckForApp()) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4725 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4734 if (!wxPyCheckForApp()) SWIG_fail
;
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (wxFrame
*)new wxFrame();
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4748 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxFrame
*arg1
= (wxFrame
*) 0 ;
4751 wxWindow
*arg2
= (wxWindow
*) 0 ;
4752 int arg3
= (int) (int)-1 ;
4753 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4754 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4755 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4756 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4757 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4758 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4759 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4760 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4761 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4763 bool temp4
= false ;
4766 bool temp8
= false ;
4767 PyObject
* obj0
= 0 ;
4768 PyObject
* obj1
= 0 ;
4769 PyObject
* obj2
= 0 ;
4770 PyObject
* obj3
= 0 ;
4771 PyObject
* obj4
= 0 ;
4772 PyObject
* obj5
= 0 ;
4773 PyObject
* obj6
= 0 ;
4774 PyObject
* obj7
= 0 ;
4776 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4781 if (SWIG_arg_fail(1)) SWIG_fail
;
4782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4783 if (SWIG_arg_fail(2)) SWIG_fail
;
4786 arg3
= (int const)(SWIG_As_int(obj2
));
4787 if (SWIG_arg_fail(3)) SWIG_fail
;
4792 arg4
= wxString_in_helper(obj3
);
4793 if (arg4
== NULL
) SWIG_fail
;
4800 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4806 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4811 arg7
= (long)(SWIG_As_long(obj6
));
4812 if (SWIG_arg_fail(7)) SWIG_fail
;
4817 arg8
= wxString_in_helper(obj7
);
4818 if (arg8
== NULL
) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxFrame
*arg1
= (wxFrame
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "self", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4865 if (SWIG_arg_fail(1)) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4874 wxPoint
* resultptr
;
4875 resultptr
= new wxPoint((wxPoint
&)(result
));
4876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4884 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxFrame
*arg1
= (wxFrame
*) 0 ;
4887 PyObject
* obj0
= 0 ;
4889 (char *) "self", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4894 if (SWIG_arg_fail(1)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 (arg1
)->SendSizeEvent();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 Py_INCREF(Py_None
); resultobj
= Py_None
;
4909 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxFrame
*arg1
= (wxFrame
*) 0 ;
4912 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4913 PyObject
* obj0
= 0 ;
4914 PyObject
* obj1
= 0 ;
4916 (char *) "self",(char *) "menubar", NULL
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail
;
4922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4923 if (SWIG_arg_fail(2)) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 (arg1
)->SetMenuBar(arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 Py_INCREF(Py_None
); resultobj
= Py_None
;
4938 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxFrame
*arg1
= (wxFrame
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4949 if (SWIG_arg_fail(1)) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= wxPyMake_wxObject(result
, 0);
4966 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxFrame
*arg1
= (wxFrame
*) 0 ;
4971 PyObject
* obj0
= 0 ;
4972 PyObject
* obj1
= 0 ;
4974 (char *) "self",(char *) "winid", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4979 if (SWIG_arg_fail(1)) SWIG_fail
;
4981 arg2
= (int)(SWIG_As_int(obj1
));
4982 if (SWIG_arg_fail(2)) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)(arg1
)->ProcessCommand(arg2
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5000 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxFrame
*arg1
= (wxFrame
*) 0 ;
5003 int arg2
= (int) 1 ;
5004 long arg3
= (long) wxST_SIZEGRIP
;
5005 int arg4
= (int) 0 ;
5006 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5007 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5008 wxStatusBar
*result
;
5009 bool temp5
= false ;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 PyObject
* obj2
= 0 ;
5013 PyObject
* obj3
= 0 ;
5014 PyObject
* obj4
= 0 ;
5016 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail
;
5024 arg2
= (int)(SWIG_As_int(obj1
));
5025 if (SWIG_arg_fail(2)) SWIG_fail
;
5030 arg3
= (long)(SWIG_As_long(obj2
));
5031 if (SWIG_arg_fail(3)) SWIG_fail
;
5036 arg4
= (int)(SWIG_As_int(obj3
));
5037 if (SWIG_arg_fail(4)) SWIG_fail
;
5042 arg5
= wxString_in_helper(obj4
);
5043 if (arg5
== NULL
) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= wxPyMake_wxObject(result
, 0);
5071 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxFrame
*arg1
= (wxFrame
*) 0 ;
5074 wxStatusBar
*result
;
5075 PyObject
* obj0
= 0 ;
5077 (char *) "self", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= wxPyMake_wxObject(result
, 0);
5099 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxFrame
*arg1
= (wxFrame
*) 0 ;
5102 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5106 (char *) "self",(char *) "statBar", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5111 if (SWIG_arg_fail(1)) SWIG_fail
;
5112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5113 if (SWIG_arg_fail(2)) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 (arg1
)->SetStatusBar(arg2
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 Py_INCREF(Py_None
); resultobj
= Py_None
;
5128 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxFrame
*arg1
= (wxFrame
*) 0 ;
5131 wxString
*arg2
= 0 ;
5132 int arg3
= (int) 0 ;
5133 bool temp2
= false ;
5134 PyObject
* obj0
= 0 ;
5135 PyObject
* obj1
= 0 ;
5136 PyObject
* obj2
= 0 ;
5138 (char *) "self",(char *) "text",(char *) "number", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail
;
5145 arg2
= wxString_in_helper(obj1
);
5146 if (arg2
== NULL
) SWIG_fail
;
5151 arg3
= (int)(SWIG_As_int(obj2
));
5152 if (SWIG_arg_fail(3)) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 Py_INCREF(Py_None
); resultobj
= Py_None
;
5177 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxFrame
*arg1
= (wxFrame
*) 0 ;
5181 int *arg3
= (int *) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "widths", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail
;
5192 arg2
= PyList_Size(obj1
);
5193 arg3
= int_LIST_helper(obj1
);
5194 if (arg3
== NULL
) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 Py_INCREF(Py_None
); resultobj
= Py_None
;
5205 if (arg3
) delete [] arg3
;
5210 if (arg3
) delete [] arg3
;
5216 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxFrame
*arg1
= (wxFrame
*) 0 ;
5219 wxString
*arg2
= 0 ;
5220 int arg3
= (int) 0 ;
5221 bool temp2
= false ;
5222 PyObject
* obj0
= 0 ;
5223 PyObject
* obj1
= 0 ;
5224 PyObject
* obj2
= 0 ;
5226 (char *) "self",(char *) "text",(char *) "number", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail
;
5233 arg2
= wxString_in_helper(obj1
);
5234 if (arg2
== NULL
) SWIG_fail
;
5239 arg3
= (int)(SWIG_As_int(obj2
));
5240 if (SWIG_arg_fail(3)) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5265 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxFrame
*arg1
= (wxFrame
*) 0 ;
5268 int arg2
= (int) 0 ;
5269 PyObject
* obj0
= 0 ;
5270 PyObject
* obj1
= 0 ;
5272 (char *) "self",(char *) "number", NULL
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5277 if (SWIG_arg_fail(1)) SWIG_fail
;
5280 arg2
= (int)(SWIG_As_int(obj1
));
5281 if (SWIG_arg_fail(2)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->PopStatusText(arg2
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxFrame
*arg1
= (wxFrame
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5305 (char *) "self",(char *) "n", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5310 if (SWIG_arg_fail(1)) SWIG_fail
;
5312 arg2
= (int)(SWIG_As_int(obj1
));
5313 if (SWIG_arg_fail(2)) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 (arg1
)->SetStatusBarPane(arg2
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 Py_INCREF(Py_None
); resultobj
= Py_None
;
5329 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxFrame
*arg1
= (wxFrame
*) 0 ;
5333 PyObject
* obj0
= 0 ;
5335 (char *) "self", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= SWIG_From_int((int)(result
));
5357 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxFrame
*arg1
= (wxFrame
*) 0 ;
5360 long arg2
= (long) -1 ;
5361 int arg3
= (int) -1 ;
5362 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5363 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5365 bool temp4
= false ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5368 PyObject
* obj2
= 0 ;
5369 PyObject
* obj3
= 0 ;
5371 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail
;
5379 arg2
= (long)(SWIG_As_long(obj1
));
5380 if (SWIG_arg_fail(2)) SWIG_fail
;
5385 arg3
= (int)(SWIG_As_int(obj2
));
5386 if (SWIG_arg_fail(3)) SWIG_fail
;
5391 arg4
= wxString_in_helper(obj3
);
5392 if (arg4
== NULL
) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= wxPyMake_wxObject(result
, 0);
5420 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxFrame
*arg1
= (wxFrame
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5426 (char *) "self", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5431 if (SWIG_arg_fail(1)) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= wxPyMake_wxObject(result
, 0);
5448 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxFrame
*arg1
= (wxFrame
*) 0 ;
5451 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5455 (char *) "self",(char *) "toolbar", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5460 if (SWIG_arg_fail(1)) SWIG_fail
;
5461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5462 if (SWIG_arg_fail(2)) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetToolBar(arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 Py_INCREF(Py_None
); resultobj
= Py_None
;
5477 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxFrame
*arg1
= (wxFrame
*) 0 ;
5480 wxString
*arg2
= 0 ;
5482 bool temp2
= false ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 PyObject
* obj2
= 0 ;
5487 (char *) "self",(char *) "text",(char *) "show", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail
;
5494 arg2
= wxString_in_helper(obj1
);
5495 if (arg2
== NULL
) SWIG_fail
;
5499 arg3
= (bool)(SWIG_As_bool(obj2
));
5500 if (SWIG_arg_fail(3)) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 Py_INCREF(Py_None
); resultobj
= Py_None
;
5524 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxFrame
*arg1
= (wxFrame
*) 0 ;
5527 wxMenu
*arg2
= (wxMenu
*) NULL
;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5531 (char *) "self",(char *) "menu", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5536 if (SWIG_arg_fail(1)) SWIG_fail
;
5538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5539 if (SWIG_arg_fail(2)) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 (arg1
)->DoMenuUpdates(arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 Py_INCREF(Py_None
); resultobj
= Py_None
;
5555 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5558 wxVisualAttributes result
;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "variant", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5567 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5568 if (SWIG_arg_fail(1)) SWIG_fail
;
5572 if (!wxPyCheckForApp()) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 wxVisualAttributes
* resultptr
;
5581 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5590 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5593 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5595 return Py_BuildValue((char *)"");
5597 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxWindow
*arg1
= (wxWindow
*) 0 ;
5600 int arg2
= (int) (int)-1 ;
5601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5603 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5604 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5605 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5606 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5607 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5608 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5609 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5611 bool temp3
= false ;
5614 bool temp7
= false ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 PyObject
* obj3
= 0 ;
5619 PyObject
* obj4
= 0 ;
5620 PyObject
* obj5
= 0 ;
5621 PyObject
* obj6
= 0 ;
5623 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5628 if (SWIG_arg_fail(1)) SWIG_fail
;
5631 arg2
= (int const)(SWIG_As_int(obj1
));
5632 if (SWIG_arg_fail(2)) SWIG_fail
;
5637 arg3
= wxString_in_helper(obj2
);
5638 if (arg3
== NULL
) SWIG_fail
;
5645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5656 arg6
= (long)(SWIG_As_long(obj5
));
5657 if (SWIG_arg_fail(6)) SWIG_fail
;
5662 arg7
= wxString_in_helper(obj6
);
5663 if (arg7
== NULL
) SWIG_fail
;
5668 if (!wxPyCheckForApp()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5698 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5707 if (!wxPyCheckForApp()) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (wxDialog
*)new wxDialog();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5721 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxDialog
*arg1
= (wxDialog
*) 0 ;
5724 wxWindow
*arg2
= (wxWindow
*) 0 ;
5725 int arg3
= (int) (int)-1 ;
5726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5732 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5733 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5734 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5736 bool temp4
= false ;
5739 bool temp8
= false ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5744 PyObject
* obj4
= 0 ;
5745 PyObject
* obj5
= 0 ;
5746 PyObject
* obj6
= 0 ;
5747 PyObject
* obj7
= 0 ;
5749 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5756 if (SWIG_arg_fail(2)) SWIG_fail
;
5759 arg3
= (int const)(SWIG_As_int(obj2
));
5760 if (SWIG_arg_fail(3)) SWIG_fail
;
5765 arg4
= wxString_in_helper(obj3
);
5766 if (arg4
== NULL
) SWIG_fail
;
5773 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5779 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5784 arg7
= (long)(SWIG_As_long(obj6
));
5785 if (SWIG_arg_fail(7)) SWIG_fail
;
5790 arg8
= wxString_in_helper(obj7
);
5791 if (arg8
== NULL
) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5827 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxDialog
*arg1
= (wxDialog
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5834 (char *) "self",(char *) "returnCode", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5839 if (SWIG_arg_fail(1)) SWIG_fail
;
5841 arg2
= (int)(SWIG_As_int(obj1
));
5842 if (SWIG_arg_fail(2)) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->SetReturnCode(arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxDialog
*arg1
= (wxDialog
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5869 if (SWIG_arg_fail(1)) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= SWIG_From_int((int)(result
));
5886 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxDialog
*arg1
= (wxDialog
*) 0 ;
5889 wxString
*arg2
= 0 ;
5891 bool temp2
= false ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5895 (char *) "self",(char *) "message", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail
;
5902 arg2
= wxString_in_helper(obj1
);
5903 if (arg2
== NULL
) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= wxPyMake_wxSizer(result
, 0);
5930 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxDialog
*arg1
= (wxDialog
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5938 (char *) "self",(char *) "flags", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail
;
5945 arg2
= (long)(SWIG_As_long(obj1
));
5946 if (SWIG_arg_fail(2)) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= wxPyMake_wxSizer(result
, 0);
5964 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxDialog
*arg1
= (wxDialog
*) 0 ;
5968 wxStdDialogButtonSizer
*result
;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5972 (char *) "self",(char *) "flags", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5977 if (SWIG_arg_fail(1)) SWIG_fail
;
5979 arg2
= (long)(SWIG_As_long(obj1
));
5980 if (SWIG_arg_fail(2)) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
5996 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxDialog
*arg1
= (wxDialog
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6002 (char *) "self", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6007 if (SWIG_arg_fail(1)) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxDialog
*arg1
= (wxDialog
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "self", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6035 if (SWIG_arg_fail(1)) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (int)(arg1
)->ShowModal();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_From_int((int)(result
));
6052 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxDialog
*arg1
= (wxDialog
*) 0 ;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6059 (char *) "self",(char *) "retCode", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6064 if (SWIG_arg_fail(1)) SWIG_fail
;
6066 arg2
= (int)(SWIG_As_int(obj1
));
6067 if (SWIG_arg_fail(2)) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 (arg1
)->EndModal(arg2
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 Py_INCREF(Py_None
); resultobj
= Py_None
;
6083 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6086 wxVisualAttributes result
;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "variant", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6095 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6096 if (SWIG_arg_fail(1)) SWIG_fail
;
6100 if (!wxPyCheckForApp()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 wxVisualAttributes
* resultptr
;
6109 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6118 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6121 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6123 return Py_BuildValue((char *)"");
6125 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxWindow
*arg1
= (wxWindow
*) 0 ;
6128 int arg2
= (int) (int)-1 ;
6129 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6130 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6135 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6136 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6137 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6138 wxMiniFrame
*result
;
6139 bool temp3
= false ;
6142 bool temp7
= false ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 PyObject
* obj2
= 0 ;
6146 PyObject
* obj3
= 0 ;
6147 PyObject
* obj4
= 0 ;
6148 PyObject
* obj5
= 0 ;
6149 PyObject
* obj6
= 0 ;
6151 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6156 if (SWIG_arg_fail(1)) SWIG_fail
;
6159 arg2
= (int const)(SWIG_As_int(obj1
));
6160 if (SWIG_arg_fail(2)) SWIG_fail
;
6165 arg3
= wxString_in_helper(obj2
);
6166 if (arg3
== NULL
) SWIG_fail
;
6173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6184 arg6
= (long)(SWIG_As_long(obj5
));
6185 if (SWIG_arg_fail(6)) SWIG_fail
;
6190 arg7
= wxString_in_helper(obj6
);
6191 if (arg7
== NULL
) SWIG_fail
;
6196 if (!wxPyCheckForApp()) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6226 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxMiniFrame
*result
;
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6235 if (!wxPyCheckForApp()) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 result
= (wxMiniFrame
*)new wxMiniFrame();
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6249 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6252 wxWindow
*arg2
= (wxWindow
*) 0 ;
6253 int arg3
= (int) (int)-1 ;
6254 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6255 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6256 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6257 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6258 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6259 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6260 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6261 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6264 bool temp4
= false ;
6267 bool temp8
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 PyObject
* obj2
= 0 ;
6271 PyObject
* obj3
= 0 ;
6272 PyObject
* obj4
= 0 ;
6273 PyObject
* obj5
= 0 ;
6274 PyObject
* obj6
= 0 ;
6275 PyObject
* obj7
= 0 ;
6277 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6282 if (SWIG_arg_fail(1)) SWIG_fail
;
6283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6284 if (SWIG_arg_fail(2)) SWIG_fail
;
6287 arg3
= (int const)(SWIG_As_int(obj2
));
6288 if (SWIG_arg_fail(3)) SWIG_fail
;
6293 arg4
= wxString_in_helper(obj3
);
6294 if (arg4
== NULL
) SWIG_fail
;
6301 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6307 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6312 arg7
= (long)(SWIG_As_long(obj6
));
6313 if (SWIG_arg_fail(7)) SWIG_fail
;
6318 arg8
= wxString_in_helper(obj7
);
6319 if (arg8
== NULL
) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6355 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6358 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6360 return Py_BuildValue((char *)"");
6362 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxBitmap
*arg1
= 0 ;
6365 wxWindow
*arg2
= (wxWindow
*) 0 ;
6367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6371 long arg6
= (long) wxNO_BORDER
;
6372 wxSplashScreenWindow
*result
;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6377 PyObject
* obj2
= 0 ;
6378 PyObject
* obj3
= 0 ;
6379 PyObject
* obj4
= 0 ;
6380 PyObject
* obj5
= 0 ;
6382 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 SWIG_null_ref("wxBitmap");
6392 if (SWIG_arg_fail(1)) SWIG_fail
;
6394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6395 if (SWIG_arg_fail(2)) SWIG_fail
;
6397 arg3
= (int)(SWIG_As_int(obj2
));
6398 if (SWIG_arg_fail(3)) SWIG_fail
;
6403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6414 arg6
= (long)(SWIG_As_long(obj5
));
6415 if (SWIG_arg_fail(6)) SWIG_fail
;
6419 if (!wxPyCheckForApp()) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6433 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6436 wxBitmap
*arg2
= 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6440 (char *) "self",(char *) "bitmap", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6445 if (SWIG_arg_fail(1)) SWIG_fail
;
6447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6448 if (SWIG_arg_fail(2)) SWIG_fail
;
6450 SWIG_null_ref("wxBitmap");
6452 if (SWIG_arg_fail(2)) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 Py_INCREF(Py_None
); resultobj
= Py_None
;
6468 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "self", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6479 if (SWIG_arg_fail(1)) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6484 result
= (wxBitmap
*) &_result_ref
;
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6491 wxBitmap
* resultptr
= new wxBitmap(*result
);
6492 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6500 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6503 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6505 return Py_BuildValue((char *)"");
6507 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 wxBitmap
*arg1
= 0 ;
6512 wxWindow
*arg4
= (wxWindow
*) 0 ;
6513 int arg5
= (int) -1 ;
6514 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6515 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6516 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6517 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6518 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6519 wxSplashScreen
*result
;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6524 PyObject
* obj2
= 0 ;
6525 PyObject
* obj3
= 0 ;
6526 PyObject
* obj4
= 0 ;
6527 PyObject
* obj5
= 0 ;
6528 PyObject
* obj6
= 0 ;
6529 PyObject
* obj7
= 0 ;
6531 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail
;
6539 SWIG_null_ref("wxBitmap");
6541 if (SWIG_arg_fail(1)) SWIG_fail
;
6544 arg2
= (long)(SWIG_As_long(obj1
));
6545 if (SWIG_arg_fail(2)) SWIG_fail
;
6548 arg3
= (int)(SWIG_As_int(obj2
));
6549 if (SWIG_arg_fail(3)) SWIG_fail
;
6551 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6552 if (SWIG_arg_fail(4)) SWIG_fail
;
6555 arg5
= (int)(SWIG_As_int(obj4
));
6556 if (SWIG_arg_fail(5)) SWIG_fail
;
6562 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6568 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6573 arg8
= (long)(SWIG_As_long(obj7
));
6574 if (SWIG_arg_fail(8)) SWIG_fail
;
6578 if (!wxPyCheckForApp()) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6592 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= SWIG_From_long((long)(result
));
6620 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6623 wxSplashScreenWindow
*result
;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6646 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6652 (char *) "self", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_From_int((int)(result
));
6674 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6677 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6679 return Py_BuildValue((char *)"");
6681 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxWindow
*arg1
= (wxWindow
*) 0 ;
6684 int arg2
= (int) -1 ;
6685 long arg3
= (long) wxST_SIZEGRIP
;
6686 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6688 wxStatusBar
*result
;
6689 bool temp4
= false ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6692 PyObject
* obj2
= 0 ;
6693 PyObject
* obj3
= 0 ;
6695 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail
;
6703 arg2
= (int)(SWIG_As_int(obj1
));
6704 if (SWIG_arg_fail(2)) SWIG_fail
;
6709 arg3
= (long)(SWIG_As_long(obj2
));
6710 if (SWIG_arg_fail(3)) SWIG_fail
;
6715 arg4
= wxString_in_helper(obj3
);
6716 if (arg4
== NULL
) SWIG_fail
;
6721 if (!wxPyCheckForApp()) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6743 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxStatusBar
*result
;
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6752 if (!wxPyCheckForApp()) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (wxStatusBar
*)new wxStatusBar();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6766 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6769 wxWindow
*arg2
= (wxWindow
*) 0 ;
6770 int arg3
= (int) -1 ;
6771 long arg4
= (long) wxST_SIZEGRIP
;
6772 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6773 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6775 bool temp5
= false ;
6776 PyObject
* obj0
= 0 ;
6777 PyObject
* obj1
= 0 ;
6778 PyObject
* obj2
= 0 ;
6779 PyObject
* obj3
= 0 ;
6780 PyObject
* obj4
= 0 ;
6782 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6787 if (SWIG_arg_fail(1)) SWIG_fail
;
6788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6789 if (SWIG_arg_fail(2)) SWIG_fail
;
6792 arg3
= (int)(SWIG_As_int(obj2
));
6793 if (SWIG_arg_fail(3)) SWIG_fail
;
6798 arg4
= (long)(SWIG_As_long(obj3
));
6799 if (SWIG_arg_fail(4)) SWIG_fail
;
6804 arg5
= wxString_in_helper(obj4
);
6805 if (arg5
== NULL
) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6833 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6836 int arg2
= (int) 1 ;
6837 PyObject
* obj0
= 0 ;
6838 PyObject
* obj1
= 0 ;
6840 (char *) "self",(char *) "number", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail
;
6848 arg2
= (int)(SWIG_As_int(obj1
));
6849 if (SWIG_arg_fail(2)) SWIG_fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 (arg1
)->SetFieldsCount(arg2
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 Py_INCREF(Py_None
); resultobj
= Py_None
;
6866 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6870 PyObject
* obj0
= 0 ;
6872 (char *) "self", NULL
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6877 if (SWIG_arg_fail(1)) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_From_int((int)(result
));
6894 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6897 wxString
*arg2
= 0 ;
6898 int arg3
= (int) 0 ;
6899 bool temp2
= false ;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6902 PyObject
* obj2
= 0 ;
6904 (char *) "self",(char *) "text",(char *) "number", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6909 if (SWIG_arg_fail(1)) SWIG_fail
;
6911 arg2
= wxString_in_helper(obj1
);
6912 if (arg2
== NULL
) SWIG_fail
;
6917 arg3
= (int)(SWIG_As_int(obj2
));
6918 if (SWIG_arg_fail(3)) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6946 int arg2
= (int) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6951 (char *) "self",(char *) "number", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6956 if (SWIG_arg_fail(1)) SWIG_fail
;
6959 arg2
= (int)(SWIG_As_int(obj1
));
6960 if (SWIG_arg_fail(2)) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6983 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6986 wxString
*arg2
= 0 ;
6987 int arg3
= (int) 0 ;
6988 bool temp2
= false ;
6989 PyObject
* obj0
= 0 ;
6990 PyObject
* obj1
= 0 ;
6991 PyObject
* obj2
= 0 ;
6993 (char *) "self",(char *) "text",(char *) "number", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail
;
7000 arg2
= wxString_in_helper(obj1
);
7001 if (arg2
== NULL
) SWIG_fail
;
7006 arg3
= (int)(SWIG_As_int(obj2
));
7007 if (SWIG_arg_fail(3)) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 Py_INCREF(Py_None
); resultobj
= Py_None
;
7032 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7035 int arg2
= (int) 0 ;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7039 (char *) "self",(char *) "number", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7044 if (SWIG_arg_fail(1)) SWIG_fail
;
7047 arg2
= (int)(SWIG_As_int(obj1
));
7048 if (SWIG_arg_fail(2)) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 (arg1
)->PopStatusText(arg2
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 Py_INCREF(Py_None
); resultobj
= Py_None
;
7065 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7069 int *arg3
= (int *) 0 ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7073 (char *) "self",(char *) "widths", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7078 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 arg2
= PyList_Size(obj1
);
7081 arg3
= int_LIST_helper(obj1
);
7082 if (arg3
== NULL
) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 Py_INCREF(Py_None
); resultobj
= Py_None
;
7093 if (arg3
) delete [] arg3
;
7098 if (arg3
) delete [] arg3
;
7104 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7108 int *arg3
= (int *) 0 ;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7112 (char *) "self",(char *) "styles", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7117 if (SWIG_arg_fail(1)) SWIG_fail
;
7119 arg2
= PyList_Size(obj1
);
7120 arg3
= int_LIST_helper(obj1
);
7121 if (arg3
== NULL
) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 Py_INCREF(Py_None
); resultobj
= Py_None
;
7132 if (arg3
) delete [] arg3
;
7137 if (arg3
) delete [] arg3
;
7143 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7151 (char *) "self",(char *) "i", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7156 if (SWIG_arg_fail(1)) SWIG_fail
;
7158 arg2
= (int)(SWIG_As_int(obj1
));
7159 if (SWIG_arg_fail(2)) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7170 resultptr
= new wxRect((wxRect
&)(result
));
7171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7179 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7186 (char *) "self",(char *) "height", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7191 if (SWIG_arg_fail(1)) SWIG_fail
;
7193 arg2
= (int)(SWIG_As_int(obj1
));
7194 if (SWIG_arg_fail(2)) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 (arg1
)->SetMinHeight(arg2
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 Py_INCREF(Py_None
); resultobj
= Py_None
;
7210 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7216 (char *) "self", NULL
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7221 if (SWIG_arg_fail(1)) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= SWIG_From_int((int)(result
));
7238 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
;
7240 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7242 PyObject
* obj0
= 0 ;
7244 (char *) "self", NULL
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7249 if (SWIG_arg_fail(1)) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_From_int((int)(result
));
7266 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7268 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7269 wxVisualAttributes result
;
7270 PyObject
* obj0
= 0 ;
7272 (char *) "variant", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7278 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7279 if (SWIG_arg_fail(1)) SWIG_fail
;
7283 if (!wxPyCheckForApp()) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7291 wxVisualAttributes
* resultptr
;
7292 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7301 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7304 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7306 return Py_BuildValue((char *)"");
7308 static int _wrap_SplitterNameStr_set(PyObject
*) {
7309 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7314 static PyObject
*_wrap_SplitterNameStr_get(void) {
7319 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7321 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7328 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxWindow
*arg1
= (wxWindow
*) 0 ;
7331 int arg2
= (int) -1 ;
7332 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7333 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7334 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7335 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7336 long arg5
= (long) wxSP_3D
;
7337 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7338 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7339 wxSplitterWindow
*result
;
7342 bool temp6
= false ;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7345 PyObject
* obj2
= 0 ;
7346 PyObject
* obj3
= 0 ;
7347 PyObject
* obj4
= 0 ;
7348 PyObject
* obj5
= 0 ;
7350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7355 if (SWIG_arg_fail(1)) SWIG_fail
;
7358 arg2
= (int)(SWIG_As_int(obj1
));
7359 if (SWIG_arg_fail(2)) SWIG_fail
;
7365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7371 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7376 arg5
= (long)(SWIG_As_long(obj4
));
7377 if (SWIG_arg_fail(5)) SWIG_fail
;
7382 arg6
= wxString_in_helper(obj5
);
7383 if (arg6
== NULL
) SWIG_fail
;
7388 if (!wxPyCheckForApp()) SWIG_fail
;
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7410 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxSplitterWindow
*result
;
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7419 if (!wxPyCheckForApp()) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7433 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7436 wxWindow
*arg2
= (wxWindow
*) 0 ;
7437 int arg3
= (int) -1 ;
7438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7442 long arg6
= (long) wxSP_3D
;
7443 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7448 bool temp7
= false ;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7451 PyObject
* obj2
= 0 ;
7452 PyObject
* obj3
= 0 ;
7453 PyObject
* obj4
= 0 ;
7454 PyObject
* obj5
= 0 ;
7455 PyObject
* obj6
= 0 ;
7457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7462 if (SWIG_arg_fail(1)) SWIG_fail
;
7463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7464 if (SWIG_arg_fail(2)) SWIG_fail
;
7467 arg3
= (int)(SWIG_As_int(obj2
));
7468 if (SWIG_arg_fail(3)) SWIG_fail
;
7474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7485 arg6
= (long)(SWIG_As_long(obj5
));
7486 if (SWIG_arg_fail(6)) SWIG_fail
;
7491 arg7
= wxString_in_helper(obj6
);
7492 if (arg7
== NULL
) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7520 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7526 (char *) "self", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= wxPyMake_wxObject(result
, 0);
7548 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7554 (char *) "self", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7559 if (SWIG_arg_fail(1)) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= wxPyMake_wxObject(result
, 0);
7576 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7583 (char *) "self",(char *) "mode", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail
;
7590 arg2
= (int)(SWIG_As_int(obj1
));
7591 if (SWIG_arg_fail(2)) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 (arg1
)->SetSplitMode(arg2
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7611 PyObject
* obj0
= 0 ;
7613 (char *) "self", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7618 if (SWIG_arg_fail(1)) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_From_int((result
));
7633 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7636 wxWindow
*arg2
= (wxWindow
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7638 PyObject
* obj1
= 0 ;
7640 (char *) "self",(char *) "window", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7645 if (SWIG_arg_fail(1)) SWIG_fail
;
7646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7647 if (SWIG_arg_fail(2)) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 (arg1
)->Initialize(arg2
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 Py_INCREF(Py_None
); resultobj
= Py_None
;
7662 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7665 wxWindow
*arg2
= (wxWindow
*) 0 ;
7666 wxWindow
*arg3
= (wxWindow
*) 0 ;
7667 int arg4
= (int) 0 ;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7671 PyObject
* obj2
= 0 ;
7672 PyObject
* obj3
= 0 ;
7674 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail
;
7680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7681 if (SWIG_arg_fail(2)) SWIG_fail
;
7682 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7683 if (SWIG_arg_fail(3)) SWIG_fail
;
7686 arg4
= (int)(SWIG_As_int(obj3
));
7687 if (SWIG_arg_fail(4)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7706 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7709 wxWindow
*arg2
= (wxWindow
*) 0 ;
7710 wxWindow
*arg3
= (wxWindow
*) 0 ;
7711 int arg4
= (int) 0 ;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7715 PyObject
* obj2
= 0 ;
7716 PyObject
* obj3
= 0 ;
7718 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7725 if (SWIG_arg_fail(2)) SWIG_fail
;
7726 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7727 if (SWIG_arg_fail(3)) SWIG_fail
;
7730 arg4
= (int)(SWIG_As_int(obj3
));
7731 if (SWIG_arg_fail(4)) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7750 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7753 wxWindow
*arg2
= (wxWindow
*) NULL
;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "self",(char *) "toRemove", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail
;
7765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7766 if (SWIG_arg_fail(2)) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (bool)(arg1
)->Unsplit(arg2
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7784 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7787 wxWindow
*arg2
= (wxWindow
*) 0 ;
7788 wxWindow
*arg3
= (wxWindow
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7792 PyObject
* obj2
= 0 ;
7794 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7799 if (SWIG_arg_fail(1)) SWIG_fail
;
7800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7801 if (SWIG_arg_fail(2)) SWIG_fail
;
7802 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7803 if (SWIG_arg_fail(3)) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7820 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 (arg1
)->UpdateSize();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 Py_INCREF(Py_None
); resultobj
= Py_None
;
7845 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7873 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7878 PyObject
* obj1
= 0 ;
7880 (char *) "self",(char *) "width", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7885 if (SWIG_arg_fail(1)) SWIG_fail
;
7887 arg2
= (int)(SWIG_As_int(obj1
));
7888 if (SWIG_arg_fail(2)) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 (arg1
)->SetSashSize(arg2
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7911 (char *) "self",(char *) "width", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7916 if (SWIG_arg_fail(1)) SWIG_fail
;
7918 arg2
= (int)(SWIG_As_int(obj1
));
7919 if (SWIG_arg_fail(2)) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 (arg1
)->SetBorderSize(arg2
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 Py_INCREF(Py_None
); resultobj
= Py_None
;
7935 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
;
7937 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7941 (char *) "self", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= SWIG_From_int((int)(result
));
7963 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7967 PyObject
* obj0
= 0 ;
7969 (char *) "self", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_From_int((int)(result
));
7991 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7995 bool arg3
= (bool) true ;
7996 PyObject
* obj0
= 0 ;
7997 PyObject
* obj1
= 0 ;
7998 PyObject
* obj2
= 0 ;
8000 (char *) "self",(char *) "position",(char *) "redraw", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail
;
8007 arg2
= (int)(SWIG_As_int(obj1
));
8008 if (SWIG_arg_fail(2)) SWIG_fail
;
8012 arg3
= (bool)(SWIG_As_bool(obj2
));
8013 if (SWIG_arg_fail(3)) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 (arg1
)->SetSashPosition(arg2
,arg3
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 Py_INCREF(Py_None
); resultobj
= Py_None
;
8030 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8041 if (SWIG_arg_fail(1)) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_From_int((int)(result
));
8058 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8065 (char *) "self",(char *) "gravity", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8070 if (SWIG_arg_fail(1)) SWIG_fail
;
8072 arg2
= (double)(SWIG_As_double(obj1
));
8073 if (SWIG_arg_fail(2)) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 (arg1
)->SetSashGravity(arg2
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 Py_INCREF(Py_None
); resultobj
= Py_None
;
8089 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8095 (char *) "self", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8100 if (SWIG_arg_fail(1)) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= SWIG_From_double((double)(result
));
8117 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8121 PyObject
* obj0
= 0 ;
8122 PyObject
* obj1
= 0 ;
8124 (char *) "self",(char *) "min", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8129 if (SWIG_arg_fail(1)) SWIG_fail
;
8131 arg2
= (int)(SWIG_As_int(obj1
));
8132 if (SWIG_arg_fail(2)) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 (arg1
)->SetMinimumPaneSize(arg2
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 Py_INCREF(Py_None
); resultobj
= Py_None
;
8148 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
;
8150 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8152 PyObject
* obj0
= 0 ;
8154 (char *) "self", NULL
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8159 if (SWIG_arg_fail(1)) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= SWIG_From_int((int)(result
));
8176 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8181 int arg4
= (int) 5 ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8185 PyObject
* obj2
= 0 ;
8186 PyObject
* obj3
= 0 ;
8188 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8193 if (SWIG_arg_fail(1)) SWIG_fail
;
8195 arg2
= (int)(SWIG_As_int(obj1
));
8196 if (SWIG_arg_fail(2)) SWIG_fail
;
8199 arg3
= (int)(SWIG_As_int(obj2
));
8200 if (SWIG_arg_fail(3)) SWIG_fail
;
8204 arg4
= (int)(SWIG_As_int(obj3
));
8205 if (SWIG_arg_fail(4)) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8224 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8227 PyObject
* obj0
= 0 ;
8229 (char *) "self", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 (arg1
)->SizeWindows();
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 Py_INCREF(Py_None
); resultobj
= Py_None
;
8249 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8256 (char *) "self",(char *) "needUpdating", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8261 if (SWIG_arg_fail(1)) SWIG_fail
;
8263 arg2
= (bool)(SWIG_As_bool(obj1
));
8264 if (SWIG_arg_fail(2)) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 (arg1
)->SetNeedUpdating(arg2
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 Py_INCREF(Py_None
); resultobj
= Py_None
;
8280 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8286 (char *) "self", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8308 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8311 wxVisualAttributes result
;
8312 PyObject
* obj0
= 0 ;
8314 (char *) "variant", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8320 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8321 if (SWIG_arg_fail(1)) SWIG_fail
;
8325 if (!wxPyCheckForApp()) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8333 wxVisualAttributes
* resultptr
;
8334 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8343 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8346 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8348 return Py_BuildValue((char *)"");
8350 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8353 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8354 wxSplitterEvent
*result
;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8358 (char *) "type",(char *) "splitter", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8364 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8365 if (SWIG_arg_fail(1)) SWIG_fail
;
8369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8370 if (SWIG_arg_fail(2)) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8386 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
;
8388 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8393 (char *) "self",(char *) "pos", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8398 if (SWIG_arg_fail(1)) SWIG_fail
;
8400 arg2
= (int)(SWIG_As_int(obj1
));
8401 if (SWIG_arg_fail(2)) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 (arg1
)->SetSashPosition(arg2
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 Py_INCREF(Py_None
); resultobj
= Py_None
;
8417 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8428 if (SWIG_arg_fail(1)) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= SWIG_From_int((int)(result
));
8445 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8449 PyObject
* obj0
= 0 ;
8451 (char *) "self", NULL
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8456 if (SWIG_arg_fail(1)) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= wxPyMake_wxObject(result
, 0);
8473 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8479 (char *) "self", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8484 if (SWIG_arg_fail(1)) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= SWIG_From_int((int)(result
));
8501 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8505 PyObject
* obj0
= 0 ;
8507 (char *) "self", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8512 if (SWIG_arg_fail(1)) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= SWIG_From_int((int)(result
));
8529 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8532 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8534 return Py_BuildValue((char *)"");
8536 static int _wrap_SashNameStr_set(PyObject
*) {
8537 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8542 static PyObject
*_wrap_SashNameStr_get(void) {
8547 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8549 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8556 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8557 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8562 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8567 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8569 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8576 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxWindow
*arg1
= (wxWindow
*) 0 ;
8579 int arg2
= (int) -1 ;
8580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8584 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8585 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8586 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8587 wxSashWindow
*result
;
8590 bool temp6
= false ;
8591 PyObject
* obj0
= 0 ;
8592 PyObject
* obj1
= 0 ;
8593 PyObject
* obj2
= 0 ;
8594 PyObject
* obj3
= 0 ;
8595 PyObject
* obj4
= 0 ;
8596 PyObject
* obj5
= 0 ;
8598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail
;
8606 arg2
= (int)(SWIG_As_int(obj1
));
8607 if (SWIG_arg_fail(2)) SWIG_fail
;
8613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8624 arg5
= (long)(SWIG_As_long(obj4
));
8625 if (SWIG_arg_fail(5)) SWIG_fail
;
8630 arg6
= wxString_in_helper(obj5
);
8631 if (arg6
== NULL
) SWIG_fail
;
8636 if (!wxPyCheckForApp()) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8658 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
;
8660 wxSashWindow
*result
;
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8667 if (!wxPyCheckForApp()) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 result
= (wxSashWindow
*)new wxSashWindow();
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8681 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8684 wxWindow
*arg2
= (wxWindow
*) 0 ;
8685 int arg3
= (int) -1 ;
8686 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8687 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8688 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8689 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8690 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8691 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8692 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8696 bool temp7
= false ;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8699 PyObject
* obj2
= 0 ;
8700 PyObject
* obj3
= 0 ;
8701 PyObject
* obj4
= 0 ;
8702 PyObject
* obj5
= 0 ;
8703 PyObject
* obj6
= 0 ;
8705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8710 if (SWIG_arg_fail(1)) SWIG_fail
;
8711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8712 if (SWIG_arg_fail(2)) SWIG_fail
;
8715 arg3
= (int)(SWIG_As_int(obj2
));
8716 if (SWIG_arg_fail(3)) SWIG_fail
;
8722 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8728 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8733 arg6
= (long)(SWIG_As_long(obj5
));
8734 if (SWIG_arg_fail(6)) SWIG_fail
;
8739 arg7
= wxString_in_helper(obj6
);
8740 if (arg7
== NULL
) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8768 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8771 wxSashEdgePosition arg2
;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8775 PyObject
* obj2
= 0 ;
8777 (char *) "self",(char *) "edge",(char *) "sash", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8782 if (SWIG_arg_fail(1)) SWIG_fail
;
8784 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8785 if (SWIG_arg_fail(2)) SWIG_fail
;
8788 arg3
= (bool)(SWIG_As_bool(obj2
));
8789 if (SWIG_arg_fail(3)) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8805 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8808 wxSashEdgePosition arg2
;
8810 PyObject
* obj0
= 0 ;
8811 PyObject
* obj1
= 0 ;
8813 (char *) "self",(char *) "edge", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8818 if (SWIG_arg_fail(1)) SWIG_fail
;
8820 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8821 if (SWIG_arg_fail(2)) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8839 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8842 wxSashEdgePosition arg2
;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 PyObject
* obj2
= 0 ;
8848 (char *) "self",(char *) "edge",(char *) "border", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8853 if (SWIG_arg_fail(1)) SWIG_fail
;
8855 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8856 if (SWIG_arg_fail(2)) SWIG_fail
;
8859 arg3
= (bool)(SWIG_As_bool(obj2
));
8860 if (SWIG_arg_fail(3)) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8879 wxSashEdgePosition arg2
;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8884 (char *) "self",(char *) "edge", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8889 if (SWIG_arg_fail(1)) SWIG_fail
;
8891 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8892 if (SWIG_arg_fail(2)) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8910 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8913 wxSashEdgePosition arg2
;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8918 (char *) "self",(char *) "edge", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8923 if (SWIG_arg_fail(1)) SWIG_fail
;
8925 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8926 if (SWIG_arg_fail(2)) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_From_int((int)(result
));
8944 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8951 (char *) "self",(char *) "width", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail
;
8958 arg2
= (int)(SWIG_As_int(obj1
));
8959 if (SWIG_arg_fail(2)) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetDefaultBorderSize(arg2
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8979 PyObject
* obj0
= 0 ;
8981 (char *) "self", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8986 if (SWIG_arg_fail(1)) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_From_int((int)(result
));
9003 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "self",(char *) "width", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail
;
9017 arg2
= (int)(SWIG_As_int(obj1
));
9018 if (SWIG_arg_fail(2)) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 (arg1
)->SetExtraBorderSize(arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9038 PyObject
* obj0
= 0 ;
9040 (char *) "self", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9045 if (SWIG_arg_fail(1)) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_From_int((int)(result
));
9062 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9069 (char *) "self",(char *) "min", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9074 if (SWIG_arg_fail(1)) SWIG_fail
;
9076 arg2
= (int)(SWIG_As_int(obj1
));
9077 if (SWIG_arg_fail(2)) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 (arg1
)->SetMinimumSizeX(arg2
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 Py_INCREF(Py_None
); resultobj
= Py_None
;
9093 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9100 (char *) "self",(char *) "min", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9105 if (SWIG_arg_fail(1)) SWIG_fail
;
9107 arg2
= (int)(SWIG_As_int(obj1
));
9108 if (SWIG_arg_fail(2)) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetMinimumSizeY(arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9124 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "self", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9135 if (SWIG_arg_fail(1)) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_From_int((int)(result
));
9152 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "self", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_From_int((int)(result
));
9180 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "self",(char *) "max", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail
;
9194 arg2
= (int)(SWIG_As_int(obj1
));
9195 if (SWIG_arg_fail(2)) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->SetMaximumSizeX(arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9218 (char *) "self",(char *) "max", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail
;
9225 arg2
= (int)(SWIG_As_int(obj1
));
9226 if (SWIG_arg_fail(2)) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 (arg1
)->SetMaximumSizeY(arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 Py_INCREF(Py_None
); resultobj
= Py_None
;
9242 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9248 (char *) "self", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_From_int((int)(result
));
9270 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= SWIG_From_int((int)(result
));
9298 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9303 int arg4
= (int) 2 ;
9304 wxSashEdgePosition result
;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9307 PyObject
* obj2
= 0 ;
9308 PyObject
* obj3
= 0 ;
9310 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9315 if (SWIG_arg_fail(1)) SWIG_fail
;
9317 arg2
= (int)(SWIG_As_int(obj1
));
9318 if (SWIG_arg_fail(2)) SWIG_fail
;
9321 arg3
= (int)(SWIG_As_int(obj2
));
9322 if (SWIG_arg_fail(3)) SWIG_fail
;
9326 arg4
= (int)(SWIG_As_int(obj3
));
9327 if (SWIG_arg_fail(4)) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_From_int((result
));
9344 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9349 (char *) "self", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9354 if (SWIG_arg_fail(1)) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 (arg1
)->SizeWindows();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 Py_INCREF(Py_None
); resultobj
= Py_None
;
9369 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9372 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9374 return Py_BuildValue((char *)"");
9376 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 int arg1
= (int) 0 ;
9379 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9380 wxSashEvent
*result
;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9384 (char *) "id",(char *) "edge", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9390 arg1
= (int)(SWIG_As_int(obj0
));
9391 if (SWIG_arg_fail(1)) SWIG_fail
;
9396 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9397 if (SWIG_arg_fail(2)) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9414 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9417 wxSashEdgePosition arg2
;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9421 (char *) "self",(char *) "edge", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9426 if (SWIG_arg_fail(1)) SWIG_fail
;
9428 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9429 if (SWIG_arg_fail(2)) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 Py_INCREF(Py_None
); resultobj
= Py_None
;
9445 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9448 wxSashEdgePosition result
;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9456 if (SWIG_arg_fail(1)) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_From_int((result
));
9471 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9479 (char *) "self",(char *) "rect", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail
;
9487 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 Py_INCREF(Py_None
); resultobj
= Py_None
;
9503 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9509 (char *) "self", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9514 if (SWIG_arg_fail(1)) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9524 resultptr
= new wxRect((wxRect
&)(result
));
9525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9533 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9536 wxSashDragStatus arg2
;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9540 (char *) "self",(char *) "status", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9545 if (SWIG_arg_fail(1)) SWIG_fail
;
9547 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9548 if (SWIG_arg_fail(2)) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 Py_INCREF(Py_None
); resultobj
= Py_None
;
9564 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9567 wxSashDragStatus result
;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9575 if (SWIG_arg_fail(1)) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_From_int((result
));
9590 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9593 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9595 return Py_BuildValue((char *)"");
9597 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 int arg1
= (int) 0 ;
9600 wxQueryLayoutInfoEvent
*result
;
9601 PyObject
* obj0
= 0 ;
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9609 arg1
= (int)(SWIG_As_int(obj0
));
9610 if (SWIG_arg_fail(1)) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9627 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9634 (char *) "self",(char *) "length", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9639 if (SWIG_arg_fail(1)) SWIG_fail
;
9641 arg2
= (int)(SWIG_As_int(obj1
));
9642 if (SWIG_arg_fail(2)) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->SetRequestedLength(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 Py_INCREF(Py_None
); resultobj
= Py_None
;
9658 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9664 (char *) "self", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9669 if (SWIG_arg_fail(1)) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_From_int((int)(result
));
9686 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9693 (char *) "self",(char *) "flags", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail
;
9700 arg2
= (int)(SWIG_As_int(obj1
));
9701 if (SWIG_arg_fail(2)) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 (arg1
)->SetFlags(arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 Py_INCREF(Py_None
); resultobj
= Py_None
;
9717 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_From_int((int)(result
));
9745 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9753 (char *) "self",(char *) "size", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9758 if (SWIG_arg_fail(1)) SWIG_fail
;
9761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 (arg1
)->SetSize((wxSize
const &)*arg2
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 Py_INCREF(Py_None
); resultobj
= Py_None
;
9777 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9788 if (SWIG_arg_fail(1)) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9798 resultptr
= new wxSize((wxSize
&)(result
));
9799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9807 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9810 wxLayoutOrientation arg2
;
9811 PyObject
* obj0
= 0 ;
9812 PyObject
* obj1
= 0 ;
9814 (char *) "self",(char *) "orient", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9819 if (SWIG_arg_fail(1)) SWIG_fail
;
9821 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9822 if (SWIG_arg_fail(2)) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9841 wxLayoutOrientation result
;
9842 PyObject
* obj0
= 0 ;
9844 (char *) "self", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_From_int((result
));
9864 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9867 wxLayoutAlignment arg2
;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9871 (char *) "self",(char *) "align", NULL
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9876 if (SWIG_arg_fail(1)) SWIG_fail
;
9878 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9879 if (SWIG_arg_fail(2)) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 Py_INCREF(Py_None
); resultobj
= Py_None
;
9895 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9898 wxLayoutAlignment result
;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9906 if (SWIG_arg_fail(1)) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_From_int((result
));
9921 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9924 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9926 return Py_BuildValue((char *)"");
9928 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 int arg1
= (int) 0 ;
9931 wxCalculateLayoutEvent
*result
;
9932 PyObject
* obj0
= 0 ;
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9940 arg1
= (int)(SWIG_As_int(obj0
));
9941 if (SWIG_arg_fail(1)) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9958 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9965 (char *) "self",(char *) "flags", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9970 if (SWIG_arg_fail(1)) SWIG_fail
;
9972 arg2
= (int)(SWIG_As_int(obj1
));
9973 if (SWIG_arg_fail(2)) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->SetFlags(arg2
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 Py_INCREF(Py_None
); resultobj
= Py_None
;
9989 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10000 if (SWIG_arg_fail(1)) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_From_int((int)(result
));
10017 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self",(char *) "rect", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10030 if (SWIG_arg_fail(1)) SWIG_fail
;
10033 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->SetRect((wxRect
const &)*arg2
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 Py_INCREF(Py_None
); resultobj
= Py_None
;
10049 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10060 if (SWIG_arg_fail(1)) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10069 wxRect
* resultptr
;
10070 resultptr
= new wxRect((wxRect
&)(result
));
10071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10079 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10082 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10084 return Py_BuildValue((char *)"");
10086 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxWindow
*arg1
= (wxWindow
*) 0 ;
10089 int arg2
= (int) -1 ;
10090 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10091 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10092 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10093 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10094 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10095 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10096 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10097 wxSashLayoutWindow
*result
;
10100 bool temp6
= false ;
10101 PyObject
* obj0
= 0 ;
10102 PyObject
* obj1
= 0 ;
10103 PyObject
* obj2
= 0 ;
10104 PyObject
* obj3
= 0 ;
10105 PyObject
* obj4
= 0 ;
10106 PyObject
* obj5
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10113 if (SWIG_arg_fail(1)) SWIG_fail
;
10116 arg2
= (int)(SWIG_As_int(obj1
));
10117 if (SWIG_arg_fail(2)) SWIG_fail
;
10123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10129 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10134 arg5
= (long)(SWIG_As_long(obj4
));
10135 if (SWIG_arg_fail(5)) SWIG_fail
;
10140 arg6
= wxString_in_helper(obj5
);
10141 if (arg6
== NULL
) SWIG_fail
;
10146 if (!wxPyCheckForApp()) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10168 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxSashLayoutWindow
*result
;
10171 char *kwnames
[] = {
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10177 if (!wxPyCheckForApp()) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10191 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10194 wxWindow
*arg2
= (wxWindow
*) 0 ;
10195 int arg3
= (int) -1 ;
10196 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10197 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10198 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10199 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10200 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10201 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10202 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10206 bool temp7
= false ;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 PyObject
* obj2
= 0 ;
10210 PyObject
* obj3
= 0 ;
10211 PyObject
* obj4
= 0 ;
10212 PyObject
* obj5
= 0 ;
10213 PyObject
* obj6
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10220 if (SWIG_arg_fail(1)) SWIG_fail
;
10221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10222 if (SWIG_arg_fail(2)) SWIG_fail
;
10225 arg3
= (int)(SWIG_As_int(obj2
));
10226 if (SWIG_arg_fail(3)) SWIG_fail
;
10232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10243 arg6
= (long)(SWIG_As_long(obj5
));
10244 if (SWIG_arg_fail(6)) SWIG_fail
;
10249 arg7
= wxString_in_helper(obj6
);
10250 if (arg7
== NULL
) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10278 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10281 wxLayoutAlignment result
;
10282 PyObject
* obj0
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10289 if (SWIG_arg_fail(1)) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= SWIG_From_int((result
));
10304 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10307 wxLayoutOrientation result
;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10315 if (SWIG_arg_fail(1)) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_From_int((result
));
10330 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10333 wxLayoutAlignment arg2
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self",(char *) "alignment", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10342 if (SWIG_arg_fail(1)) SWIG_fail
;
10344 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10345 if (SWIG_arg_fail(2)) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 Py_INCREF(Py_None
); resultobj
= Py_None
;
10361 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
;
10363 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self",(char *) "size", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10374 if (SWIG_arg_fail(1)) SWIG_fail
;
10377 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10396 wxLayoutOrientation arg2
;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self",(char *) "orientation", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10405 if (SWIG_arg_fail(1)) SWIG_fail
;
10407 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10408 if (SWIG_arg_fail(2)) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 Py_INCREF(Py_None
); resultobj
= Py_None
;
10424 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10427 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10429 return Py_BuildValue((char *)"");
10431 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxLayoutAlgorithm
*result
;
10434 char *kwnames
[] = {
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10453 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10463 if (SWIG_arg_fail(1)) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 Py_INCREF(Py_None
); resultobj
= Py_None
;
10478 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10481 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10482 wxRect
*arg3
= (wxRect
*) NULL
;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 PyObject
* obj2
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self",(char *) "frame",(char *) "rect", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail
;
10494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10495 if (SWIG_arg_fail(2)) SWIG_fail
;
10497 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10498 if (SWIG_arg_fail(3)) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10516 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10519 wxFrame
*arg2
= (wxFrame
*) 0 ;
10520 wxWindow
*arg3
= (wxWindow
*) NULL
;
10522 PyObject
* obj0
= 0 ;
10523 PyObject
* obj1
= 0 ;
10524 PyObject
* obj2
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10531 if (SWIG_arg_fail(1)) SWIG_fail
;
10532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10533 if (SWIG_arg_fail(2)) SWIG_fail
;
10535 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10536 if (SWIG_arg_fail(3)) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10554 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10557 wxWindow
*arg2
= (wxWindow
*) 0 ;
10558 wxWindow
*arg3
= (wxWindow
*) NULL
;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 PyObject
* obj2
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10569 if (SWIG_arg_fail(1)) SWIG_fail
;
10570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10571 if (SWIG_arg_fail(2)) SWIG_fail
;
10573 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10574 if (SWIG_arg_fail(3)) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10592 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10595 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10597 return Py_BuildValue((char *)"");
10599 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxWindow
*arg1
= (wxWindow
*) 0 ;
10602 int arg2
= (int) wxBORDER_NONE
;
10603 wxPopupWindow
*result
;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "parent",(char *) "flags", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10612 if (SWIG_arg_fail(1)) SWIG_fail
;
10615 arg2
= (int)(SWIG_As_int(obj1
));
10616 if (SWIG_arg_fail(2)) SWIG_fail
;
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10633 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxPopupWindow
*result
;
10636 char *kwnames
[] = {
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (wxPopupWindow
*)new wxPopupWindow();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10655 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10658 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10660 return Py_BuildValue((char *)"");
10662 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxWindow
*arg1
= (wxWindow
*) 0 ;
10665 int arg2
= (int) wxBORDER_NONE
;
10666 wxPyPopupTransientWindow
*result
;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj1
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "parent",(char *) "style", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10675 if (SWIG_arg_fail(1)) SWIG_fail
;
10678 arg2
= (int)(SWIG_As_int(obj1
));
10679 if (SWIG_arg_fail(2)) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10696 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxPyPopupTransientWindow
*result
;
10699 char *kwnames
[] = {
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10718 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10721 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10723 return Py_BuildValue((char *)"");
10725 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxWindow
*arg1
= (wxWindow
*) 0 ;
10728 wxString
*arg2
= 0 ;
10729 int arg3
= (int) 100 ;
10730 wxRect
*arg4
= (wxRect
*) NULL
;
10731 wxTipWindow
*result
;
10732 bool temp2
= false ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 PyObject
* obj3
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail
;
10745 arg2
= wxString_in_helper(obj1
);
10746 if (arg2
== NULL
) SWIG_fail
;
10751 arg3
= (int)(SWIG_As_int(obj2
));
10752 if (SWIG_arg_fail(3)) SWIG_fail
;
10756 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10757 if (SWIG_arg_fail(4)) SWIG_fail
;
10760 if (!wxPyCheckForApp()) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10782 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self",(char *) "rectBound", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10795 if (SWIG_arg_fail(1)) SWIG_fail
;
10798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 Py_INCREF(Py_None
); resultobj
= Py_None
;
10814 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10824 if (SWIG_arg_fail(1)) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 Py_INCREF(Py_None
); resultobj
= Py_None
;
10839 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10842 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10844 return Py_BuildValue((char *)"");
10846 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxWindow
*arg1
= (wxWindow
*) 0 ;
10849 int arg2
= (int) wxID_ANY
;
10850 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10851 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10852 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10853 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10854 long arg5
= (long) 0 ;
10855 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10856 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10857 wxPyVScrolledWindow
*result
;
10860 bool temp6
= false ;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 PyObject
* obj2
= 0 ;
10864 PyObject
* obj3
= 0 ;
10865 PyObject
* obj4
= 0 ;
10866 PyObject
* obj5
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10873 if (SWIG_arg_fail(1)) SWIG_fail
;
10876 arg2
= (int)(SWIG_As_int(obj1
));
10877 if (SWIG_arg_fail(2)) SWIG_fail
;
10883 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10889 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10894 arg5
= (long)(SWIG_As_long(obj4
));
10895 if (SWIG_arg_fail(5)) SWIG_fail
;
10900 arg6
= wxString_in_helper(obj5
);
10901 if (arg6
== NULL
) SWIG_fail
;
10906 if (!wxPyCheckForApp()) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10928 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxPyVScrolledWindow
*result
;
10931 char *kwnames
[] = {
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10937 if (!wxPyCheckForApp()) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10951 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10954 PyObject
*arg2
= (PyObject
*) 0 ;
10955 PyObject
*arg3
= (PyObject
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 PyObject
* obj2
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self",(char *) "self",(char *) "_class", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
10965 if (SWIG_arg_fail(1)) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10982 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10985 wxWindow
*arg2
= (wxWindow
*) 0 ;
10986 int arg3
= (int) wxID_ANY
;
10987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10991 long arg6
= (long) 0 ;
10992 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
10993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10997 bool temp7
= false ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 PyObject
* obj2
= 0 ;
11001 PyObject
* obj3
= 0 ;
11002 PyObject
* obj4
= 0 ;
11003 PyObject
* obj5
= 0 ;
11004 PyObject
* obj6
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11011 if (SWIG_arg_fail(1)) SWIG_fail
;
11012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(2)) SWIG_fail
;
11016 arg3
= (int)(SWIG_As_int(obj2
));
11017 if (SWIG_arg_fail(3)) SWIG_fail
;
11023 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11029 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11034 arg6
= (long)(SWIG_As_long(obj5
));
11035 if (SWIG_arg_fail(6)) SWIG_fail
;
11040 arg7
= wxString_in_helper(obj6
);
11041 if (arg7
== NULL
) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11069 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "count", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail
;
11083 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11084 if (SWIG_arg_fail(2)) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 (arg1
)->SetLineCount(arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 Py_INCREF(Py_None
); resultobj
= Py_None
;
11100 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11105 PyObject
* obj0
= 0 ;
11106 PyObject
* obj1
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "self",(char *) "line", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11113 if (SWIG_arg_fail(1)) SWIG_fail
;
11115 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11116 if (SWIG_arg_fail(2)) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11134 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self",(char *) "lines", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail
;
11149 arg2
= (int)(SWIG_As_int(obj1
));
11150 if (SWIG_arg_fail(2)) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (bool)(arg1
)->ScrollLines(arg2
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11168 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self",(char *) "pages", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11181 if (SWIG_arg_fail(1)) SWIG_fail
;
11183 arg2
= (int)(SWIG_As_int(obj1
));
11184 if (SWIG_arg_fail(2)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (bool)(arg1
)->ScrollPages(arg2
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "line", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11214 if (SWIG_arg_fail(1)) SWIG_fail
;
11216 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11217 if (SWIG_arg_fail(2)) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->RefreshLine(arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 PyObject
* obj2
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "self",(char *) "from",(char *) "to", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11247 if (SWIG_arg_fail(1)) SWIG_fail
;
11249 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11250 if (SWIG_arg_fail(2)) SWIG_fail
;
11253 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11254 if (SWIG_arg_fail(3)) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 (arg1
)->RefreshLines(arg2
,arg3
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 Py_INCREF(Py_None
); resultobj
= Py_None
;
11270 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 PyObject
* obj2
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "x",(char *) "y", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 arg2
= (int)(SWIG_As_int(obj1
));
11288 if (SWIG_arg_fail(2)) SWIG_fail
;
11291 arg3
= (int)(SWIG_As_int(obj2
));
11292 if (SWIG_arg_fail(3)) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= SWIG_From_int((int)(result
));
11310 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11313 wxPoint
*arg2
= 0 ;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "pt", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= SWIG_From_int((int)(result
));
11345 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "self", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11355 if (SWIG_arg_fail(1)) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 (arg1
)->RefreshAll();
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 Py_INCREF(Py_None
); resultobj
= Py_None
;
11370 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11381 if (SWIG_arg_fail(1)) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11398 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11409 if (SWIG_arg_fail(1)) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11426 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11437 if (SWIG_arg_fail(1)) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11454 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "line", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail
;
11469 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11470 if (SWIG_arg_fail(2)) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11491 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11493 return Py_BuildValue((char *)"");
11495 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11496 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11501 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11506 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11508 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11515 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 wxWindow
*arg1
= (wxWindow
*) 0 ;
11518 int arg2
= (int) wxID_ANY
;
11519 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11520 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11521 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11522 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11523 long arg5
= (long) 0 ;
11524 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11525 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11526 wxPyVListBox
*result
;
11529 bool temp6
= false ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 PyObject
* obj2
= 0 ;
11533 PyObject
* obj3
= 0 ;
11534 PyObject
* obj4
= 0 ;
11535 PyObject
* obj5
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11542 if (SWIG_arg_fail(1)) SWIG_fail
;
11545 arg2
= (int)(SWIG_As_int(obj1
));
11546 if (SWIG_arg_fail(2)) SWIG_fail
;
11552 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11558 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11563 arg5
= (long)(SWIG_As_long(obj4
));
11564 if (SWIG_arg_fail(5)) SWIG_fail
;
11569 arg6
= wxString_in_helper(obj5
);
11570 if (arg6
== NULL
) SWIG_fail
;
11575 if (!wxPyCheckForApp()) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11597 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxPyVListBox
*result
;
11600 char *kwnames
[] = {
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11606 if (!wxPyCheckForApp()) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (wxPyVListBox
*)new wxPyVListBox();
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11620 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11623 PyObject
*arg2
= (PyObject
*) 0 ;
11624 PyObject
*arg3
= (PyObject
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 PyObject
* obj2
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self",(char *) "self",(char *) "_class", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11634 if (SWIG_arg_fail(1)) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 Py_INCREF(Py_None
); resultobj
= Py_None
;
11651 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11654 wxWindow
*arg2
= (wxWindow
*) 0 ;
11655 int arg3
= (int) wxID_ANY
;
11656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11660 long arg6
= (long) 0 ;
11661 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11666 bool temp7
= false ;
11667 PyObject
* obj0
= 0 ;
11668 PyObject
* obj1
= 0 ;
11669 PyObject
* obj2
= 0 ;
11670 PyObject
* obj3
= 0 ;
11671 PyObject
* obj4
= 0 ;
11672 PyObject
* obj5
= 0 ;
11673 PyObject
* obj6
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11680 if (SWIG_arg_fail(1)) SWIG_fail
;
11681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11682 if (SWIG_arg_fail(2)) SWIG_fail
;
11685 arg3
= (int)(SWIG_As_int(obj2
));
11686 if (SWIG_arg_fail(3)) SWIG_fail
;
11692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11703 arg6
= (long)(SWIG_As_long(obj5
));
11704 if (SWIG_arg_fail(6)) SWIG_fail
;
11709 arg7
= wxString_in_helper(obj6
);
11710 if (arg7
== NULL
) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11738 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11740 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11742 PyObject
* obj0
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail
;
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11766 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11770 PyObject
* obj0
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11777 if (SWIG_arg_fail(1)) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11794 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11805 if (SWIG_arg_fail(1)) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_From_int((int)(result
));
11822 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self",(char *) "item", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11835 if (SWIG_arg_fail(1)) SWIG_fail
;
11837 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11838 if (SWIG_arg_fail(2)) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11856 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "item", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11869 if (SWIG_arg_fail(1)) SWIG_fail
;
11871 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11872 if (SWIG_arg_fail(2)) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11890 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
11900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11918 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11922 PyObject
* obj0
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
11928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11929 if (SWIG_arg_fail(1)) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= result
;
11944 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11947 unsigned long arg2
;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 char *kwnames
[] = {
11952 (char *) "self",(char *) "cookie", NULL
11955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11957 if (SWIG_arg_fail(1)) SWIG_fail
;
11959 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
11960 if (SWIG_arg_fail(2)) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
;
11976 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
;
11978 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11980 PyObject
* obj0
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
11986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11987 if (SWIG_arg_fail(1)) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 wxPoint
* resultptr
;
11997 resultptr
= new wxPoint((wxPoint
&)(result
));
11998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12006 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12017 if (SWIG_arg_fail(1)) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12022 result
= (wxColour
*) &_result_ref
;
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12035 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 PyObject
* obj1
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self",(char *) "count", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12047 if (SWIG_arg_fail(1)) SWIG_fail
;
12049 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12050 if (SWIG_arg_fail(2)) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 (arg1
)->SetItemCount(arg2
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 Py_INCREF(Py_None
); resultobj
= Py_None
;
12066 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 Py_INCREF(Py_None
); resultobj
= Py_None
;
12091 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "selection", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail
;
12105 arg2
= (int)(SWIG_As_int(obj1
));
12106 if (SWIG_arg_fail(2)) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 (arg1
)->SetSelection(arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 Py_INCREF(Py_None
); resultobj
= Py_None
;
12122 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12126 bool arg3
= (bool) true ;
12128 PyObject
* obj0
= 0 ;
12129 PyObject
* obj1
= 0 ;
12130 PyObject
* obj2
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "item",(char *) "select", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12137 if (SWIG_arg_fail(1)) SWIG_fail
;
12139 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12140 if (SWIG_arg_fail(2)) SWIG_fail
;
12144 arg3
= (bool)(SWIG_As_bool(obj2
));
12145 if (SWIG_arg_fail(3)) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12164 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 PyObject
* obj2
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self",(char *) "from",(char *) "to", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12179 if (SWIG_arg_fail(1)) SWIG_fail
;
12181 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12182 if (SWIG_arg_fail(2)) SWIG_fail
;
12185 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12186 if (SWIG_arg_fail(3)) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12204 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self",(char *) "item", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail
;
12218 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12219 if (SWIG_arg_fail(2)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->Toggle(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 Py_INCREF(Py_None
); resultobj
= Py_None
;
12235 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12246 if (SWIG_arg_fail(1)) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (bool)(arg1
)->SelectAll();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12263 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (bool)(arg1
)->DeselectAll();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12291 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
;
12293 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12294 wxPoint
*arg2
= 0 ;
12296 PyObject
* obj0
= 0 ;
12297 PyObject
* obj1
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self",(char *) "pt", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail
;
12307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 Py_INCREF(Py_None
); resultobj
= Py_None
;
12323 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 PyObject
* obj1
= 0 ;
12330 PyObject
* obj2
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self",(char *) "x",(char *) "y", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12337 if (SWIG_arg_fail(1)) SWIG_fail
;
12339 arg2
= (int)(SWIG_As_int(obj1
));
12340 if (SWIG_arg_fail(2)) SWIG_fail
;
12343 arg3
= (int)(SWIG_As_int(obj2
));
12344 if (SWIG_arg_fail(3)) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 (arg1
)->SetMargins(arg2
,arg3
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 Py_INCREF(Py_None
); resultobj
= Py_None
;
12360 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12363 wxColour
*arg2
= 0 ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self",(char *) "col", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12373 if (SWIG_arg_fail(1)) SWIG_fail
;
12376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12395 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12397 return Py_BuildValue((char *)"");
12399 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxWindow
*arg1
= (wxWindow
*) 0 ;
12402 int arg2
= (int) wxID_ANY
;
12403 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12404 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12405 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12406 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12407 long arg5
= (long) 0 ;
12408 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12409 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12410 wxPyHtmlListBox
*result
;
12413 bool temp6
= false ;
12414 PyObject
* obj0
= 0 ;
12415 PyObject
* obj1
= 0 ;
12416 PyObject
* obj2
= 0 ;
12417 PyObject
* obj3
= 0 ;
12418 PyObject
* obj4
= 0 ;
12419 PyObject
* obj5
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail
;
12429 arg2
= (int)(SWIG_As_int(obj1
));
12430 if (SWIG_arg_fail(2)) SWIG_fail
;
12436 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12442 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12447 arg5
= (long)(SWIG_As_long(obj4
));
12448 if (SWIG_arg_fail(5)) SWIG_fail
;
12453 arg6
= wxString_in_helper(obj5
);
12454 if (arg6
== NULL
) SWIG_fail
;
12459 if (!wxPyCheckForApp()) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12481 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxPyHtmlListBox
*result
;
12484 char *kwnames
[] = {
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12490 if (!wxPyCheckForApp()) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12504 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12507 PyObject
*arg2
= (PyObject
*) 0 ;
12508 PyObject
*arg3
= (PyObject
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 PyObject
* obj2
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self",(char *) "self",(char *) "_class", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12518 if (SWIG_arg_fail(1)) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12535 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12538 wxWindow
*arg2
= (wxWindow
*) 0 ;
12539 int arg3
= (int) wxID_ANY
;
12540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12544 long arg6
= (long) 0 ;
12545 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12546 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12550 bool temp7
= false ;
12551 PyObject
* obj0
= 0 ;
12552 PyObject
* obj1
= 0 ;
12553 PyObject
* obj2
= 0 ;
12554 PyObject
* obj3
= 0 ;
12555 PyObject
* obj4
= 0 ;
12556 PyObject
* obj5
= 0 ;
12557 PyObject
* obj6
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12564 if (SWIG_arg_fail(1)) SWIG_fail
;
12565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12566 if (SWIG_arg_fail(2)) SWIG_fail
;
12569 arg3
= (int)(SWIG_As_int(obj2
));
12570 if (SWIG_arg_fail(3)) SWIG_fail
;
12576 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12582 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12587 arg6
= (long)(SWIG_As_long(obj5
));
12588 if (SWIG_arg_fail(6)) SWIG_fail
;
12593 arg7
= wxString_in_helper(obj6
);
12594 if (arg7
== NULL
) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12622 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12632 if (SWIG_arg_fail(1)) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->RefreshAll();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 Py_INCREF(Py_None
); resultobj
= Py_None
;
12647 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self",(char *) "count", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12659 if (SWIG_arg_fail(1)) SWIG_fail
;
12661 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12662 if (SWIG_arg_fail(2)) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 (arg1
)->SetItemCount(arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 Py_INCREF(Py_None
); resultobj
= Py_None
;
12678 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12681 wxFileSystem
*result
;
12682 PyObject
* obj0
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12689 if (SWIG_arg_fail(1)) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12694 result
= (wxFileSystem
*) &_result_ref
;
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12707 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12710 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12712 return Py_BuildValue((char *)"");
12714 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxPyTaskBarIcon
*result
;
12717 char *kwnames
[] = {
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12723 if (!wxPyCheckForApp()) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12737 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12740 PyObject
*arg2
= (PyObject
*) 0 ;
12741 PyObject
*arg3
= (PyObject
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 PyObject
* obj2
= 0 ;
12746 PyObject
* obj3
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12753 if (SWIG_arg_fail(1)) SWIG_fail
;
12757 arg4
= (int)(SWIG_As_int(obj3
));
12758 if (SWIG_arg_fail(4)) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 Py_INCREF(Py_None
); resultobj
= Py_None
;
12774 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
*resultobj
;
12776 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12784 if (SWIG_arg_fail(1)) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 wxPyTaskBarIcon_Destroy(arg1
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 Py_INCREF(Py_None
); resultobj
= Py_None
;
12799 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12803 PyObject
* obj0
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "self", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12810 if (SWIG_arg_fail(1)) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12827 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12838 if (SWIG_arg_fail(1)) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12855 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12862 bool temp3
= false ;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 PyObject
* obj2
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail
;
12874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12875 if (SWIG_arg_fail(2)) SWIG_fail
;
12876 if (arg2
== NULL
) {
12877 SWIG_null_ref("wxIcon");
12879 if (SWIG_arg_fail(2)) SWIG_fail
;
12883 arg3
= wxString_in_helper(obj2
);
12884 if (arg3
== NULL
) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12912 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
12922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12923 if (SWIG_arg_fail(1)) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (bool)(arg1
)->RemoveIcon();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12940 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12943 wxMenu
*arg2
= (wxMenu
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self",(char *) "menu", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
12952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail
;
12954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
12955 if (SWIG_arg_fail(2)) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (bool)(arg1
)->PopupMenu(arg2
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12972 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
12974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12975 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
12977 return Py_BuildValue((char *)"");
12979 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12982 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
12983 wxTaskBarIconEvent
*result
;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "evtType",(char *) "tbIcon", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12992 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12993 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12996 if (SWIG_arg_fail(2)) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13011 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13014 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13016 return Py_BuildValue((char *)"");
13018 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13019 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13024 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13029 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13031 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13038 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13039 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13044 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13049 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13051 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13058 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13059 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13064 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13069 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13071 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13078 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13079 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13084 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13089 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13091 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13098 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13099 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13104 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13109 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13111 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13118 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13119 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13124 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13129 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13131 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13138 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxColourData
*result
;
13141 char *kwnames
[] = {
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 result
= (wxColourData
*)new wxColourData();
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13160 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
*resultobj
;
13162 wxColourData
*arg1
= (wxColourData
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13170 if (SWIG_arg_fail(1)) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxColourData
*arg1
= (wxColourData
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13196 if (SWIG_arg_fail(1)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (bool)(arg1
)->GetChooseFull();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13213 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxColourData
*arg1
= (wxColourData
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (arg1
)->GetColour();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13233 wxColour
* resultptr
;
13234 resultptr
= new wxColour((wxColour
&)(result
));
13235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13243 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxColourData
*arg1
= (wxColourData
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 PyObject
* obj1
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self",(char *) "i", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13256 if (SWIG_arg_fail(1)) SWIG_fail
;
13258 arg2
= (int)(SWIG_As_int(obj1
));
13259 if (SWIG_arg_fail(2)) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (arg1
)->GetCustomColour(arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 wxColour
* resultptr
;
13270 resultptr
= new wxColour((wxColour
&)(result
));
13271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13279 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxColourData
*arg1
= (wxColourData
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self",(char *) "flag", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13291 if (SWIG_arg_fail(1)) SWIG_fail
;
13293 arg2
= (int)(SWIG_As_int(obj1
));
13294 if (SWIG_arg_fail(2)) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 (arg1
)->SetChooseFull(arg2
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxColourData
*arg1
= (wxColourData
*) 0 ;
13313 wxColour
*arg2
= 0 ;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "colour", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail
;
13326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->SetColour((wxColour
const &)*arg2
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxColourData
*arg1
= (wxColourData
*) 0 ;
13346 wxColour
*arg3
= 0 ;
13348 PyObject
* obj0
= 0 ;
13349 PyObject
* obj1
= 0 ;
13350 PyObject
* obj2
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "i",(char *) "colour", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13357 if (SWIG_arg_fail(1)) SWIG_fail
;
13359 arg2
= (int)(SWIG_As_int(obj1
));
13360 if (SWIG_arg_fail(2)) SWIG_fail
;
13364 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13383 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13385 return Py_BuildValue((char *)"");
13387 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxWindow
*arg1
= (wxWindow
*) 0 ;
13390 wxColourData
*arg2
= (wxColourData
*) NULL
;
13391 wxColourDialog
*result
;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "parent",(char *) "data", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail
;
13402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13403 if (SWIG_arg_fail(2)) SWIG_fail
;
13406 if (!wxPyCheckForApp()) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13420 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13423 wxColourData
*result
;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13431 if (SWIG_arg_fail(1)) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13436 result
= (wxColourData
*) &_result_ref
;
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13449 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13452 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13454 return Py_BuildValue((char *)"");
13456 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxWindow
*arg1
= (wxWindow
*) 0 ;
13459 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13463 long arg4
= (long) 0 ;
13464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13468 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13469 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13470 wxDirDialog
*result
;
13471 bool temp2
= false ;
13472 bool temp3
= false ;
13475 bool temp7
= false ;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 PyObject
* obj2
= 0 ;
13479 PyObject
* obj3
= 0 ;
13480 PyObject
* obj4
= 0 ;
13481 PyObject
* obj5
= 0 ;
13482 PyObject
* obj6
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13489 if (SWIG_arg_fail(1)) SWIG_fail
;
13492 arg2
= wxString_in_helper(obj1
);
13493 if (arg2
== NULL
) SWIG_fail
;
13499 arg3
= wxString_in_helper(obj2
);
13500 if (arg3
== NULL
) SWIG_fail
;
13506 arg4
= (long)(SWIG_As_long(obj3
));
13507 if (SWIG_arg_fail(4)) SWIG_fail
;
13513 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13519 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13524 arg7
= wxString_in_helper(obj6
);
13525 if (arg7
== NULL
) SWIG_fail
;
13530 if (!wxPyCheckForApp()) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13568 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13572 PyObject
* obj0
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13579 if (SWIG_arg_fail(1)) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (arg1
)->GetPath();
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13600 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (arg1
)->GetMessage();
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13632 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13643 if (SWIG_arg_fail(1)) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 result
= (long)(arg1
)->GetStyle();
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= SWIG_From_long((long)(result
));
13660 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13663 wxString
*arg2
= 0 ;
13664 bool temp2
= false ;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self",(char *) "message", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13673 if (SWIG_arg_fail(1)) SWIG_fail
;
13675 arg2
= wxString_in_helper(obj1
);
13676 if (arg2
== NULL
) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 (arg1
)->SetMessage((wxString
const &)*arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 Py_INCREF(Py_None
); resultobj
= Py_None
;
13701 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13704 wxString
*arg2
= 0 ;
13705 bool temp2
= false ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "path", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13714 if (SWIG_arg_fail(1)) SWIG_fail
;
13716 arg2
= wxString_in_helper(obj1
);
13717 if (arg2
== NULL
) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 (arg1
)->SetPath((wxString
const &)*arg2
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 Py_INCREF(Py_None
); resultobj
= Py_None
;
13742 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13745 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13747 return Py_BuildValue((char *)"");
13749 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxWindow
*arg1
= (wxWindow
*) 0 ;
13752 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13753 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13754 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13755 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13756 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13757 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13758 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13759 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13760 long arg6
= (long) 0 ;
13761 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13762 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13763 wxFileDialog
*result
;
13764 bool temp2
= false ;
13765 bool temp3
= false ;
13766 bool temp4
= false ;
13767 bool temp5
= false ;
13769 PyObject
* obj0
= 0 ;
13770 PyObject
* obj1
= 0 ;
13771 PyObject
* obj2
= 0 ;
13772 PyObject
* obj3
= 0 ;
13773 PyObject
* obj4
= 0 ;
13774 PyObject
* obj5
= 0 ;
13775 PyObject
* obj6
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13782 if (SWIG_arg_fail(1)) SWIG_fail
;
13785 arg2
= wxString_in_helper(obj1
);
13786 if (arg2
== NULL
) SWIG_fail
;
13792 arg3
= wxString_in_helper(obj2
);
13793 if (arg3
== NULL
) SWIG_fail
;
13799 arg4
= wxString_in_helper(obj3
);
13800 if (arg4
== NULL
) SWIG_fail
;
13806 arg5
= wxString_in_helper(obj4
);
13807 if (arg5
== NULL
) SWIG_fail
;
13813 arg6
= (long)(SWIG_As_long(obj5
));
13814 if (SWIG_arg_fail(6)) SWIG_fail
;
13820 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13824 if (!wxPyCheckForApp()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13870 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13873 wxString
*arg2
= 0 ;
13874 bool temp2
= false ;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj1
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self",(char *) "message", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13883 if (SWIG_arg_fail(1)) SWIG_fail
;
13885 arg2
= wxString_in_helper(obj1
);
13886 if (arg2
== NULL
) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 (arg1
)->SetMessage((wxString
const &)*arg2
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 Py_INCREF(Py_None
); resultobj
= Py_None
;
13911 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13914 wxString
*arg2
= 0 ;
13915 bool temp2
= false ;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "path", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13924 if (SWIG_arg_fail(1)) SWIG_fail
;
13926 arg2
= wxString_in_helper(obj1
);
13927 if (arg2
== NULL
) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 (arg1
)->SetPath((wxString
const &)*arg2
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 Py_INCREF(Py_None
); resultobj
= Py_None
;
13952 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13955 wxString
*arg2
= 0 ;
13956 bool temp2
= false ;
13957 PyObject
* obj0
= 0 ;
13958 PyObject
* obj1
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self",(char *) "dir", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
13964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13965 if (SWIG_arg_fail(1)) SWIG_fail
;
13967 arg2
= wxString_in_helper(obj1
);
13968 if (arg2
== NULL
) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 (arg1
)->SetDirectory((wxString
const &)*arg2
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 Py_INCREF(Py_None
); resultobj
= Py_None
;
13993 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
;
13995 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13996 wxString
*arg2
= 0 ;
13997 bool temp2
= false ;
13998 PyObject
* obj0
= 0 ;
13999 PyObject
* obj1
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self",(char *) "name", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14006 if (SWIG_arg_fail(1)) SWIG_fail
;
14008 arg2
= wxString_in_helper(obj1
);
14009 if (arg2
== NULL
) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 (arg1
)->SetFilename((wxString
const &)*arg2
);
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14019 Py_INCREF(Py_None
); resultobj
= Py_None
;
14034 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14037 wxString
*arg2
= 0 ;
14038 bool temp2
= false ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "wildCard", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14047 if (SWIG_arg_fail(1)) SWIG_fail
;
14049 arg2
= wxString_in_helper(obj1
);
14050 if (arg2
== NULL
) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 Py_INCREF(Py_None
); resultobj
= Py_None
;
14075 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self",(char *) "style", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14087 if (SWIG_arg_fail(1)) SWIG_fail
;
14089 arg2
= (long)(SWIG_As_long(obj1
));
14090 if (SWIG_arg_fail(2)) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->SetStyle(arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 PyObject
* obj1
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self",(char *) "filterIndex", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14118 if (SWIG_arg_fail(1)) SWIG_fail
;
14120 arg2
= (int)(SWIG_As_int(obj1
));
14121 if (SWIG_arg_fail(2)) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 (arg1
)->SetFilterIndex(arg2
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 Py_INCREF(Py_None
); resultobj
= Py_None
;
14137 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14148 if (SWIG_arg_fail(1)) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14169 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14201 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14212 if (SWIG_arg_fail(1)) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14233 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
;
14235 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14237 PyObject
* obj0
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14265 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14276 if (SWIG_arg_fail(1)) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14297 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14308 if (SWIG_arg_fail(1)) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= SWIG_From_long((long)(result
));
14325 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14336 if (SWIG_arg_fail(1)) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= SWIG_From_int((int)(result
));
14353 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= result
;
14379 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
;
14405 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14408 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14410 return Py_BuildValue((char *)"");
14412 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxWindow
*arg1
= (wxWindow
*) 0 ;
14415 wxString
*arg2
= 0 ;
14416 wxString
*arg3
= 0 ;
14417 int arg4
= (int) 0 ;
14418 wxString
*arg5
= (wxString
*) NULL
;
14419 long arg6
= (long) wxCHOICEDLG_STYLE
;
14420 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14421 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14422 wxMultiChoiceDialog
*result
;
14423 bool temp2
= false ;
14424 bool temp3
= false ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 PyObject
* obj2
= 0 ;
14429 PyObject
* obj3
= 0 ;
14430 PyObject
* obj4
= 0 ;
14431 PyObject
* obj5
= 0 ;
14432 char *kwnames
[] = {
14433 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14438 if (SWIG_arg_fail(1)) SWIG_fail
;
14440 arg2
= wxString_in_helper(obj1
);
14441 if (arg2
== NULL
) SWIG_fail
;
14445 arg3
= wxString_in_helper(obj2
);
14446 if (arg3
== NULL
) SWIG_fail
;
14451 arg4
= PyList_Size(obj3
);
14452 arg5
= wxString_LIST_helper(obj3
);
14453 if (arg5
== NULL
) SWIG_fail
;
14458 arg6
= (long)(SWIG_As_long(obj4
));
14459 if (SWIG_arg_fail(6)) SWIG_fail
;
14465 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14469 if (!wxPyCheckForApp()) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14486 if (arg5
) delete [] arg5
;
14499 if (arg5
) delete [] arg5
;
14505 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14507 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14508 wxArrayInt
*arg2
= 0 ;
14509 bool temp2
= false ;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "selections", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14518 if (SWIG_arg_fail(1)) SWIG_fail
;
14520 if (! PySequence_Check(obj1
)) {
14521 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14524 arg2
= new wxArrayInt
;
14526 int i
, len
=PySequence_Length(obj1
);
14527 for (i
=0; i
<len
; i
++) {
14528 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14529 PyObject
* number
= PyNumber_Int(item
);
14530 arg2
->Add(PyInt_AS_LONG(number
));
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 Py_INCREF(Py_None
); resultobj
= Py_None
;
14544 if (temp2
) delete arg2
;
14549 if (temp2
) delete arg2
;
14555 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14566 if (SWIG_arg_fail(1)) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= result
;
14581 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14584 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14586 return Py_BuildValue((char *)"");
14588 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxWindow
*arg1
= (wxWindow
*) 0 ;
14591 wxString
*arg2
= 0 ;
14592 wxString
*arg3
= 0 ;
14594 wxString
*arg5
= (wxString
*) 0 ;
14595 long arg6
= (long) wxCHOICEDLG_STYLE
;
14596 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14597 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14598 wxSingleChoiceDialog
*result
;
14599 bool temp2
= false ;
14600 bool temp3
= false ;
14602 PyObject
* obj0
= 0 ;
14603 PyObject
* obj1
= 0 ;
14604 PyObject
* obj2
= 0 ;
14605 PyObject
* obj3
= 0 ;
14606 PyObject
* obj4
= 0 ;
14607 PyObject
* obj5
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail
;
14616 arg2
= wxString_in_helper(obj1
);
14617 if (arg2
== NULL
) SWIG_fail
;
14621 arg3
= wxString_in_helper(obj2
);
14622 if (arg3
== NULL
) SWIG_fail
;
14626 arg4
= PyList_Size(obj3
);
14627 arg5
= wxString_LIST_helper(obj3
);
14628 if (arg5
== NULL
) SWIG_fail
;
14632 arg6
= (long)(SWIG_As_long(obj4
));
14633 if (SWIG_arg_fail(6)) SWIG_fail
;
14639 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14643 if (!wxPyCheckForApp()) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14660 if (arg5
) delete [] arg5
;
14673 if (arg5
) delete [] arg5
;
14679 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14690 if (SWIG_arg_fail(1)) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (int)(arg1
)->GetSelection();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_From_int((int)(result
));
14707 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14718 if (SWIG_arg_fail(1)) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (arg1
)->GetStringSelection();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14739 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14743 PyObject
* obj0
= 0 ;
14744 PyObject
* obj1
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self",(char *) "sel", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14751 if (SWIG_arg_fail(1)) SWIG_fail
;
14753 arg2
= (int)(SWIG_As_int(obj1
));
14754 if (SWIG_arg_fail(2)) SWIG_fail
;
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 (arg1
)->SetSelection(arg2
);
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 Py_INCREF(Py_None
); resultobj
= Py_None
;
14770 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14773 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14775 return Py_BuildValue((char *)"");
14777 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxWindow
*arg1
= (wxWindow
*) 0 ;
14780 wxString
*arg2
= 0 ;
14781 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14783 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14784 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14785 long arg5
= (long) wxTextEntryDialogStyle
;
14786 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14787 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14788 wxTextEntryDialog
*result
;
14789 bool temp2
= false ;
14790 bool temp3
= false ;
14791 bool temp4
= false ;
14793 PyObject
* obj0
= 0 ;
14794 PyObject
* obj1
= 0 ;
14795 PyObject
* obj2
= 0 ;
14796 PyObject
* obj3
= 0 ;
14797 PyObject
* obj4
= 0 ;
14798 PyObject
* obj5
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail
;
14807 arg2
= wxString_in_helper(obj1
);
14808 if (arg2
== NULL
) SWIG_fail
;
14813 arg3
= wxString_in_helper(obj2
);
14814 if (arg3
== NULL
) SWIG_fail
;
14820 arg4
= wxString_in_helper(obj3
);
14821 if (arg4
== NULL
) SWIG_fail
;
14827 arg5
= (long)(SWIG_As_long(obj4
));
14828 if (SWIG_arg_fail(5)) SWIG_fail
;
14834 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14838 if (!wxPyCheckForApp()) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14876 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14887 if (SWIG_arg_fail(1)) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (arg1
)->GetValue();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14908 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14911 wxString
*arg2
= 0 ;
14912 bool temp2
= false ;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self",(char *) "value", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14921 if (SWIG_arg_fail(1)) SWIG_fail
;
14923 arg2
= wxString_in_helper(obj1
);
14924 if (arg2
== NULL
) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 (arg1
)->SetValue((wxString
const &)*arg2
);
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
14951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14952 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
14954 return Py_BuildValue((char *)"");
14956 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
14957 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
14962 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
14967 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14969 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14976 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxWindow
*arg1
= (wxWindow
*) 0 ;
14979 wxString
*arg2
= 0 ;
14980 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
14981 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14982 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14983 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14984 long arg5
= (long) wxTextEntryDialogStyle
;
14985 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14986 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14987 wxPasswordEntryDialog
*result
;
14988 bool temp2
= false ;
14989 bool temp3
= false ;
14990 bool temp4
= false ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 PyObject
* obj2
= 0 ;
14995 PyObject
* obj3
= 0 ;
14996 PyObject
* obj4
= 0 ;
14997 PyObject
* obj5
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15004 if (SWIG_arg_fail(1)) SWIG_fail
;
15006 arg2
= wxString_in_helper(obj1
);
15007 if (arg2
== NULL
) SWIG_fail
;
15012 arg3
= wxString_in_helper(obj2
);
15013 if (arg3
== NULL
) SWIG_fail
;
15019 arg4
= wxString_in_helper(obj3
);
15020 if (arg4
== NULL
) SWIG_fail
;
15026 arg5
= (long)(SWIG_As_long(obj4
));
15027 if (SWIG_arg_fail(5)) SWIG_fail
;
15033 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15074 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15077 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15079 return Py_BuildValue((char *)"");
15081 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxFontData
*result
;
15084 char *kwnames
[] = {
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 result
= (wxFontData
*)new wxFontData();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15103 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxFontData
*arg1
= (wxFontData
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15113 if (SWIG_arg_fail(1)) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 Py_INCREF(Py_None
); resultobj
= Py_None
;
15128 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxFontData
*arg1
= (wxFontData
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self",(char *) "enable", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15140 if (SWIG_arg_fail(1)) SWIG_fail
;
15142 arg2
= (bool)(SWIG_As_bool(obj1
));
15143 if (SWIG_arg_fail(2)) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 (arg1
)->EnableEffects(arg2
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 Py_INCREF(Py_None
); resultobj
= Py_None
;
15159 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxFontData
*arg1
= (wxFontData
*) 0 ;
15163 PyObject
* obj0
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "self", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15170 if (SWIG_arg_fail(1)) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (bool)(arg1
)->GetAllowSymbols();
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15187 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxFontData
*arg1
= (wxFontData
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15198 if (SWIG_arg_fail(1)) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (arg1
)->GetColour();
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15207 wxColour
* resultptr
;
15208 resultptr
= new wxColour((wxColour
&)(result
));
15209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15217 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxFontData
*arg1
= (wxFontData
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15228 if (SWIG_arg_fail(1)) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (arg1
)->GetChosenFont();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 wxFont
* resultptr
;
15238 resultptr
= new wxFont((wxFont
&)(result
));
15239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15247 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxFontData
*arg1
= (wxFontData
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15258 if (SWIG_arg_fail(1)) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (bool)(arg1
)->GetEnableEffects();
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15275 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
;
15277 wxFontData
*arg1
= (wxFontData
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15286 if (SWIG_arg_fail(1)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (arg1
)->GetInitialFont();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15295 wxFont
* resultptr
;
15296 resultptr
= new wxFont((wxFont
&)(result
));
15297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15305 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxFontData
*arg1
= (wxFontData
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15316 if (SWIG_arg_fail(1)) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (bool)(arg1
)->GetShowHelp();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15333 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxFontData
*arg1
= (wxFontData
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "allowSymbols", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15345 if (SWIG_arg_fail(1)) SWIG_fail
;
15347 arg2
= (bool)(SWIG_As_bool(obj1
));
15348 if (SWIG_arg_fail(2)) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 (arg1
)->SetAllowSymbols(arg2
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxFontData
*arg1
= (wxFontData
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "font", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15376 if (SWIG_arg_fail(1)) SWIG_fail
;
15378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15379 if (SWIG_arg_fail(2)) SWIG_fail
;
15380 if (arg2
== NULL
) {
15381 SWIG_null_ref("wxFont");
15383 if (SWIG_arg_fail(2)) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 Py_INCREF(Py_None
); resultobj
= Py_None
;
15399 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxFontData
*arg1
= (wxFontData
*) 0 ;
15402 wxColour
*arg2
= 0 ;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self",(char *) "colour", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail
;
15415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 (arg1
)->SetColour((wxColour
const &)*arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 Py_INCREF(Py_None
); resultobj
= Py_None
;
15431 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxFontData
*arg1
= (wxFontData
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "font", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15446 if (SWIG_arg_fail(2)) SWIG_fail
;
15447 if (arg2
== NULL
) {
15448 SWIG_null_ref("wxFont");
15450 if (SWIG_arg_fail(2)) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 Py_INCREF(Py_None
); resultobj
= Py_None
;
15466 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxFontData
*arg1
= (wxFontData
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 PyObject
* obj2
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self",(char *) "min",(char *) "max", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15480 if (SWIG_arg_fail(1)) SWIG_fail
;
15482 arg2
= (int)(SWIG_As_int(obj1
));
15483 if (SWIG_arg_fail(2)) SWIG_fail
;
15486 arg3
= (int)(SWIG_As_int(obj2
));
15487 if (SWIG_arg_fail(3)) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetRange(arg2
,arg3
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 Py_INCREF(Py_None
); resultobj
= Py_None
;
15503 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxFontData
*arg1
= (wxFontData
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 PyObject
* obj1
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self",(char *) "showHelp", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15515 if (SWIG_arg_fail(1)) SWIG_fail
;
15517 arg2
= (bool)(SWIG_As_bool(obj1
));
15518 if (SWIG_arg_fail(2)) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->SetShowHelp(arg2
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 Py_INCREF(Py_None
); resultobj
= Py_None
;
15534 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15537 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15539 return Py_BuildValue((char *)"");
15541 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxWindow
*arg1
= (wxWindow
*) 0 ;
15544 wxFontData
*arg2
= 0 ;
15545 wxFontDialog
*result
;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "parent",(char *) "data", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15554 if (SWIG_arg_fail(1)) SWIG_fail
;
15556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15557 if (SWIG_arg_fail(2)) SWIG_fail
;
15558 if (arg2
== NULL
) {
15559 SWIG_null_ref("wxFontData");
15561 if (SWIG_arg_fail(2)) SWIG_fail
;
15564 if (!wxPyCheckForApp()) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15578 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15581 wxFontData
*result
;
15582 PyObject
* obj0
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15594 result
= (wxFontData
*) &_result_ref
;
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15607 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15610 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15612 return Py_BuildValue((char *)"");
15614 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxWindow
*arg1
= (wxWindow
*) 0 ;
15617 wxString
*arg2
= 0 ;
15618 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15620 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15621 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15622 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15623 wxMessageDialog
*result
;
15624 bool temp2
= false ;
15625 bool temp3
= false ;
15627 PyObject
* obj0
= 0 ;
15628 PyObject
* obj1
= 0 ;
15629 PyObject
* obj2
= 0 ;
15630 PyObject
* obj3
= 0 ;
15631 PyObject
* obj4
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15638 if (SWIG_arg_fail(1)) SWIG_fail
;
15640 arg2
= wxString_in_helper(obj1
);
15641 if (arg2
== NULL
) SWIG_fail
;
15646 arg3
= wxString_in_helper(obj2
);
15647 if (arg3
== NULL
) SWIG_fail
;
15653 arg4
= (long)(SWIG_As_long(obj3
));
15654 if (SWIG_arg_fail(4)) SWIG_fail
;
15660 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15664 if (!wxPyCheckForApp()) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15694 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15697 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15699 return Py_BuildValue((char *)"");
15701 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxString
*arg1
= 0 ;
15704 wxString
*arg2
= 0 ;
15705 int arg3
= (int) 100 ;
15706 wxWindow
*arg4
= (wxWindow
*) NULL
;
15707 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15708 wxProgressDialog
*result
;
15709 bool temp1
= false ;
15710 bool temp2
= false ;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 PyObject
* obj2
= 0 ;
15714 PyObject
* obj3
= 0 ;
15715 PyObject
* obj4
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15722 arg1
= wxString_in_helper(obj0
);
15723 if (arg1
== NULL
) SWIG_fail
;
15727 arg2
= wxString_in_helper(obj1
);
15728 if (arg2
== NULL
) SWIG_fail
;
15733 arg3
= (int)(SWIG_As_int(obj2
));
15734 if (SWIG_arg_fail(3)) SWIG_fail
;
15738 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15739 if (SWIG_arg_fail(4)) SWIG_fail
;
15743 arg5
= (int)(SWIG_As_int(obj4
));
15744 if (SWIG_arg_fail(5)) SWIG_fail
;
15748 if (!wxPyCheckForApp()) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15778 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15782 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15783 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15785 bool temp3
= false ;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 PyObject
* obj2
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail
;
15797 arg2
= (int)(SWIG_As_int(obj1
));
15798 if (SWIG_arg_fail(2)) SWIG_fail
;
15802 arg3
= wxString_in_helper(obj2
);
15803 if (arg3
== NULL
) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15831 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15834 PyObject
* obj0
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 Py_INCREF(Py_None
); resultobj
= Py_None
;
15856 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15859 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15861 return Py_BuildValue((char *)"");
15863 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15866 int arg2
= (int) 0 ;
15867 wxFindDialogEvent
*result
;
15868 PyObject
* obj0
= 0 ;
15869 PyObject
* obj1
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "commandType",(char *) "id", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15877 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15878 if (SWIG_arg_fail(1)) SWIG_fail
;
15883 arg2
= (int)(SWIG_As_int(obj1
));
15884 if (SWIG_arg_fail(2)) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
15901 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
15911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15912 if (SWIG_arg_fail(1)) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (int)(arg1
)->GetFlags();
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= SWIG_From_int((int)(result
));
15929 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
15939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15940 if (SWIG_arg_fail(1)) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 wxString
const &_result_ref
= (arg1
)->GetFindString();
15945 result
= (wxString
*) &_result_ref
;
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15955 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15964 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
15974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15975 if (SWIG_arg_fail(1)) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
15980 result
= (wxString
*) &_result_ref
;
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15990 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15999 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16002 wxFindReplaceDialog
*result
;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16025 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 PyObject
* obj1
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self",(char *) "flags", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16037 if (SWIG_arg_fail(1)) SWIG_fail
;
16039 arg2
= (int)(SWIG_As_int(obj1
));
16040 if (SWIG_arg_fail(2)) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 (arg1
)->SetFlags(arg2
);
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 Py_INCREF(Py_None
); resultobj
= Py_None
;
16056 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16059 wxString
*arg2
= 0 ;
16060 bool temp2
= false ;
16061 PyObject
* obj0
= 0 ;
16062 PyObject
* obj1
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self",(char *) "str", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16069 if (SWIG_arg_fail(1)) SWIG_fail
;
16071 arg2
= wxString_in_helper(obj1
);
16072 if (arg2
== NULL
) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 (arg1
)->SetFindString((wxString
const &)*arg2
);
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16082 Py_INCREF(Py_None
); resultobj
= Py_None
;
16097 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16100 wxString
*arg2
= 0 ;
16101 bool temp2
= false ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "str", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16110 if (SWIG_arg_fail(1)) SWIG_fail
;
16112 arg2
= wxString_in_helper(obj1
);
16113 if (arg2
== NULL
) SWIG_fail
;
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16123 Py_INCREF(Py_None
); resultobj
= Py_None
;
16138 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16141 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16143 return Py_BuildValue((char *)"");
16145 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 int arg1
= (int) 0 ;
16148 wxFindReplaceData
*result
;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "flags", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16157 arg1
= (int)(SWIG_As_int(obj0
));
16158 if (SWIG_arg_fail(1)) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16175 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16185 if (SWIG_arg_fail(1)) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16200 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16211 if (SWIG_arg_fail(1)) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 wxString
const &_result_ref
= (arg1
)->GetFindString();
16216 result
= (wxString
*) &_result_ref
;
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16235 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16246 if (SWIG_arg_fail(1)) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16251 result
= (wxString
*) &_result_ref
;
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16261 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16270 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16281 if (SWIG_arg_fail(1)) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (int)(arg1
)->GetFlags();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= SWIG_From_int((int)(result
));
16298 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "flags", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16310 if (SWIG_arg_fail(1)) SWIG_fail
;
16312 arg2
= (int)(SWIG_As_int(obj1
));
16313 if (SWIG_arg_fail(2)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 (arg1
)->SetFlags(arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 Py_INCREF(Py_None
); resultobj
= Py_None
;
16329 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16332 wxString
*arg2
= 0 ;
16333 bool temp2
= false ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "str", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail
;
16344 arg2
= wxString_in_helper(obj1
);
16345 if (arg2
== NULL
) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 (arg1
)->SetFindString((wxString
const &)*arg2
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 Py_INCREF(Py_None
); resultobj
= Py_None
;
16370 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16373 wxString
*arg2
= 0 ;
16374 bool temp2
= false ;
16375 PyObject
* obj0
= 0 ;
16376 PyObject
* obj1
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self",(char *) "str", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16383 if (SWIG_arg_fail(1)) SWIG_fail
;
16385 arg2
= wxString_in_helper(obj1
);
16386 if (arg2
== NULL
) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 Py_INCREF(Py_None
); resultobj
= Py_None
;
16411 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16414 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16416 return Py_BuildValue((char *)"");
16418 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxWindow
*arg1
= (wxWindow
*) 0 ;
16421 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16422 wxString
*arg3
= 0 ;
16423 int arg4
= (int) 0 ;
16424 wxFindReplaceDialog
*result
;
16425 bool temp3
= false ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 PyObject
* obj2
= 0 ;
16429 PyObject
* obj3
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16436 if (SWIG_arg_fail(1)) SWIG_fail
;
16437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16438 if (SWIG_arg_fail(2)) SWIG_fail
;
16440 arg3
= wxString_in_helper(obj2
);
16441 if (arg3
== NULL
) SWIG_fail
;
16446 arg4
= (int)(SWIG_As_int(obj3
));
16447 if (SWIG_arg_fail(4)) SWIG_fail
;
16451 if (!wxPyCheckForApp()) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16473 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxFindReplaceDialog
*result
;
16476 char *kwnames
[] = {
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16482 if (!wxPyCheckForApp()) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16496 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16499 wxWindow
*arg2
= (wxWindow
*) 0 ;
16500 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16501 wxString
*arg4
= 0 ;
16502 int arg5
= (int) 0 ;
16504 bool temp4
= false ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 PyObject
* obj2
= 0 ;
16508 PyObject
* obj3
= 0 ;
16509 PyObject
* obj4
= 0 ;
16510 char *kwnames
[] = {
16511 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16516 if (SWIG_arg_fail(1)) SWIG_fail
;
16517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16518 if (SWIG_arg_fail(2)) SWIG_fail
;
16519 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16520 if (SWIG_arg_fail(3)) SWIG_fail
;
16522 arg4
= wxString_in_helper(obj3
);
16523 if (arg4
== NULL
) SWIG_fail
;
16528 arg5
= (int)(SWIG_As_int(obj4
));
16529 if (SWIG_arg_fail(5)) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16556 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16559 wxFindReplaceData
*result
;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16582 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16585 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 PyObject
* obj1
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self",(char *) "data", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16594 if (SWIG_arg_fail(1)) SWIG_fail
;
16595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16596 if (SWIG_arg_fail(2)) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->SetData(arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16614 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16616 return Py_BuildValue((char *)"");
16618 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxWindow
*arg1
= (wxWindow
*) 0 ;
16621 int arg2
= (int) (int)-1 ;
16622 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16623 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16628 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16629 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16631 wxMDIParentFrame
*result
;
16632 bool temp3
= false ;
16635 bool temp7
= false ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 PyObject
* obj2
= 0 ;
16639 PyObject
* obj3
= 0 ;
16640 PyObject
* obj4
= 0 ;
16641 PyObject
* obj5
= 0 ;
16642 PyObject
* obj6
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail
;
16652 arg2
= (int const)(SWIG_As_int(obj1
));
16653 if (SWIG_arg_fail(2)) SWIG_fail
;
16658 arg3
= wxString_in_helper(obj2
);
16659 if (arg3
== NULL
) SWIG_fail
;
16666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16677 arg6
= (long)(SWIG_As_long(obj5
));
16678 if (SWIG_arg_fail(6)) SWIG_fail
;
16683 arg7
= wxString_in_helper(obj6
);
16684 if (arg7
== NULL
) SWIG_fail
;
16689 if (!wxPyCheckForApp()) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16719 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxMDIParentFrame
*result
;
16722 char *kwnames
[] = {
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16728 if (!wxPyCheckForApp()) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16742 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16745 wxWindow
*arg2
= (wxWindow
*) 0 ;
16746 int arg3
= (int) (int)-1 ;
16747 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16748 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16749 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16750 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16751 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16752 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16753 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16754 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16755 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16757 bool temp4
= false ;
16760 bool temp8
= false ;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 PyObject
* obj2
= 0 ;
16764 PyObject
* obj3
= 0 ;
16765 PyObject
* obj4
= 0 ;
16766 PyObject
* obj5
= 0 ;
16767 PyObject
* obj6
= 0 ;
16768 PyObject
* obj7
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16775 if (SWIG_arg_fail(1)) SWIG_fail
;
16776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16777 if (SWIG_arg_fail(2)) SWIG_fail
;
16780 arg3
= (int const)(SWIG_As_int(obj2
));
16781 if (SWIG_arg_fail(3)) SWIG_fail
;
16786 arg4
= wxString_in_helper(obj3
);
16787 if (arg4
== NULL
) SWIG_fail
;
16794 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16800 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16805 arg7
= (long)(SWIG_As_long(obj6
));
16806 if (SWIG_arg_fail(7)) SWIG_fail
;
16811 arg8
= wxString_in_helper(obj7
);
16812 if (arg8
== NULL
) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16848 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16858 if (SWIG_arg_fail(1)) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 (arg1
)->ActivateNext();
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 Py_INCREF(Py_None
); resultobj
= Py_None
;
16873 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16883 if (SWIG_arg_fail(1)) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 (arg1
)->ActivatePrevious();
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 Py_INCREF(Py_None
); resultobj
= Py_None
;
16898 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16901 PyObject
* obj0
= 0 ;
16902 char *kwnames
[] = {
16903 (char *) "self", NULL
16906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
16907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16908 if (SWIG_arg_fail(1)) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 (arg1
)->ArrangeIcons();
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 Py_INCREF(Py_None
); resultobj
= Py_None
;
16923 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "self", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
16932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16933 if (SWIG_arg_fail(1)) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 Py_INCREF(Py_None
); resultobj
= Py_None
;
16948 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16951 wxMDIChildFrame
*result
;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
16958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= wxPyMake_wxObject(result
, 0);
16976 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16979 wxMDIClientWindow
*result
;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
16986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16987 if (SWIG_arg_fail(1)) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= wxPyMake_wxObject(result
, 0);
17004 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17015 if (SWIG_arg_fail(1)) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (wxWindow
*)(arg1
)->GetToolBar();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= wxPyMake_wxObject(result
, 0);
17032 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
17041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17042 if (SWIG_arg_fail(1)) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 Py_INCREF(Py_None
); resultobj
= Py_None
;
17057 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17060 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17062 return Py_BuildValue((char *)"");
17064 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17067 int arg2
= (int) (int)-1 ;
17068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17074 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17075 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17077 wxMDIChildFrame
*result
;
17078 bool temp3
= false ;
17081 bool temp7
= false ;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 PyObject
* obj2
= 0 ;
17085 PyObject
* obj3
= 0 ;
17086 PyObject
* obj4
= 0 ;
17087 PyObject
* obj5
= 0 ;
17088 PyObject
* obj6
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17095 if (SWIG_arg_fail(1)) SWIG_fail
;
17098 arg2
= (int const)(SWIG_As_int(obj1
));
17099 if (SWIG_arg_fail(2)) SWIG_fail
;
17104 arg3
= wxString_in_helper(obj2
);
17105 if (arg3
== NULL
) SWIG_fail
;
17112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17123 arg6
= (long)(SWIG_As_long(obj5
));
17124 if (SWIG_arg_fail(6)) SWIG_fail
;
17129 arg7
= wxString_in_helper(obj6
);
17130 if (arg7
== NULL
) SWIG_fail
;
17135 if (!wxPyCheckForApp()) SWIG_fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17165 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxMDIChildFrame
*result
;
17168 char *kwnames
[] = {
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17174 if (!wxPyCheckForApp()) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17188 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17191 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17192 int arg3
= (int) (int)-1 ;
17193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17199 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17200 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17203 bool temp4
= false ;
17206 bool temp8
= false ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 PyObject
* obj3
= 0 ;
17211 PyObject
* obj4
= 0 ;
17212 PyObject
* obj5
= 0 ;
17213 PyObject
* obj6
= 0 ;
17214 PyObject
* obj7
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail
;
17222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17223 if (SWIG_arg_fail(2)) SWIG_fail
;
17226 arg3
= (int const)(SWIG_As_int(obj2
));
17227 if (SWIG_arg_fail(3)) SWIG_fail
;
17232 arg4
= wxString_in_helper(obj3
);
17233 if (arg4
== NULL
) SWIG_fail
;
17240 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17246 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17251 arg7
= (long)(SWIG_As_long(obj6
));
17252 if (SWIG_arg_fail(7)) SWIG_fail
;
17257 arg8
= wxString_in_helper(obj7
);
17258 if (arg8
== NULL
) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17294 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17304 if (SWIG_arg_fail(1)) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 (arg1
)->Activate();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 Py_INCREF(Py_None
); resultobj
= Py_None
;
17319 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17322 bool arg2
= (bool) true ;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "maximize", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17334 arg2
= (bool)(SWIG_As_bool(obj1
));
17335 if (SWIG_arg_fail(2)) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 (arg1
)->Maximize(arg2
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17345 Py_INCREF(Py_None
); resultobj
= Py_None
;
17352 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 Py_INCREF(Py_None
); resultobj
= Py_None
;
17377 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17380 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17382 return Py_BuildValue((char *)"");
17384 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17387 long arg2
= (long) 0 ;
17388 wxMDIClientWindow
*result
;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "parent",(char *) "style", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17397 if (SWIG_arg_fail(1)) SWIG_fail
;
17400 arg2
= (long)(SWIG_As_long(obj1
));
17401 if (SWIG_arg_fail(2)) SWIG_fail
;
17405 if (!wxPyCheckForApp()) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17419 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxMDIClientWindow
*result
;
17422 char *kwnames
[] = {
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17428 if (!wxPyCheckForApp()) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17442 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17445 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17446 long arg3
= (long) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 PyObject
* obj2
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self",(char *) "parent",(char *) "style", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17457 if (SWIG_arg_fail(1)) SWIG_fail
;
17458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17459 if (SWIG_arg_fail(2)) SWIG_fail
;
17462 arg3
= (long)(SWIG_As_long(obj2
));
17463 if (SWIG_arg_fail(3)) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17482 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17485 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17487 return Py_BuildValue((char *)"");
17489 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxWindow
*arg1
= (wxWindow
*) 0 ;
17492 int arg2
= (int) (int)-1 ;
17493 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17494 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17495 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17496 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17497 long arg5
= (long) 0 ;
17498 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17499 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17500 wxPyWindow
*result
;
17503 bool temp6
= false ;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 PyObject
* obj2
= 0 ;
17507 PyObject
* obj3
= 0 ;
17508 PyObject
* obj4
= 0 ;
17509 PyObject
* obj5
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17516 if (SWIG_arg_fail(1)) SWIG_fail
;
17519 arg2
= (int const)(SWIG_As_int(obj1
));
17520 if (SWIG_arg_fail(2)) SWIG_fail
;
17526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17532 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17537 arg5
= (long)(SWIG_As_long(obj4
));
17538 if (SWIG_arg_fail(5)) SWIG_fail
;
17543 arg6
= wxString_in_helper(obj5
);
17544 if (arg6
== NULL
) SWIG_fail
;
17549 if (!wxPyCheckForApp()) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17571 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxPyWindow
*result
;
17574 char *kwnames
[] = {
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17580 if (!wxPyCheckForApp()) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= (wxPyWindow
*)new wxPyWindow();
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17594 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17597 PyObject
*arg2
= (PyObject
*) 0 ;
17598 PyObject
*arg3
= (PyObject
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 PyObject
* obj2
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "self",(char *) "_class", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17608 if (SWIG_arg_fail(1)) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 Py_INCREF(Py_None
); resultobj
= Py_None
;
17625 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "size", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17638 if (SWIG_arg_fail(1)) SWIG_fail
;
17641 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 Py_INCREF(Py_None
); resultobj
= Py_None
;
17657 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 PyObject
* obj2
= 0 ;
17667 PyObject
* obj3
= 0 ;
17668 PyObject
* obj4
= 0 ;
17669 char *kwnames
[] = {
17670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17675 if (SWIG_arg_fail(1)) SWIG_fail
;
17677 arg2
= (int)(SWIG_As_int(obj1
));
17678 if (SWIG_arg_fail(2)) SWIG_fail
;
17681 arg3
= (int)(SWIG_As_int(obj2
));
17682 if (SWIG_arg_fail(3)) SWIG_fail
;
17685 arg4
= (int)(SWIG_As_int(obj3
));
17686 if (SWIG_arg_fail(4)) SWIG_fail
;
17689 arg5
= (int)(SWIG_As_int(obj4
));
17690 if (SWIG_arg_fail(5)) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 Py_INCREF(Py_None
); resultobj
= Py_None
;
17706 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17713 int arg6
= (int) wxSIZE_AUTO
;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 PyObject
* obj2
= 0 ;
17717 PyObject
* obj3
= 0 ;
17718 PyObject
* obj4
= 0 ;
17719 PyObject
* obj5
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17726 if (SWIG_arg_fail(1)) SWIG_fail
;
17728 arg2
= (int)(SWIG_As_int(obj1
));
17729 if (SWIG_arg_fail(2)) SWIG_fail
;
17732 arg3
= (int)(SWIG_As_int(obj2
));
17733 if (SWIG_arg_fail(3)) SWIG_fail
;
17736 arg4
= (int)(SWIG_As_int(obj3
));
17737 if (SWIG_arg_fail(4)) SWIG_fail
;
17740 arg5
= (int)(SWIG_As_int(obj4
));
17741 if (SWIG_arg_fail(5)) SWIG_fail
;
17745 arg6
= (int)(SWIG_As_int(obj5
));
17746 if (SWIG_arg_fail(6)) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 Py_INCREF(Py_None
); resultobj
= Py_None
;
17763 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 PyObject
* obj2
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self",(char *) "width",(char *) "height", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17777 if (SWIG_arg_fail(1)) SWIG_fail
;
17779 arg2
= (int)(SWIG_As_int(obj1
));
17780 if (SWIG_arg_fail(2)) SWIG_fail
;
17783 arg3
= (int)(SWIG_As_int(obj2
));
17784 if (SWIG_arg_fail(3)) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 PyObject
* obj2
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "x",(char *) "y", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17814 if (SWIG_arg_fail(1)) SWIG_fail
;
17816 arg2
= (int)(SWIG_As_int(obj1
));
17817 if (SWIG_arg_fail(2)) SWIG_fail
;
17820 arg3
= (int)(SWIG_As_int(obj2
));
17821 if (SWIG_arg_fail(3)) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 Py_INCREF(Py_None
); resultobj
= Py_None
;
17837 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17840 int *arg2
= (int *) 0 ;
17841 int *arg3
= (int *) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17852 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 Py_INCREF(Py_None
); resultobj
= Py_None
;
17864 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17865 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17866 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17867 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17874 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17877 int *arg2
= (int *) 0 ;
17878 int *arg3
= (int *) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self", NULL
17888 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17889 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17901 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17902 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17903 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17904 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17911 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17914 int *arg2
= (int *) 0 ;
17915 int *arg3
= (int *) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17926 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 Py_INCREF(Py_None
); resultobj
= Py_None
;
17938 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17939 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17940 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17941 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17948 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17959 if (SWIG_arg_fail(1)) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17968 wxSize
* resultptr
;
17969 resultptr
= new wxSize((wxSize
&)(result
));
17970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17978 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17998 wxSize
* resultptr
;
17999 resultptr
= new wxSize((wxSize
&)(result
));
18000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18008 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18018 if (SWIG_arg_fail(1)) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->base_InitDialog();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18033 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18044 if (SWIG_arg_fail(1)) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 result
= (bool)(arg1
)->base_TransferDataToWindow();
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18061 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18072 if (SWIG_arg_fail(1)) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18089 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18100 if (SWIG_arg_fail(1)) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (bool)(arg1
)->base_Validate();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18117 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18128 if (SWIG_arg_fail(1)) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18145 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18173 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18177 PyObject
* obj0
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18184 if (SWIG_arg_fail(1)) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 wxSize
* resultptr
;
18194 resultptr
= new wxSize((wxSize
&)(result
));
18195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18203 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
;
18205 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18206 wxWindow
*arg2
= (wxWindow
*) 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "child", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail
;
18216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18217 if (SWIG_arg_fail(2)) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 (arg1
)->base_AddChild(arg2
);
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 Py_INCREF(Py_None
); resultobj
= Py_None
;
18232 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18235 wxWindow
*arg2
= (wxWindow
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "child", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail
;
18245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18246 if (SWIG_arg_fail(2)) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 (arg1
)->base_RemoveChild(arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 Py_INCREF(Py_None
); resultobj
= Py_None
;
18261 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18272 if (SWIG_arg_fail(1)) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18289 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18292 wxColour
*arg2
= 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "c", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18302 if (SWIG_arg_fail(1)) SWIG_fail
;
18305 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 Py_INCREF(Py_None
); resultobj
= Py_None
;
18321 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18324 wxVisualAttributes result
;
18325 PyObject
* obj0
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (arg1
)->base_GetDefaultAttributes();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 wxVisualAttributes
* resultptr
;
18342 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18351 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18354 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18356 return Py_BuildValue((char *)"");
18358 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxWindow
*arg1
= (wxWindow
*) 0 ;
18361 int arg2
= (int) (int)-1 ;
18362 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18363 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18364 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18365 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18366 long arg5
= (long) 0 ;
18367 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18368 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18372 bool temp6
= false ;
18373 PyObject
* obj0
= 0 ;
18374 PyObject
* obj1
= 0 ;
18375 PyObject
* obj2
= 0 ;
18376 PyObject
* obj3
= 0 ;
18377 PyObject
* obj4
= 0 ;
18378 PyObject
* obj5
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18385 if (SWIG_arg_fail(1)) SWIG_fail
;
18388 arg2
= (int const)(SWIG_As_int(obj1
));
18389 if (SWIG_arg_fail(2)) SWIG_fail
;
18395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18406 arg5
= (long)(SWIG_As_long(obj4
));
18407 if (SWIG_arg_fail(5)) SWIG_fail
;
18412 arg6
= wxString_in_helper(obj5
);
18413 if (arg6
== NULL
) SWIG_fail
;
18418 if (!wxPyCheckForApp()) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18440 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18443 char *kwnames
[] = {
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18449 if (!wxPyCheckForApp()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 result
= (wxPyPanel
*)new wxPyPanel();
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18463 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18466 PyObject
*arg2
= (PyObject
*) 0 ;
18467 PyObject
*arg3
= (PyObject
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 PyObject
* obj2
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "self",(char *) "self",(char *) "_class", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18477 if (SWIG_arg_fail(1)) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 Py_INCREF(Py_None
); resultobj
= Py_None
;
18494 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 PyObject
* obj1
= 0 ;
18501 char *kwnames
[] = {
18502 (char *) "self",(char *) "size", NULL
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail
;
18510 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 Py_INCREF(Py_None
); resultobj
= Py_None
;
18526 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 PyObject
* obj1
= 0 ;
18535 PyObject
* obj2
= 0 ;
18536 PyObject
* obj3
= 0 ;
18537 PyObject
* obj4
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18544 if (SWIG_arg_fail(1)) SWIG_fail
;
18546 arg2
= (int)(SWIG_As_int(obj1
));
18547 if (SWIG_arg_fail(2)) SWIG_fail
;
18550 arg3
= (int)(SWIG_As_int(obj2
));
18551 if (SWIG_arg_fail(3)) SWIG_fail
;
18554 arg4
= (int)(SWIG_As_int(obj3
));
18555 if (SWIG_arg_fail(4)) SWIG_fail
;
18558 arg5
= (int)(SWIG_As_int(obj4
));
18559 if (SWIG_arg_fail(5)) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 Py_INCREF(Py_None
); resultobj
= Py_None
;
18575 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18582 int arg6
= (int) wxSIZE_AUTO
;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 PyObject
* obj2
= 0 ;
18586 PyObject
* obj3
= 0 ;
18587 PyObject
* obj4
= 0 ;
18588 PyObject
* obj5
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18595 if (SWIG_arg_fail(1)) SWIG_fail
;
18597 arg2
= (int)(SWIG_As_int(obj1
));
18598 if (SWIG_arg_fail(2)) SWIG_fail
;
18601 arg3
= (int)(SWIG_As_int(obj2
));
18602 if (SWIG_arg_fail(3)) SWIG_fail
;
18605 arg4
= (int)(SWIG_As_int(obj3
));
18606 if (SWIG_arg_fail(4)) SWIG_fail
;
18609 arg5
= (int)(SWIG_As_int(obj4
));
18610 if (SWIG_arg_fail(5)) SWIG_fail
;
18614 arg6
= (int)(SWIG_As_int(obj5
));
18615 if (SWIG_arg_fail(6)) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 Py_INCREF(Py_None
); resultobj
= Py_None
;
18632 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 PyObject
* obj1
= 0 ;
18639 PyObject
* obj2
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self",(char *) "width",(char *) "height", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18646 if (SWIG_arg_fail(1)) SWIG_fail
;
18648 arg2
= (int)(SWIG_As_int(obj1
));
18649 if (SWIG_arg_fail(2)) SWIG_fail
;
18652 arg3
= (int)(SWIG_As_int(obj2
));
18653 if (SWIG_arg_fail(3)) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 Py_INCREF(Py_None
); resultobj
= Py_None
;
18669 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 PyObject
* obj2
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self",(char *) "x",(char *) "y", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18683 if (SWIG_arg_fail(1)) SWIG_fail
;
18685 arg2
= (int)(SWIG_As_int(obj1
));
18686 if (SWIG_arg_fail(2)) SWIG_fail
;
18689 arg3
= (int)(SWIG_As_int(obj2
));
18690 if (SWIG_arg_fail(3)) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 Py_INCREF(Py_None
); resultobj
= Py_None
;
18706 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18709 int *arg2
= (int *) 0 ;
18710 int *arg3
= (int *) 0 ;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self", NULL
18720 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18721 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18724 if (SWIG_arg_fail(1)) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18734 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18735 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18736 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18743 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18746 int *arg2
= (int *) 0 ;
18747 int *arg3
= (int *) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self", NULL
18757 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18758 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 Py_INCREF(Py_None
); resultobj
= Py_None
;
18770 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18771 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18772 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18773 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18780 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18783 int *arg2
= (int *) 0 ;
18784 int *arg3
= (int *) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self", NULL
18794 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18795 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 Py_INCREF(Py_None
); resultobj
= Py_None
;
18807 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18808 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18809 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18810 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18817 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18828 if (SWIG_arg_fail(1)) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18837 wxSize
* resultptr
;
18838 resultptr
= new wxSize((wxSize
&)(result
));
18839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18847 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18867 wxSize
* resultptr
;
18868 resultptr
= new wxSize((wxSize
&)(result
));
18869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18877 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 (arg1
)->base_InitDialog();
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 Py_INCREF(Py_None
); resultobj
= Py_None
;
18902 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (bool)(arg1
)->base_TransferDataToWindow();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18930 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18941 if (SWIG_arg_fail(1)) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18958 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
18968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18969 if (SWIG_arg_fail(1)) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (bool)(arg1
)->base_Validate();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18986 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18997 if (SWIG_arg_fail(1)) SWIG_fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19014 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19025 if (SWIG_arg_fail(1)) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19053 if (SWIG_arg_fail(1)) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19062 wxSize
* resultptr
;
19063 resultptr
= new wxSize((wxSize
&)(result
));
19064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19072 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19075 wxWindow
*arg2
= (wxWindow
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "child", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail
;
19085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19086 if (SWIG_arg_fail(2)) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->base_AddChild(arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19101 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19104 wxWindow
*arg2
= (wxWindow
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self",(char *) "child", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19113 if (SWIG_arg_fail(1)) SWIG_fail
;
19114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19115 if (SWIG_arg_fail(2)) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->base_RemoveChild(arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19141 if (SWIG_arg_fail(1)) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19158 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19161 wxColour
*arg2
= 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self",(char *) "c", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19171 if (SWIG_arg_fail(1)) SWIG_fail
;
19174 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19193 wxVisualAttributes result
;
19194 PyObject
* obj0
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (arg1
)->base_GetDefaultAttributes();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 wxVisualAttributes
* resultptr
;
19211 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19220 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19223 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19225 return Py_BuildValue((char *)"");
19227 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxWindow
*arg1
= (wxWindow
*) 0 ;
19230 int arg2
= (int) (int)-1 ;
19231 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19232 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19233 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19234 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19235 long arg5
= (long) 0 ;
19236 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19237 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19238 wxPyScrolledWindow
*result
;
19241 bool temp6
= false ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 PyObject
* obj2
= 0 ;
19245 PyObject
* obj3
= 0 ;
19246 PyObject
* obj4
= 0 ;
19247 PyObject
* obj5
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19254 if (SWIG_arg_fail(1)) SWIG_fail
;
19257 arg2
= (int const)(SWIG_As_int(obj1
));
19258 if (SWIG_arg_fail(2)) SWIG_fail
;
19264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19275 arg5
= (long)(SWIG_As_long(obj4
));
19276 if (SWIG_arg_fail(5)) SWIG_fail
;
19281 arg6
= wxString_in_helper(obj5
);
19282 if (arg6
== NULL
) SWIG_fail
;
19287 if (!wxPyCheckForApp()) SWIG_fail
;
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19309 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxPyScrolledWindow
*result
;
19312 char *kwnames
[] = {
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19318 if (!wxPyCheckForApp()) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19332 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19335 PyObject
*arg2
= (PyObject
*) 0 ;
19336 PyObject
*arg3
= (PyObject
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 PyObject
* obj2
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "self",(char *) "_class", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19346 if (SWIG_arg_fail(1)) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 Py_INCREF(Py_None
); resultobj
= Py_None
;
19363 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self",(char *) "size", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19376 if (SWIG_arg_fail(1)) SWIG_fail
;
19379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19395 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 PyObject
* obj2
= 0 ;
19405 PyObject
* obj3
= 0 ;
19406 PyObject
* obj4
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19413 if (SWIG_arg_fail(1)) SWIG_fail
;
19415 arg2
= (int)(SWIG_As_int(obj1
));
19416 if (SWIG_arg_fail(2)) SWIG_fail
;
19419 arg3
= (int)(SWIG_As_int(obj2
));
19420 if (SWIG_arg_fail(3)) SWIG_fail
;
19423 arg4
= (int)(SWIG_As_int(obj3
));
19424 if (SWIG_arg_fail(4)) SWIG_fail
;
19427 arg5
= (int)(SWIG_As_int(obj4
));
19428 if (SWIG_arg_fail(5)) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19451 int arg6
= (int) wxSIZE_AUTO
;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 PyObject
* obj2
= 0 ;
19455 PyObject
* obj3
= 0 ;
19456 PyObject
* obj4
= 0 ;
19457 PyObject
* obj5
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail
;
19466 arg2
= (int)(SWIG_As_int(obj1
));
19467 if (SWIG_arg_fail(2)) SWIG_fail
;
19470 arg3
= (int)(SWIG_As_int(obj2
));
19471 if (SWIG_arg_fail(3)) SWIG_fail
;
19474 arg4
= (int)(SWIG_As_int(obj3
));
19475 if (SWIG_arg_fail(4)) SWIG_fail
;
19478 arg5
= (int)(SWIG_As_int(obj4
));
19479 if (SWIG_arg_fail(5)) SWIG_fail
;
19483 arg6
= (int)(SWIG_As_int(obj5
));
19484 if (SWIG_arg_fail(6)) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 PyObject
* obj2
= 0 ;
19509 char *kwnames
[] = {
19510 (char *) "self",(char *) "width",(char *) "height", NULL
19513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19515 if (SWIG_arg_fail(1)) SWIG_fail
;
19517 arg2
= (int)(SWIG_As_int(obj1
));
19518 if (SWIG_arg_fail(2)) SWIG_fail
;
19521 arg3
= (int)(SWIG_As_int(obj2
));
19522 if (SWIG_arg_fail(3)) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 Py_INCREF(Py_None
); resultobj
= Py_None
;
19538 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19540 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 PyObject
* obj1
= 0 ;
19545 PyObject
* obj2
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self",(char *) "x",(char *) "y", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19552 if (SWIG_arg_fail(1)) SWIG_fail
;
19554 arg2
= (int)(SWIG_As_int(obj1
));
19555 if (SWIG_arg_fail(2)) SWIG_fail
;
19558 arg3
= (int)(SWIG_As_int(obj2
));
19559 if (SWIG_arg_fail(3)) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 Py_INCREF(Py_None
); resultobj
= Py_None
;
19575 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19578 int *arg2
= (int *) 0 ;
19579 int *arg3
= (int *) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self", NULL
19589 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19590 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19593 if (SWIG_arg_fail(1)) SWIG_fail
;
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 Py_INCREF(Py_None
); resultobj
= Py_None
;
19602 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19603 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19604 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19605 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19612 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19615 int *arg2
= (int *) 0 ;
19616 int *arg3
= (int *) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self", NULL
19626 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19627 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19630 if (SWIG_arg_fail(1)) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 Py_INCREF(Py_None
); resultobj
= Py_None
;
19639 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19640 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19641 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19642 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19649 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19652 int *arg2
= (int *) 0 ;
19653 int *arg3
= (int *) 0 ;
19658 PyObject
* obj0
= 0 ;
19659 char *kwnames
[] = {
19660 (char *) "self", NULL
19663 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19664 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19667 if (SWIG_arg_fail(1)) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 Py_INCREF(Py_None
); resultobj
= Py_None
;
19676 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19677 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19678 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19679 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19686 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19697 if (SWIG_arg_fail(1)) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19706 wxSize
* resultptr
;
19707 resultptr
= new wxSize((wxSize
&)(result
));
19708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19716 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19727 if (SWIG_arg_fail(1)) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19736 wxSize
* resultptr
;
19737 resultptr
= new wxSize((wxSize
&)(result
));
19738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19746 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19749 PyObject
* obj0
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19756 if (SWIG_arg_fail(1)) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 (arg1
)->base_InitDialog();
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 Py_INCREF(Py_None
); resultobj
= Py_None
;
19771 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19775 PyObject
* obj0
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19782 if (SWIG_arg_fail(1)) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (bool)(arg1
)->base_TransferDataToWindow();
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19799 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19810 if (SWIG_arg_fail(1)) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19827 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19838 if (SWIG_arg_fail(1)) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (bool)(arg1
)->base_Validate();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19855 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19866 if (SWIG_arg_fail(1)) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19883 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19911 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19922 if (SWIG_arg_fail(1)) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19931 wxSize
* resultptr
;
19932 resultptr
= new wxSize((wxSize
&)(result
));
19933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19941 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19944 wxWindow
*arg2
= (wxWindow
*) 0 ;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self",(char *) "child", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail
;
19954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19955 if (SWIG_arg_fail(2)) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 (arg1
)->base_AddChild(arg2
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 Py_INCREF(Py_None
); resultobj
= Py_None
;
19970 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19973 wxWindow
*arg2
= (wxWindow
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "child", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19982 if (SWIG_arg_fail(1)) SWIG_fail
;
19983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19984 if (SWIG_arg_fail(2)) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->base_RemoveChild(arg2
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 Py_INCREF(Py_None
); resultobj
= Py_None
;
19999 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20010 if (SWIG_arg_fail(1)) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20027 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20030 wxColour
*arg2
= 0 ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self",(char *) "c", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20040 if (SWIG_arg_fail(1)) SWIG_fail
;
20043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 Py_INCREF(Py_None
); resultobj
= Py_None
;
20059 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20062 wxVisualAttributes result
;
20063 PyObject
* obj0
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20070 if (SWIG_arg_fail(1)) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= (arg1
)->base_GetDefaultAttributes();
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20079 wxVisualAttributes
* resultptr
;
20080 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20089 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20092 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20094 return Py_BuildValue((char *)"");
20096 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20097 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20102 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20107 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20109 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20116 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20117 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20122 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20127 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20129 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20136 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20137 PyObject
*resultobj
;
20138 wxPrintData
*result
;
20140 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (wxPrintData
*)new wxPrintData();
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20155 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20156 PyObject
*resultobj
;
20157 wxPrintData
*arg1
= 0 ;
20158 wxPrintData
*result
;
20159 PyObject
* obj0
= 0 ;
20161 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20164 if (SWIG_arg_fail(1)) SWIG_fail
;
20165 if (arg1
== NULL
) {
20166 SWIG_null_ref("wxPrintData");
20168 if (SWIG_arg_fail(1)) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20184 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20189 argc
= PyObject_Length(args
);
20190 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20191 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20194 return _wrap_new_PrintData__SWIG_0(self
,args
);
20200 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20208 return _wrap_new_PrintData__SWIG_1(self
,args
);
20212 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20217 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 char *kwnames
[] = {
20222 (char *) "self", NULL
20225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20227 if (SWIG_arg_fail(1)) SWIG_fail
;
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 Py_INCREF(Py_None
); resultobj
= Py_None
;
20242 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20253 if (SWIG_arg_fail(1)) SWIG_fail
;
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 result
= (int)(arg1
)->GetNoCopies();
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= SWIG_From_int((int)(result
));
20270 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20281 if (SWIG_arg_fail(1)) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (bool)(arg1
)->GetCollate();
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20298 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20302 PyObject
* obj0
= 0 ;
20303 char *kwnames
[] = {
20304 (char *) "self", NULL
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (int)(arg1
)->GetOrientation();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_From_int((int)(result
));
20326 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20330 PyObject
* obj0
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (bool)(arg1
)->Ok();
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20354 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20365 if (SWIG_arg_fail(1)) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20370 result
= (wxString
*) &_result_ref
;
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20378 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20380 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20389 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
;
20391 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20393 PyObject
* obj0
= 0 ;
20394 char *kwnames
[] = {
20395 (char *) "self", NULL
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20400 if (SWIG_arg_fail(1)) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= (bool)(arg1
)->GetColour();
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20417 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
;
20419 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20420 wxDuplexMode result
;
20421 PyObject
* obj0
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20428 if (SWIG_arg_fail(1)) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_From_int((result
));
20443 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20446 wxPaperSize result
;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20454 if (SWIG_arg_fail(1)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_From_int((result
));
20469 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20485 result
= (wxSize
*) &_result_ref
;
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20498 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 result
= (int)(arg1
)->GetQuality();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_From_int((int)(result
));
20526 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (wxPrintBin
)(arg1
)->GetBin();
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_From_int((result
));
20552 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20553 PyObject
*resultobj
;
20554 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20555 wxPrintMode result
;
20556 PyObject
* obj0
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20563 if (SWIG_arg_fail(1)) SWIG_fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_From_int((result
));
20578 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "v", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20590 if (SWIG_arg_fail(1)) SWIG_fail
;
20592 arg2
= (int)(SWIG_As_int(obj1
));
20593 if (SWIG_arg_fail(2)) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 (arg1
)->SetNoCopies(arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 Py_INCREF(Py_None
); resultobj
= Py_None
;
20609 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self",(char *) "flag", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail
;
20623 arg2
= (bool)(SWIG_As_bool(obj1
));
20624 if (SWIG_arg_fail(2)) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 (arg1
)->SetCollate(arg2
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 Py_INCREF(Py_None
); resultobj
= Py_None
;
20640 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self",(char *) "orient", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail
;
20654 arg2
= (int)(SWIG_As_int(obj1
));
20655 if (SWIG_arg_fail(2)) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 (arg1
)->SetOrientation(arg2
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 Py_INCREF(Py_None
); resultobj
= Py_None
;
20671 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20674 wxString
*arg2
= 0 ;
20675 bool temp2
= false ;
20676 PyObject
* obj0
= 0 ;
20677 PyObject
* obj1
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self",(char *) "name", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20684 if (SWIG_arg_fail(1)) SWIG_fail
;
20686 arg2
= wxString_in_helper(obj1
);
20687 if (arg2
== NULL
) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 Py_INCREF(Py_None
); resultobj
= Py_None
;
20712 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 PyObject
* obj1
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self",(char *) "colour", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20724 if (SWIG_arg_fail(1)) SWIG_fail
;
20726 arg2
= (bool)(SWIG_As_bool(obj1
));
20727 if (SWIG_arg_fail(2)) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 (arg1
)->SetColour(arg2
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 Py_INCREF(Py_None
); resultobj
= Py_None
;
20743 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20746 wxDuplexMode arg2
;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "duplex", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail
;
20757 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20758 if (SWIG_arg_fail(2)) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 Py_INCREF(Py_None
); resultobj
= Py_None
;
20774 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self",(char *) "sizeId", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail
;
20788 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20789 if (SWIG_arg_fail(2)) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 Py_INCREF(Py_None
); resultobj
= Py_None
;
20805 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self",(char *) "sz", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20818 if (SWIG_arg_fail(1)) SWIG_fail
;
20821 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 Py_INCREF(Py_None
); resultobj
= Py_None
;
20837 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self",(char *) "quality", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
20852 if (SWIG_arg_fail(2)) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 (arg1
)->SetQuality(arg2
);
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 Py_INCREF(Py_None
); resultobj
= Py_None
;
20868 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20872 PyObject
* obj0
= 0 ;
20873 PyObject
* obj1
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self",(char *) "bin", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20880 if (SWIG_arg_fail(1)) SWIG_fail
;
20882 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20883 if (SWIG_arg_fail(2)) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 (arg1
)->SetBin((wxPrintBin
)arg2
);
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 Py_INCREF(Py_None
); resultobj
= Py_None
;
20899 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 PyObject
* obj1
= 0 ;
20905 char *kwnames
[] = {
20906 (char *) "self",(char *) "printMode", NULL
20909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20911 if (SWIG_arg_fail(1)) SWIG_fail
;
20913 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
20914 if (SWIG_arg_fail(2)) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 Py_INCREF(Py_None
); resultobj
= Py_None
;
20930 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
20940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20941 if (SWIG_arg_fail(1)) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= ((wxPrintData
const *)arg1
)->GetFilename();
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20962 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20965 wxString
*arg2
= 0 ;
20966 bool temp2
= false ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self",(char *) "filename", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
20974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20975 if (SWIG_arg_fail(1)) SWIG_fail
;
20977 arg2
= wxString_in_helper(obj1
);
20978 if (arg2
== NULL
) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 (arg1
)->SetFilename((wxString
const &)*arg2
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 Py_INCREF(Py_None
); resultobj
= Py_None
;
21003 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21004 PyObject
*resultobj
;
21005 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21014 if (SWIG_arg_fail(1)) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21019 result
= (wxString
*) &_result_ref
;
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21029 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21038 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21040 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21049 if (SWIG_arg_fail(1)) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21054 result
= (wxString
*) &_result_ref
;
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21064 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21073 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21084 if (SWIG_arg_fail(1)) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21089 result
= (wxString
*) &_result_ref
;
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21099 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21108 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21119 if (SWIG_arg_fail(1)) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21124 result
= (wxString
*) &_result_ref
;
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21143 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21147 PyObject
* obj0
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21154 if (SWIG_arg_fail(1)) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= (double)(arg1
)->GetPrinterScaleX();
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= SWIG_From_double((double)(result
));
21171 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21182 if (SWIG_arg_fail(1)) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= (double)(arg1
)->GetPrinterScaleY();
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= SWIG_From_double((double)(result
));
21199 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21203 PyObject
* obj0
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21210 if (SWIG_arg_fail(1)) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (long)(arg1
)->GetPrinterTranslateX();
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_From_long((long)(result
));
21227 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21238 if (SWIG_arg_fail(1)) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (long)(arg1
)->GetPrinterTranslateY();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_From_long((long)(result
));
21255 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21258 wxString
*arg2
= 0 ;
21259 bool temp2
= false ;
21260 PyObject
* obj0
= 0 ;
21261 PyObject
* obj1
= 0 ;
21262 char *kwnames
[] = {
21263 (char *) "self",(char *) "command", NULL
21266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21268 if (SWIG_arg_fail(1)) SWIG_fail
;
21270 arg2
= wxString_in_helper(obj1
);
21271 if (arg2
== NULL
) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 Py_INCREF(Py_None
); resultobj
= Py_None
;
21296 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21299 wxString
*arg2
= 0 ;
21300 bool temp2
= false ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self",(char *) "options", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21309 if (SWIG_arg_fail(1)) SWIG_fail
;
21311 arg2
= wxString_in_helper(obj1
);
21312 if (arg2
== NULL
) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21322 Py_INCREF(Py_None
); resultobj
= Py_None
;
21337 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21340 wxString
*arg2
= 0 ;
21341 bool temp2
= false ;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self",(char *) "command", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21350 if (SWIG_arg_fail(1)) SWIG_fail
;
21352 arg2
= wxString_in_helper(obj1
);
21353 if (arg2
== NULL
) SWIG_fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 Py_INCREF(Py_None
); resultobj
= Py_None
;
21378 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21381 wxString
*arg2
= 0 ;
21382 bool temp2
= false ;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self",(char *) "path", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21391 if (SWIG_arg_fail(1)) SWIG_fail
;
21393 arg2
= wxString_in_helper(obj1
);
21394 if (arg2
== NULL
) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 Py_INCREF(Py_None
); resultobj
= Py_None
;
21419 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "x", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21433 arg2
= (double)(SWIG_As_double(obj1
));
21434 if (SWIG_arg_fail(2)) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 (arg1
)->SetPrinterScaleX(arg2
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 Py_INCREF(Py_None
); resultobj
= Py_None
;
21450 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "y", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail
;
21464 arg2
= (double)(SWIG_As_double(obj1
));
21465 if (SWIG_arg_fail(2)) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 (arg1
)->SetPrinterScaleY(arg2
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 Py_INCREF(Py_None
); resultobj
= Py_None
;
21481 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 PyObject
* obj2
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "x",(char *) "y", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21495 if (SWIG_arg_fail(1)) SWIG_fail
;
21497 arg2
= (double)(SWIG_As_double(obj1
));
21498 if (SWIG_arg_fail(2)) SWIG_fail
;
21501 arg3
= (double)(SWIG_As_double(obj2
));
21502 if (SWIG_arg_fail(3)) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 Py_INCREF(Py_None
); resultobj
= Py_None
;
21518 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "x", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail
;
21532 arg2
= (long)(SWIG_As_long(obj1
));
21533 if (SWIG_arg_fail(2)) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 (arg1
)->SetPrinterTranslateX(arg2
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 Py_INCREF(Py_None
); resultobj
= Py_None
;
21549 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self",(char *) "y", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21561 if (SWIG_arg_fail(1)) SWIG_fail
;
21563 arg2
= (long)(SWIG_As_long(obj1
));
21564 if (SWIG_arg_fail(2)) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 (arg1
)->SetPrinterTranslateY(arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 Py_INCREF(Py_None
); resultobj
= Py_None
;
21580 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 PyObject
* obj2
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self",(char *) "x",(char *) "y", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail
;
21596 arg2
= (long)(SWIG_As_long(obj1
));
21597 if (SWIG_arg_fail(2)) SWIG_fail
;
21600 arg3
= (long)(SWIG_As_long(obj2
));
21601 if (SWIG_arg_fail(3)) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 Py_INCREF(Py_None
); resultobj
= Py_None
;
21617 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21620 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21622 return Py_BuildValue((char *)"");
21624 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21625 PyObject
*resultobj
;
21626 wxPageSetupDialogData
*result
;
21628 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21643 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21644 PyObject
*resultobj
;
21645 wxPageSetupDialogData
*arg1
= 0 ;
21646 wxPageSetupDialogData
*result
;
21647 PyObject
* obj0
= 0 ;
21649 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21652 if (SWIG_arg_fail(1)) SWIG_fail
;
21653 if (arg1
== NULL
) {
21654 SWIG_null_ref("wxPageSetupDialogData");
21656 if (SWIG_arg_fail(1)) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21672 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21677 argc
= PyObject_Length(args
);
21678 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21679 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21682 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21688 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21696 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21700 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21705 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21715 if (SWIG_arg_fail(1)) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 Py_INCREF(Py_None
); resultobj
= Py_None
;
21730 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21734 PyObject
* obj0
= 0 ;
21735 PyObject
* obj1
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self",(char *) "flag", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21742 if (SWIG_arg_fail(1)) SWIG_fail
;
21744 arg2
= (bool)(SWIG_As_bool(obj1
));
21745 if (SWIG_arg_fail(2)) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 (arg1
)->EnableHelp(arg2
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 Py_INCREF(Py_None
); resultobj
= Py_None
;
21761 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self",(char *) "flag", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21773 if (SWIG_arg_fail(1)) SWIG_fail
;
21775 arg2
= (bool)(SWIG_As_bool(obj1
));
21776 if (SWIG_arg_fail(2)) SWIG_fail
;
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 (arg1
)->EnableMargins(arg2
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 Py_INCREF(Py_None
); resultobj
= Py_None
;
21792 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "flag", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21804 if (SWIG_arg_fail(1)) SWIG_fail
;
21806 arg2
= (bool)(SWIG_As_bool(obj1
));
21807 if (SWIG_arg_fail(2)) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 (arg1
)->EnableOrientation(arg2
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 Py_INCREF(Py_None
); resultobj
= Py_None
;
21823 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 char *kwnames
[] = {
21830 (char *) "self",(char *) "flag", NULL
21833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21835 if (SWIG_arg_fail(1)) SWIG_fail
;
21837 arg2
= (bool)(SWIG_As_bool(obj1
));
21838 if (SWIG_arg_fail(2)) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 (arg1
)->EnablePaper(arg2
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 Py_INCREF(Py_None
); resultobj
= Py_None
;
21854 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "flag", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21866 if (SWIG_arg_fail(1)) SWIG_fail
;
21868 arg2
= (bool)(SWIG_As_bool(obj1
));
21869 if (SWIG_arg_fail(2)) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 (arg1
)->EnablePrinter(arg2
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 Py_INCREF(Py_None
); resultobj
= Py_None
;
21885 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21896 if (SWIG_arg_fail(1)) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= (bool)(arg1
)->GetDefaultMinMargins();
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21913 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21917 PyObject
* obj0
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
21923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21924 if (SWIG_arg_fail(1)) SWIG_fail
;
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 result
= (bool)(arg1
)->GetEnableMargins();
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21941 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
21951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21952 if (SWIG_arg_fail(1)) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (bool)(arg1
)->GetEnableOrientation();
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21969 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21973 PyObject
* obj0
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
21979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21980 if (SWIG_arg_fail(1)) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (bool)(arg1
)->GetEnablePaper();
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21997 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22008 if (SWIG_arg_fail(1)) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (bool)(arg1
)->GetEnablePrinter();
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22029 PyObject
* obj0
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= (bool)(arg1
)->GetEnableHelp();
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22064 if (SWIG_arg_fail(1)) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (bool)(arg1
)->GetDefaultInfo();
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22081 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22092 if (SWIG_arg_fail(1)) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (arg1
)->GetMarginTopLeft();
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 wxPoint
* resultptr
;
22102 resultptr
= new wxPoint((wxPoint
&)(result
));
22103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22111 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22122 if (SWIG_arg_fail(1)) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (arg1
)->GetMarginBottomRight();
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 wxPoint
* resultptr
;
22132 resultptr
= new wxPoint((wxPoint
&)(result
));
22133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22141 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22152 if (SWIG_arg_fail(1)) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (arg1
)->GetMinMarginTopLeft();
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22161 wxPoint
* resultptr
;
22162 resultptr
= new wxPoint((wxPoint
&)(result
));
22163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22171 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
;
22173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22175 PyObject
* obj0
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",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();
22185 result
= (arg1
)->GetMinMarginBottomRight();
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22191 wxPoint
* resultptr
;
22192 resultptr
= new wxPoint((wxPoint
&)(result
));
22193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22201 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22204 wxPaperSize result
;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22212 if (SWIG_arg_fail(1)) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_From_int((result
));
22227 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22238 if (SWIG_arg_fail(1)) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (arg1
)->GetPaperSize();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 wxSize
* resultptr
;
22248 resultptr
= new wxSize((wxSize
&)(result
));
22249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22257 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22260 wxPrintData
*result
;
22261 PyObject
* obj0
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22273 result
= (wxPrintData
*) &_result_ref
;
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22286 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 char *kwnames
[] = {
22292 (char *) "self", NULL
22295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22297 if (SWIG_arg_fail(1)) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 result
= (bool)(arg1
)->Ok();
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22314 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
;
22316 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self",(char *) "flag", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22326 if (SWIG_arg_fail(1)) SWIG_fail
;
22328 arg2
= (bool)(SWIG_As_bool(obj1
));
22329 if (SWIG_arg_fail(2)) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 (arg1
)->SetDefaultInfo(arg2
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 Py_INCREF(Py_None
); resultobj
= Py_None
;
22345 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self",(char *) "flag", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22357 if (SWIG_arg_fail(1)) SWIG_fail
;
22359 arg2
= (bool)(SWIG_As_bool(obj1
));
22360 if (SWIG_arg_fail(2)) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 (arg1
)->SetDefaultMinMargins(arg2
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 Py_INCREF(Py_None
); resultobj
= Py_None
;
22376 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22379 wxPoint
*arg2
= 0 ;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 char *kwnames
[] = {
22384 (char *) "self",(char *) "pt", NULL
22387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22389 if (SWIG_arg_fail(1)) SWIG_fail
;
22392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 Py_INCREF(Py_None
); resultobj
= Py_None
;
22408 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22411 wxPoint
*arg2
= 0 ;
22413 PyObject
* obj0
= 0 ;
22414 PyObject
* obj1
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self",(char *) "pt", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22421 if (SWIG_arg_fail(1)) SWIG_fail
;
22424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 Py_INCREF(Py_None
); resultobj
= Py_None
;
22440 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22443 wxPoint
*arg2
= 0 ;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "pt", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22453 if (SWIG_arg_fail(1)) SWIG_fail
;
22456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22460 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 Py_INCREF(Py_None
); resultobj
= Py_None
;
22472 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22475 wxPoint
*arg2
= 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "pt", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail
;
22488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 Py_INCREF(Py_None
); resultobj
= Py_None
;
22504 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22508 PyObject
* obj0
= 0 ;
22509 PyObject
* obj1
= 0 ;
22510 char *kwnames
[] = {
22511 (char *) "self",(char *) "id", NULL
22514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22516 if (SWIG_arg_fail(1)) SWIG_fail
;
22518 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22519 if (SWIG_arg_fail(2)) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 Py_INCREF(Py_None
); resultobj
= Py_None
;
22535 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self",(char *) "size", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22548 if (SWIG_arg_fail(1)) SWIG_fail
;
22551 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 Py_INCREF(Py_None
); resultobj
= Py_None
;
22567 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22570 wxPrintData
*arg2
= 0 ;
22571 PyObject
* obj0
= 0 ;
22572 PyObject
* obj1
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self",(char *) "printData", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22579 if (SWIG_arg_fail(1)) SWIG_fail
;
22581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22582 if (SWIG_arg_fail(2)) SWIG_fail
;
22583 if (arg2
== NULL
) {
22584 SWIG_null_ref("wxPrintData");
22586 if (SWIG_arg_fail(2)) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 Py_INCREF(Py_None
); resultobj
= Py_None
;
22602 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22605 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22607 return Py_BuildValue((char *)"");
22609 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
;
22611 wxWindow
*arg1
= (wxWindow
*) 0 ;
22612 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22613 wxPageSetupDialog
*result
;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "parent",(char *) "data", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22625 if (SWIG_arg_fail(2)) SWIG_fail
;
22628 if (!wxPyCheckForApp()) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22642 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22645 wxPageSetupDialogData
*result
;
22646 PyObject
* obj0
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22653 if (SWIG_arg_fail(1)) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22658 result
= (wxPageSetupDialogData
*) &_result_ref
;
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22671 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22674 wxPageSetupDialogData
*result
;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22682 if (SWIG_arg_fail(1)) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22687 result
= (wxPageSetupDialogData
*) &_result_ref
;
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22700 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22711 if (SWIG_arg_fail(1)) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (int)(arg1
)->ShowModal();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_From_int((int)(result
));
22728 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22731 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22733 return Py_BuildValue((char *)"");
22735 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22736 PyObject
*resultobj
;
22737 wxPrintDialogData
*result
;
22739 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22754 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22755 PyObject
*resultobj
;
22756 wxPrintData
*arg1
= 0 ;
22757 wxPrintDialogData
*result
;
22758 PyObject
* obj0
= 0 ;
22760 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22763 if (SWIG_arg_fail(1)) SWIG_fail
;
22764 if (arg1
== NULL
) {
22765 SWIG_null_ref("wxPrintData");
22767 if (SWIG_arg_fail(1)) SWIG_fail
;
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22773 wxPyEndAllowThreads(__tstate
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22783 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22788 argc
= PyObject_Length(args
);
22789 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22790 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22793 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22799 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22807 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22811 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22816 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22819 PyObject
* obj0
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
22825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22826 if (SWIG_arg_fail(1)) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 Py_INCREF(Py_None
); resultobj
= Py_None
;
22841 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
22851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22852 if (SWIG_arg_fail(1)) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= SWIG_From_int((int)(result
));
22869 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
22879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_From_int((int)(result
));
22897 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22899 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
22907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22908 if (SWIG_arg_fail(1)) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_From_int((int)(result
));
22925 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22929 PyObject
* obj0
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22936 if (SWIG_arg_fail(1)) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_From_int((int)(result
));
22953 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
22963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22964 if (SWIG_arg_fail(1)) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_From_int((int)(result
));
22981 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
22991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22992 if (SWIG_arg_fail(1)) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23009 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23020 if (SWIG_arg_fail(1)) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23037 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23048 if (SWIG_arg_fail(1)) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23065 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23076 if (SWIG_arg_fail(1)) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23093 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "self", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23104 if (SWIG_arg_fail(1)) SWIG_fail
;
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23121 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 PyObject
* obj1
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self",(char *) "flag", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail
;
23135 arg2
= (bool)(SWIG_As_bool(obj1
));
23136 if (SWIG_arg_fail(2)) SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 (arg1
)->SetSetupDialog(arg2
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 Py_INCREF(Py_None
); resultobj
= Py_None
;
23152 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self",(char *) "v", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail
;
23166 arg2
= (int)(SWIG_As_int(obj1
));
23167 if (SWIG_arg_fail(2)) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 (arg1
)->SetFromPage(arg2
);
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 Py_INCREF(Py_None
); resultobj
= Py_None
;
23183 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23187 PyObject
* obj0
= 0 ;
23188 PyObject
* obj1
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self",(char *) "v", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23195 if (SWIG_arg_fail(1)) SWIG_fail
;
23197 arg2
= (int)(SWIG_As_int(obj1
));
23198 if (SWIG_arg_fail(2)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 (arg1
)->SetToPage(arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self",(char *) "v", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23226 if (SWIG_arg_fail(1)) SWIG_fail
;
23228 arg2
= (int)(SWIG_As_int(obj1
));
23229 if (SWIG_arg_fail(2)) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 (arg1
)->SetMinPage(arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 Py_INCREF(Py_None
); resultobj
= Py_None
;
23245 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23249 PyObject
* obj0
= 0 ;
23250 PyObject
* obj1
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self",(char *) "v", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23257 if (SWIG_arg_fail(1)) SWIG_fail
;
23259 arg2
= (int)(SWIG_As_int(obj1
));
23260 if (SWIG_arg_fail(2)) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 (arg1
)->SetMaxPage(arg2
);
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 Py_INCREF(Py_None
); resultobj
= Py_None
;
23276 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self",(char *) "v", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23288 if (SWIG_arg_fail(1)) SWIG_fail
;
23290 arg2
= (int)(SWIG_As_int(obj1
));
23291 if (SWIG_arg_fail(2)) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 (arg1
)->SetNoCopies(arg2
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 Py_INCREF(Py_None
); resultobj
= Py_None
;
23307 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self",(char *) "flag", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23319 if (SWIG_arg_fail(1)) SWIG_fail
;
23321 arg2
= (bool)(SWIG_As_bool(obj1
));
23322 if (SWIG_arg_fail(2)) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 (arg1
)->SetAllPages(arg2
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 PyObject
* obj1
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self",(char *) "flag", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23350 if (SWIG_arg_fail(1)) SWIG_fail
;
23352 arg2
= (bool)(SWIG_As_bool(obj1
));
23353 if (SWIG_arg_fail(2)) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 (arg1
)->SetSelection(arg2
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 Py_INCREF(Py_None
); resultobj
= Py_None
;
23369 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self",(char *) "flag", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23381 if (SWIG_arg_fail(1)) SWIG_fail
;
23383 arg2
= (bool)(SWIG_As_bool(obj1
));
23384 if (SWIG_arg_fail(2)) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 (arg1
)->SetCollate(arg2
);
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 Py_INCREF(Py_None
); resultobj
= Py_None
;
23400 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
;
23402 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23404 PyObject
* obj0
= 0 ;
23405 PyObject
* obj1
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self",(char *) "flag", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23412 if (SWIG_arg_fail(1)) SWIG_fail
;
23414 arg2
= (bool)(SWIG_As_bool(obj1
));
23415 if (SWIG_arg_fail(2)) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->SetPrintToFile(arg2
);
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 Py_INCREF(Py_None
); resultobj
= Py_None
;
23431 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23435 PyObject
* obj0
= 0 ;
23436 PyObject
* obj1
= 0 ;
23437 char *kwnames
[] = {
23438 (char *) "self",(char *) "flag", NULL
23441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23443 if (SWIG_arg_fail(1)) SWIG_fail
;
23445 arg2
= (bool)(SWIG_As_bool(obj1
));
23446 if (SWIG_arg_fail(2)) SWIG_fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 (arg1
)->EnablePrintToFile(arg2
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 Py_INCREF(Py_None
); resultobj
= Py_None
;
23462 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 char *kwnames
[] = {
23469 (char *) "self",(char *) "flag", NULL
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23474 if (SWIG_arg_fail(1)) SWIG_fail
;
23476 arg2
= (bool)(SWIG_As_bool(obj1
));
23477 if (SWIG_arg_fail(2)) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 (arg1
)->EnableSelection(arg2
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 Py_INCREF(Py_None
); resultobj
= Py_None
;
23493 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23497 PyObject
* obj0
= 0 ;
23498 PyObject
* obj1
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self",(char *) "flag", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23505 if (SWIG_arg_fail(1)) SWIG_fail
;
23507 arg2
= (bool)(SWIG_As_bool(obj1
));
23508 if (SWIG_arg_fail(2)) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 (arg1
)->EnablePageNumbers(arg2
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 Py_INCREF(Py_None
); resultobj
= Py_None
;
23524 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "flag", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23536 if (SWIG_arg_fail(1)) SWIG_fail
;
23538 arg2
= (bool)(SWIG_As_bool(obj1
));
23539 if (SWIG_arg_fail(2)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 (arg1
)->EnableHelp(arg2
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 Py_INCREF(Py_None
); resultobj
= Py_None
;
23555 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23566 if (SWIG_arg_fail(1)) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23583 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23585 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23587 PyObject
* obj0
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23594 if (SWIG_arg_fail(1)) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23611 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23622 if (SWIG_arg_fail(1)) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23639 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23641 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23643 PyObject
* obj0
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23650 if (SWIG_arg_fail(1)) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23667 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23671 PyObject
* obj0
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23678 if (SWIG_arg_fail(1)) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23695 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23698 wxPrintData
*result
;
23699 PyObject
* obj0
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23706 if (SWIG_arg_fail(1)) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23711 result
= (wxPrintData
*) &_result_ref
;
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23724 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23727 wxPrintData
*arg2
= 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self",(char *) "printData", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23736 if (SWIG_arg_fail(1)) SWIG_fail
;
23738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23739 if (SWIG_arg_fail(2)) SWIG_fail
;
23740 if (arg2
== NULL
) {
23741 SWIG_null_ref("wxPrintData");
23743 if (SWIG_arg_fail(2)) SWIG_fail
;
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 Py_INCREF(Py_None
); resultobj
= Py_None
;
23759 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23762 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23764 return Py_BuildValue((char *)"");
23766 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23768 wxWindow
*arg1
= (wxWindow
*) 0 ;
23769 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23770 wxPrintDialog
*result
;
23771 PyObject
* obj0
= 0 ;
23772 PyObject
* obj1
= 0 ;
23773 char *kwnames
[] = {
23774 (char *) "parent",(char *) "data", NULL
23777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23779 if (SWIG_arg_fail(1)) SWIG_fail
;
23781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23782 if (SWIG_arg_fail(2)) SWIG_fail
;
23785 if (!wxPyCheckForApp()) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23799 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23810 if (SWIG_arg_fail(1)) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (int)(arg1
)->ShowModal();
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= SWIG_From_int((int)(result
));
23827 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23830 wxPrintDialogData
*result
;
23831 PyObject
* obj0
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23838 if (SWIG_arg_fail(1)) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23843 result
= (wxPrintDialogData
*) &_result_ref
;
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23856 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23858 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23859 wxPrintData
*result
;
23860 PyObject
* obj0
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
23866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23867 if (SWIG_arg_fail(1)) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23872 result
= (wxPrintData
*) &_result_ref
;
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23885 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23889 PyObject
* obj0
= 0 ;
23890 char *kwnames
[] = {
23891 (char *) "self", NULL
23894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
23895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23896 if (SWIG_arg_fail(1)) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (wxDC
*)(arg1
)->GetPrintDC();
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= wxPyMake_wxObject(result
, 1);
23913 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
23915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23916 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
23918 return Py_BuildValue((char *)"");
23920 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
23924 PyObject
* obj0
= 0 ;
23925 char *kwnames
[] = {
23926 (char *) "data", NULL
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
23931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23932 if (SWIG_arg_fail(1)) SWIG_fail
;
23935 if (!wxPyCheckForApp()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (wxPrinter
*)new wxPrinter(arg1
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
23949 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "self", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
23958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23959 if (SWIG_arg_fail(1)) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 Py_INCREF(Py_None
); resultobj
= Py_None
;
23974 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
;
23976 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23977 wxWindow
*arg2
= (wxWindow
*) 0 ;
23978 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 PyObject
* obj2
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self",(char *) "parent",(char *) "printout", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23989 if (SWIG_arg_fail(1)) SWIG_fail
;
23990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23991 if (SWIG_arg_fail(2)) SWIG_fail
;
23992 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
23993 if (SWIG_arg_fail(3)) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= wxPyMake_wxObject(result
, 0);
24010 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24013 wxWindow
*arg2
= (wxWindow
*) 0 ;
24014 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24015 wxString
*arg4
= 0 ;
24016 bool temp4
= false ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 PyObject
* obj2
= 0 ;
24020 PyObject
* obj3
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24027 if (SWIG_arg_fail(1)) SWIG_fail
;
24028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24029 if (SWIG_arg_fail(2)) SWIG_fail
;
24030 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24031 if (SWIG_arg_fail(3)) SWIG_fail
;
24033 arg4
= wxString_in_helper(obj3
);
24034 if (arg4
== NULL
) SWIG_fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 Py_INCREF(Py_None
); resultobj
= Py_None
;
24059 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24062 wxWindow
*arg2
= (wxWindow
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "parent", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24072 if (SWIG_arg_fail(1)) SWIG_fail
;
24073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(2)) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (bool)(arg1
)->Setup(arg2
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24091 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24094 wxWindow
*arg2
= (wxWindow
*) 0 ;
24095 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24096 bool arg4
= (bool) true ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 PyObject
* obj2
= 0 ;
24101 PyObject
* obj3
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail
;
24109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24110 if (SWIG_arg_fail(2)) SWIG_fail
;
24111 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24112 if (SWIG_arg_fail(3)) SWIG_fail
;
24115 arg4
= (bool)(SWIG_As_bool(obj3
));
24116 if (SWIG_arg_fail(4)) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24135 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24138 wxWindow
*arg2
= (wxWindow
*) 0 ;
24140 PyObject
* obj0
= 0 ;
24141 PyObject
* obj1
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self",(char *) "parent", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24148 if (SWIG_arg_fail(1)) SWIG_fail
;
24149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24150 if (SWIG_arg_fail(2)) SWIG_fail
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= wxPyMake_wxObject(result
, 0);
24167 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24170 wxPrintDialogData
*result
;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24178 if (SWIG_arg_fail(1)) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24183 result
= (wxPrintDialogData
*) &_result_ref
;
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24196 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24207 if (SWIG_arg_fail(1)) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (bool)(arg1
)->GetAbort();
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24224 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPrinterError result
;
24227 char *kwnames
[] = {
24231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (wxPrinterError
)wxPrinter::GetLastError();
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_From_int((result
));
24246 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24249 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24251 return Py_BuildValue((char *)"");
24253 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24256 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24257 wxPyPrintout
*result
;
24258 bool temp1
= false ;
24259 PyObject
* obj0
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "title", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24267 arg1
= wxString_in_helper(obj0
);
24268 if (arg1
== NULL
) SWIG_fail
;
24273 if (!wxPyCheckForApp()) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= wxPyMake_wxObject(result
, 1);
24297 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24299 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24300 PyObject
*arg2
= (PyObject
*) 0 ;
24301 PyObject
*arg3
= (PyObject
*) 0 ;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24304 PyObject
* obj2
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self",(char *) "self",(char *) "_class", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24311 if (SWIG_arg_fail(1)) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 Py_INCREF(Py_None
); resultobj
= Py_None
;
24328 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24339 if (SWIG_arg_fail(1)) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24360 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(1)) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (wxDC
*)(arg1
)->GetDC();
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= wxPyMake_wxObject(result
, 0);
24388 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24391 wxDC
*arg2
= (wxDC
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 PyObject
* obj1
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self",(char *) "dc", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24400 if (SWIG_arg_fail(1)) SWIG_fail
;
24401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24402 if (SWIG_arg_fail(2)) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 (arg1
)->SetDC(arg2
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 Py_INCREF(Py_None
); resultobj
= Py_None
;
24417 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 PyObject
* obj2
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self",(char *) "w",(char *) "h", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24431 if (SWIG_arg_fail(1)) SWIG_fail
;
24433 arg2
= (int)(SWIG_As_int(obj1
));
24434 if (SWIG_arg_fail(2)) SWIG_fail
;
24437 arg3
= (int)(SWIG_As_int(obj2
));
24438 if (SWIG_arg_fail(3)) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 Py_INCREF(Py_None
); resultobj
= Py_None
;
24454 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24457 int *arg2
= (int *) 0 ;
24458 int *arg3
= (int *) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self", NULL
24468 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24469 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 Py_INCREF(Py_None
); resultobj
= Py_None
;
24481 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24482 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24483 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24484 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24491 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 PyObject
* obj2
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self",(char *) "w",(char *) "h", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24505 if (SWIG_arg_fail(1)) SWIG_fail
;
24507 arg2
= (int)(SWIG_As_int(obj1
));
24508 if (SWIG_arg_fail(2)) SWIG_fail
;
24511 arg3
= (int)(SWIG_As_int(obj2
));
24512 if (SWIG_arg_fail(3)) SWIG_fail
;
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 Py_INCREF(Py_None
); resultobj
= Py_None
;
24528 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24531 int *arg2
= (int *) 0 ;
24532 int *arg3
= (int *) 0 ;
24537 PyObject
* obj0
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self", NULL
24542 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24543 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 Py_INCREF(Py_None
); resultobj
= Py_None
;
24555 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24556 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24557 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24558 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24565 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 PyObject
* obj2
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self",(char *) "x",(char *) "y", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24579 if (SWIG_arg_fail(1)) SWIG_fail
;
24581 arg2
= (int)(SWIG_As_int(obj1
));
24582 if (SWIG_arg_fail(2)) SWIG_fail
;
24585 arg3
= (int)(SWIG_As_int(obj2
));
24586 if (SWIG_arg_fail(3)) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 (arg1
)->SetPPIScreen(arg2
,arg3
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 Py_INCREF(Py_None
); resultobj
= Py_None
;
24602 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24605 int *arg2
= (int *) 0 ;
24606 int *arg3
= (int *) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self", NULL
24616 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24617 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24620 if (SWIG_arg_fail(1)) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 (arg1
)->GetPPIScreen(arg2
,arg3
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 Py_INCREF(Py_None
); resultobj
= Py_None
;
24629 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24630 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24631 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24632 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24639 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
;
24641 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self",(char *) "x",(char *) "y", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24653 if (SWIG_arg_fail(1)) SWIG_fail
;
24655 arg2
= (int)(SWIG_As_int(obj1
));
24656 if (SWIG_arg_fail(2)) SWIG_fail
;
24659 arg3
= (int)(SWIG_As_int(obj2
));
24660 if (SWIG_arg_fail(3)) SWIG_fail
;
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 Py_INCREF(Py_None
); resultobj
= Py_None
;
24676 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24679 int *arg2
= (int *) 0 ;
24680 int *arg3
= (int *) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24691 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 Py_INCREF(Py_None
); resultobj
= Py_None
;
24703 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24704 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24705 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24706 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24713 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
;
24715 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (bool)(arg1
)->IsPreview();
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24741 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self",(char *) "p", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24753 if (SWIG_arg_fail(1)) SWIG_fail
;
24755 arg2
= (bool)(SWIG_As_bool(obj1
));
24756 if (SWIG_arg_fail(2)) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 (arg1
)->SetIsPreview(arg2
);
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 Py_INCREF(Py_None
); resultobj
= Py_None
;
24772 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 PyObject
* obj2
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24787 if (SWIG_arg_fail(1)) SWIG_fail
;
24789 arg2
= (int)(SWIG_As_int(obj1
));
24790 if (SWIG_arg_fail(2)) SWIG_fail
;
24793 arg3
= (int)(SWIG_As_int(obj2
));
24794 if (SWIG_arg_fail(3)) SWIG_fail
;
24797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24798 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24812 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 (arg1
)->base_OnEndDocument();
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 Py_INCREF(Py_None
); resultobj
= Py_None
;
24837 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
24846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24847 if (SWIG_arg_fail(1)) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 (arg1
)->base_OnBeginPrinting();
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 Py_INCREF(Py_None
); resultobj
= Py_None
;
24862 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
;
24864 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->base_OnEndPrinting();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24890 PyObject
* obj0
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
24896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24897 if (SWIG_arg_fail(1)) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 (arg1
)->base_OnPreparePrinting();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 Py_INCREF(Py_None
); resultobj
= Py_None
;
24912 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "page", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24925 if (SWIG_arg_fail(1)) SWIG_fail
;
24927 arg2
= (int)(SWIG_As_int(obj1
));
24928 if (SWIG_arg_fail(2)) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (bool)(arg1
)->base_HasPage(arg2
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24946 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24949 int *arg2
= (int *) 0 ;
24950 int *arg3
= (int *) 0 ;
24951 int *arg4
= (int *) 0 ;
24952 int *arg5
= (int *) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self", NULL
24966 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24967 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24968 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
24969 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
24971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24972 if (SWIG_arg_fail(1)) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 Py_INCREF(Py_None
); resultobj
= Py_None
;
24981 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24982 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24983 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24984 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24985 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
24986 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
24987 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
24988 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
24995 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
24997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24998 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25000 return Py_BuildValue((char *)"");
25002 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
;
25004 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25005 wxWindow
*arg2
= (wxWindow
*) 0 ;
25006 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25007 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25008 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25009 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25010 long arg5
= (long) 0 ;
25011 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25012 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25013 wxPreviewCanvas
*result
;
25016 bool temp6
= false ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 PyObject
* obj2
= 0 ;
25020 PyObject
* obj3
= 0 ;
25021 PyObject
* obj4
= 0 ;
25022 PyObject
* obj5
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25029 if (SWIG_arg_fail(1)) SWIG_fail
;
25030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25031 if (SWIG_arg_fail(2)) SWIG_fail
;
25035 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25041 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25046 arg5
= (long)(SWIG_As_long(obj4
));
25047 if (SWIG_arg_fail(5)) SWIG_fail
;
25052 arg6
= wxString_in_helper(obj5
);
25053 if (arg6
== NULL
) SWIG_fail
;
25058 if (!wxPyCheckForApp()) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25080 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25083 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25085 return Py_BuildValue((char *)"");
25087 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25090 wxFrame
*arg2
= (wxFrame
*) 0 ;
25091 wxString
*arg3
= 0 ;
25092 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25093 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25094 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25095 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25096 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25097 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25098 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25099 wxPreviewFrame
*result
;
25100 bool temp3
= false ;
25103 bool temp7
= false ;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 PyObject
* obj2
= 0 ;
25107 PyObject
* obj3
= 0 ;
25108 PyObject
* obj4
= 0 ;
25109 PyObject
* obj5
= 0 ;
25110 PyObject
* obj6
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25117 if (SWIG_arg_fail(1)) SWIG_fail
;
25118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25119 if (SWIG_arg_fail(2)) SWIG_fail
;
25121 arg3
= wxString_in_helper(obj2
);
25122 if (arg3
== NULL
) SWIG_fail
;
25128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25139 arg6
= (long)(SWIG_As_long(obj5
));
25140 if (SWIG_arg_fail(6)) SWIG_fail
;
25145 arg7
= wxString_in_helper(obj6
);
25146 if (arg7
== NULL
) SWIG_fail
;
25151 if (!wxPyCheckForApp()) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25181 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 char *kwnames
[] = {
25186 (char *) "self", NULL
25189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25191 if (SWIG_arg_fail(1)) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->Initialize();
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 Py_INCREF(Py_None
); resultobj
= Py_None
;
25206 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25216 if (SWIG_arg_fail(1)) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 (arg1
)->CreateControlBar();
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 Py_INCREF(Py_None
); resultobj
= Py_None
;
25231 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25234 PyObject
* obj0
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25241 if (SWIG_arg_fail(1)) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 (arg1
)->CreateCanvas();
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 Py_INCREF(Py_None
); resultobj
= Py_None
;
25256 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25258 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25259 wxPreviewControlBar
*result
;
25260 PyObject
* obj0
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25282 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25285 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25287 return Py_BuildValue((char *)"");
25289 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25293 wxWindow
*arg3
= (wxWindow
*) 0 ;
25294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25298 long arg6
= (long) wxTAB_TRAVERSAL
;
25299 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25300 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25301 wxPreviewControlBar
*result
;
25304 bool temp7
= false ;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj1
= 0 ;
25307 PyObject
* obj2
= 0 ;
25308 PyObject
* obj3
= 0 ;
25309 PyObject
* obj4
= 0 ;
25310 PyObject
* obj5
= 0 ;
25311 PyObject
* obj6
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25318 if (SWIG_arg_fail(1)) SWIG_fail
;
25320 arg2
= (long)(SWIG_As_long(obj1
));
25321 if (SWIG_arg_fail(2)) SWIG_fail
;
25323 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25324 if (SWIG_arg_fail(3)) SWIG_fail
;
25328 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25334 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25339 arg6
= (long)(SWIG_As_long(obj5
));
25340 if (SWIG_arg_fail(6)) SWIG_fail
;
25345 arg7
= wxString_in_helper(obj6
);
25346 if (arg7
== NULL
) SWIG_fail
;
25351 if (!wxPyCheckForApp()) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25373 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25377 PyObject
* obj0
= 0 ;
25378 char *kwnames
[] = {
25379 (char *) "self", NULL
25382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25384 if (SWIG_arg_fail(1)) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= (int)(arg1
)->GetZoomControl();
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= SWIG_From_int((int)(result
));
25401 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "zoom", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail
;
25415 arg2
= (int)(SWIG_As_int(obj1
));
25416 if (SWIG_arg_fail(2)) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 (arg1
)->SetZoomControl(arg2
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 Py_INCREF(Py_None
); resultobj
= Py_None
;
25432 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
;
25434 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25435 wxPrintPreview
*result
;
25436 PyObject
* obj0
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25443 if (SWIG_arg_fail(1)) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25458 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 Py_INCREF(Py_None
); resultobj
= Py_None
;
25483 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
;
25485 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25493 if (SWIG_arg_fail(1)) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 (arg1
)->OnPrevious();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 Py_INCREF(Py_None
); resultobj
= Py_None
;
25508 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 Py_INCREF(Py_None
); resultobj
= Py_None
;
25533 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25543 if (SWIG_arg_fail(1)) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25561 PyObject
* obj0
= 0 ;
25562 char *kwnames
[] = {
25563 (char *) "self", NULL
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25568 if (SWIG_arg_fail(1)) SWIG_fail
;
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 Py_INCREF(Py_None
); resultobj
= Py_None
;
25583 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25586 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25588 return Py_BuildValue((char *)"");
25590 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25591 PyObject
*resultobj
;
25592 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25593 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25594 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25595 wxPrintPreview
*result
;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 PyObject
* obj2
= 0 ;
25600 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25602 if (SWIG_arg_fail(1)) SWIG_fail
;
25603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25604 if (SWIG_arg_fail(2)) SWIG_fail
;
25606 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25607 if (SWIG_arg_fail(3)) SWIG_fail
;
25610 if (!wxPyCheckForApp()) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25624 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25625 PyObject
*resultobj
;
25626 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25627 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25628 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25629 wxPrintPreview
*result
;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 PyObject
* obj2
= 0 ;
25634 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25636 if (SWIG_arg_fail(1)) SWIG_fail
;
25637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25638 if (SWIG_arg_fail(2)) SWIG_fail
;
25639 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25640 if (SWIG_arg_fail(3)) SWIG_fail
;
25642 if (!wxPyCheckForApp()) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25656 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25661 argc
= PyObject_Length(args
);
25662 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25663 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25665 if ((argc
>= 2) && (argc
<= 3)) {
25669 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25679 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25688 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25692 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25700 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25709 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25719 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25729 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25737 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25743 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25748 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
;
25750 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25753 PyObject
* obj0
= 0 ;
25754 PyObject
* obj1
= 0 ;
25755 char *kwnames
[] = {
25756 (char *) "self",(char *) "pageNum", NULL
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25761 if (SWIG_arg_fail(1)) SWIG_fail
;
25763 arg2
= (int)(SWIG_As_int(obj1
));
25764 if (SWIG_arg_fail(2)) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25782 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25786 PyObject
* obj0
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25793 if (SWIG_arg_fail(1)) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (int)(arg1
)->GetCurrentPage();
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= SWIG_From_int((int)(result
));
25810 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25813 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 char *kwnames
[] = {
25817 (char *) "self",(char *) "printout", NULL
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25822 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25824 if (SWIG_arg_fail(2)) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 (arg1
)->SetPrintout(arg2
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 Py_INCREF(Py_None
); resultobj
= Py_None
;
25839 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
;
25841 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25842 wxPyPrintout
*result
;
25843 PyObject
* obj0
= 0 ;
25844 char *kwnames
[] = {
25845 (char *) "self", NULL
25848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
25849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25850 if (SWIG_arg_fail(1)) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= wxPyMake_wxObject(result
, 0);
25867 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25870 wxPyPrintout
*result
;
25871 PyObject
* obj0
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
25877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25878 if (SWIG_arg_fail(1)) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= wxPyMake_wxObject(result
, 0);
25895 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
;
25897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25898 wxFrame
*arg2
= (wxFrame
*) 0 ;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 char *kwnames
[] = {
25902 (char *) "self",(char *) "frame", NULL
25905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
25906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25907 if (SWIG_arg_fail(1)) SWIG_fail
;
25908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25909 if (SWIG_arg_fail(2)) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 (arg1
)->SetFrame(arg2
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 Py_INCREF(Py_None
); resultobj
= Py_None
;
25924 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25927 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self",(char *) "canvas", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25936 if (SWIG_arg_fail(1)) SWIG_fail
;
25937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
25938 if (SWIG_arg_fail(2)) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->SetCanvas(arg2
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25957 PyObject
* obj0
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
25963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25964 if (SWIG_arg_fail(1)) SWIG_fail
;
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 result
= (wxFrame
*)(arg1
)->GetFrame();
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25973 resultobj
= wxPyMake_wxObject(result
, 0);
25981 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25982 PyObject
*resultobj
;
25983 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25984 wxPreviewCanvas
*result
;
25985 PyObject
* obj0
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
25991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25992 if (SWIG_arg_fail(1)) SWIG_fail
;
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
25997 wxPyEndAllowThreads(__tstate
);
25998 if (PyErr_Occurred()) SWIG_fail
;
26000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26007 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26010 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 PyObject
* obj2
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26022 if (SWIG_arg_fail(1)) SWIG_fail
;
26023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26024 if (SWIG_arg_fail(2)) SWIG_fail
;
26026 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26027 if (SWIG_arg_fail(3)) SWIG_fail
;
26028 if (arg3
== NULL
) {
26029 SWIG_null_ref("wxDC");
26031 if (SWIG_arg_fail(3)) SWIG_fail
;
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26049 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26052 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 PyObject
* obj2
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26064 if (SWIG_arg_fail(1)) SWIG_fail
;
26065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26066 if (SWIG_arg_fail(2)) SWIG_fail
;
26068 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26069 if (SWIG_arg_fail(3)) SWIG_fail
;
26070 if (arg3
== NULL
) {
26071 SWIG_null_ref("wxDC");
26073 if (SWIG_arg_fail(3)) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26091 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "pageNum", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail
;
26106 arg2
= (int)(SWIG_As_int(obj1
));
26107 if (SWIG_arg_fail(2)) SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 result
= (bool)(arg1
)->RenderPage(arg2
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26125 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26128 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 PyObject
* obj1
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self",(char *) "canvas", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26137 if (SWIG_arg_fail(1)) SWIG_fail
;
26138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26139 if (SWIG_arg_fail(2)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 (arg1
)->AdjustScrollbars(arg2
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 Py_INCREF(Py_None
); resultobj
= Py_None
;
26154 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26157 wxPrintDialogData
*result
;
26158 PyObject
* obj0
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26165 if (SWIG_arg_fail(1)) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26170 result
= (wxPrintDialogData
*) &_result_ref
;
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26183 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "percent", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26195 if (SWIG_arg_fail(1)) SWIG_fail
;
26197 arg2
= (int)(SWIG_As_int(obj1
));
26198 if (SWIG_arg_fail(2)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 (arg1
)->SetZoom(arg2
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 Py_INCREF(Py_None
); resultobj
= Py_None
;
26214 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26225 if (SWIG_arg_fail(1)) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (int)(arg1
)->GetZoom();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_From_int((int)(result
));
26242 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26253 if (SWIG_arg_fail(1)) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (int)(arg1
)->GetMaxPage();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= SWIG_From_int((int)(result
));
26270 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26281 if (SWIG_arg_fail(1)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (int)(arg1
)->GetMinPage();
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_From_int((int)(result
));
26298 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26309 if (SWIG_arg_fail(1)) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= (bool)(arg1
)->Ok();
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26326 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self",(char *) "ok", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26338 if (SWIG_arg_fail(1)) SWIG_fail
;
26340 arg2
= (bool)(SWIG_As_bool(obj1
));
26341 if (SWIG_arg_fail(2)) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 (arg1
)->SetOk(arg2
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 Py_INCREF(Py_None
); resultobj
= Py_None
;
26357 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26362 PyObject
* obj0
= 0 ;
26363 PyObject
* obj1
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self",(char *) "interactive", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26370 if (SWIG_arg_fail(1)) SWIG_fail
;
26372 arg2
= (bool)(SWIG_As_bool(obj1
));
26373 if (SWIG_arg_fail(2)) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (bool)(arg1
)->Print(arg2
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26391 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26394 PyObject
* obj0
= 0 ;
26395 char *kwnames
[] = {
26396 (char *) "self", NULL
26399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail
;
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 (arg1
)->DetermineScaling();
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 Py_INCREF(Py_None
); resultobj
= Py_None
;
26416 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26419 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26421 return Py_BuildValue((char *)"");
26423 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26424 PyObject
*resultobj
;
26425 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26426 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26427 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26428 wxPyPrintPreview
*result
;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 PyObject
* obj2
= 0 ;
26433 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26435 if (SWIG_arg_fail(1)) SWIG_fail
;
26436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26437 if (SWIG_arg_fail(2)) SWIG_fail
;
26439 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26440 if (SWIG_arg_fail(3)) SWIG_fail
;
26443 if (!wxPyCheckForApp()) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26457 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26458 PyObject
*resultobj
;
26459 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26460 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26461 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26462 wxPyPrintPreview
*result
;
26463 PyObject
* obj0
= 0 ;
26464 PyObject
* obj1
= 0 ;
26465 PyObject
* obj2
= 0 ;
26467 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26469 if (SWIG_arg_fail(1)) SWIG_fail
;
26470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26471 if (SWIG_arg_fail(2)) SWIG_fail
;
26472 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26473 if (SWIG_arg_fail(3)) SWIG_fail
;
26475 if (!wxPyCheckForApp()) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26489 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26494 argc
= PyObject_Length(args
);
26495 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26496 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26498 if ((argc
>= 2) && (argc
<= 3)) {
26502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26512 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26521 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26525 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26533 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26542 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26552 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26562 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26570 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26576 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26581 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26582 PyObject
*resultobj
;
26583 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26584 PyObject
*arg2
= (PyObject
*) 0 ;
26585 PyObject
*arg3
= (PyObject
*) 0 ;
26586 PyObject
* obj0
= 0 ;
26587 PyObject
* obj1
= 0 ;
26588 PyObject
* obj2
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self",(char *) "self",(char *) "_class", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26595 if (SWIG_arg_fail(1)) SWIG_fail
;
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26605 Py_INCREF(Py_None
); resultobj
= Py_None
;
26612 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26614 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26617 PyObject
* obj0
= 0 ;
26618 PyObject
* obj1
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self",(char *) "pageNum", NULL
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26625 if (SWIG_arg_fail(1)) SWIG_fail
;
26627 arg2
= (int)(SWIG_As_int(obj1
));
26628 if (SWIG_arg_fail(2)) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26646 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
;
26648 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26649 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26652 PyObject
* obj0
= 0 ;
26653 PyObject
* obj1
= 0 ;
26654 PyObject
* obj2
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26661 if (SWIG_arg_fail(1)) SWIG_fail
;
26662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26663 if (SWIG_arg_fail(2)) SWIG_fail
;
26665 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(3)) SWIG_fail
;
26667 if (arg3
== NULL
) {
26668 SWIG_null_ref("wxDC");
26670 if (SWIG_arg_fail(3)) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26691 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 PyObject
* obj2
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26703 if (SWIG_arg_fail(1)) SWIG_fail
;
26704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26705 if (SWIG_arg_fail(2)) SWIG_fail
;
26707 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26708 if (SWIG_arg_fail(3)) SWIG_fail
;
26709 if (arg3
== NULL
) {
26710 SWIG_null_ref("wxDC");
26712 if (SWIG_arg_fail(3)) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26730 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26731 PyObject
*resultobj
;
26732 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 char *kwnames
[] = {
26738 (char *) "self",(char *) "pageNum", NULL
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26743 if (SWIG_arg_fail(1)) SWIG_fail
;
26745 arg2
= (int)(SWIG_As_int(obj1
));
26746 if (SWIG_arg_fail(2)) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26764 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self",(char *) "percent", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26776 if (SWIG_arg_fail(1)) SWIG_fail
;
26778 arg2
= (int)(SWIG_As_int(obj1
));
26779 if (SWIG_arg_fail(2)) SWIG_fail
;
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 (arg1
)->base_SetZoom(arg2
);
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 Py_INCREF(Py_None
); resultobj
= Py_None
;
26795 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "interactive", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26808 if (SWIG_arg_fail(1)) SWIG_fail
;
26810 arg2
= (bool)(SWIG_As_bool(obj1
));
26811 if (SWIG_arg_fail(2)) SWIG_fail
;
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 result
= (bool)(arg1
)->base_Print(arg2
);
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26829 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26832 PyObject
* obj0
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26839 if (SWIG_arg_fail(1)) SWIG_fail
;
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 (arg1
)->base_DetermineScaling();
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 Py_INCREF(Py_None
); resultobj
= Py_None
;
26854 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26857 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
26859 return Py_BuildValue((char *)"");
26861 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
;
26863 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26864 wxFrame
*arg2
= (wxFrame
*) 0 ;
26865 wxString
*arg3
= 0 ;
26866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26870 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
26871 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
26872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26873 wxPyPreviewFrame
*result
;
26874 bool temp3
= false ;
26877 bool temp7
= false ;
26878 PyObject
* obj0
= 0 ;
26879 PyObject
* obj1
= 0 ;
26880 PyObject
* obj2
= 0 ;
26881 PyObject
* obj3
= 0 ;
26882 PyObject
* obj4
= 0 ;
26883 PyObject
* obj5
= 0 ;
26884 PyObject
* obj6
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26891 if (SWIG_arg_fail(1)) SWIG_fail
;
26892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26893 if (SWIG_arg_fail(2)) SWIG_fail
;
26895 arg3
= wxString_in_helper(obj2
);
26896 if (arg3
== NULL
) SWIG_fail
;
26902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26913 arg6
= (long)(SWIG_As_long(obj5
));
26914 if (SWIG_arg_fail(6)) SWIG_fail
;
26919 arg7
= wxString_in_helper(obj6
);
26920 if (arg7
== NULL
) SWIG_fail
;
26925 if (!wxPyCheckForApp()) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
26955 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
;
26957 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26958 PyObject
*arg2
= (PyObject
*) 0 ;
26959 PyObject
*arg3
= (PyObject
*) 0 ;
26960 PyObject
* obj0
= 0 ;
26961 PyObject
* obj1
= 0 ;
26962 PyObject
* obj2
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self",(char *) "self",(char *) "_class", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26969 if (SWIG_arg_fail(1)) SWIG_fail
;
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 Py_INCREF(Py_None
); resultobj
= Py_None
;
26986 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
;
26988 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26989 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "canvas", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail
;
26999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(2)) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 (arg1
)->SetPreviewCanvas(arg2
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 Py_INCREF(Py_None
); resultobj
= Py_None
;
27015 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27018 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char *kwnames
[] = {
27022 (char *) "self",(char *) "bar", NULL
27025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27027 if (SWIG_arg_fail(1)) SWIG_fail
;
27028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27029 if (SWIG_arg_fail(2)) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->SetControlBar(arg2
);
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 Py_INCREF(Py_None
); resultobj
= Py_None
;
27044 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27047 PyObject
* obj0
= 0 ;
27048 char *kwnames
[] = {
27049 (char *) "self", NULL
27052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27054 if (SWIG_arg_fail(1)) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 (arg1
)->base_Initialize();
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 Py_INCREF(Py_None
); resultobj
= Py_None
;
27069 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 (arg1
)->base_CreateCanvas();
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 Py_INCREF(Py_None
); resultobj
= Py_None
;
27094 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 char *kwnames
[] = {
27099 (char *) "self", NULL
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 (arg1
)->base_CreateControlBar();
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 Py_INCREF(Py_None
); resultobj
= Py_None
;
27119 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27122 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27124 return Py_BuildValue((char *)"");
27126 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
;
27128 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27130 wxWindow
*arg3
= (wxWindow
*) 0 ;
27131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27135 long arg6
= (long) 0 ;
27136 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27137 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27138 wxPyPreviewControlBar
*result
;
27141 bool temp7
= false ;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 PyObject
* obj2
= 0 ;
27145 PyObject
* obj3
= 0 ;
27146 PyObject
* obj4
= 0 ;
27147 PyObject
* obj5
= 0 ;
27148 PyObject
* obj6
= 0 ;
27149 char *kwnames
[] = {
27150 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27155 if (SWIG_arg_fail(1)) SWIG_fail
;
27157 arg2
= (long)(SWIG_As_long(obj1
));
27158 if (SWIG_arg_fail(2)) SWIG_fail
;
27160 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27161 if (SWIG_arg_fail(3)) SWIG_fail
;
27165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27176 arg6
= (long)(SWIG_As_long(obj5
));
27177 if (SWIG_arg_fail(6)) SWIG_fail
;
27182 arg7
= wxString_in_helper(obj6
);
27183 if (arg7
== NULL
) SWIG_fail
;
27188 if (!wxPyCheckForApp()) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27210 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27211 PyObject
*resultobj
;
27212 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27213 PyObject
*arg2
= (PyObject
*) 0 ;
27214 PyObject
*arg3
= (PyObject
*) 0 ;
27215 PyObject
* obj0
= 0 ;
27216 PyObject
* obj1
= 0 ;
27217 PyObject
* obj2
= 0 ;
27218 char *kwnames
[] = {
27219 (char *) "self",(char *) "self",(char *) "_class", NULL
27222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27224 if (SWIG_arg_fail(1)) SWIG_fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 Py_INCREF(Py_None
); resultobj
= Py_None
;
27241 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
;
27243 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27244 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self",(char *) "preview", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail
;
27254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27255 if (SWIG_arg_fail(2)) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 (arg1
)->SetPrintPreview(arg2
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 Py_INCREF(Py_None
); resultobj
= Py_None
;
27270 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
;
27272 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27273 PyObject
* obj0
= 0 ;
27274 char *kwnames
[] = {
27275 (char *) "self", NULL
27278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27280 if (SWIG_arg_fail(1)) SWIG_fail
;
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 (arg1
)->base_CreateButtons();
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 Py_INCREF(Py_None
); resultobj
= Py_None
;
27295 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
;
27297 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self",(char *) "zoom", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail
;
27309 arg2
= (int)(SWIG_As_int(obj1
));
27310 if (SWIG_arg_fail(2)) SWIG_fail
;
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 (arg1
)->base_SetZoomControl(arg2
);
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27319 Py_INCREF(Py_None
); resultobj
= Py_None
;
27326 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27329 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27331 return Py_BuildValue((char *)"");
27333 static PyMethodDef SwigMethods
[] = {
27334 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27335 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27336 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27337 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27338 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27339 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27340 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27341 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27342 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27343 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27344 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27345 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27346 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27347 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27348 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27349 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27350 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27351 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27352 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27353 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27354 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27355 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27356 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27357 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27358 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27359 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27360 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27361 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27362 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27363 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27364 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27365 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27366 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27367 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27368 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27369 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27370 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27371 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27372 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27373 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27374 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27375 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27376 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27377 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27378 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27379 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27380 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27381 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27382 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27383 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27384 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27385 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27386 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27387 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27388 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27389 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27390 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27391 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27392 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27393 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27394 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27395 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27396 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27397 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27398 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27399 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27400 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27401 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27402 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27403 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27404 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27405 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27406 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27407 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27408 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27409 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27410 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27411 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27412 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27413 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27414 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27415 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27416 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27417 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27418 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27419 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27420 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27421 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27422 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27423 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27424 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27425 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27426 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27427 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27428 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27429 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27430 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27431 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27432 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27433 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27434 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27435 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27436 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27437 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27438 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27439 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27440 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27441 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27442 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27443 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27444 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27445 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27446 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27447 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27448 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27449 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27450 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27451 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27452 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27453 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27454 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27455 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27456 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27457 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27458 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27459 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27460 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27461 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27462 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27463 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27464 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27465 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27466 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27467 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27468 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27469 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27470 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27471 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27472 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27473 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27474 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27475 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27476 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27477 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27478 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27479 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27480 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27481 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27482 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27484 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27487 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27489 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27495 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27496 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27504 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27505 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27512 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27520 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27532 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27538 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27547 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27553 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27556 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27559 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27563 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27581 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27607 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27615 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27624 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27626 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27635 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27638 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27645 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27663 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27667 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27672 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27676 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27678 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27694 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27697 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27699 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27703 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27712 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27721 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27727 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27739 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27746 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27750 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27776 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27802 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27828 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27829 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
27874 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
27875 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
27906 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
27911 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
27912 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
27945 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
27951 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
27962 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
27985 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
27987 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
27993 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28003 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28004 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28027 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28028 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28037 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28045 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28051 { NULL
, NULL
, 0, NULL
}
28055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28057 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28058 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28060 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28063 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28064 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28066 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28067 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28069 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28070 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28072 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28073 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28075 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28076 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28078 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28079 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28081 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28082 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28084 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28087 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28090 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28091 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28093 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28096 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28097 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28099 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28100 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28102 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28105 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28106 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28108 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28109 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28111 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28112 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28114 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28115 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28117 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28118 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28120 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28121 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28123 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28124 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28126 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28127 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28129 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28130 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28132 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28133 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28135 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28136 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28138 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28139 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28141 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28142 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28144 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28145 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28147 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28148 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28150 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28153 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28156 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28157 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28159 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28160 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28162 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28163 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28165 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28168 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28171 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28172 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28174 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28175 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28177 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28178 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28180 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28181 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28183 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28184 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28186 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28187 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28189 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28192 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28195 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28198 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28199 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28201 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28202 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28204 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28205 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28207 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28208 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28210 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28213 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28216 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28219 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28222 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28225 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28228 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28231 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28234 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28235 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28237 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28238 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28240 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28243 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28246 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28249 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28252 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28255 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28256 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28258 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28259 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28261 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28262 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28264 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28265 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28267 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28270 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28271 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28273 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28274 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28276 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28279 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28280 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28282 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28285 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28288 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28291 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28292 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28294 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28297 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28298 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28300 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28303 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28306 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28309 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28312 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28315 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28316 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28318 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28321 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28324 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28327 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28330 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28333 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28336 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28337 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28339 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28340 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28342 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28343 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28345 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28346 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28348 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28349 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28351 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28352 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28354 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28355 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28357 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28358 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28360 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28361 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28363 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28364 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28366 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28367 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28369 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28372 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28375 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28376 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28378 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28379 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28381 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28384 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28385 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28387 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28388 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28390 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28391 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28393 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28394 return (void *)((wxObject
*) ((wxSizer
*) x
));
28396 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28397 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28399 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28402 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28405 static void *_p_wxEventTo_p_wxObject(void *x
) {
28406 return (void *)((wxObject
*) ((wxEvent
*) x
));
28408 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28409 return (void *)((wxObject
*) ((wxFontData
*) x
));
28411 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28412 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28414 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28415 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28417 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28418 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28420 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28421 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28423 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28424 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28426 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28427 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28429 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28432 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28433 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28435 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28436 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28438 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28439 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28441 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28442 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28444 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28445 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28447 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28448 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28450 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28453 static void *_p_wxControlTo_p_wxObject(void *x
) {
28454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28456 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28457 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28459 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28462 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28463 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28465 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28466 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28468 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28469 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28471 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28474 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28475 return (void *)((wxObject
*) ((wxColourData
*) x
));
28477 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28478 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28480 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28483 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28486 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28489 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28492 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28495 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28498 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28501 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28504 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28507 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28510 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28513 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28514 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28516 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28517 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28519 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28520 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28522 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28523 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28525 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28528 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28529 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28531 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28532 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28534 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28535 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28537 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28538 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28540 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28541 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28543 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28544 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28546 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28549 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28552 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28553 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28555 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28556 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28558 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28559 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28561 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28562 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28564 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28565 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28567 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28568 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28570 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28571 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28573 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28576 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28577 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28579 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28582 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28583 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28585 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28586 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28588 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28591 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28594 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28595 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28597 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28598 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28600 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28603 static void *_p_wxImageTo_p_wxObject(void *x
) {
28604 return (void *)((wxObject
*) ((wxImage
*) x
));
28606 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28609 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28610 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28612 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28613 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28615 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28616 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28618 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28621 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28624 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28627 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28628 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28630 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28631 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28633 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28634 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28636 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28637 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28639 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28642 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28645 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28648 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28651 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28654 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28657 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28660 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28663 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28666 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28669 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28672 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28675 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28678 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28681 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28682 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28684 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28685 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28687 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28690 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28693 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28696 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28699 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28702 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28705 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28708 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28711 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28714 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28717 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28720 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28723 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28726 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28729 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28732 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28735 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28738 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28741 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28744 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28747 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28750 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28753 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28756 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28757 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28759 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28762 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28763 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28765 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28766 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28768 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28769 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28771 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28772 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28774 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28775 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28777 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28778 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28780 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28781 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28783 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28784 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28786 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28787 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28789 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28790 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28792 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28793 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28795 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28796 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28798 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28799 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28801 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28802 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28804 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28805 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28807 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28808 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28810 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28811 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28813 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28814 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28816 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28817 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28819 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28820 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28822 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28823 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28825 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28826 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28828 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28829 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28831 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28832 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28834 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28835 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28837 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28838 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28840 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28843 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
28844 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
28846 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28847 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28849 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
28850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28852 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
28853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28855 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
28856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28858 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
28859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28861 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
28862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28864 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
28865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28867 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
28868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28870 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
28871 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28873 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
28874 return (void *)((wxWindow
*) ((wxPanel
*) x
));
28876 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
28877 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
28879 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
28880 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28882 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
28883 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28885 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
28886 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28888 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
28889 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
28891 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
28892 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28894 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
28895 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
28897 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
28898 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
28900 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
28901 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
28903 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
28904 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
28906 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
28907 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
28909 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
28910 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
28912 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
28913 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28915 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28916 return (void *)((wxWindow
*) ((wxControl
*) x
));
28918 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
28919 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28921 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
28922 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28924 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
28925 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28927 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28928 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28930 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
28931 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
28933 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
28934 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28936 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
28937 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28939 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
28940 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28942 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
28943 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
28945 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
28946 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28948 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
28949 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
28951 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
28952 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28954 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
28955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28957 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
28958 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28960 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
28961 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
28963 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
28964 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28966 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
28967 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28969 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
28970 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28972 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
28973 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28975 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
28976 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
28978 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
28979 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
28981 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
28982 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
28984 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
28985 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
28987 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
28988 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28990 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
28991 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28993 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
28994 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
28996 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
28997 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28999 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29000 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29002 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29003 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29005 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29006 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29008 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29009 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29011 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29012 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29014 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29015 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29017 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29018 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29020 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29021 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29023 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29024 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29026 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29027 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29029 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29030 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29032 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29033 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29035 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29036 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29038 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29039 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29041 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29042 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29044 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29045 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29047 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29048 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29050 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29051 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29053 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29054 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29056 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29057 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29059 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29060 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29062 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29063 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29065 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29066 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29068 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}};
29069 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}};
29070 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}};
29071 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}};
29072 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}};
29073 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}};
29074 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29075 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}};
29076 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}};
29077 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}};
29078 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}};
29079 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}};
29080 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}};
29081 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}};
29082 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}};
29083 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}};
29084 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}};
29085 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}};
29086 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}};
29087 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}};
29088 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}};
29089 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}};
29090 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}};
29091 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}};
29092 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}};
29093 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}};
29094 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}};
29095 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}};
29096 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}};
29097 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}};
29098 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}};
29099 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}};
29100 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}};
29101 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}};
29102 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}};
29103 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}};
29104 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}};
29105 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}};
29106 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}};
29107 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}};
29108 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}};
29109 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}};
29110 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_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}};
29111 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}};
29112 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}};
29113 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}};
29114 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}};
29115 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}};
29116 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}};
29117 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}};
29118 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_wxTipWindow", _p_wxTipWindowTo_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}};
29119 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}};
29120 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}};
29121 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}};
29122 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}};
29123 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}};
29124 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}};
29125 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}};
29126 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_wxTipWindow", _p_wxTipWindowTo_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_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}};
29127 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}};
29128 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}};
29129 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29130 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}};
29131 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}};
29132 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}};
29133 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}};
29134 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},{0, 0, 0, 0, 0, 0, 0}};
29135 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}};
29136 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_wxTipWindow", _p_wxTipWindowTo_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_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_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}};
29137 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
29138 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}};
29139 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}};
29140 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}};
29141 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}};
29142 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}};
29143 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}};
29144 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}};
29145 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}};
29146 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}};
29147 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}};
29148 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}};
29149 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}};
29150 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}};
29151 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}};
29152 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}};
29153 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}};
29154 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}};
29155 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}};
29156 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}};
29157 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}};
29158 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29159 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}};
29160 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}};
29161 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}};
29162 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}};
29163 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}};
29164 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}};
29166 static swig_type_info
*swig_types_initial
[] = {
29167 _swigt__p_wxQueryLayoutInfoEvent
,
29168 _swigt__p_wxPreviewFrame
,
29169 _swigt__p_wxPyPreviewFrame
,
29170 _swigt__p_wxPyPanel
,
29172 _swigt__p_wxFontData
,
29174 _swigt__p_wxPrintData
,
29175 _swigt__p_wxTaskBarIcon
,
29176 _swigt__p_wxPyTaskBarIcon
,
29177 _swigt__p_wxIconBundle
,
29178 _swigt__p_wxLayoutAlgorithm
,
29179 _swigt__p_wxFindDialogEvent
,
29180 _swigt__p_wxPreviewCanvas
,
29182 _swigt__p_wxSplitterEvent
,
29183 _swigt__p_wxRegion
,
29185 _swigt__std__ptrdiff_t
,
29186 _swigt__p_wxFindReplaceData
,
29191 _swigt__p_wxVisualAttributes
,
29192 _swigt__p_wxMDIChildFrame
,
29193 _swigt__p_wxColourData
,
29194 _swigt__p_wxNotifyEvent
,
29195 _swigt__p_wxPyWindow
,
29196 _swigt__p_form_ops_t
,
29197 _swigt__p_wxSplashScreen
,
29198 _swigt__p_wxPasswordEntryDialog
,
29199 _swigt__p_wxSingleChoiceDialog
,
29200 _swigt__p_wxMultiChoiceDialog
,
29201 _swigt__p_wxFileDialog
,
29202 _swigt__p_wxTextEntryDialog
,
29203 _swigt__p_wxMessageDialog
,
29204 _swigt__p_wxProgressDialog
,
29205 _swigt__p_wxFindReplaceDialog
,
29206 _swigt__p_wxPrinter
,
29207 _swigt__p_wxArrayInt
,
29208 _swigt__p_wxDuplexMode
,
29209 _swigt__p_wxEvtHandler
,
29210 _swigt__p_wxCalculateLayoutEvent
,
29211 _swigt__p_wxPyHtmlListBox
,
29212 _swigt__p_wxPyVListBox
,
29214 _swigt__p_wxStdDialogButtonSizer
,
29216 _swigt__p_wxMiniFrame
,
29218 _swigt__p_wxPyPrintout
,
29219 _swigt__p_wxTaskBarIconEvent
,
29220 _swigt__p_wxScrollWinEvent
,
29221 _swigt__p_wxPaperSize
,
29222 _swigt__p_wxStatusBar
,
29223 _swigt__p_wxMDIParentFrame
,
29225 _swigt__p_wxObject
,
29226 _swigt__p_unsigned_long
,
29227 _swigt__p_wxTipWindow
,
29228 _swigt__p_wxPyPopupTransientWindow
,
29229 _swigt__p_wxSashLayoutWindow
,
29230 _swigt__p_wxSplitterWindow
,
29231 _swigt__p_wxSplashScreenWindow
,
29232 _swigt__p_wxPyVScrolledWindow
,
29233 _swigt__p_wxPopupWindow
,
29234 _swigt__p_wxSashWindow
,
29235 _swigt__p_wxTopLevelWindow
,
29236 _swigt__p_wxWindow
,
29237 _swigt__p_wxScrolledWindow
,
29238 _swigt__p_wxMenuBar
,
29239 _swigt__p_wxMDIClientWindow
,
29240 _swigt__p_wxPyScrolledWindow
,
29241 _swigt__p_wxPrintPreview
,
29242 _swigt__p_wxSashEvent
,
29243 _swigt__p_wxString
,
29244 _swigt__p_wxPyPrintPreview
,
29245 _swigt__p_wxDirDialog
,
29246 _swigt__p_wxColourDialog
,
29247 _swigt__p_wxDialog
,
29249 _swigt__p_wxFontDialog
,
29250 _swigt__p_wxPageSetupDialog
,
29251 _swigt__p_wxPrintDialog
,
29252 _swigt__p_wxFileSystem
,
29253 _swigt__p_wxBitmap
,
29254 _swigt__unsigned_int
,
29255 _swigt__p_unsigned_int
,
29256 _swigt__p_unsigned_char
,
29257 _swigt__p_wxCommandEvent
,
29258 _swigt__p_wxPreviewControlBar
,
29259 _swigt__p_wxPyPreviewControlBar
,
29260 _swigt__p_wxColour
,
29261 _swigt__p_wxToolBar
,
29262 _swigt__p_wxPageSetupDialogData
,
29263 _swigt__p_wxPrintDialogData
,
29268 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29270 static swig_const_info swig_const_table
[] = {
29271 {0, 0, 0, 0.0, 0, 0}};
29282 /* Python-specific SWIG API */
29283 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29284 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29285 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29287 /* -----------------------------------------------------------------------------
29288 * global variable support code.
29289 * ----------------------------------------------------------------------------- */
29291 typedef struct swig_globalvar
{
29292 char *name
; /* Name of global variable */
29293 PyObject
*(*get_attr
)(); /* Return the current value */
29294 int (*set_attr
)(PyObject
*); /* Set the value */
29295 struct swig_globalvar
*next
;
29298 typedef struct swig_varlinkobject
{
29300 swig_globalvar
*vars
;
29301 } swig_varlinkobject
;
29304 swig_varlink_repr(swig_varlinkobject
*v
) {
29306 return PyString_FromString("<Swig global variables>");
29310 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29311 swig_globalvar
*var
;
29313 fprintf(fp
,"Swig global variables { ");
29314 for (var
= v
->vars
; var
; var
=var
->next
) {
29315 fprintf(fp
,"%s", var
->name
);
29316 if (var
->next
) fprintf(fp
,", ");
29318 fprintf(fp
," }\n");
29323 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29324 swig_globalvar
*var
= v
->vars
;
29326 if (strcmp(var
->name
,n
) == 0) {
29327 return (*var
->get_attr
)();
29331 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29336 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29337 swig_globalvar
*var
= v
->vars
;
29339 if (strcmp(var
->name
,n
) == 0) {
29340 return (*var
->set_attr
)(p
);
29344 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29348 static PyTypeObject varlinktype
= {
29349 PyObject_HEAD_INIT(0)
29350 0, /* Number of items in variable part (ob_size) */
29351 (char *)"swigvarlink", /* Type name (tp_name) */
29352 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29353 0, /* Itemsize (tp_itemsize) */
29354 0, /* Deallocator (tp_dealloc) */
29355 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29356 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29357 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29358 0, /* tp_compare */
29359 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29360 0, /* tp_as_number */
29361 0, /* tp_as_sequence */
29362 0, /* tp_as_mapping */
29366 0, /* tp_getattro */
29367 0, /* tp_setattro */
29368 0, /* tp_as_buffer */
29371 #if PY_VERSION_HEX >= 0x02000000
29372 0, /* tp_traverse */
29375 #if PY_VERSION_HEX >= 0x02010000
29376 0, /* tp_richcompare */
29377 0, /* tp_weaklistoffset */
29379 #if PY_VERSION_HEX >= 0x02020000
29380 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29382 #if PY_VERSION_HEX >= 0x02030000
29385 #ifdef COUNT_ALLOCS
29386 0,0,0,0 /* tp_alloc -> tp_next */
29390 /* Create a variable linking object for use later */
29392 SWIG_Python_newvarlink(void) {
29393 swig_varlinkobject
*result
= 0;
29394 result
= PyMem_NEW(swig_varlinkobject
,1);
29395 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29396 result
->ob_type
= &varlinktype
;
29398 result
->ob_refcnt
= 0;
29399 Py_XINCREF((PyObject
*) result
);
29400 return ((PyObject
*) result
);
29404 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29405 swig_varlinkobject
*v
;
29406 swig_globalvar
*gv
;
29407 v
= (swig_varlinkobject
*) p
;
29408 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29409 gv
->name
= (char *) malloc(strlen(name
)+1);
29410 strcpy(gv
->name
,name
);
29411 gv
->get_attr
= get_attr
;
29412 gv
->set_attr
= set_attr
;
29413 gv
->next
= v
->vars
;
29417 /* -----------------------------------------------------------------------------
29418 * constants/methods manipulation
29419 * ----------------------------------------------------------------------------- */
29421 /* Install Constants */
29423 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29426 for (i
= 0; constants
[i
].type
; i
++) {
29427 switch(constants
[i
].type
) {
29429 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29431 case SWIG_PY_FLOAT
:
29432 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29434 case SWIG_PY_STRING
:
29435 if (constants
[i
].pvalue
) {
29436 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29438 Py_INCREF(Py_None
);
29442 case SWIG_PY_POINTER
:
29443 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29445 case SWIG_PY_BINARY
:
29446 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29453 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29459 /* -----------------------------------------------------------------------------*/
29460 /* Fix SwigMethods to carry the callback ptrs when needed */
29461 /* -----------------------------------------------------------------------------*/
29464 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29465 swig_const_info
*const_table
,
29466 swig_type_info
**types
,
29467 swig_type_info
**types_initial
) {
29469 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29470 char *c
= methods
[i
].ml_doc
;
29471 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29473 swig_const_info
*ci
= 0;
29474 char *name
= c
+ 10;
29475 for (j
= 0; const_table
[j
].type
; j
++) {
29476 if (strncmp(const_table
[j
].name
, name
,
29477 strlen(const_table
[j
].name
)) == 0) {
29478 ci
= &(const_table
[j
]);
29483 size_t shift
= (ci
->ptype
) - types
;
29484 swig_type_info
*ty
= types_initial
[shift
];
29485 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29486 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29487 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29489 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29490 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29492 strncpy(buff
, "swig_ptr: ", 10);
29494 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29495 methods
[i
].ml_doc
= ndoc
;
29501 /* -----------------------------------------------------------------------------*
29502 * Initialize type list
29503 * -----------------------------------------------------------------------------*/
29505 #if PY_MAJOR_VERSION < 2
29506 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29507 is copied out of Python/modsupport.c in python version 2.3.4 */
29509 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29512 if (!PyModule_Check(m
)) {
29513 PyErr_SetString(PyExc_TypeError
,
29514 "PyModule_AddObject() needs module as first arg");
29518 PyErr_SetString(PyExc_TypeError
,
29519 "PyModule_AddObject() needs non-NULL value");
29523 dict
= PyModule_GetDict(m
);
29524 if (dict
== NULL
) {
29525 /* Internal error -- modules must have a dict! */
29526 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29527 PyModule_GetName(m
));
29530 if (PyDict_SetItemString(dict
, name
, o
))
29537 static swig_type_info
**
29538 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29539 static PyMethodDef swig_empty_runtime_method_table
[] = {
29541 NULL
, NULL
, 0, NULL
29545 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29546 swig_empty_runtime_method_table
);
29547 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29548 if (pointer
&& module) {
29549 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29551 return type_list_handle
;
29554 static swig_type_info
**
29555 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29556 swig_type_info
**type_pointer
;
29558 /* first check if module already created */
29559 type_pointer
= SWIG_Python_GetTypeListHandle();
29560 if (type_pointer
) {
29561 return type_pointer
;
29563 /* create a new module and variable */
29564 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29572 /* -----------------------------------------------------------------------------*
29573 * Partial Init method
29574 * -----------------------------------------------------------------------------*/
29576 #ifdef SWIG_LINK_RUNTIME
29580 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29586 SWIGEXPORT(void) SWIG_init(void) {
29587 static PyObject
*SWIG_globals
= 0;
29588 static int typeinit
= 0;
29591 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29593 /* Fix SwigMethods to carry the callback ptrs when needed */
29594 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29596 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29597 d
= PyModule_GetDict(m
);
29600 #ifdef SWIG_LINK_RUNTIME
29601 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29603 # ifndef SWIG_STATIC_RUNTIME
29604 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29607 for (i
= 0; swig_types_initial
[i
]; i
++) {
29608 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29612 SWIG_InstallConstants(d
,swig_const_table
);
29614 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29615 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29616 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29617 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29618 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29620 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29623 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29626 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29629 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29632 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29635 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29638 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29641 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29644 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29647 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29650 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29653 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29656 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29659 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29662 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29665 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29668 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29671 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29674 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29677 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29680 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29683 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29686 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29689 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29692 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29695 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29698 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29701 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29704 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29707 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29710 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29713 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29716 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29719 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29722 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29725 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29728 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29731 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29734 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29737 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29740 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29743 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29746 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29748 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29750 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29753 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29756 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29759 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29762 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29765 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29768 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29771 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29774 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
29777 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
29780 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
29783 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
29786 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
29789 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
29791 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
29792 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
29793 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
29794 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
29795 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
29796 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
29798 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
29801 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
29804 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
29807 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
29810 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
29813 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
29816 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
29819 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
29822 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
29825 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
29828 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
29831 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
29834 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
29837 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
29840 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
29842 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
29844 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
29847 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
29850 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
29853 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
29856 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
29859 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
29862 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
29865 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
29868 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
29871 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
29874 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
29876 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
29877 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
29878 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
29880 // Map renamed classes back to their common name for OOR
29881 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
29882 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
29883 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
29885 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
29886 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
29887 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
29888 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
29889 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
29890 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
29891 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
29892 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29893 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29894 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
29895 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29896 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
29897 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
29899 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
29902 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
29904 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
29906 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
29909 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
29912 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
29915 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
29918 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
29921 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
29924 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
29926 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
29927 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
29928 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
29929 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
29930 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
29932 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
29935 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
29938 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
29941 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
29944 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
29947 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
29950 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
29953 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
29955 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
29956 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
29958 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
29961 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
29964 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
29967 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
29970 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
29973 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
29976 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
29979 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
29982 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
29985 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
29988 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
29991 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
29994 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
29997 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30000 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30003 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30006 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30009 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30012 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30015 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30018 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30021 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30024 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30027 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30030 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30033 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30036 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30039 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30042 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30045 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30048 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30051 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30054 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30057 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30060 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30063 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30066 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30069 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30072 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30075 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");