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__SWIG_2(PyObject
*, PyObject
*args
) {
21673 PyObject
*resultobj
;
21674 wxPrintData
*arg1
= 0 ;
21675 wxPageSetupDialogData
*result
;
21676 PyObject
* obj0
= 0 ;
21678 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail
;
21682 if (arg1
== NULL
) {
21683 SWIG_null_ref("wxPrintData");
21685 if (SWIG_arg_fail(1)) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21701 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21706 argc
= PyObject_Length(args
);
21707 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21708 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21711 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21717 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21725 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21740 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21744 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21749 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21752 PyObject
* obj0
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21759 if (SWIG_arg_fail(1)) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 Py_INCREF(Py_None
); resultobj
= Py_None
;
21774 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
;
21776 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "flag", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21786 if (SWIG_arg_fail(1)) SWIG_fail
;
21788 arg2
= (bool)(SWIG_As_bool(obj1
));
21789 if (SWIG_arg_fail(2)) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 (arg1
)->EnableHelp(arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 Py_INCREF(Py_None
); resultobj
= Py_None
;
21805 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "flag", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21817 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 arg2
= (bool)(SWIG_As_bool(obj1
));
21820 if (SWIG_arg_fail(2)) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->EnableMargins(arg2
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 Py_INCREF(Py_None
); resultobj
= Py_None
;
21836 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "flag", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21848 if (SWIG_arg_fail(1)) SWIG_fail
;
21850 arg2
= (bool)(SWIG_As_bool(obj1
));
21851 if (SWIG_arg_fail(2)) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 (arg1
)->EnableOrientation(arg2
);
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 Py_INCREF(Py_None
); resultobj
= Py_None
;
21867 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "flag", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21879 if (SWIG_arg_fail(1)) SWIG_fail
;
21881 arg2
= (bool)(SWIG_As_bool(obj1
));
21882 if (SWIG_arg_fail(2)) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 (arg1
)->EnablePaper(arg2
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 Py_INCREF(Py_None
); resultobj
= Py_None
;
21898 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self",(char *) "flag", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail
;
21912 arg2
= (bool)(SWIG_As_bool(obj1
));
21913 if (SWIG_arg_fail(2)) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 (arg1
)->EnablePrinter(arg2
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 Py_INCREF(Py_None
); resultobj
= Py_None
;
21929 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (bool)(arg1
)->GetDefaultMinMargins();
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21957 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21961 PyObject
* obj0
= 0 ;
21962 char *kwnames
[] = {
21963 (char *) "self", NULL
21966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
21967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21968 if (SWIG_arg_fail(1)) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= (bool)(arg1
)->GetEnableMargins();
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21985 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
21995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21996 if (SWIG_arg_fail(1)) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= (bool)(arg1
)->GetEnableOrientation();
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22013 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22024 if (SWIG_arg_fail(1)) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (bool)(arg1
)->GetEnablePaper();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22041 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
;
22043 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22045 PyObject
* obj0
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 result
= (bool)(arg1
)->GetEnablePrinter();
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22073 PyObject
* obj0
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22080 if (SWIG_arg_fail(1)) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (bool)(arg1
)->GetEnableHelp();
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22097 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22108 if (SWIG_arg_fail(1)) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (bool)(arg1
)->GetDefaultInfo();
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22125 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22129 PyObject
* obj0
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22136 if (SWIG_arg_fail(1)) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 result
= (arg1
)->GetMarginTopLeft();
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22145 wxPoint
* resultptr
;
22146 resultptr
= new wxPoint((wxPoint
&)(result
));
22147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22155 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22166 if (SWIG_arg_fail(1)) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= (arg1
)->GetMarginBottomRight();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 wxPoint
* resultptr
;
22176 resultptr
= new wxPoint((wxPoint
&)(result
));
22177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22185 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22196 if (SWIG_arg_fail(1)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (arg1
)->GetMinMarginTopLeft();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 wxPoint
* resultptr
;
22206 resultptr
= new wxPoint((wxPoint
&)(result
));
22207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22215 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22226 if (SWIG_arg_fail(1)) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (arg1
)->GetMinMarginBottomRight();
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 wxPoint
* resultptr
;
22236 resultptr
= new wxPoint((wxPoint
&)(result
));
22237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22245 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
;
22247 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22248 wxPaperSize result
;
22249 PyObject
* obj0
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22256 if (SWIG_arg_fail(1)) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= SWIG_From_int((result
));
22271 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22282 if (SWIG_arg_fail(1)) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (arg1
)->GetPaperSize();
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22291 wxSize
* resultptr
;
22292 resultptr
= new wxSize((wxSize
&)(result
));
22293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22301 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22304 wxPrintData
*result
;
22305 PyObject
* obj0
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22312 if (SWIG_arg_fail(1)) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22317 result
= (wxPrintData
*) &_result_ref
;
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22330 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22341 if (SWIG_arg_fail(1)) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= (bool)(arg1
)->Ok();
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22358 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self",(char *) "flag", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22370 if (SWIG_arg_fail(1)) SWIG_fail
;
22372 arg2
= (bool)(SWIG_As_bool(obj1
));
22373 if (SWIG_arg_fail(2)) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->SetDefaultInfo(arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 Py_INCREF(Py_None
); resultobj
= Py_None
;
22389 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "flag", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22401 if (SWIG_arg_fail(1)) SWIG_fail
;
22403 arg2
= (bool)(SWIG_As_bool(obj1
));
22404 if (SWIG_arg_fail(2)) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->SetDefaultMinMargins(arg2
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 Py_INCREF(Py_None
); resultobj
= Py_None
;
22420 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22423 wxPoint
*arg2
= 0 ;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self",(char *) "pt", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22433 if (SWIG_arg_fail(1)) SWIG_fail
;
22436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 Py_INCREF(Py_None
); resultobj
= Py_None
;
22452 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22455 wxPoint
*arg2
= 0 ;
22457 PyObject
* obj0
= 0 ;
22458 PyObject
* obj1
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "self",(char *) "pt", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22465 if (SWIG_arg_fail(1)) SWIG_fail
;
22468 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 Py_INCREF(Py_None
); resultobj
= Py_None
;
22484 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22487 wxPoint
*arg2
= 0 ;
22489 PyObject
* obj0
= 0 ;
22490 PyObject
* obj1
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "self",(char *) "pt", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22497 if (SWIG_arg_fail(1)) SWIG_fail
;
22500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 Py_INCREF(Py_None
); resultobj
= Py_None
;
22516 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22519 wxPoint
*arg2
= 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self",(char *) "pt", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail
;
22532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 Py_INCREF(Py_None
); resultobj
= Py_None
;
22548 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 PyObject
* obj1
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self",(char *) "id", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22560 if (SWIG_arg_fail(1)) SWIG_fail
;
22562 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22563 if (SWIG_arg_fail(2)) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 Py_INCREF(Py_None
); resultobj
= Py_None
;
22579 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 PyObject
* obj1
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self",(char *) "size", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22592 if (SWIG_arg_fail(1)) SWIG_fail
;
22595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 Py_INCREF(Py_None
); resultobj
= Py_None
;
22611 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22614 wxPrintData
*arg2
= 0 ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self",(char *) "printData", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22623 if (SWIG_arg_fail(1)) SWIG_fail
;
22625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22626 if (SWIG_arg_fail(2)) SWIG_fail
;
22627 if (arg2
== NULL
) {
22628 SWIG_null_ref("wxPrintData");
22630 if (SWIG_arg_fail(2)) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22646 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22649 PyObject
* obj0
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22656 if (SWIG_arg_fail(1)) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 (arg1
)->CalculateIdFromPaperSize();
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 Py_INCREF(Py_None
); resultobj
= Py_None
;
22671 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22674 PyObject
* obj0
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 (arg1
)->CalculatePaperSizeFromId();
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22699 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22701 return Py_BuildValue((char *)"");
22703 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxWindow
*arg1
= (wxWindow
*) 0 ;
22706 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22707 wxPageSetupDialog
*result
;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "parent",(char *) "data", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22716 if (SWIG_arg_fail(1)) SWIG_fail
;
22718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22719 if (SWIG_arg_fail(2)) SWIG_fail
;
22722 if (!wxPyCheckForApp()) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22736 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22739 wxPageSetupDialogData
*result
;
22740 PyObject
* obj0
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22747 if (SWIG_arg_fail(1)) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22752 result
= (wxPageSetupDialogData
*) &_result_ref
;
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22765 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22768 wxPageSetupDialogData
*result
;
22769 PyObject
* obj0
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22776 if (SWIG_arg_fail(1)) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22781 result
= (wxPageSetupDialogData
*) &_result_ref
;
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22794 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22805 if (SWIG_arg_fail(1)) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (int)(arg1
)->ShowModal();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_From_int((int)(result
));
22822 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22825 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22827 return Py_BuildValue((char *)"");
22829 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22830 PyObject
*resultobj
;
22831 wxPrintDialogData
*result
;
22833 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22848 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22849 PyObject
*resultobj
;
22850 wxPrintData
*arg1
= 0 ;
22851 wxPrintDialogData
*result
;
22852 PyObject
* obj0
= 0 ;
22854 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22857 if (SWIG_arg_fail(1)) SWIG_fail
;
22858 if (arg1
== NULL
) {
22859 SWIG_null_ref("wxPrintData");
22861 if (SWIG_arg_fail(1)) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22877 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22878 PyObject
*resultobj
;
22879 wxPrintDialogData
*arg1
= 0 ;
22880 wxPrintDialogData
*result
;
22881 PyObject
* obj0
= 0 ;
22883 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail
;
22887 if (arg1
== NULL
) {
22888 SWIG_null_ref("wxPrintDialogData");
22890 if (SWIG_arg_fail(1)) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22906 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22911 argc
= PyObject_Length(args
);
22912 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22913 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22916 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22922 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22930 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22937 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22945 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
22949 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22954 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",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();
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 Py_INCREF(Py_None
); resultobj
= Py_None
;
22979 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
22989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22990 if (SWIG_arg_fail(1)) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= SWIG_From_int((int)(result
));
23007 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23011 PyObject
* obj0
= 0 ;
23012 char *kwnames
[] = {
23013 (char *) "self", NULL
23016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23018 if (SWIG_arg_fail(1)) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= SWIG_From_int((int)(result
));
23035 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail
;
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_From_int((int)(result
));
23063 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23074 if (SWIG_arg_fail(1)) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_From_int((int)(result
));
23091 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23102 if (SWIG_arg_fail(1)) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= SWIG_From_int((int)(result
));
23119 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23130 if (SWIG_arg_fail(1)) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23147 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23151 PyObject
* obj0
= 0 ;
23152 char *kwnames
[] = {
23153 (char *) "self", NULL
23156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23158 if (SWIG_arg_fail(1)) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23175 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23186 if (SWIG_arg_fail(1)) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23203 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23214 if (SWIG_arg_fail(1)) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23231 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23242 if (SWIG_arg_fail(1)) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23259 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23261 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 char *kwnames
[] = {
23266 (char *) "self",(char *) "flag", NULL
23269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23271 if (SWIG_arg_fail(1)) SWIG_fail
;
23273 arg2
= (bool)(SWIG_As_bool(obj1
));
23274 if (SWIG_arg_fail(2)) SWIG_fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 (arg1
)->SetSetupDialog(arg2
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 Py_INCREF(Py_None
); resultobj
= Py_None
;
23290 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self",(char *) "v", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail
;
23304 arg2
= (int)(SWIG_As_int(obj1
));
23305 if (SWIG_arg_fail(2)) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 (arg1
)->SetFromPage(arg2
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 Py_INCREF(Py_None
); resultobj
= Py_None
;
23321 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23325 PyObject
* obj0
= 0 ;
23326 PyObject
* obj1
= 0 ;
23327 char *kwnames
[] = {
23328 (char *) "self",(char *) "v", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23333 if (SWIG_arg_fail(1)) SWIG_fail
;
23335 arg2
= (int)(SWIG_As_int(obj1
));
23336 if (SWIG_arg_fail(2)) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 (arg1
)->SetToPage(arg2
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 Py_INCREF(Py_None
); resultobj
= Py_None
;
23352 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self",(char *) "v", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23364 if (SWIG_arg_fail(1)) SWIG_fail
;
23366 arg2
= (int)(SWIG_As_int(obj1
));
23367 if (SWIG_arg_fail(2)) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 (arg1
)->SetMinPage(arg2
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 Py_INCREF(Py_None
); resultobj
= Py_None
;
23383 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self",(char *) "v", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23395 if (SWIG_arg_fail(1)) SWIG_fail
;
23397 arg2
= (int)(SWIG_As_int(obj1
));
23398 if (SWIG_arg_fail(2)) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 (arg1
)->SetMaxPage(arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 Py_INCREF(Py_None
); resultobj
= Py_None
;
23414 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23418 PyObject
* obj0
= 0 ;
23419 PyObject
* obj1
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self",(char *) "v", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail
;
23428 arg2
= (int)(SWIG_As_int(obj1
));
23429 if (SWIG_arg_fail(2)) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 (arg1
)->SetNoCopies(arg2
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 Py_INCREF(Py_None
); resultobj
= Py_None
;
23445 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 PyObject
* obj1
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self",(char *) "flag", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23457 if (SWIG_arg_fail(1)) SWIG_fail
;
23459 arg2
= (bool)(SWIG_As_bool(obj1
));
23460 if (SWIG_arg_fail(2)) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 (arg1
)->SetAllPages(arg2
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 Py_INCREF(Py_None
); resultobj
= Py_None
;
23476 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self",(char *) "flag", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23488 if (SWIG_arg_fail(1)) SWIG_fail
;
23490 arg2
= (bool)(SWIG_As_bool(obj1
));
23491 if (SWIG_arg_fail(2)) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 (arg1
)->SetSelection(arg2
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 Py_INCREF(Py_None
); resultobj
= Py_None
;
23507 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self",(char *) "flag", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23519 if (SWIG_arg_fail(1)) SWIG_fail
;
23521 arg2
= (bool)(SWIG_As_bool(obj1
));
23522 if (SWIG_arg_fail(2)) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 (arg1
)->SetCollate(arg2
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 Py_INCREF(Py_None
); resultobj
= Py_None
;
23538 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 PyObject
* obj1
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self",(char *) "flag", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail
;
23552 arg2
= (bool)(SWIG_As_bool(obj1
));
23553 if (SWIG_arg_fail(2)) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 (arg1
)->SetPrintToFile(arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 Py_INCREF(Py_None
); resultobj
= Py_None
;
23569 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self",(char *) "flag", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail
;
23583 arg2
= (bool)(SWIG_As_bool(obj1
));
23584 if (SWIG_arg_fail(2)) SWIG_fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 (arg1
)->EnablePrintToFile(arg2
);
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 Py_INCREF(Py_None
); resultobj
= Py_None
;
23600 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23604 PyObject
* obj0
= 0 ;
23605 PyObject
* obj1
= 0 ;
23606 char *kwnames
[] = {
23607 (char *) "self",(char *) "flag", NULL
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23612 if (SWIG_arg_fail(1)) SWIG_fail
;
23614 arg2
= (bool)(SWIG_As_bool(obj1
));
23615 if (SWIG_arg_fail(2)) SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 (arg1
)->EnableSelection(arg2
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 Py_INCREF(Py_None
); resultobj
= Py_None
;
23631 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23635 PyObject
* obj0
= 0 ;
23636 PyObject
* obj1
= 0 ;
23637 char *kwnames
[] = {
23638 (char *) "self",(char *) "flag", NULL
23641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23643 if (SWIG_arg_fail(1)) SWIG_fail
;
23645 arg2
= (bool)(SWIG_As_bool(obj1
));
23646 if (SWIG_arg_fail(2)) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->EnablePageNumbers(arg2
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23666 PyObject
* obj0
= 0 ;
23667 PyObject
* obj1
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self",(char *) "flag", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23674 if (SWIG_arg_fail(1)) SWIG_fail
;
23676 arg2
= (bool)(SWIG_As_bool(obj1
));
23677 if (SWIG_arg_fail(2)) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 (arg1
)->EnableHelp(arg2
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 Py_INCREF(Py_None
); resultobj
= Py_None
;
23693 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 char *kwnames
[] = {
23699 (char *) "self", NULL
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23704 if (SWIG_arg_fail(1)) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23721 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23749 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23777 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23788 if (SWIG_arg_fail(1)) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23805 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23809 PyObject
* obj0
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "self", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23816 if (SWIG_arg_fail(1)) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23833 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23834 PyObject
*resultobj
;
23835 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23836 wxPrintData
*result
;
23837 PyObject
* obj0
= 0 ;
23838 char *kwnames
[] = {
23839 (char *) "self", NULL
23842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23844 if (SWIG_arg_fail(1)) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23849 result
= (wxPrintData
*) &_result_ref
;
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23862 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23865 wxPrintData
*arg2
= 0 ;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "self",(char *) "printData", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail
;
23876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23877 if (SWIG_arg_fail(2)) SWIG_fail
;
23878 if (arg2
== NULL
) {
23879 SWIG_null_ref("wxPrintData");
23881 if (SWIG_arg_fail(2)) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 Py_INCREF(Py_None
); resultobj
= Py_None
;
23897 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23900 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23902 return Py_BuildValue((char *)"");
23904 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
;
23906 wxWindow
*arg1
= (wxWindow
*) 0 ;
23907 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23908 wxPrintDialog
*result
;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "parent",(char *) "data", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail
;
23919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23920 if (SWIG_arg_fail(2)) SWIG_fail
;
23923 if (!wxPyCheckForApp()) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23937 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23948 if (SWIG_arg_fail(1)) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (int)(arg1
)->ShowModal();
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_From_int((int)(result
));
23965 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23968 wxPrintDialogData
*result
;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23976 if (SWIG_arg_fail(1)) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23981 result
= (wxPrintDialogData
*) &_result_ref
;
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23994 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23997 wxPrintData
*result
;
23998 PyObject
* obj0
= 0 ;
23999 char *kwnames
[] = {
24000 (char *) "self", NULL
24003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24005 if (SWIG_arg_fail(1)) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24010 result
= (wxPrintData
*) &_result_ref
;
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24023 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24034 if (SWIG_arg_fail(1)) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= (wxDC
*)(arg1
)->GetPrintDC();
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24043 resultobj
= wxPyMake_wxObject(result
, 1);
24051 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24054 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24056 return Py_BuildValue((char *)"");
24058 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24062 PyObject
* obj0
= 0 ;
24063 char *kwnames
[] = {
24064 (char *) "data", NULL
24067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24070 if (SWIG_arg_fail(1)) SWIG_fail
;
24073 if (!wxPyCheckForApp()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxPrinter
*)new wxPrinter(arg1
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24087 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24090 PyObject
* obj0
= 0 ;
24091 char *kwnames
[] = {
24092 (char *) "self", NULL
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24097 if (SWIG_arg_fail(1)) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 Py_INCREF(Py_None
); resultobj
= Py_None
;
24112 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24115 wxWindow
*arg2
= (wxWindow
*) 0 ;
24116 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 PyObject
* obj2
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self",(char *) "parent",(char *) "printout", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24127 if (SWIG_arg_fail(1)) SWIG_fail
;
24128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24129 if (SWIG_arg_fail(2)) SWIG_fail
;
24130 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24131 if (SWIG_arg_fail(3)) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= wxPyMake_wxObject(result
, 0);
24148 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24151 wxWindow
*arg2
= (wxWindow
*) 0 ;
24152 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24153 wxString
*arg4
= 0 ;
24154 bool temp4
= false ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 PyObject
* obj2
= 0 ;
24158 PyObject
* obj3
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24165 if (SWIG_arg_fail(1)) SWIG_fail
;
24166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24167 if (SWIG_arg_fail(2)) SWIG_fail
;
24168 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24169 if (SWIG_arg_fail(3)) SWIG_fail
;
24171 arg4
= wxString_in_helper(obj3
);
24172 if (arg4
== NULL
) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 Py_INCREF(Py_None
); resultobj
= Py_None
;
24197 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24200 wxWindow
*arg2
= (wxWindow
*) 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self",(char *) "parent", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail
;
24211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24212 if (SWIG_arg_fail(2)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= (bool)(arg1
)->Setup(arg2
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24229 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24232 wxWindow
*arg2
= (wxWindow
*) 0 ;
24233 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24234 bool arg4
= (bool) true ;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 PyObject
* obj2
= 0 ;
24239 PyObject
* obj3
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(2)) SWIG_fail
;
24249 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24250 if (SWIG_arg_fail(3)) SWIG_fail
;
24253 arg4
= (bool)(SWIG_As_bool(obj3
));
24254 if (SWIG_arg_fail(4)) SWIG_fail
;
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24273 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24276 wxWindow
*arg2
= (wxWindow
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "parent", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24286 if (SWIG_arg_fail(1)) SWIG_fail
;
24287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24288 if (SWIG_arg_fail(2)) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= wxPyMake_wxObject(result
, 0);
24305 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24308 wxPrintDialogData
*result
;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24316 if (SWIG_arg_fail(1)) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24321 result
= (wxPrintDialogData
*) &_result_ref
;
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24334 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24345 if (SWIG_arg_fail(1)) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (bool)(arg1
)->GetAbort();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24362 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxPrinterError result
;
24365 char *kwnames
[] = {
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (wxPrinterError
)wxPrinter::GetLastError();
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_From_int((result
));
24384 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24387 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24389 return Py_BuildValue((char *)"");
24391 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24394 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24395 wxPyPrintout
*result
;
24396 bool temp1
= false ;
24397 PyObject
* obj0
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "title", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24405 arg1
= wxString_in_helper(obj0
);
24406 if (arg1
== NULL
) SWIG_fail
;
24411 if (!wxPyCheckForApp()) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= wxPyMake_wxObject(result
, 1);
24435 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
;
24437 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24438 PyObject
*arg2
= (PyObject
*) 0 ;
24439 PyObject
*arg3
= (PyObject
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 PyObject
* obj2
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self",(char *) "self",(char *) "_class", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24449 if (SWIG_arg_fail(1)) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 Py_INCREF(Py_None
); resultobj
= Py_None
;
24466 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24477 if (SWIG_arg_fail(1)) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24498 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
;
24500 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24509 if (SWIG_arg_fail(1)) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= (wxDC
*)(arg1
)->GetDC();
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= wxPyMake_wxObject(result
, 0);
24526 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24527 PyObject
*resultobj
;
24528 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24529 wxDC
*arg2
= (wxDC
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "dc", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24538 if (SWIG_arg_fail(1)) SWIG_fail
;
24539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24540 if (SWIG_arg_fail(2)) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 (arg1
)->SetDC(arg2
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 Py_INCREF(Py_None
); resultobj
= Py_None
;
24555 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 PyObject
* obj2
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "w",(char *) "h", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail
;
24571 arg2
= (int)(SWIG_As_int(obj1
));
24572 if (SWIG_arg_fail(2)) SWIG_fail
;
24575 arg3
= (int)(SWIG_As_int(obj2
));
24576 if (SWIG_arg_fail(3)) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 Py_INCREF(Py_None
); resultobj
= Py_None
;
24592 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24595 int *arg2
= (int *) 0 ;
24596 int *arg3
= (int *) 0 ;
24601 PyObject
* obj0
= 0 ;
24602 char *kwnames
[] = {
24603 (char *) "self", NULL
24606 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24607 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 Py_INCREF(Py_None
); resultobj
= Py_None
;
24619 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24620 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24621 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24622 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24629 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
;
24631 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24634 PyObject
* obj0
= 0 ;
24635 PyObject
* obj1
= 0 ;
24636 PyObject
* obj2
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self",(char *) "w",(char *) "h", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24643 if (SWIG_arg_fail(1)) SWIG_fail
;
24645 arg2
= (int)(SWIG_As_int(obj1
));
24646 if (SWIG_arg_fail(2)) SWIG_fail
;
24649 arg3
= (int)(SWIG_As_int(obj2
));
24650 if (SWIG_arg_fail(3)) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 Py_INCREF(Py_None
); resultobj
= Py_None
;
24666 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
;
24668 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24669 int *arg2
= (int *) 0 ;
24670 int *arg3
= (int *) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self", NULL
24680 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24681 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 Py_INCREF(Py_None
); resultobj
= Py_None
;
24693 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24694 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24695 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24696 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24703 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 PyObject
* obj2
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self",(char *) "x",(char *) "y", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24717 if (SWIG_arg_fail(1)) SWIG_fail
;
24719 arg2
= (int)(SWIG_As_int(obj1
));
24720 if (SWIG_arg_fail(2)) SWIG_fail
;
24723 arg3
= (int)(SWIG_As_int(obj2
));
24724 if (SWIG_arg_fail(3)) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->SetPPIScreen(arg2
,arg3
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 Py_INCREF(Py_None
); resultobj
= Py_None
;
24740 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24743 int *arg2
= (int *) 0 ;
24744 int *arg3
= (int *) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24755 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24758 if (SWIG_arg_fail(1)) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 (arg1
)->GetPPIScreen(arg2
,arg3
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 Py_INCREF(Py_None
); resultobj
= Py_None
;
24767 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24768 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24769 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24770 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24777 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 PyObject
* obj2
= 0 ;
24785 char *kwnames
[] = {
24786 (char *) "self",(char *) "x",(char *) "y", NULL
24789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24791 if (SWIG_arg_fail(1)) SWIG_fail
;
24793 arg2
= (int)(SWIG_As_int(obj1
));
24794 if (SWIG_arg_fail(2)) SWIG_fail
;
24797 arg3
= (int)(SWIG_As_int(obj2
));
24798 if (SWIG_arg_fail(3)) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 Py_INCREF(Py_None
); resultobj
= Py_None
;
24814 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24817 int *arg2
= (int *) 0 ;
24818 int *arg3
= (int *) 0 ;
24823 PyObject
* obj0
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self", NULL
24828 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24829 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24832 if (SWIG_arg_fail(1)) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 Py_INCREF(Py_None
); resultobj
= Py_None
;
24841 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24842 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24843 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24844 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24851 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24862 if (SWIG_arg_fail(1)) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (bool)(arg1
)->IsPreview();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24879 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self",(char *) "p", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24891 if (SWIG_arg_fail(1)) SWIG_fail
;
24893 arg2
= (bool)(SWIG_As_bool(obj1
));
24894 if (SWIG_arg_fail(2)) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 (arg1
)->SetIsPreview(arg2
);
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 Py_INCREF(Py_None
); resultobj
= Py_None
;
24910 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
;
24912 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24916 PyObject
* obj0
= 0 ;
24917 PyObject
* obj1
= 0 ;
24918 PyObject
* obj2
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (int)(SWIG_As_int(obj2
));
24932 if (SWIG_arg_fail(3)) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24950 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 (arg1
)->base_OnEndDocument();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 Py_INCREF(Py_None
); resultobj
= Py_None
;
24975 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24978 PyObject
* obj0
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
24984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24985 if (SWIG_arg_fail(1)) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 (arg1
)->base_OnBeginPrinting();
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 Py_INCREF(Py_None
); resultobj
= Py_None
;
25000 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25010 if (SWIG_arg_fail(1)) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->base_OnEndPrinting();
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 Py_INCREF(Py_None
); resultobj
= Py_None
;
25025 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25028 PyObject
* obj0
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "self", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25035 if (SWIG_arg_fail(1)) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 (arg1
)->base_OnPreparePrinting();
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 Py_INCREF(Py_None
); resultobj
= Py_None
;
25050 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self",(char *) "page", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25063 if (SWIG_arg_fail(1)) SWIG_fail
;
25065 arg2
= (int)(SWIG_As_int(obj1
));
25066 if (SWIG_arg_fail(2)) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (bool)(arg1
)->base_HasPage(arg2
);
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25084 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25087 int *arg2
= (int *) 0 ;
25088 int *arg3
= (int *) 0 ;
25089 int *arg4
= (int *) 0 ;
25090 int *arg5
= (int *) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self", NULL
25104 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25105 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25106 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25107 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 Py_INCREF(Py_None
); resultobj
= Py_None
;
25119 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25120 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25121 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25122 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25123 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25124 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25125 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25126 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25133 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25136 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25138 return Py_BuildValue((char *)"");
25140 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25143 wxWindow
*arg2
= (wxWindow
*) 0 ;
25144 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25145 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25146 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25147 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25148 long arg5
= (long) 0 ;
25149 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25150 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25151 wxPreviewCanvas
*result
;
25154 bool temp6
= false ;
25155 PyObject
* obj0
= 0 ;
25156 PyObject
* obj1
= 0 ;
25157 PyObject
* obj2
= 0 ;
25158 PyObject
* obj3
= 0 ;
25159 PyObject
* obj4
= 0 ;
25160 PyObject
* obj5
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail
;
25168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25169 if (SWIG_arg_fail(2)) SWIG_fail
;
25173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25179 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25184 arg5
= (long)(SWIG_As_long(obj4
));
25185 if (SWIG_arg_fail(5)) SWIG_fail
;
25190 arg6
= wxString_in_helper(obj5
);
25191 if (arg6
== NULL
) SWIG_fail
;
25196 if (!wxPyCheckForApp()) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25218 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25221 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25223 return Py_BuildValue((char *)"");
25225 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25228 wxFrame
*arg2
= (wxFrame
*) 0 ;
25229 wxString
*arg3
= 0 ;
25230 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25231 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25232 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25233 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25234 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25235 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25236 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25237 wxPreviewFrame
*result
;
25238 bool temp3
= false ;
25241 bool temp7
= false ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 PyObject
* obj2
= 0 ;
25245 PyObject
* obj3
= 0 ;
25246 PyObject
* obj4
= 0 ;
25247 PyObject
* obj5
= 0 ;
25248 PyObject
* obj6
= 0 ;
25249 char *kwnames
[] = {
25250 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail
;
25256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25257 if (SWIG_arg_fail(2)) SWIG_fail
;
25259 arg3
= wxString_in_helper(obj2
);
25260 if (arg3
== NULL
) SWIG_fail
;
25266 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25272 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25277 arg6
= (long)(SWIG_As_long(obj5
));
25278 if (SWIG_arg_fail(6)) SWIG_fail
;
25283 arg7
= wxString_in_helper(obj6
);
25284 if (arg7
== NULL
) SWIG_fail
;
25289 if (!wxPyCheckForApp()) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25319 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25322 PyObject
* obj0
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "self", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25329 if (SWIG_arg_fail(1)) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 (arg1
)->Initialize();
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 Py_INCREF(Py_None
); resultobj
= Py_None
;
25344 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25354 if (SWIG_arg_fail(1)) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 (arg1
)->CreateControlBar();
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 Py_INCREF(Py_None
); resultobj
= Py_None
;
25369 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25372 PyObject
* obj0
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->CreateCanvas();
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25397 wxPreviewControlBar
*result
;
25398 PyObject
* obj0
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25405 if (SWIG_arg_fail(1)) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25420 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25423 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25425 return Py_BuildValue((char *)"");
25427 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25431 wxWindow
*arg3
= (wxWindow
*) 0 ;
25432 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25433 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25434 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25435 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25436 long arg6
= (long) wxTAB_TRAVERSAL
;
25437 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25438 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25439 wxPreviewControlBar
*result
;
25442 bool temp7
= false ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 PyObject
* obj2
= 0 ;
25446 PyObject
* obj3
= 0 ;
25447 PyObject
* obj4
= 0 ;
25448 PyObject
* obj5
= 0 ;
25449 PyObject
* obj6
= 0 ;
25450 char *kwnames
[] = {
25451 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25456 if (SWIG_arg_fail(1)) SWIG_fail
;
25458 arg2
= (long)(SWIG_As_long(obj1
));
25459 if (SWIG_arg_fail(2)) SWIG_fail
;
25461 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25462 if (SWIG_arg_fail(3)) SWIG_fail
;
25466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25477 arg6
= (long)(SWIG_As_long(obj5
));
25478 if (SWIG_arg_fail(6)) SWIG_fail
;
25483 arg7
= wxString_in_helper(obj6
);
25484 if (arg7
== NULL
) SWIG_fail
;
25489 if (!wxPyCheckForApp()) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25511 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
;
25513 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25522 if (SWIG_arg_fail(1)) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 result
= (int)(arg1
)->GetZoomControl();
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_From_int((int)(result
));
25539 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25543 PyObject
* obj0
= 0 ;
25544 PyObject
* obj1
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self",(char *) "zoom", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25551 if (SWIG_arg_fail(1)) SWIG_fail
;
25553 arg2
= (int)(SWIG_As_int(obj1
));
25554 if (SWIG_arg_fail(2)) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 (arg1
)->SetZoomControl(arg2
);
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 Py_INCREF(Py_None
); resultobj
= Py_None
;
25570 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
;
25572 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25573 wxPrintPreview
*result
;
25574 PyObject
* obj0
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25581 if (SWIG_arg_fail(1)) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25596 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25599 PyObject
* obj0
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25606 if (SWIG_arg_fail(1)) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 Py_INCREF(Py_None
); resultobj
= Py_None
;
25621 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25624 PyObject
* obj0
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25631 if (SWIG_arg_fail(1)) SWIG_fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 (arg1
)->OnPrevious();
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 Py_INCREF(Py_None
); resultobj
= Py_None
;
25646 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 char *kwnames
[] = {
25651 (char *) "self", NULL
25654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25656 if (SWIG_arg_fail(1)) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 Py_INCREF(Py_None
); resultobj
= Py_None
;
25671 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25674 PyObject
* obj0
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25681 if (SWIG_arg_fail(1)) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 Py_INCREF(Py_None
); resultobj
= Py_None
;
25696 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25699 PyObject
* obj0
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 Py_INCREF(Py_None
); resultobj
= Py_None
;
25721 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25724 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25726 return Py_BuildValue((char *)"");
25728 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25729 PyObject
*resultobj
;
25730 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25731 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25732 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25733 wxPrintPreview
*result
;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 PyObject
* obj2
= 0 ;
25738 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25740 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25742 if (SWIG_arg_fail(2)) SWIG_fail
;
25744 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25745 if (SWIG_arg_fail(3)) SWIG_fail
;
25748 if (!wxPyCheckForApp()) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25762 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25763 PyObject
*resultobj
;
25764 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25765 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25766 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25767 wxPrintPreview
*result
;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 PyObject
* obj2
= 0 ;
25772 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25774 if (SWIG_arg_fail(1)) SWIG_fail
;
25775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25776 if (SWIG_arg_fail(2)) SWIG_fail
;
25777 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25778 if (SWIG_arg_fail(3)) SWIG_fail
;
25780 if (!wxPyCheckForApp()) SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25794 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25799 argc
= PyObject_Length(args
);
25800 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25801 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25803 if ((argc
>= 2) && (argc
<= 3)) {
25807 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25817 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25826 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25830 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25838 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25857 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25867 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25875 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25881 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25886 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 char *kwnames
[] = {
25894 (char *) "self",(char *) "pageNum", NULL
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail
;
25901 arg2
= (int)(SWIG_As_int(obj1
));
25902 if (SWIG_arg_fail(2)) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25920 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25924 PyObject
* obj0
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 result
= (int)(arg1
)->GetCurrentPage();
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= SWIG_From_int((int)(result
));
25948 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
;
25950 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25951 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25952 PyObject
* obj0
= 0 ;
25953 PyObject
* obj1
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "self",(char *) "printout", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25960 if (SWIG_arg_fail(1)) SWIG_fail
;
25961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25962 if (SWIG_arg_fail(2)) SWIG_fail
;
25964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25965 (arg1
)->SetPrintout(arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 Py_INCREF(Py_None
); resultobj
= Py_None
;
25977 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
;
25979 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25980 wxPyPrintout
*result
;
25981 PyObject
* obj0
= 0 ;
25982 char *kwnames
[] = {
25983 (char *) "self", NULL
25986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
25987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25988 if (SWIG_arg_fail(1)) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= wxPyMake_wxObject(result
, 0);
26005 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26006 PyObject
*resultobj
;
26007 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26008 wxPyPrintout
*result
;
26009 PyObject
* obj0
= 0 ;
26010 char *kwnames
[] = {
26011 (char *) "self", NULL
26014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26016 if (SWIG_arg_fail(1)) SWIG_fail
;
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= wxPyMake_wxObject(result
, 0);
26033 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
;
26035 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26036 wxFrame
*arg2
= (wxFrame
*) 0 ;
26037 PyObject
* obj0
= 0 ;
26038 PyObject
* obj1
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self",(char *) "frame", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26045 if (SWIG_arg_fail(1)) SWIG_fail
;
26046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26047 if (SWIG_arg_fail(2)) SWIG_fail
;
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 (arg1
)->SetFrame(arg2
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 Py_INCREF(Py_None
); resultobj
= Py_None
;
26062 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26065 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self",(char *) "canvas", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26074 if (SWIG_arg_fail(1)) SWIG_fail
;
26075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26076 if (SWIG_arg_fail(2)) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 (arg1
)->SetCanvas(arg2
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 Py_INCREF(Py_None
); resultobj
= Py_None
;
26091 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 char *kwnames
[] = {
26097 (char *) "self", NULL
26100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26102 if (SWIG_arg_fail(1)) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 result
= (wxFrame
*)(arg1
)->GetFrame();
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= wxPyMake_wxObject(result
, 0);
26119 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26122 wxPreviewCanvas
*result
;
26123 PyObject
* obj0
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26130 if (SWIG_arg_fail(1)) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26145 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26148 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 PyObject
* obj2
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26160 if (SWIG_arg_fail(1)) SWIG_fail
;
26161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26162 if (SWIG_arg_fail(2)) SWIG_fail
;
26164 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26165 if (SWIG_arg_fail(3)) SWIG_fail
;
26166 if (arg3
== NULL
) {
26167 SWIG_null_ref("wxDC");
26169 if (SWIG_arg_fail(3)) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26187 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26190 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 PyObject
* obj2
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail
;
26203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26204 if (SWIG_arg_fail(2)) SWIG_fail
;
26206 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26207 if (SWIG_arg_fail(3)) SWIG_fail
;
26208 if (arg3
== NULL
) {
26209 SWIG_null_ref("wxDC");
26211 if (SWIG_arg_fail(3)) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26229 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26231 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self",(char *) "pageNum", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26242 if (SWIG_arg_fail(1)) SWIG_fail
;
26244 arg2
= (int)(SWIG_As_int(obj1
));
26245 if (SWIG_arg_fail(2)) SWIG_fail
;
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (bool)(arg1
)->RenderPage(arg2
);
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26263 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26266 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "canvas", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26275 if (SWIG_arg_fail(1)) SWIG_fail
;
26276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26277 if (SWIG_arg_fail(2)) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->AdjustScrollbars(arg2
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26295 wxPrintDialogData
*result
;
26296 PyObject
* obj0
= 0 ;
26297 char *kwnames
[] = {
26298 (char *) "self", NULL
26301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26303 if (SWIG_arg_fail(1)) SWIG_fail
;
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26308 result
= (wxPrintDialogData
*) &_result_ref
;
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26321 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
;
26323 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 char *kwnames
[] = {
26328 (char *) "self",(char *) "percent", NULL
26331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26333 if (SWIG_arg_fail(1)) SWIG_fail
;
26335 arg2
= (int)(SWIG_As_int(obj1
));
26336 if (SWIG_arg_fail(2)) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 (arg1
)->SetZoom(arg2
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 Py_INCREF(Py_None
); resultobj
= Py_None
;
26352 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26356 PyObject
* obj0
= 0 ;
26357 char *kwnames
[] = {
26358 (char *) "self", NULL
26361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26363 if (SWIG_arg_fail(1)) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= (int)(arg1
)->GetZoom();
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= SWIG_From_int((int)(result
));
26380 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26384 PyObject
* obj0
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26391 if (SWIG_arg_fail(1)) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (int)(arg1
)->GetMaxPage();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_From_int((int)(result
));
26408 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26419 if (SWIG_arg_fail(1)) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (int)(arg1
)->GetMinPage();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_From_int((int)(result
));
26436 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
;
26438 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self", NULL
26445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26447 if (SWIG_arg_fail(1)) SWIG_fail
;
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= (bool)(arg1
)->Ok();
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26464 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "self",(char *) "ok", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26476 if (SWIG_arg_fail(1)) SWIG_fail
;
26478 arg2
= (bool)(SWIG_As_bool(obj1
));
26479 if (SWIG_arg_fail(2)) SWIG_fail
;
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 (arg1
)->SetOk(arg2
);
26485 wxPyEndAllowThreads(__tstate
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 Py_INCREF(Py_None
); resultobj
= Py_None
;
26495 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
;
26497 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "self",(char *) "interactive", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26508 if (SWIG_arg_fail(1)) SWIG_fail
;
26510 arg2
= (bool)(SWIG_As_bool(obj1
));
26511 if (SWIG_arg_fail(2)) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (bool)(arg1
)->Print(arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26529 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
;
26531 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 char *kwnames
[] = {
26534 (char *) "self", NULL
26537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26539 if (SWIG_arg_fail(1)) SWIG_fail
;
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 (arg1
)->DetermineScaling();
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 Py_INCREF(Py_None
); resultobj
= Py_None
;
26554 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26557 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26559 return Py_BuildValue((char *)"");
26561 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26562 PyObject
*resultobj
;
26563 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26564 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26565 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26566 wxPyPrintPreview
*result
;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 PyObject
* obj2
= 0 ;
26571 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26573 if (SWIG_arg_fail(1)) SWIG_fail
;
26574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26575 if (SWIG_arg_fail(2)) SWIG_fail
;
26577 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26578 if (SWIG_arg_fail(3)) SWIG_fail
;
26581 if (!wxPyCheckForApp()) SWIG_fail
;
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26595 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26596 PyObject
*resultobj
;
26597 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26598 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26599 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26600 wxPyPrintPreview
*result
;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 PyObject
* obj2
= 0 ;
26605 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26607 if (SWIG_arg_fail(1)) SWIG_fail
;
26608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26609 if (SWIG_arg_fail(2)) SWIG_fail
;
26610 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26611 if (SWIG_arg_fail(3)) SWIG_fail
;
26613 if (!wxPyCheckForApp()) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26627 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26632 argc
= PyObject_Length(args
);
26633 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26634 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26636 if ((argc
>= 2) && (argc
<= 3)) {
26640 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26650 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26659 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26663 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26671 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26680 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26690 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26700 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26708 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26714 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26719 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26722 PyObject
*arg2
= (PyObject
*) 0 ;
26723 PyObject
*arg3
= (PyObject
*) 0 ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 PyObject
* obj2
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self",(char *) "self",(char *) "_class", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26733 if (SWIG_arg_fail(1)) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 Py_INCREF(Py_None
); resultobj
= Py_None
;
26750 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char *kwnames
[] = {
26758 (char *) "self",(char *) "pageNum", NULL
26761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26763 if (SWIG_arg_fail(1)) SWIG_fail
;
26765 arg2
= (int)(SWIG_As_int(obj1
));
26766 if (SWIG_arg_fail(2)) SWIG_fail
;
26769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26770 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26784 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26787 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 PyObject
* obj2
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail
;
26800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26801 if (SWIG_arg_fail(2)) SWIG_fail
;
26803 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26804 if (SWIG_arg_fail(3)) SWIG_fail
;
26805 if (arg3
== NULL
) {
26806 SWIG_null_ref("wxDC");
26808 if (SWIG_arg_fail(3)) SWIG_fail
;
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26826 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26829 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 PyObject
* obj2
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26841 if (SWIG_arg_fail(1)) SWIG_fail
;
26842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26843 if (SWIG_arg_fail(2)) SWIG_fail
;
26845 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26846 if (SWIG_arg_fail(3)) SWIG_fail
;
26847 if (arg3
== NULL
) {
26848 SWIG_null_ref("wxDC");
26850 if (SWIG_arg_fail(3)) SWIG_fail
;
26853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26868 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
;
26870 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self",(char *) "pageNum", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26881 if (SWIG_arg_fail(1)) SWIG_fail
;
26883 arg2
= (int)(SWIG_As_int(obj1
));
26884 if (SWIG_arg_fail(2)) SWIG_fail
;
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26902 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "percent", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26916 arg2
= (int)(SWIG_As_int(obj1
));
26917 if (SWIG_arg_fail(2)) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 (arg1
)->base_SetZoom(arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 Py_INCREF(Py_None
); resultobj
= Py_None
;
26933 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self",(char *) "interactive", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail
;
26948 arg2
= (bool)(SWIG_As_bool(obj1
));
26949 if (SWIG_arg_fail(2)) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 result
= (bool)(arg1
)->base_Print(arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26967 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
;
26969 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26970 PyObject
* obj0
= 0 ;
26971 char *kwnames
[] = {
26972 (char *) "self", NULL
26975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26977 if (SWIG_arg_fail(1)) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 (arg1
)->base_DetermineScaling();
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 Py_INCREF(Py_None
); resultobj
= Py_None
;
26992 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26995 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
26997 return Py_BuildValue((char *)"");
26999 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
;
27001 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27002 wxFrame
*arg2
= (wxFrame
*) 0 ;
27003 wxString
*arg3
= 0 ;
27004 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27005 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27006 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27007 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27008 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27009 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27010 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27011 wxPyPreviewFrame
*result
;
27012 bool temp3
= false ;
27015 bool temp7
= false ;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 PyObject
* obj2
= 0 ;
27019 PyObject
* obj3
= 0 ;
27020 PyObject
* obj4
= 0 ;
27021 PyObject
* obj5
= 0 ;
27022 PyObject
* obj6
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail
;
27030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27031 if (SWIG_arg_fail(2)) SWIG_fail
;
27033 arg3
= wxString_in_helper(obj2
);
27034 if (arg3
== NULL
) SWIG_fail
;
27040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27051 arg6
= (long)(SWIG_As_long(obj5
));
27052 if (SWIG_arg_fail(6)) SWIG_fail
;
27057 arg7
= wxString_in_helper(obj6
);
27058 if (arg7
== NULL
) SWIG_fail
;
27063 if (!wxPyCheckForApp()) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27093 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
;
27095 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27096 PyObject
*arg2
= (PyObject
*) 0 ;
27097 PyObject
*arg3
= (PyObject
*) 0 ;
27098 PyObject
* obj0
= 0 ;
27099 PyObject
* obj1
= 0 ;
27100 PyObject
* obj2
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self",(char *) "self",(char *) "_class", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 Py_INCREF(Py_None
); resultobj
= Py_None
;
27124 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27127 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27128 PyObject
* obj0
= 0 ;
27129 PyObject
* obj1
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self",(char *) "canvas", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail
;
27137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27138 if (SWIG_arg_fail(2)) SWIG_fail
;
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 (arg1
)->SetPreviewCanvas(arg2
);
27143 wxPyEndAllowThreads(__tstate
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 Py_INCREF(Py_None
); resultobj
= Py_None
;
27153 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
;
27155 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27156 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self",(char *) "bar", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27165 if (SWIG_arg_fail(1)) SWIG_fail
;
27166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27167 if (SWIG_arg_fail(2)) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->SetControlBar(arg2
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 Py_INCREF(Py_None
); resultobj
= Py_None
;
27182 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27185 PyObject
* obj0
= 0 ;
27186 char *kwnames
[] = {
27187 (char *) "self", NULL
27190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27192 if (SWIG_arg_fail(1)) SWIG_fail
;
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 (arg1
)->base_Initialize();
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 Py_INCREF(Py_None
); resultobj
= Py_None
;
27207 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27210 PyObject
* obj0
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail
;
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 (arg1
)->base_CreateCanvas();
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 Py_INCREF(Py_None
); resultobj
= Py_None
;
27232 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27235 PyObject
* obj0
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27242 if (SWIG_arg_fail(1)) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 (arg1
)->base_CreateControlBar();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 Py_INCREF(Py_None
); resultobj
= Py_None
;
27257 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27260 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27262 return Py_BuildValue((char *)"");
27264 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27268 wxWindow
*arg3
= (wxWindow
*) 0 ;
27269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27273 long arg6
= (long) 0 ;
27274 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27275 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27276 wxPyPreviewControlBar
*result
;
27279 bool temp7
= false ;
27280 PyObject
* obj0
= 0 ;
27281 PyObject
* obj1
= 0 ;
27282 PyObject
* obj2
= 0 ;
27283 PyObject
* obj3
= 0 ;
27284 PyObject
* obj4
= 0 ;
27285 PyObject
* obj5
= 0 ;
27286 PyObject
* obj6
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail
;
27295 arg2
= (long)(SWIG_As_long(obj1
));
27296 if (SWIG_arg_fail(2)) SWIG_fail
;
27298 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27299 if (SWIG_arg_fail(3)) SWIG_fail
;
27303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27314 arg6
= (long)(SWIG_As_long(obj5
));
27315 if (SWIG_arg_fail(6)) SWIG_fail
;
27320 arg7
= wxString_in_helper(obj6
);
27321 if (arg7
== NULL
) SWIG_fail
;
27326 if (!wxPyCheckForApp()) SWIG_fail
;
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27348 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
;
27350 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27351 PyObject
*arg2
= (PyObject
*) 0 ;
27352 PyObject
*arg3
= (PyObject
*) 0 ;
27353 PyObject
* obj0
= 0 ;
27354 PyObject
* obj1
= 0 ;
27355 PyObject
* obj2
= 0 ;
27356 char *kwnames
[] = {
27357 (char *) "self",(char *) "self",(char *) "_class", NULL
27360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27362 if (SWIG_arg_fail(1)) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 Py_INCREF(Py_None
); resultobj
= Py_None
;
27379 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27382 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self",(char *) "preview", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27391 if (SWIG_arg_fail(1)) SWIG_fail
;
27392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(2)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 (arg1
)->SetPrintPreview(arg2
);
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 Py_INCREF(Py_None
); resultobj
= Py_None
;
27408 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27409 PyObject
*resultobj
;
27410 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27411 PyObject
* obj0
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "self", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail
;
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 (arg1
)->base_CreateButtons();
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27426 Py_INCREF(Py_None
); resultobj
= Py_None
;
27433 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
;
27435 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27437 PyObject
* obj0
= 0 ;
27438 PyObject
* obj1
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self",(char *) "zoom", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27445 if (SWIG_arg_fail(1)) SWIG_fail
;
27447 arg2
= (int)(SWIG_As_int(obj1
));
27448 if (SWIG_arg_fail(2)) SWIG_fail
;
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 (arg1
)->base_SetZoomControl(arg2
);
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 Py_INCREF(Py_None
); resultobj
= Py_None
;
27464 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27467 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27469 return Py_BuildValue((char *)"");
27471 static PyMethodDef SwigMethods
[] = {
27472 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27473 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27474 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27475 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27476 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27477 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27478 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27479 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27480 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27481 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27482 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27484 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27487 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27489 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27495 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27496 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27504 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27505 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27523 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27547 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27560 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27564 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27568 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27573 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27590 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27620 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27627 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27650 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27658 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27670 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27676 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27685 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27691 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27694 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27697 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27701 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27719 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27745 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27753 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27762 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27764 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27773 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27776 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27783 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27801 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27805 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27810 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27814 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27816 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27832 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27835 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27837 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27841 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27850 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27859 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27865 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27877 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27884 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27888 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27914 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27940 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27966 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27967 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28012 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28013 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28046 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28051 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28052 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28085 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28091 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28102 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28125 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28127 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28133 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28143 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28144 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28167 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28168 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28177 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28185 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28191 { NULL
, NULL
, 0, NULL
}
28195 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28197 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28198 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28200 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28201 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28203 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28204 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28206 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28207 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28209 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28210 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28212 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28213 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28215 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28216 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28218 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28219 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28221 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28222 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28224 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28225 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28227 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28228 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28230 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28231 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28233 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28234 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28236 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28237 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28239 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28240 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28242 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28245 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28246 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28248 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28249 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28251 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28252 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28254 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28255 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28257 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28258 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28260 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28261 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28263 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28264 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28266 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28267 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28269 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28270 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28272 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28275 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28276 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28278 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28279 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28281 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28282 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28284 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28285 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28287 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28288 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28290 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28291 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28293 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28294 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28296 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28297 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28299 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28300 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28302 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28303 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28305 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28306 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28308 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28311 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28312 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28314 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28315 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28317 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28318 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28320 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28321 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28323 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28324 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28326 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28327 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28329 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28330 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28332 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28335 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28338 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28341 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28342 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28344 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28345 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28347 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28348 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28350 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28351 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28353 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28356 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28359 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28362 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28365 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28368 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28371 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28374 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28377 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28378 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28380 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28381 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28383 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28386 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28389 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28392 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28393 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28395 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28398 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28399 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28401 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28402 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28404 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28405 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28407 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28408 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28410 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28413 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28416 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28419 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28422 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28423 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28425 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28428 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28431 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28434 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28435 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28437 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28440 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28441 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28443 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28446 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28449 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28452 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28455 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28458 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28459 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28461 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28464 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28467 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28470 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28473 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28476 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28479 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28480 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28482 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28483 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28485 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28486 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28488 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28489 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28491 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28492 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28494 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28495 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28497 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28498 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28500 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28501 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28503 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28504 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28506 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28507 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28509 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28510 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28512 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28515 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28518 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28519 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28521 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28522 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28524 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28527 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28528 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28530 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28531 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28533 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28534 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28536 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28537 return (void *)((wxObject
*) ((wxSizer
*) x
));
28539 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28540 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28542 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28545 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28548 static void *_p_wxEventTo_p_wxObject(void *x
) {
28549 return (void *)((wxObject
*) ((wxEvent
*) x
));
28551 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28552 return (void *)((wxObject
*) ((wxFontData
*) x
));
28554 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28555 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28557 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28558 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28560 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28561 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28563 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28564 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28566 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28567 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28569 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28570 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28572 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28575 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28576 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28578 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28579 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28581 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28582 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28584 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28585 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28587 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28588 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28590 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28591 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28593 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28596 static void *_p_wxControlTo_p_wxObject(void *x
) {
28597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28599 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28600 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28602 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28605 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28606 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28608 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28609 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28611 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28612 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28614 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28617 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28618 return (void *)((wxObject
*) ((wxColourData
*) x
));
28620 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28621 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28623 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28626 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28629 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28632 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28635 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28638 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28641 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28644 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28647 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28650 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28653 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28656 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28657 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28659 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28660 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28662 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28663 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28665 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28668 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28669 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28671 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28674 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28675 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28677 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28678 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28680 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28681 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28683 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28684 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28686 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28687 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28689 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28690 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28692 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28693 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28695 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28698 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28701 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28704 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28707 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28710 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28711 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28713 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28714 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28716 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28717 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28719 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28720 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28722 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28723 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28725 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28728 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28729 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28731 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28732 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28734 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28737 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28740 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28741 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28743 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28744 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28746 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28749 static void *_p_wxImageTo_p_wxObject(void *x
) {
28750 return (void *)((wxObject
*) ((wxImage
*) x
));
28752 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28755 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28756 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28758 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28759 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28761 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28762 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28764 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28767 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28770 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28773 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28774 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28776 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28777 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28779 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28780 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28782 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28783 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28785 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28788 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28791 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28794 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28797 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28800 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28803 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28806 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28809 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28812 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28815 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28818 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28821 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28824 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28827 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28828 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28830 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28831 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28833 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28836 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28839 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28842 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28845 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28848 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28849 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28851 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28852 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28854 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28855 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28857 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28860 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28861 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28863 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28864 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28866 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28867 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28869 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28870 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28872 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28873 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28875 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28878 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28879 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28881 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28884 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28887 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28888 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28890 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28891 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28893 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28896 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28899 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28900 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28902 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28903 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28905 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28908 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28909 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28911 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28912 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28914 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28915 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28917 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28918 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28920 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28921 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28923 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28924 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28926 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28927 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28929 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28930 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28932 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28933 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28935 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28936 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28938 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28939 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28941 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28942 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28944 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28945 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28947 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28948 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28950 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28951 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28953 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28954 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28956 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28957 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28959 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28960 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28962 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28963 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28965 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28966 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28968 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28969 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28971 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28972 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28974 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28975 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28977 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28978 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28980 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28981 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28983 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28984 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28986 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28987 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28989 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
28990 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
28992 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28993 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28995 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
28996 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28998 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
28999 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29001 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29002 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29004 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29005 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29007 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29008 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29010 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29011 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29013 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29014 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29016 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29017 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29019 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29020 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29022 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29023 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29025 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29026 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29028 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29029 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29031 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29032 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29034 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29035 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29037 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29038 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29040 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29041 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29043 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29044 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29046 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29047 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29049 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29050 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29052 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29053 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29055 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29056 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29058 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29059 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29061 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29062 return (void *)((wxWindow
*) ((wxControl
*) x
));
29064 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29065 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29067 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29068 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29070 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29071 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29073 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29074 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29076 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29077 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29079 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29080 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29082 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29083 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29085 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29086 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29088 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29089 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29091 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29092 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29094 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29095 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29097 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29098 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29100 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29101 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29103 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29104 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29106 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29107 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29109 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29110 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29112 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29113 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29115 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29116 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29118 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29119 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29121 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29122 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29124 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29125 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29127 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29128 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29130 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29131 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29133 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29134 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29136 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29137 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29139 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29140 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29142 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29143 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29145 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29146 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29148 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29149 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29151 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29152 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29154 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29155 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29157 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29158 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29160 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29161 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29163 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29164 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29166 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29167 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29169 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29170 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29172 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29173 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29175 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29176 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29178 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29179 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29181 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29182 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29184 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29185 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29187 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29188 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29190 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29191 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29193 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29194 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29196 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29197 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29199 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29200 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29202 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29203 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29205 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29206 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29208 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29209 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29211 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29212 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29214 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29215 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29217 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}};
29218 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}};
29219 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}};
29220 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}};
29221 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}};
29222 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}};
29223 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29224 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}};
29225 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}};
29226 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}};
29227 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}};
29228 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}};
29229 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}};
29230 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}};
29231 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}};
29232 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}};
29233 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}};
29234 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}};
29235 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}};
29236 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}};
29237 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}};
29238 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}};
29239 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}};
29240 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}};
29241 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}};
29242 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}};
29243 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}};
29244 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}};
29245 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}};
29246 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}};
29247 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}};
29248 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}};
29249 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}};
29250 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}};
29251 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}};
29252 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}};
29253 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}};
29254 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}};
29255 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}};
29256 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}};
29257 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}};
29258 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}};
29259 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}};
29260 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}};
29261 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}};
29262 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}};
29263 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}};
29264 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}};
29265 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}};
29266 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}};
29267 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}};
29268 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}};
29269 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}};
29270 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}};
29271 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}};
29272 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}};
29273 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}};
29274 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}};
29275 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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}};
29276 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}};
29277 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}};
29278 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}};
29279 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}};
29280 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}};
29281 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}};
29282 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}};
29283 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}};
29284 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}};
29285 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}};
29286 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}};
29287 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}};
29288 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}};
29289 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}};
29290 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}};
29291 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}};
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29315 static swig_type_info
*swig_types_initial
[] = {
29316 _swigt__p_wxQueryLayoutInfoEvent
,
29317 _swigt__p_wxPreviewFrame
,
29318 _swigt__p_wxPyPreviewFrame
,
29319 _swigt__p_wxPyPanel
,
29321 _swigt__p_wxFontData
,
29323 _swigt__p_wxPrintData
,
29324 _swigt__p_wxTaskBarIcon
,
29325 _swigt__p_wxPyTaskBarIcon
,
29326 _swigt__p_wxIconBundle
,
29327 _swigt__p_wxLayoutAlgorithm
,
29328 _swigt__p_wxFindDialogEvent
,
29329 _swigt__p_wxPreviewCanvas
,
29331 _swigt__p_wxSplitterEvent
,
29332 _swigt__p_wxRegion
,
29334 _swigt__std__ptrdiff_t
,
29335 _swigt__p_wxFindReplaceData
,
29340 _swigt__p_wxVisualAttributes
,
29341 _swigt__p_wxMDIChildFrame
,
29342 _swigt__p_wxColourData
,
29343 _swigt__p_wxNotifyEvent
,
29344 _swigt__p_wxPyWindow
,
29345 _swigt__p_form_ops_t
,
29346 _swigt__p_wxSplashScreen
,
29347 _swigt__p_wxPasswordEntryDialog
,
29348 _swigt__p_wxSingleChoiceDialog
,
29349 _swigt__p_wxMultiChoiceDialog
,
29350 _swigt__p_wxFileDialog
,
29351 _swigt__p_wxTextEntryDialog
,
29352 _swigt__p_wxMessageDialog
,
29353 _swigt__p_wxProgressDialog
,
29354 _swigt__p_wxFindReplaceDialog
,
29355 _swigt__p_wxPrinter
,
29356 _swigt__p_wxArrayInt
,
29357 _swigt__p_wxDuplexMode
,
29358 _swigt__p_wxEvtHandler
,
29359 _swigt__p_wxCalculateLayoutEvent
,
29360 _swigt__p_wxPyHtmlListBox
,
29361 _swigt__p_wxPyVListBox
,
29363 _swigt__p_wxStdDialogButtonSizer
,
29365 _swigt__p_wxMiniFrame
,
29367 _swigt__p_wxPyPrintout
,
29368 _swigt__p_wxTaskBarIconEvent
,
29369 _swigt__p_wxScrollWinEvent
,
29370 _swigt__p_wxPaperSize
,
29371 _swigt__p_wxStatusBar
,
29372 _swigt__p_wxMDIParentFrame
,
29374 _swigt__p_wxObject
,
29375 _swigt__p_unsigned_long
,
29376 _swigt__p_wxTipWindow
,
29377 _swigt__p_wxPyPopupTransientWindow
,
29378 _swigt__p_wxSashLayoutWindow
,
29379 _swigt__p_wxSplitterWindow
,
29380 _swigt__p_wxSplashScreenWindow
,
29381 _swigt__p_wxPyVScrolledWindow
,
29382 _swigt__p_wxPopupWindow
,
29383 _swigt__p_wxSashWindow
,
29384 _swigt__p_wxTopLevelWindow
,
29385 _swigt__p_wxWindow
,
29386 _swigt__p_wxScrolledWindow
,
29387 _swigt__p_wxMenuBar
,
29388 _swigt__p_wxMDIClientWindow
,
29389 _swigt__p_wxPyScrolledWindow
,
29390 _swigt__p_wxPrintPreview
,
29391 _swigt__p_wxSashEvent
,
29392 _swigt__p_wxString
,
29393 _swigt__p_wxPyPrintPreview
,
29394 _swigt__p_wxDirDialog
,
29395 _swigt__p_wxColourDialog
,
29396 _swigt__p_wxDialog
,
29398 _swigt__p_wxFontDialog
,
29399 _swigt__p_wxPageSetupDialog
,
29400 _swigt__p_wxPrintDialog
,
29401 _swigt__p_wxFileSystem
,
29402 _swigt__p_wxBitmap
,
29403 _swigt__unsigned_int
,
29404 _swigt__p_unsigned_int
,
29405 _swigt__p_unsigned_char
,
29406 _swigt__p_wxCommandEvent
,
29407 _swigt__p_wxPreviewControlBar
,
29408 _swigt__p_wxPyPreviewControlBar
,
29409 _swigt__p_wxColour
,
29410 _swigt__p_wxToolBar
,
29411 _swigt__p_wxPageSetupDialogData
,
29412 _swigt__p_wxPrintDialogData
,
29417 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29419 static swig_const_info swig_const_table
[] = {
29420 {0, 0, 0, 0.0, 0, 0}};
29431 /* Python-specific SWIG API */
29432 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29433 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29434 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29436 /* -----------------------------------------------------------------------------
29437 * global variable support code.
29438 * ----------------------------------------------------------------------------- */
29440 typedef struct swig_globalvar
{
29441 char *name
; /* Name of global variable */
29442 PyObject
*(*get_attr
)(); /* Return the current value */
29443 int (*set_attr
)(PyObject
*); /* Set the value */
29444 struct swig_globalvar
*next
;
29447 typedef struct swig_varlinkobject
{
29449 swig_globalvar
*vars
;
29450 } swig_varlinkobject
;
29453 swig_varlink_repr(swig_varlinkobject
*v
) {
29455 return PyString_FromString("<Swig global variables>");
29459 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29460 swig_globalvar
*var
;
29462 fprintf(fp
,"Swig global variables { ");
29463 for (var
= v
->vars
; var
; var
=var
->next
) {
29464 fprintf(fp
,"%s", var
->name
);
29465 if (var
->next
) fprintf(fp
,", ");
29467 fprintf(fp
," }\n");
29472 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29473 swig_globalvar
*var
= v
->vars
;
29475 if (strcmp(var
->name
,n
) == 0) {
29476 return (*var
->get_attr
)();
29480 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29485 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29486 swig_globalvar
*var
= v
->vars
;
29488 if (strcmp(var
->name
,n
) == 0) {
29489 return (*var
->set_attr
)(p
);
29493 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29497 static PyTypeObject varlinktype
= {
29498 PyObject_HEAD_INIT(0)
29499 0, /* Number of items in variable part (ob_size) */
29500 (char *)"swigvarlink", /* Type name (tp_name) */
29501 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29502 0, /* Itemsize (tp_itemsize) */
29503 0, /* Deallocator (tp_dealloc) */
29504 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29505 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29506 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29507 0, /* tp_compare */
29508 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29509 0, /* tp_as_number */
29510 0, /* tp_as_sequence */
29511 0, /* tp_as_mapping */
29515 0, /* tp_getattro */
29516 0, /* tp_setattro */
29517 0, /* tp_as_buffer */
29520 #if PY_VERSION_HEX >= 0x02000000
29521 0, /* tp_traverse */
29524 #if PY_VERSION_HEX >= 0x02010000
29525 0, /* tp_richcompare */
29526 0, /* tp_weaklistoffset */
29528 #if PY_VERSION_HEX >= 0x02020000
29529 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29531 #if PY_VERSION_HEX >= 0x02030000
29534 #ifdef COUNT_ALLOCS
29535 0,0,0,0 /* tp_alloc -> tp_next */
29539 /* Create a variable linking object for use later */
29541 SWIG_Python_newvarlink(void) {
29542 swig_varlinkobject
*result
= 0;
29543 result
= PyMem_NEW(swig_varlinkobject
,1);
29544 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29545 result
->ob_type
= &varlinktype
;
29547 result
->ob_refcnt
= 0;
29548 Py_XINCREF((PyObject
*) result
);
29549 return ((PyObject
*) result
);
29553 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29554 swig_varlinkobject
*v
;
29555 swig_globalvar
*gv
;
29556 v
= (swig_varlinkobject
*) p
;
29557 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29558 gv
->name
= (char *) malloc(strlen(name
)+1);
29559 strcpy(gv
->name
,name
);
29560 gv
->get_attr
= get_attr
;
29561 gv
->set_attr
= set_attr
;
29562 gv
->next
= v
->vars
;
29566 /* -----------------------------------------------------------------------------
29567 * constants/methods manipulation
29568 * ----------------------------------------------------------------------------- */
29570 /* Install Constants */
29572 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29575 for (i
= 0; constants
[i
].type
; i
++) {
29576 switch(constants
[i
].type
) {
29578 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29580 case SWIG_PY_FLOAT
:
29581 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29583 case SWIG_PY_STRING
:
29584 if (constants
[i
].pvalue
) {
29585 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29587 Py_INCREF(Py_None
);
29591 case SWIG_PY_POINTER
:
29592 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29594 case SWIG_PY_BINARY
:
29595 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29602 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29608 /* -----------------------------------------------------------------------------*/
29609 /* Fix SwigMethods to carry the callback ptrs when needed */
29610 /* -----------------------------------------------------------------------------*/
29613 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29614 swig_const_info
*const_table
,
29615 swig_type_info
**types
,
29616 swig_type_info
**types_initial
) {
29618 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29619 char *c
= methods
[i
].ml_doc
;
29620 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29622 swig_const_info
*ci
= 0;
29623 char *name
= c
+ 10;
29624 for (j
= 0; const_table
[j
].type
; j
++) {
29625 if (strncmp(const_table
[j
].name
, name
,
29626 strlen(const_table
[j
].name
)) == 0) {
29627 ci
= &(const_table
[j
]);
29632 size_t shift
= (ci
->ptype
) - types
;
29633 swig_type_info
*ty
= types_initial
[shift
];
29634 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29635 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29636 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29638 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29639 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29641 strncpy(buff
, "swig_ptr: ", 10);
29643 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29644 methods
[i
].ml_doc
= ndoc
;
29650 /* -----------------------------------------------------------------------------*
29651 * Initialize type list
29652 * -----------------------------------------------------------------------------*/
29654 #if PY_MAJOR_VERSION < 2
29655 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29656 is copied out of Python/modsupport.c in python version 2.3.4 */
29658 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29661 if (!PyModule_Check(m
)) {
29662 PyErr_SetString(PyExc_TypeError
,
29663 "PyModule_AddObject() needs module as first arg");
29667 PyErr_SetString(PyExc_TypeError
,
29668 "PyModule_AddObject() needs non-NULL value");
29672 dict
= PyModule_GetDict(m
);
29673 if (dict
== NULL
) {
29674 /* Internal error -- modules must have a dict! */
29675 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29676 PyModule_GetName(m
));
29679 if (PyDict_SetItemString(dict
, name
, o
))
29686 static swig_type_info
**
29687 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29688 static PyMethodDef swig_empty_runtime_method_table
[] = {
29690 NULL
, NULL
, 0, NULL
29694 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29695 swig_empty_runtime_method_table
);
29696 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29697 if (pointer
&& module) {
29698 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29700 return type_list_handle
;
29703 static swig_type_info
**
29704 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29705 swig_type_info
**type_pointer
;
29707 /* first check if module already created */
29708 type_pointer
= SWIG_Python_GetTypeListHandle();
29709 if (type_pointer
) {
29710 return type_pointer
;
29712 /* create a new module and variable */
29713 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29721 /* -----------------------------------------------------------------------------*
29722 * Partial Init method
29723 * -----------------------------------------------------------------------------*/
29725 #ifdef SWIG_LINK_RUNTIME
29729 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29735 SWIGEXPORT(void) SWIG_init(void) {
29736 static PyObject
*SWIG_globals
= 0;
29737 static int typeinit
= 0;
29740 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29742 /* Fix SwigMethods to carry the callback ptrs when needed */
29743 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29745 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29746 d
= PyModule_GetDict(m
);
29749 #ifdef SWIG_LINK_RUNTIME
29750 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29752 # ifndef SWIG_STATIC_RUNTIME
29753 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29756 for (i
= 0; swig_types_initial
[i
]; i
++) {
29757 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29761 SWIG_InstallConstants(d
,swig_const_table
);
29763 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29764 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29765 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29766 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29767 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29769 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29772 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29775 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29778 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29781 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29784 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29787 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29790 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29793 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29796 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29799 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29802 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29805 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29808 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29811 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29814 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29817 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29820 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29823 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29826 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29829 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29832 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29835 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29838 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29841 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29844 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29847 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29850 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29853 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29856 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29859 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29862 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29865 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29868 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29871 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29874 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29877 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29880 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29883 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29886 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29889 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29892 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29895 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29897 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29899 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29902 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29905 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29908 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29911 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29914 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29917 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29920 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29923 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
29926 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
29929 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
29932 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
29935 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
29938 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
29940 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
29941 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
29942 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
29943 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
29944 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
29945 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
29947 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
29950 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
29953 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
29956 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
29959 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
29962 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
29965 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
29968 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
29971 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
29974 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
29977 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
29980 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
29983 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
29986 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
29989 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
29991 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
29993 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
29996 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
29999 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30002 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30005 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30008 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30011 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30014 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30017 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30020 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30023 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30025 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30026 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30027 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30029 // Map renamed classes back to their common name for OOR
30030 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30031 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30032 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30034 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30035 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30036 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30037 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30038 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30039 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30040 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30041 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30042 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30043 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30044 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30045 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30046 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30048 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30051 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30053 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30055 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30058 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30061 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30064 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30067 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30070 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30073 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30075 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30076 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30077 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30078 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30079 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30081 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30084 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30087 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30090 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30093 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30096 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30099 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30102 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30104 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30105 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30107 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30110 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30113 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30116 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30119 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30122 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30125 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30128 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30131 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30134 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30137 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30140 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30143 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30146 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30149 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30152 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30155 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30158 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30161 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30164 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30167 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30170 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30173 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30176 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30179 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30182 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30185 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30188 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30191 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30194 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30197 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30200 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30203 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30206 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30209 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30212 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30215 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30218 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30221 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30224 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");