1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxFontData swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxPrintData swig_types[7]
1350 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1353 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356 #define SWIGTYPE_p_wxFont swig_types[14]
1357 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358 #define SWIGTYPE_p_wxRegion swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxIcon swig_types[23]
1366 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368 #define SWIGTYPE_p_wxColourData swig_types[26]
1369 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1371 #define SWIGTYPE_p_form_ops_t swig_types[29]
1372 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1377 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381 #define SWIGTYPE_p_wxPrinter swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388 #define SWIGTYPE_p_wxRect swig_types[46]
1389 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390 #define SWIGTYPE_p_char swig_types[48]
1391 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392 #define SWIGTYPE_p_wxFrame swig_types[50]
1393 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1397 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1398 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399 #define SWIGTYPE_p_wxPoint swig_types[57]
1400 #define SWIGTYPE_p_wxObject swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1403 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61]
1404 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[62]
1405 #define SWIGTYPE_p_wxSplitterWindow swig_types[63]
1406 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
1407 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65]
1408 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1410 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411 #define SWIGTYPE_p_wxWindow swig_types[69]
1412 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1414 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1418 #define SWIGTYPE_p_wxString swig_types[76]
1419 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1421 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1422 #define SWIGTYPE_p_wxDialog swig_types[80]
1423 #define SWIGTYPE_p_wxPanel swig_types[81]
1424 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1425 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1428 #define SWIGTYPE_p_wxBitmap swig_types[86]
1429 #define SWIGTYPE_unsigned_int swig_types[87]
1430 #define SWIGTYPE_p_unsigned_int swig_types[88]
1431 #define SWIGTYPE_p_unsigned_char swig_types[89]
1432 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxToolBar swig_types[94]
1437 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439 static swig_type_info
*swig_types
[98];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_windows_
1449 #define SWIG_name "_windows_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1464 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1467 if (value
< min_value
) {
1469 PyErr_Format(PyExc_OverflowError
,
1470 "value %ld is less than '%s' minimum %ld",
1471 value
, errmsg
, min_value
);
1474 } else if (value
> max_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value
, errmsg
, max_value
);
1487 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1489 if (PyNumber_Check(obj
)) {
1490 if (val
) *val
= PyInt_AsLong(obj
);
1494 SWIG_type_error("number", obj
);
1500 #if INT_MAX != LONG_MAX
1502 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1504 const char* errmsg
= val
? "int" : (char*)0;
1506 if (SWIG_AsVal_long(obj
, &v
)) {
1507 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1508 if (val
) *val
= (int)(v
);
1517 SWIG_type_error(errmsg
, obj
);
1523 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1525 return SWIG_AsVal_long(obj
,(long*)val
);
1531 SWIG_As_int(PyObject
* obj
)
1534 if (!SWIG_AsVal_int(obj
, &v
)) {
1536 this is needed to make valgrind/purify happier.
1538 memset((void*)&v
, 0, sizeof(int));
1544 SWIGINTERNSHORT
long
1545 SWIG_As_long(PyObject
* obj
)
1548 if (!SWIG_AsVal_long(obj
, &v
)) {
1550 this is needed to make valgrind/purify happier.
1552 memset((void*)&v
, 0, sizeof(long));
1559 SWIG_Check_int(PyObject
* obj
)
1561 return SWIG_AsVal_int(obj
, (int*)0);
1566 SWIG_Check_long(PyObject
* obj
)
1568 return SWIG_AsVal_long(obj
, (long*)0);
1573 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1575 if (obj
== Py_True
) {
1576 if (val
) *val
= true;
1579 if (obj
== Py_False
) {
1580 if (val
) *val
= false;
1584 if (SWIG_AsVal_int(obj
, &res
)) {
1585 if (val
) *val
= res
? true : false;
1591 SWIG_type_error("bool", obj
);
1597 SWIGINTERNSHORT
bool
1598 SWIG_As_bool(PyObject
* obj
)
1601 if (!SWIG_AsVal_bool(obj
, &v
)) {
1603 this is needed to make valgrind/purify happier.
1605 memset((void*)&v
, 0, sizeof(bool));
1612 SWIG_Check_bool(PyObject
* obj
)
1614 return SWIG_AsVal_bool(obj
, (bool*)0);
1618 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1619 #define SWIG_From_int PyInt_FromLong
1623 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1629 } else if (target
== Py_None
) {
1633 if (!PyTuple_Check(target
)) {
1635 target
= PyTuple_New(1);
1636 PyTuple_SetItem(target
, 0, o2
);
1638 o3
= PyTuple_New(1);
1639 PyTuple_SetItem(o3
, 0, o
);
1642 target
= PySequence_Concat(o2
, o3
);
1652 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1654 if (PyNumber_Check(obj
)) {
1655 if (val
) *val
= PyFloat_AsDouble(obj
);
1659 SWIG_type_error("number", obj
);
1665 SWIGINTERNSHORT
double
1666 SWIG_As_double(PyObject
* obj
)
1669 if (!SWIG_AsVal_double(obj
, &v
)) {
1671 this is needed to make valgrind/purify happier.
1673 memset((void*)&v
, 0, sizeof(double));
1680 SWIG_Check_double(PyObject
* obj
)
1682 return SWIG_AsVal_double(obj
, (double*)0);
1686 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1687 #define SWIG_From_double PyFloat_FromDouble
1690 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1691 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1692 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1693 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1695 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1696 #define SWIG_From_long PyInt_FromLong
1701 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1703 self
->GetFieldRect(i
, r
);
1706 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1707 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1708 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1710 #include <wx/popupwin.h>
1713 class wxPopupWindow
: public wxWindow
{
1715 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1716 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1719 class wxPyPopupTransientWindow
: public wxPopupWindow
1722 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1723 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1727 #include <wx/tipwin.h>
1729 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1730 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1733 #include <wx/tipwin.h>
1736 #include <wx/vscroll.h>
1739 class wxPyVScrolledWindow
: public wxVScrolledWindow
1741 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1743 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1745 wxPyVScrolledWindow(wxWindow
*parent
,
1746 wxWindowID id
= wxID_ANY
,
1747 const wxPoint
& pos
= wxDefaultPosition
,
1748 const wxSize
& size
= wxDefaultSize
,
1750 const wxString
& name
= wxPyPanelNameStr
)
1751 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1754 // Overridable virtuals
1756 // this function must be overridden in the derived class and it should
1757 // return the height of the given line in pixels
1758 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1761 // this function doesn't have to be overridden but it may be useful to do
1762 // it if calculating the lines heights is a relatively expensive operation
1763 // as it gives the user code a possibility to calculate several of them at
1766 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1767 // shouldn't rely on the latter being called for all lines in the interval
1768 // specified here. It is also possible that OnGetLineHeight() will be
1769 // called for the lines outside of this interval, so this is really just a
1770 // hint, not a promise.
1772 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1774 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1777 // when the number of lines changes, we try to estimate the total height
1778 // of all lines which is a rather expensive operation in terms of lines
1779 // access, so if the user code may estimate the average height
1780 // better/faster than we do, it should override this function to implement
1783 // this function should return the best guess for the total height it may
1785 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1788 // Also expose some other interesting protected methods
1791 // find the index of the line we need to show at the top of the window such
1792 // that the last (fully or partially) visible line is the given one
1793 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1794 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1796 // get the total height of the lines between lineMin (inclusive) and
1797 // lineMax (exclusive)
1798 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1799 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1805 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1807 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1808 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1809 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1813 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1816 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1817 SWIG_type_error("unsigned number", obj
);
1820 *val
= (unsigned long)v
;
1825 SWIGINTERNSHORT
unsigned long
1826 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1829 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1831 this is needed to make valgrind/purify happier.
1833 memset((void*)&v
, 0, sizeof(unsigned long));
1840 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1842 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1846 SWIGINTERNSHORT PyObject
*
1847 SWIG_From_unsigned_SS_long(unsigned long value
)
1849 return (value
> LONG_MAX
) ?
1850 PyLong_FromUnsignedLong(value
)
1851 : PyInt_FromLong((long)(value
));
1855 #include <wx/vlbox.h>
1857 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1859 class wxPyVListBox
: public wxVListBox
1861 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1863 wxPyVListBox() : wxVListBox() {}
1865 wxPyVListBox(wxWindow
*parent
,
1866 wxWindowID id
= wxID_ANY
,
1867 const wxPoint
& pos
= wxDefaultPosition
,
1868 const wxSize
& size
= wxDefaultSize
,
1870 const wxString
& name
= wxPyVListBoxNameStr
)
1871 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1874 // Overridable virtuals
1876 // the derived class must implement this function to actually draw the item
1877 // with the given index on the provided DC
1878 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1879 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1882 // the derived class must implement this method to return the height of the
1884 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1885 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1888 // this method may be used to draw separators between the lines; note that
1889 // the rectangle may be modified, typically to deflate it a bit before
1890 // passing to OnDrawItem()
1892 // the base class version doesn't do anything
1893 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1894 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1897 // this method is used to draw the items background and, maybe, a border
1900 // the base class version implements a reasonable default behaviour which
1901 // consists in drawing the selected item with the standard background
1902 // colour and drawing a border around the item if it is either selected or
1904 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1905 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1911 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1913 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1914 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1915 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1916 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1919 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1920 unsigned long cookie
= 0;
1921 int selected
= self
->GetFirstSelected(cookie
);
1922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1923 PyObject
* tup
= PyTuple_New(2);
1924 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1925 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1926 wxPyEndBlockThreads(blocked
);
1929 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1930 int selected
= self
->GetNextSelected(cookie
);
1931 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1932 PyObject
* tup
= PyTuple_New(2);
1933 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1934 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1935 wxPyEndBlockThreads(blocked
);
1939 #include <wx/htmllbox.h>
1942 class wxPyHtmlListBox
: public wxHtmlListBox
1944 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1946 wxPyHtmlListBox() : wxHtmlListBox() {}
1948 wxPyHtmlListBox(wxWindow
*parent
,
1949 wxWindowID id
= wxID_ANY
,
1950 const wxPoint
& pos
= wxDefaultPosition
,
1951 const wxSize
& size
= wxDefaultSize
,
1953 const wxString
& name
= wxPyVListBoxNameStr
)
1954 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1957 // Overridable virtuals
1959 // this method must be implemented in the derived class and should return
1960 // the body (i.e. without <html>) of the HTML for the given item
1961 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1963 // this function may be overridden to decorate HTML returned by OnGetItem()
1964 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1967 // // this method allows to customize the selection appearance: it may be used
1968 // // to specify the colour of the text which normally has the given colour
1969 // // colFg when it is inside the selection
1971 // // by default, the original colour is not used at all and all text has the
1972 // // same (default for this system) colour inside selection
1973 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1975 // // this is the same as GetSelectedTextColour() but allows to customize the
1976 // // background colour -- this is even more rarely used as you can change it
1977 // // globally using SetSelectionBackground()
1978 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1985 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1987 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1988 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
1994 #ifndef wxHAS_TASK_BAR_ICON
1995 // implement dummy classes for platforms that don't have it
1997 class wxTaskBarIcon
: public wxEvtHandler
2000 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2004 class wxTaskBarIconEvent
: public wxEvent
2007 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2008 { wxPyRaiseNotImplemented(); }
2009 virtual wxEvent
* Clone() const { return NULL
; }
2010 bool IsOk() const { return false; }
2011 bool IsIconInstalled() const { return false; }
2012 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2013 bool RemoveIcon() { return false; }
2014 bool PopupMenu(wxMenu
*menu
) { return false; }
2018 wxEVT_TASKBAR_MOVE
= 0,
2019 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2020 wxEVT_TASKBAR_LEFT_UP
= 0,
2021 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2022 wxEVT_TASKBAR_RIGHT_UP
= 0,
2023 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2024 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2029 // Otherwise make a class that can virtualize CreatePopupMenu
2030 class wxPyTaskBarIcon
: public wxTaskBarIcon
2032 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2034 wxPyTaskBarIcon() : wxTaskBarIcon()
2037 wxMenu
* CreatePopupMenu() {
2038 wxMenu
*rval
= NULL
;
2040 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2041 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2044 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2046 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2051 wxPyEndBlockThreads(blocked
);
2053 rval
= wxTaskBarIcon::CreatePopupMenu();
2060 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2064 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2068 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2069 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2070 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2071 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2072 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2073 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2074 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2076 self
->GetFilenames(arr
);
2077 return wxArrayString2PyList_helper(arr
);
2079 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2081 self
->GetPaths(arr
);
2082 return wxArrayString2PyList_helper(arr
);
2084 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2085 return wxArrayInt2PyList_helper(self
->GetSelections());
2087 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
){
2088 return new wxSingleChoiceDialog(parent
, message
, caption
,
2089 choices
, choices_array
, NULL
, style
, pos
);
2091 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2095 // C++ version of Python aware wxWindow
2096 class wxPyWindow
: public wxWindow
2098 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2100 wxPyWindow() : wxWindow() {}
2101 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2102 const wxPoint
& pos
= wxDefaultPosition
,
2103 const wxSize
& size
= wxDefaultSize
,
2105 const wxString
& name
= wxPyPanelNameStr
)
2106 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2108 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2110 bool DoEraseBackground(wxDC
* dc
) {
2112 return wxWindow::DoEraseBackground(dc
->GetHDC());
2114 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2120 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2121 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2122 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2123 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2126 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2127 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2129 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2130 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2132 DEC_PYCALLBACK__(InitDialog
);
2133 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2134 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2135 DEC_PYCALLBACK_BOOL_(Validate
);
2137 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2138 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2139 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2141 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2142 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2144 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2145 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2147 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2149 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2154 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2156 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2157 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2158 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2159 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2161 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2162 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2163 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2165 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2166 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2168 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2169 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2170 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2171 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2173 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2174 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2175 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2177 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2178 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2180 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2181 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2183 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2185 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2187 // C++ version of Python aware wxPanel
2188 class wxPyPanel
: public wxPanel
2190 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2192 wxPyPanel() : wxPanel() {}
2193 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2194 const wxPoint
& pos
= wxDefaultPosition
,
2195 const wxSize
& size
= wxDefaultSize
,
2197 const wxString
& name
= wxPyPanelNameStr
)
2198 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2200 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2201 bool DoEraseBackground(wxDC
* dc
) {
2203 return wxWindow::DoEraseBackground(dc
->GetHDC());
2205 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2212 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2213 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2214 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2215 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2217 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2218 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2219 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2221 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2222 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2224 DEC_PYCALLBACK__(InitDialog
);
2225 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2226 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2227 DEC_PYCALLBACK_BOOL_(Validate
);
2229 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2230 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2231 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2233 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2234 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2236 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2237 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2239 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2241 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2246 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2248 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2249 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2250 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2251 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2253 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2254 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2255 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2257 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2258 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2260 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2261 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2262 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2263 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2265 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2266 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2267 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2269 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2270 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2272 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2273 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2275 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2277 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2279 // C++ version of Python aware wxScrolledWindow
2280 class wxPyScrolledWindow
: public wxScrolledWindow
2282 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2284 wxPyScrolledWindow() : wxScrolledWindow() {}
2285 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2286 const wxPoint
& pos
= wxDefaultPosition
,
2287 const wxSize
& size
= wxDefaultSize
,
2289 const wxString
& name
= wxPyPanelNameStr
)
2290 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2292 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2293 bool DoEraseBackground(wxDC
* dc
) {
2295 return wxWindow::DoEraseBackground(dc
->GetHDC());
2297 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2303 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2304 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2305 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2306 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2312 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2313 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2315 DEC_PYCALLBACK__(InitDialog
);
2316 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2317 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2318 DEC_PYCALLBACK_BOOL_(Validate
);
2320 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2321 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2322 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2324 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2325 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2327 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2328 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2330 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2332 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2337 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2339 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2340 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2341 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2342 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2344 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2348 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2349 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2351 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2352 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2353 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2354 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2356 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2357 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2358 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2360 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2363 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2364 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2366 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2368 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2371 #include "wx/wxPython/printfw.h"
2374 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2375 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2376 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2378 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2379 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2380 self
->GetPrivDataLen());
2381 wxPyEndBlockThreads(blocked
);
2384 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2385 if (! PyString_Check(data
)) {
2386 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2387 "Expected string object"));
2391 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2392 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2393 wxPyEndBlockThreads(blocked
);
2397 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2399 // Since this one would be tough and ugly to do with the Macros...
2400 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2401 bool hadErr
= false;
2404 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2405 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2406 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2407 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2410 val
= PyTuple_GetItem(result
, 0);
2411 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2414 val
= PyTuple_GetItem(result
, 1);
2415 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2418 val
= PyTuple_GetItem(result
, 2);
2419 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2422 val
= PyTuple_GetItem(result
, 3);
2423 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2430 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2435 wxPyEndBlockThreads(blocked
);
2437 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2440 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2441 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2445 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2446 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2447 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2448 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2449 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2450 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2451 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2457 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2458 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2459 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2462 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2463 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2466 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2467 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2468 PyObject* win = wxPyMake_wxObject(a,false); \
2469 PyObject* dc = wxPyMake_wxObject(&b,false); \
2470 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2474 wxPyEndBlockThreads(blocked); \
2476 rval = PCLASS::CBNAME(a, b); \
2479 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2480 return PCLASS::CBNAME(a, b); \
2486 class wxPyPrintPreview
: public wxPrintPreview
2488 DECLARE_CLASS(wxPyPrintPreview
)
2490 wxPyPrintPreview(wxPyPrintout
* printout
,
2491 wxPyPrintout
* printoutForPrinting
,
2492 wxPrintDialogData
* data
=NULL
)
2493 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2495 wxPyPrintPreview(wxPyPrintout
* printout
,
2496 wxPyPrintout
* printoutForPrinting
,
2497 wxPrintData
* data
=NULL
)
2498 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2501 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2502 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2503 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2504 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2505 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2506 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2507 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2512 // Stupid renamed classes... Fix this in 2.5...
2513 #if defined(__WXMSW__)
2514 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2515 #elif defined(__WXMAC__)
2516 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2518 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2521 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2522 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2523 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2524 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2525 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2526 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2527 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2530 class wxPyPreviewFrame
: public wxPreviewFrame
2532 DECLARE_CLASS(wxPyPreviewFrame
);
2534 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2535 const wxString
& title
,
2536 const wxPoint
& pos
= wxDefaultPosition
,
2537 const wxSize
& size
= wxDefaultSize
,
2538 long style
= wxDEFAULT_FRAME_STYLE
,
2539 const wxString
& name
= wxPyFrameNameStr
)
2540 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2543 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2544 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2546 DEC_PYCALLBACK_VOID_(Initialize
);
2547 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2548 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2553 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2555 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2556 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2557 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2560 class wxPyPreviewControlBar
: public wxPreviewControlBar
2562 DECLARE_CLASS(wxPyPreviewControlBar
);
2564 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2567 const wxPoint
& pos
= wxDefaultPosition
,
2568 const wxSize
& size
= wxDefaultSize
,
2570 const wxString
& name
= wxPyPanelNameStr
)
2571 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2574 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2576 DEC_PYCALLBACK_VOID_(CreateButtons
);
2577 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2582 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2583 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2584 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2589 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 wxWindow
*arg1
= (wxWindow
*) 0 ;
2592 int arg2
= (int) (int)-1 ;
2593 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2594 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2595 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2596 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2597 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2598 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2599 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2603 bool temp6
= false ;
2604 PyObject
* obj0
= 0 ;
2605 PyObject
* obj1
= 0 ;
2606 PyObject
* obj2
= 0 ;
2607 PyObject
* obj3
= 0 ;
2608 PyObject
* obj4
= 0 ;
2609 PyObject
* obj5
= 0 ;
2611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2616 if (SWIG_arg_fail(1)) SWIG_fail
;
2619 arg2
= (int const)(SWIG_As_int(obj1
));
2620 if (SWIG_arg_fail(2)) SWIG_fail
;
2626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2637 arg5
= (long)(SWIG_As_long(obj4
));
2638 if (SWIG_arg_fail(5)) SWIG_fail
;
2643 arg6
= wxString_in_helper(obj5
);
2644 if (arg6
== NULL
) SWIG_fail
;
2649 if (!wxPyCheckForApp()) SWIG_fail
;
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2671 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2680 if (!wxPyCheckForApp()) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (wxPanel
*)new wxPanel();
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2694 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxPanel
*arg1
= (wxPanel
*) 0 ;
2697 wxWindow
*arg2
= (wxWindow
*) 0 ;
2698 int arg3
= (int) (int)-1 ;
2699 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2700 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2701 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2702 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2703 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2704 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2705 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2709 bool temp7
= false ;
2710 PyObject
* obj0
= 0 ;
2711 PyObject
* obj1
= 0 ;
2712 PyObject
* obj2
= 0 ;
2713 PyObject
* obj3
= 0 ;
2714 PyObject
* obj4
= 0 ;
2715 PyObject
* obj5
= 0 ;
2716 PyObject
* obj6
= 0 ;
2718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2723 if (SWIG_arg_fail(1)) SWIG_fail
;
2724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2725 if (SWIG_arg_fail(2)) SWIG_fail
;
2728 arg3
= (int const)(SWIG_As_int(obj2
));
2729 if (SWIG_arg_fail(3)) SWIG_fail
;
2735 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2741 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2746 arg6
= (long)(SWIG_As_long(obj5
));
2747 if (SWIG_arg_fail(6)) SWIG_fail
;
2752 arg7
= wxString_in_helper(obj6
);
2753 if (arg7
== NULL
) SWIG_fail
;
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2781 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxPanel
*arg1
= (wxPanel
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2791 if (SWIG_arg_fail(1)) SWIG_fail
;
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 (arg1
)->InitDialog();
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2799 Py_INCREF(Py_None
); resultobj
= Py_None
;
2806 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxPanel
*arg1
= (wxPanel
*) 0 ;
2809 PyObject
* obj0
= 0 ;
2811 (char *) "self", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2816 if (SWIG_arg_fail(1)) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 Py_INCREF(Py_None
); resultobj
= Py_None
;
2831 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxPanel
*arg1
= (wxPanel
*) 0 ;
2834 PyObject
* obj0
= 0 ;
2836 (char *) "self", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2841 if (SWIG_arg_fail(1)) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 (arg1
)->SetFocusIgnoringChildren();
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 Py_INCREF(Py_None
); resultobj
= Py_None
;
2856 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
*resultobj
;
2858 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2859 wxVisualAttributes result
;
2860 PyObject
* obj0
= 0 ;
2862 (char *) "variant", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2868 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2869 if (SWIG_arg_fail(1)) SWIG_fail
;
2873 if (!wxPyCheckForApp()) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2881 wxVisualAttributes
* resultptr
;
2882 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2891 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2894 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2896 return Py_BuildValue((char *)"");
2898 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxWindow
*arg1
= (wxWindow
*) 0 ;
2901 int arg2
= (int) (int)-1 ;
2902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2906 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2907 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2908 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2909 wxScrolledWindow
*result
;
2912 bool temp6
= false ;
2913 PyObject
* obj0
= 0 ;
2914 PyObject
* obj1
= 0 ;
2915 PyObject
* obj2
= 0 ;
2916 PyObject
* obj3
= 0 ;
2917 PyObject
* obj4
= 0 ;
2918 PyObject
* obj5
= 0 ;
2920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2925 if (SWIG_arg_fail(1)) SWIG_fail
;
2928 arg2
= (int const)(SWIG_As_int(obj1
));
2929 if (SWIG_arg_fail(2)) SWIG_fail
;
2935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2941 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2946 arg5
= (long)(SWIG_As_long(obj4
));
2947 if (SWIG_arg_fail(5)) SWIG_fail
;
2952 arg6
= wxString_in_helper(obj5
);
2953 if (arg6
== NULL
) SWIG_fail
;
2958 if (!wxPyCheckForApp()) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2980 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxScrolledWindow
*result
;
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2989 if (!wxPyCheckForApp()) SWIG_fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3003 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3006 wxWindow
*arg2
= (wxWindow
*) 0 ;
3007 int arg3
= (int) (int)-1 ;
3008 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3009 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3010 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3011 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3012 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3013 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3014 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3018 bool temp7
= false ;
3019 PyObject
* obj0
= 0 ;
3020 PyObject
* obj1
= 0 ;
3021 PyObject
* obj2
= 0 ;
3022 PyObject
* obj3
= 0 ;
3023 PyObject
* obj4
= 0 ;
3024 PyObject
* obj5
= 0 ;
3025 PyObject
* obj6
= 0 ;
3027 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3032 if (SWIG_arg_fail(1)) SWIG_fail
;
3033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3034 if (SWIG_arg_fail(2)) SWIG_fail
;
3037 arg3
= (int const)(SWIG_As_int(obj2
));
3038 if (SWIG_arg_fail(3)) SWIG_fail
;
3044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3055 arg6
= (long)(SWIG_As_long(obj5
));
3056 if (SWIG_arg_fail(6)) SWIG_fail
;
3061 arg7
= wxString_in_helper(obj6
);
3062 if (arg7
== NULL
) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3090 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3097 int arg6
= (int) 0 ;
3098 int arg7
= (int) 0 ;
3099 bool arg8
= (bool) false ;
3100 PyObject
* obj0
= 0 ;
3101 PyObject
* obj1
= 0 ;
3102 PyObject
* obj2
= 0 ;
3103 PyObject
* obj3
= 0 ;
3104 PyObject
* obj4
= 0 ;
3105 PyObject
* obj5
= 0 ;
3106 PyObject
* obj6
= 0 ;
3107 PyObject
* obj7
= 0 ;
3109 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3114 if (SWIG_arg_fail(1)) SWIG_fail
;
3116 arg2
= (int)(SWIG_As_int(obj1
));
3117 if (SWIG_arg_fail(2)) SWIG_fail
;
3120 arg3
= (int)(SWIG_As_int(obj2
));
3121 if (SWIG_arg_fail(3)) SWIG_fail
;
3124 arg4
= (int)(SWIG_As_int(obj3
));
3125 if (SWIG_arg_fail(4)) SWIG_fail
;
3128 arg5
= (int)(SWIG_As_int(obj4
));
3129 if (SWIG_arg_fail(5)) SWIG_fail
;
3133 arg6
= (int)(SWIG_As_int(obj5
));
3134 if (SWIG_arg_fail(6)) SWIG_fail
;
3139 arg7
= (int)(SWIG_As_int(obj6
));
3140 if (SWIG_arg_fail(7)) SWIG_fail
;
3145 arg8
= (bool)(SWIG_As_bool(obj7
));
3146 if (SWIG_arg_fail(8)) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3168 PyObject
* obj0
= 0 ;
3169 PyObject
* obj1
= 0 ;
3170 PyObject
* obj2
= 0 ;
3172 (char *) "self",(char *) "x",(char *) "y", NULL
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3177 if (SWIG_arg_fail(1)) SWIG_fail
;
3179 arg2
= (int)(SWIG_As_int(obj1
));
3180 if (SWIG_arg_fail(2)) SWIG_fail
;
3183 arg3
= (int)(SWIG_As_int(obj2
));
3184 if (SWIG_arg_fail(3)) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 (arg1
)->Scroll(arg2
,arg3
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3200 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3206 PyObject
* obj1
= 0 ;
3208 (char *) "self",(char *) "orient", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3213 if (SWIG_arg_fail(1)) SWIG_fail
;
3215 arg2
= (int)(SWIG_As_int(obj1
));
3216 if (SWIG_arg_fail(2)) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= SWIG_From_int((int)(result
));
3234 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3239 PyObject
* obj0
= 0 ;
3240 PyObject
* obj1
= 0 ;
3241 PyObject
* obj2
= 0 ;
3243 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3248 if (SWIG_arg_fail(1)) SWIG_fail
;
3250 arg2
= (int)(SWIG_As_int(obj1
));
3251 if (SWIG_arg_fail(2)) SWIG_fail
;
3254 arg3
= (int)(SWIG_As_int(obj2
));
3255 if (SWIG_arg_fail(3)) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3264 Py_INCREF(Py_None
); resultobj
= Py_None
;
3271 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3278 PyObject
* obj2
= 0 ;
3280 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3285 if (SWIG_arg_fail(1)) SWIG_fail
;
3287 arg2
= (int)(SWIG_As_int(obj1
));
3288 if (SWIG_arg_fail(2)) SWIG_fail
;
3291 arg3
= (int)(SWIG_As_int(obj2
));
3292 if (SWIG_arg_fail(3)) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 (arg1
)->SetScrollRate(arg2
,arg3
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3308 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3311 int *arg2
= (int *) 0 ;
3312 int *arg3
= (int *) 0 ;
3317 PyObject
* obj0
= 0 ;
3319 (char *) "self", NULL
3322 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3323 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3326 if (SWIG_arg_fail(1)) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3335 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3336 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3337 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3338 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3345 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3350 PyObject
* obj0
= 0 ;
3351 PyObject
* obj1
= 0 ;
3352 PyObject
* obj2
= 0 ;
3354 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3359 if (SWIG_arg_fail(1)) SWIG_fail
;
3361 arg2
= (bool)(SWIG_As_bool(obj1
));
3362 if (SWIG_arg_fail(2)) SWIG_fail
;
3365 arg3
= (bool)(SWIG_As_bool(obj2
));
3366 if (SWIG_arg_fail(3)) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 (arg1
)->EnableScrolling(arg2
,arg3
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 Py_INCREF(Py_None
); resultobj
= Py_None
;
3382 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
;
3384 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3385 int *arg2
= (int *) 0 ;
3386 int *arg3
= (int *) 0 ;
3391 PyObject
* obj0
= 0 ;
3393 (char *) "self", NULL
3396 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3400 if (SWIG_arg_fail(1)) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 Py_INCREF(Py_None
); resultobj
= Py_None
;
3409 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3410 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3411 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3412 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3419 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3426 PyObject
* obj2
= 0 ;
3428 (char *) "self",(char *) "xs",(char *) "ys", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3433 if (SWIG_arg_fail(1)) SWIG_fail
;
3435 arg2
= (double)(SWIG_As_double(obj1
));
3436 if (SWIG_arg_fail(2)) SWIG_fail
;
3439 arg3
= (double)(SWIG_As_double(obj2
));
3440 if (SWIG_arg_fail(3)) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 (arg1
)->SetScale(arg2
,arg3
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 Py_INCREF(Py_None
); resultobj
= Py_None
;
3456 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3467 if (SWIG_arg_fail(1)) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_From_double((double)(result
));
3484 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 (char *) "self", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3495 if (SWIG_arg_fail(1)) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_From_double((double)(result
));
3512 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3513 PyObject
*resultobj
;
3514 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3521 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3523 if (SWIG_arg_fail(1)) SWIG_fail
;
3526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 wxPoint
* resultptr
;
3537 resultptr
= new wxPoint((wxPoint
&)(result
));
3538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3546 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3547 PyObject
*resultobj
;
3548 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3551 int *arg4
= (int *) 0 ;
3552 int *arg5
= (int *) 0 ;
3557 PyObject
* obj0
= 0 ;
3558 PyObject
* obj1
= 0 ;
3559 PyObject
* obj2
= 0 ;
3561 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3562 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3563 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3565 if (SWIG_arg_fail(1)) SWIG_fail
;
3567 arg2
= (int)(SWIG_As_int(obj1
));
3568 if (SWIG_arg_fail(2)) SWIG_fail
;
3571 arg3
= (int)(SWIG_As_int(obj2
));
3572 if (SWIG_arg_fail(3)) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 Py_INCREF(Py_None
); resultobj
= Py_None
;
3582 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3583 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3584 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3585 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3592 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3597 argc
= PyObject_Length(args
);
3598 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3599 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3605 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3614 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3617 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3625 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3633 _v
= SWIG_Check_int(argv
[1]);
3635 _v
= SWIG_Check_int(argv
[2]);
3637 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3643 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3648 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3649 PyObject
*resultobj
;
3650 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3657 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail
;
3662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3672 wxPoint
* resultptr
;
3673 resultptr
= new wxPoint((wxPoint
&)(result
));
3674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3682 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3683 PyObject
*resultobj
;
3684 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3687 int *arg4
= (int *) 0 ;
3688 int *arg5
= (int *) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3698 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3699 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3701 if (SWIG_arg_fail(1)) SWIG_fail
;
3703 arg2
= (int)(SWIG_As_int(obj1
));
3704 if (SWIG_arg_fail(2)) SWIG_fail
;
3707 arg3
= (int)(SWIG_As_int(obj2
));
3708 if (SWIG_arg_fail(3)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3718 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3719 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3720 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3721 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3728 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3733 argc
= PyObject_Length(args
);
3734 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3735 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3741 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3750 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3753 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3761 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3769 _v
= SWIG_Check_int(argv
[1]);
3771 _v
= SWIG_Check_int(argv
[2]);
3773 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3779 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3784 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3789 (char *) "self", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3794 if (SWIG_arg_fail(1)) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 (arg1
)->AdjustScrollbars();
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 Py_INCREF(Py_None
); resultobj
= Py_None
;
3809 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3812 wxScrollWinEvent
*arg2
= 0 ;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3817 (char *) "self",(char *) "event", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3822 if (SWIG_arg_fail(1)) SWIG_fail
;
3824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3825 if (SWIG_arg_fail(2)) SWIG_fail
;
3827 SWIG_null_ref("wxScrollWinEvent");
3829 if (SWIG_arg_fail(2)) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3839 resultobj
= SWIG_From_int((int)(result
));
3847 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3850 wxWindow
*arg2
= (wxWindow
*) 0 ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3854 (char *) "self",(char *) "target", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3859 if (SWIG_arg_fail(1)) SWIG_fail
;
3860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3861 if (SWIG_arg_fail(2)) SWIG_fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 (arg1
)->SetTargetWindow(arg2
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 Py_INCREF(Py_None
); resultobj
= Py_None
;
3876 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3880 PyObject
* obj0
= 0 ;
3882 (char *) "self", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3887 if (SWIG_arg_fail(1)) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= wxPyMake_wxObject(result
, 0);
3904 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3909 PyObject
* obj0
= 0 ;
3910 PyObject
* obj1
= 0 ;
3912 (char *) "self",(char *) "rect", NULL
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3917 if (SWIG_arg_fail(1)) SWIG_fail
;
3920 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 Py_INCREF(Py_None
); resultobj
= Py_None
;
3936 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3942 (char *) "self", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3947 if (SWIG_arg_fail(1)) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3957 resultptr
= new wxRect((wxRect
&)(result
));
3958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3966 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "dc", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3978 if (SWIG_arg_fail(1)) SWIG_fail
;
3980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3981 if (SWIG_arg_fail(2)) SWIG_fail
;
3983 SWIG_null_ref("wxDC");
3985 if (SWIG_arg_fail(2)) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 (arg1
)->DoPrepareDC(*arg2
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 Py_INCREF(Py_None
); resultobj
= Py_None
;
4001 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4004 wxVisualAttributes result
;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "variant", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4013 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4014 if (SWIG_arg_fail(1)) SWIG_fail
;
4018 if (!wxPyCheckForApp()) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 wxVisualAttributes
* resultptr
;
4027 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4036 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4039 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4041 return Py_BuildValue((char *)"");
4043 static int _wrap_FrameNameStr_set(PyObject
*) {
4044 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4049 static PyObject
*_wrap_FrameNameStr_get(void) {
4054 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4056 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4063 static int _wrap_DialogNameStr_set(PyObject
*) {
4064 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4069 static PyObject
*_wrap_DialogNameStr_get(void) {
4074 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4076 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4083 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4084 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4089 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4094 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4096 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4103 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4104 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4109 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4114 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4116 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4123 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4126 bool arg2
= (bool) true ;
4127 PyObject
* obj0
= 0 ;
4128 PyObject
* obj1
= 0 ;
4130 (char *) "self",(char *) "maximize", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4135 if (SWIG_arg_fail(1)) SWIG_fail
;
4138 arg2
= (bool)(SWIG_As_bool(obj1
));
4139 if (SWIG_arg_fail(2)) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 (arg1
)->Maximize(arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 Py_INCREF(Py_None
); resultobj
= Py_None
;
4156 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4161 (char *) "self", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4166 if (SWIG_arg_fail(1)) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 Py_INCREF(Py_None
); resultobj
= Py_None
;
4181 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4184 bool arg2
= (bool) true ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4188 (char *) "self",(char *) "iconize", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4193 if (SWIG_arg_fail(1)) SWIG_fail
;
4196 arg2
= (bool)(SWIG_As_bool(obj1
));
4197 if (SWIG_arg_fail(2)) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 (arg1
)->Iconize(arg2
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 Py_INCREF(Py_None
); resultobj
= Py_None
;
4214 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4225 if (SWIG_arg_fail(1)) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4242 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "self", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4253 if (SWIG_arg_fail(1)) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4270 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4272 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4274 PyObject
* obj0
= 0 ;
4276 (char *) "self", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4281 if (SWIG_arg_fail(1)) SWIG_fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4291 resultptr
= new wxIcon((wxIcon
&)(result
));
4292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4300 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4307 (char *) "self",(char *) "icon", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4312 if (SWIG_arg_fail(1)) SWIG_fail
;
4314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4315 if (SWIG_arg_fail(2)) SWIG_fail
;
4317 SWIG_null_ref("wxIcon");
4319 if (SWIG_arg_fail(2)) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 Py_INCREF(Py_None
); resultobj
= Py_None
;
4335 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4338 wxIconBundle
*arg2
= 0 ;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj1
= 0 ;
4342 (char *) "self",(char *) "icons", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4350 if (SWIG_arg_fail(2)) SWIG_fail
;
4352 SWIG_null_ref("wxIconBundle");
4354 if (SWIG_arg_fail(2)) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 Py_INCREF(Py_None
); resultobj
= Py_None
;
4370 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4374 long arg3
= (long) wxFULLSCREEN_ALL
;
4376 PyObject
* obj0
= 0 ;
4377 PyObject
* obj1
= 0 ;
4378 PyObject
* obj2
= 0 ;
4380 (char *) "self",(char *) "show",(char *) "style", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4385 if (SWIG_arg_fail(1)) SWIG_fail
;
4387 arg2
= (bool)(SWIG_As_bool(obj1
));
4388 if (SWIG_arg_fail(2)) SWIG_fail
;
4392 arg3
= (long)(SWIG_As_long(obj2
));
4393 if (SWIG_arg_fail(3)) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4412 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "self", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4423 if (SWIG_arg_fail(1)) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4440 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4443 wxString
*arg2
= 0 ;
4444 bool temp2
= false ;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4448 (char *) "self",(char *) "title", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4453 if (SWIG_arg_fail(1)) SWIG_fail
;
4455 arg2
= wxString_in_helper(obj1
);
4456 if (arg2
== NULL
) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 (arg1
)->SetTitle((wxString
const &)*arg2
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 Py_INCREF(Py_None
); resultobj
= Py_None
;
4481 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4487 (char *) "self", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4492 if (SWIG_arg_fail(1)) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4513 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4516 wxRegion
*arg2
= 0 ;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4521 (char *) "self",(char *) "region", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4526 if (SWIG_arg_fail(1)) SWIG_fail
;
4528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(2)) SWIG_fail
;
4531 SWIG_null_ref("wxRegion");
4533 if (SWIG_arg_fail(2)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4551 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4554 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4558 (char *) "self",(char *) "flags", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail
;
4566 arg2
= (int)(SWIG_As_int(obj1
));
4567 if (SWIG_arg_fail(2)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 (arg1
)->RequestUserAttention(arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 Py_INCREF(Py_None
); resultobj
= Py_None
;
4584 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4590 (char *) "self", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4595 if (SWIG_arg_fail(1)) SWIG_fail
;
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 result
= (bool)(arg1
)->IsActive();
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4612 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4619 (char *) "self",(char *) "on", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail
;
4626 arg2
= (bool)(SWIG_As_bool(obj1
));
4627 if (SWIG_arg_fail(2)) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 (arg1
)->MacSetMetalAppearance(arg2
);
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4636 Py_INCREF(Py_None
); resultobj
= Py_None
;
4643 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4647 PyObject
* obj0
= 0 ;
4649 (char *) "self", NULL
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4654 if (SWIG_arg_fail(1)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4671 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4674 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4676 return Py_BuildValue((char *)"");
4678 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxWindow
*arg1
= (wxWindow
*) 0 ;
4681 int arg2
= (int) (int)-1 ;
4682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4684 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4685 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4686 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4687 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4688 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4689 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4690 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4692 bool temp3
= false ;
4695 bool temp7
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4704 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4709 if (SWIG_arg_fail(1)) SWIG_fail
;
4712 arg2
= (int const)(SWIG_As_int(obj1
));
4713 if (SWIG_arg_fail(2)) SWIG_fail
;
4718 arg3
= wxString_in_helper(obj2
);
4719 if (arg3
== NULL
) SWIG_fail
;
4726 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4732 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4737 arg6
= (long)(SWIG_As_long(obj5
));
4738 if (SWIG_arg_fail(6)) SWIG_fail
;
4743 arg7
= wxString_in_helper(obj6
);
4744 if (arg7
== NULL
) SWIG_fail
;
4749 if (!wxPyCheckForApp()) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4779 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4788 if (!wxPyCheckForApp()) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (wxFrame
*)new wxFrame();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4802 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4804 wxFrame
*arg1
= (wxFrame
*) 0 ;
4805 wxWindow
*arg2
= (wxWindow
*) 0 ;
4806 int arg3
= (int) (int)-1 ;
4807 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4808 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4809 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4810 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4811 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4812 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4813 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4814 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4817 bool temp4
= false ;
4820 bool temp8
= false ;
4821 PyObject
* obj0
= 0 ;
4822 PyObject
* obj1
= 0 ;
4823 PyObject
* obj2
= 0 ;
4824 PyObject
* obj3
= 0 ;
4825 PyObject
* obj4
= 0 ;
4826 PyObject
* obj5
= 0 ;
4827 PyObject
* obj6
= 0 ;
4828 PyObject
* obj7
= 0 ;
4830 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4835 if (SWIG_arg_fail(1)) SWIG_fail
;
4836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4837 if (SWIG_arg_fail(2)) SWIG_fail
;
4840 arg3
= (int const)(SWIG_As_int(obj2
));
4841 if (SWIG_arg_fail(3)) SWIG_fail
;
4846 arg4
= wxString_in_helper(obj3
);
4847 if (arg4
== NULL
) SWIG_fail
;
4854 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4860 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4865 arg7
= (long)(SWIG_As_long(obj6
));
4866 if (SWIG_arg_fail(7)) SWIG_fail
;
4871 arg8
= wxString_in_helper(obj7
);
4872 if (arg8
== NULL
) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4908 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxFrame
*arg1
= (wxFrame
*) 0 ;
4912 PyObject
* obj0
= 0 ;
4914 (char *) "self", NULL
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4919 if (SWIG_arg_fail(1)) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4928 wxPoint
* resultptr
;
4929 resultptr
= new wxPoint((wxPoint
&)(result
));
4930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4938 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxFrame
*arg1
= (wxFrame
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4943 (char *) "self", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4948 if (SWIG_arg_fail(1)) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 (arg1
)->SendSizeEvent();
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 Py_INCREF(Py_None
); resultobj
= Py_None
;
4963 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxFrame
*arg1
= (wxFrame
*) 0 ;
4966 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4970 (char *) "self",(char *) "menubar", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4975 if (SWIG_arg_fail(1)) SWIG_fail
;
4976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(2)) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 (arg1
)->SetMenuBar(arg2
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4992 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxFrame
*arg1
= (wxFrame
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4998 (char *) "self", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5003 if (SWIG_arg_fail(1)) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= wxPyMake_wxObject(result
, 0);
5020 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxFrame
*arg1
= (wxFrame
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5026 PyObject
* obj1
= 0 ;
5028 (char *) "self",(char *) "winid", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5033 if (SWIG_arg_fail(1)) SWIG_fail
;
5035 arg2
= (int)(SWIG_As_int(obj1
));
5036 if (SWIG_arg_fail(2)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5054 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxFrame
*arg1
= (wxFrame
*) 0 ;
5057 int arg2
= (int) 1 ;
5058 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5059 int arg4
= (int) 0 ;
5060 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5061 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5062 wxStatusBar
*result
;
5063 bool temp5
= false ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 PyObject
* obj2
= 0 ;
5067 PyObject
* obj3
= 0 ;
5068 PyObject
* obj4
= 0 ;
5070 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5075 if (SWIG_arg_fail(1)) SWIG_fail
;
5078 arg2
= (int)(SWIG_As_int(obj1
));
5079 if (SWIG_arg_fail(2)) SWIG_fail
;
5084 arg3
= (long)(SWIG_As_long(obj2
));
5085 if (SWIG_arg_fail(3)) SWIG_fail
;
5090 arg4
= (int)(SWIG_As_int(obj3
));
5091 if (SWIG_arg_fail(4)) SWIG_fail
;
5096 arg5
= wxString_in_helper(obj4
);
5097 if (arg5
== NULL
) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= wxPyMake_wxObject(result
, 0);
5125 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxFrame
*arg1
= (wxFrame
*) 0 ;
5128 wxStatusBar
*result
;
5129 PyObject
* obj0
= 0 ;
5131 (char *) "self", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5136 if (SWIG_arg_fail(1)) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= wxPyMake_wxObject(result
, 0);
5153 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxFrame
*arg1
= (wxFrame
*) 0 ;
5156 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5160 (char *) "self",(char *) "statBar", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5165 if (SWIG_arg_fail(1)) SWIG_fail
;
5166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5167 if (SWIG_arg_fail(2)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->SetStatusBar(arg2
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 Py_INCREF(Py_None
); resultobj
= Py_None
;
5182 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxFrame
*arg1
= (wxFrame
*) 0 ;
5185 wxString
*arg2
= 0 ;
5186 int arg3
= (int) 0 ;
5187 bool temp2
= false ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5190 PyObject
* obj2
= 0 ;
5192 (char *) "self",(char *) "text",(char *) "number", NULL
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5197 if (SWIG_arg_fail(1)) SWIG_fail
;
5199 arg2
= wxString_in_helper(obj1
);
5200 if (arg2
== NULL
) SWIG_fail
;
5205 arg3
= (int)(SWIG_As_int(obj2
));
5206 if (SWIG_arg_fail(3)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 Py_INCREF(Py_None
); resultobj
= Py_None
;
5231 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxFrame
*arg1
= (wxFrame
*) 0 ;
5235 int *arg3
= (int *) 0 ;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5239 (char *) "self",(char *) "widths", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5244 if (SWIG_arg_fail(1)) SWIG_fail
;
5246 arg2
= PyList_Size(obj1
);
5247 arg3
= int_LIST_helper(obj1
);
5248 if (arg3
== NULL
) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 Py_INCREF(Py_None
); resultobj
= Py_None
;
5259 if (arg3
) delete [] arg3
;
5264 if (arg3
) delete [] arg3
;
5270 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxFrame
*arg1
= (wxFrame
*) 0 ;
5273 wxString
*arg2
= 0 ;
5274 int arg3
= (int) 0 ;
5275 bool temp2
= false ;
5276 PyObject
* obj0
= 0 ;
5277 PyObject
* obj1
= 0 ;
5278 PyObject
* obj2
= 0 ;
5280 (char *) "self",(char *) "text",(char *) "number", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5285 if (SWIG_arg_fail(1)) SWIG_fail
;
5287 arg2
= wxString_in_helper(obj1
);
5288 if (arg2
== NULL
) SWIG_fail
;
5293 arg3
= (int)(SWIG_As_int(obj2
));
5294 if (SWIG_arg_fail(3)) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxFrame
*arg1
= (wxFrame
*) 0 ;
5322 int arg2
= (int) 0 ;
5323 PyObject
* obj0
= 0 ;
5324 PyObject
* obj1
= 0 ;
5326 (char *) "self",(char *) "number", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail
;
5334 arg2
= (int)(SWIG_As_int(obj1
));
5335 if (SWIG_arg_fail(2)) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 (arg1
)->PopStatusText(arg2
);
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 Py_INCREF(Py_None
); resultobj
= Py_None
;
5352 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxFrame
*arg1
= (wxFrame
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5359 (char *) "self",(char *) "n", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5364 if (SWIG_arg_fail(1)) SWIG_fail
;
5366 arg2
= (int)(SWIG_As_int(obj1
));
5367 if (SWIG_arg_fail(2)) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 (arg1
)->SetStatusBarPane(arg2
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 Py_INCREF(Py_None
); resultobj
= Py_None
;
5383 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxFrame
*arg1
= (wxFrame
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5389 (char *) "self", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5394 if (SWIG_arg_fail(1)) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= SWIG_From_int((int)(result
));
5411 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxFrame
*arg1
= (wxFrame
*) 0 ;
5414 long arg2
= (long) -1 ;
5415 int arg3
= (int) -1 ;
5416 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5417 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5419 bool temp4
= false ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5422 PyObject
* obj2
= 0 ;
5423 PyObject
* obj3
= 0 ;
5425 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5430 if (SWIG_arg_fail(1)) SWIG_fail
;
5433 arg2
= (long)(SWIG_As_long(obj1
));
5434 if (SWIG_arg_fail(2)) SWIG_fail
;
5439 arg3
= (int)(SWIG_As_int(obj2
));
5440 if (SWIG_arg_fail(3)) SWIG_fail
;
5445 arg4
= wxString_in_helper(obj3
);
5446 if (arg4
== NULL
) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5458 resultobj
= wxPyMake_wxObject(result
, 0);
5474 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxFrame
*arg1
= (wxFrame
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5480 (char *) "self", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5485 if (SWIG_arg_fail(1)) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= wxPyMake_wxObject(result
, 0);
5502 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxFrame
*arg1
= (wxFrame
*) 0 ;
5505 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "toolbar", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5514 if (SWIG_arg_fail(1)) SWIG_fail
;
5515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5516 if (SWIG_arg_fail(2)) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 (arg1
)->SetToolBar(arg2
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxFrame
*arg1
= (wxFrame
*) 0 ;
5534 wxString
*arg2
= 0 ;
5536 bool temp2
= false ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5539 PyObject
* obj2
= 0 ;
5541 (char *) "self",(char *) "text",(char *) "show", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5546 if (SWIG_arg_fail(1)) SWIG_fail
;
5548 arg2
= wxString_in_helper(obj1
);
5549 if (arg2
== NULL
) SWIG_fail
;
5553 arg3
= (bool)(SWIG_As_bool(obj2
));
5554 if (SWIG_arg_fail(3)) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxFrame
*arg1
= (wxFrame
*) 0 ;
5581 wxMenu
*arg2
= (wxMenu
*) NULL
;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "menu", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail
;
5592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5593 if (SWIG_arg_fail(2)) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 (arg1
)->DoMenuUpdates(arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5612 wxVisualAttributes result
;
5613 PyObject
* obj0
= 0 ;
5615 (char *) "variant", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5621 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5622 if (SWIG_arg_fail(1)) SWIG_fail
;
5626 if (!wxPyCheckForApp()) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5634 wxVisualAttributes
* resultptr
;
5635 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5644 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5647 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5649 return Py_BuildValue((char *)"");
5651 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxWindow
*arg1
= (wxWindow
*) 0 ;
5654 int arg2
= (int) (int)-1 ;
5655 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5656 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5657 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5658 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5659 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5660 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5661 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5662 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5663 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5665 bool temp3
= false ;
5668 bool temp7
= false ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5672 PyObject
* obj3
= 0 ;
5673 PyObject
* obj4
= 0 ;
5674 PyObject
* obj5
= 0 ;
5675 PyObject
* obj6
= 0 ;
5677 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5682 if (SWIG_arg_fail(1)) SWIG_fail
;
5685 arg2
= (int const)(SWIG_As_int(obj1
));
5686 if (SWIG_arg_fail(2)) SWIG_fail
;
5691 arg3
= wxString_in_helper(obj2
);
5692 if (arg3
== NULL
) SWIG_fail
;
5699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5710 arg6
= (long)(SWIG_As_long(obj5
));
5711 if (SWIG_arg_fail(6)) SWIG_fail
;
5716 arg7
= wxString_in_helper(obj6
);
5717 if (arg7
== NULL
) SWIG_fail
;
5722 if (!wxPyCheckForApp()) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5752 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5761 if (!wxPyCheckForApp()) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (wxDialog
*)new wxDialog();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5775 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxDialog
*arg1
= (wxDialog
*) 0 ;
5778 wxWindow
*arg2
= (wxWindow
*) 0 ;
5779 int arg3
= (int) (int)-1 ;
5780 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5781 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5782 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5783 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5784 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5785 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5786 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5787 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5788 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5790 bool temp4
= false ;
5793 bool temp8
= false ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5796 PyObject
* obj2
= 0 ;
5797 PyObject
* obj3
= 0 ;
5798 PyObject
* obj4
= 0 ;
5799 PyObject
* obj5
= 0 ;
5800 PyObject
* obj6
= 0 ;
5801 PyObject
* obj7
= 0 ;
5803 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5808 if (SWIG_arg_fail(1)) SWIG_fail
;
5809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5810 if (SWIG_arg_fail(2)) SWIG_fail
;
5813 arg3
= (int const)(SWIG_As_int(obj2
));
5814 if (SWIG_arg_fail(3)) SWIG_fail
;
5819 arg4
= wxString_in_helper(obj3
);
5820 if (arg4
== NULL
) SWIG_fail
;
5827 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5833 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5838 arg7
= (long)(SWIG_As_long(obj6
));
5839 if (SWIG_arg_fail(7)) SWIG_fail
;
5844 arg8
= wxString_in_helper(obj7
);
5845 if (arg8
== NULL
) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5881 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxDialog
*arg1
= (wxDialog
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5886 PyObject
* obj1
= 0 ;
5888 (char *) "self",(char *) "returnCode", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5893 if (SWIG_arg_fail(1)) SWIG_fail
;
5895 arg2
= (int)(SWIG_As_int(obj1
));
5896 if (SWIG_arg_fail(2)) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->SetReturnCode(arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 Py_INCREF(Py_None
); resultobj
= Py_None
;
5912 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxDialog
*arg1
= (wxDialog
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5918 (char *) "self", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5923 if (SWIG_arg_fail(1)) SWIG_fail
;
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_From_int((int)(result
));
5940 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxDialog
*arg1
= (wxDialog
*) 0 ;
5943 wxString
*arg2
= 0 ;
5945 bool temp2
= false ;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5949 (char *) "self",(char *) "message", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5954 if (SWIG_arg_fail(1)) SWIG_fail
;
5956 arg2
= wxString_in_helper(obj1
);
5957 if (arg2
== NULL
) SWIG_fail
;
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= wxPyMake_wxObject(result
, 0);
5984 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxDialog
*arg1
= (wxDialog
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5992 (char *) "self",(char *) "flags", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5997 if (SWIG_arg_fail(1)) SWIG_fail
;
5999 arg2
= (long)(SWIG_As_long(obj1
));
6000 if (SWIG_arg_fail(2)) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= wxPyMake_wxObject(result
, 0);
6018 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxDialog
*arg1
= (wxDialog
*) 0 ;
6022 wxStdDialogButtonSizer
*result
;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6026 (char *) "self",(char *) "flags", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6031 if (SWIG_arg_fail(1)) SWIG_fail
;
6033 arg2
= (long)(SWIG_As_long(obj1
));
6034 if (SWIG_arg_fail(2)) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6050 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxDialog
*arg1
= (wxDialog
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6056 (char *) "self", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6061 if (SWIG_arg_fail(1)) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6078 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxDialog
*arg1
= (wxDialog
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6084 (char *) "self", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6089 if (SWIG_arg_fail(1)) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (int)(arg1
)->ShowModal();
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_From_int((int)(result
));
6106 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxDialog
*arg1
= (wxDialog
*) 0 ;
6110 PyObject
* obj0
= 0 ;
6111 PyObject
* obj1
= 0 ;
6113 (char *) "self",(char *) "retCode", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6118 if (SWIG_arg_fail(1)) SWIG_fail
;
6120 arg2
= (int)(SWIG_As_int(obj1
));
6121 if (SWIG_arg_fail(2)) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 (arg1
)->EndModal(arg2
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 Py_INCREF(Py_None
); resultobj
= Py_None
;
6137 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6140 wxVisualAttributes result
;
6141 PyObject
* obj0
= 0 ;
6143 (char *) "variant", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6149 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6150 if (SWIG_arg_fail(1)) SWIG_fail
;
6154 if (!wxPyCheckForApp()) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 wxVisualAttributes
* resultptr
;
6163 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6172 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6175 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6177 return Py_BuildValue((char *)"");
6179 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxWindow
*arg1
= (wxWindow
*) 0 ;
6182 int arg2
= (int) (int)-1 ;
6183 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6184 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6185 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6186 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6187 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6188 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6189 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6190 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6192 wxMiniFrame
*result
;
6193 bool temp3
= false ;
6196 bool temp7
= false ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 PyObject
* obj2
= 0 ;
6200 PyObject
* obj3
= 0 ;
6201 PyObject
* obj4
= 0 ;
6202 PyObject
* obj5
= 0 ;
6203 PyObject
* obj6
= 0 ;
6205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6210 if (SWIG_arg_fail(1)) SWIG_fail
;
6213 arg2
= (int const)(SWIG_As_int(obj1
));
6214 if (SWIG_arg_fail(2)) SWIG_fail
;
6219 arg3
= wxString_in_helper(obj2
);
6220 if (arg3
== NULL
) SWIG_fail
;
6227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6238 arg6
= (long)(SWIG_As_long(obj5
));
6239 if (SWIG_arg_fail(6)) SWIG_fail
;
6244 arg7
= wxString_in_helper(obj6
);
6245 if (arg7
== NULL
) SWIG_fail
;
6250 if (!wxPyCheckForApp()) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6280 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxMiniFrame
*result
;
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6289 if (!wxPyCheckForApp()) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxMiniFrame
*)new wxMiniFrame();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6303 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6306 wxWindow
*arg2
= (wxWindow
*) 0 ;
6307 int arg3
= (int) (int)-1 ;
6308 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6309 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6310 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6311 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6312 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6313 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6314 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6315 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6318 bool temp4
= false ;
6321 bool temp8
= false ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 PyObject
* obj2
= 0 ;
6325 PyObject
* obj3
= 0 ;
6326 PyObject
* obj4
= 0 ;
6327 PyObject
* obj5
= 0 ;
6328 PyObject
* obj6
= 0 ;
6329 PyObject
* obj7
= 0 ;
6331 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6336 if (SWIG_arg_fail(1)) SWIG_fail
;
6337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6338 if (SWIG_arg_fail(2)) SWIG_fail
;
6341 arg3
= (int const)(SWIG_As_int(obj2
));
6342 if (SWIG_arg_fail(3)) SWIG_fail
;
6347 arg4
= wxString_in_helper(obj3
);
6348 if (arg4
== NULL
) SWIG_fail
;
6355 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6361 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6366 arg7
= (long)(SWIG_As_long(obj6
));
6367 if (SWIG_arg_fail(7)) SWIG_fail
;
6372 arg8
= wxString_in_helper(obj7
);
6373 if (arg8
== NULL
) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6409 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6412 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6414 return Py_BuildValue((char *)"");
6416 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxBitmap
*arg1
= 0 ;
6419 wxWindow
*arg2
= (wxWindow
*) 0 ;
6421 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6422 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6423 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6424 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6425 long arg6
= (long) wxNO_BORDER
;
6426 wxSplashScreenWindow
*result
;
6429 PyObject
* obj0
= 0 ;
6430 PyObject
* obj1
= 0 ;
6431 PyObject
* obj2
= 0 ;
6432 PyObject
* obj3
= 0 ;
6433 PyObject
* obj4
= 0 ;
6434 PyObject
* obj5
= 0 ;
6436 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6442 if (SWIG_arg_fail(1)) SWIG_fail
;
6444 SWIG_null_ref("wxBitmap");
6446 if (SWIG_arg_fail(1)) SWIG_fail
;
6448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6449 if (SWIG_arg_fail(2)) SWIG_fail
;
6451 arg3
= (int)(SWIG_As_int(obj2
));
6452 if (SWIG_arg_fail(3)) SWIG_fail
;
6457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6468 arg6
= (long)(SWIG_As_long(obj5
));
6469 if (SWIG_arg_fail(6)) SWIG_fail
;
6473 if (!wxPyCheckForApp()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6487 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6490 wxBitmap
*arg2
= 0 ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6494 (char *) "self",(char *) "bitmap", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6499 if (SWIG_arg_fail(1)) SWIG_fail
;
6501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6502 if (SWIG_arg_fail(2)) SWIG_fail
;
6504 SWIG_null_ref("wxBitmap");
6506 if (SWIG_arg_fail(2)) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 Py_INCREF(Py_None
); resultobj
= Py_None
;
6522 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6533 if (SWIG_arg_fail(1)) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6538 result
= (wxBitmap
*) &_result_ref
;
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 wxBitmap
* resultptr
= new wxBitmap(*result
);
6546 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6554 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6557 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6559 return Py_BuildValue((char *)"");
6561 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxBitmap
*arg1
= 0 ;
6566 wxWindow
*arg4
= (wxWindow
*) 0 ;
6567 int arg5
= (int) -1 ;
6568 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6569 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6570 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6571 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6572 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6573 wxSplashScreen
*result
;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6579 PyObject
* obj3
= 0 ;
6580 PyObject
* obj4
= 0 ;
6581 PyObject
* obj5
= 0 ;
6582 PyObject
* obj6
= 0 ;
6583 PyObject
* obj7
= 0 ;
6585 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6591 if (SWIG_arg_fail(1)) SWIG_fail
;
6593 SWIG_null_ref("wxBitmap");
6595 if (SWIG_arg_fail(1)) SWIG_fail
;
6598 arg2
= (long)(SWIG_As_long(obj1
));
6599 if (SWIG_arg_fail(2)) SWIG_fail
;
6602 arg3
= (int)(SWIG_As_int(obj2
));
6603 if (SWIG_arg_fail(3)) SWIG_fail
;
6605 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6606 if (SWIG_arg_fail(4)) SWIG_fail
;
6609 arg5
= (int)(SWIG_As_int(obj4
));
6610 if (SWIG_arg_fail(5)) SWIG_fail
;
6616 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6622 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6627 arg8
= (long)(SWIG_As_long(obj7
));
6628 if (SWIG_arg_fail(8)) SWIG_fail
;
6632 if (!wxPyCheckForApp()) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6646 static PyObject
*_wrap_SplashScreen_GetSplashStyle(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_GetSplashStyle",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
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_From_long((long)(result
));
6674 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6677 wxSplashScreenWindow
*result
;
6678 PyObject
* obj0
= 0 ;
6680 (char *) "self", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6685 if (SWIG_arg_fail(1)) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6700 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6706 (char *) "self", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6711 if (SWIG_arg_fail(1)) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_From_int((int)(result
));
6728 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6731 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6733 return Py_BuildValue((char *)"");
6735 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxWindow
*arg1
= (wxWindow
*) 0 ;
6738 int arg2
= (int) -1 ;
6739 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6740 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6741 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6742 wxStatusBar
*result
;
6743 bool temp4
= false ;
6744 PyObject
* obj0
= 0 ;
6745 PyObject
* obj1
= 0 ;
6746 PyObject
* obj2
= 0 ;
6747 PyObject
* obj3
= 0 ;
6749 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6754 if (SWIG_arg_fail(1)) SWIG_fail
;
6757 arg2
= (int)(SWIG_As_int(obj1
));
6758 if (SWIG_arg_fail(2)) SWIG_fail
;
6763 arg3
= (long)(SWIG_As_long(obj2
));
6764 if (SWIG_arg_fail(3)) SWIG_fail
;
6769 arg4
= wxString_in_helper(obj3
);
6770 if (arg4
== NULL
) SWIG_fail
;
6775 if (!wxPyCheckForApp()) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6797 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxStatusBar
*result
;
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6806 if (!wxPyCheckForApp()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (wxStatusBar
*)new wxStatusBar();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6820 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6823 wxWindow
*arg2
= (wxWindow
*) 0 ;
6824 int arg3
= (int) -1 ;
6825 long arg4
= (long) wxST_SIZEGRIP
;
6826 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6827 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6829 bool temp5
= false ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 PyObject
* obj3
= 0 ;
6834 PyObject
* obj4
= 0 ;
6836 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail
;
6842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6843 if (SWIG_arg_fail(2)) SWIG_fail
;
6846 arg3
= (int)(SWIG_As_int(obj2
));
6847 if (SWIG_arg_fail(3)) SWIG_fail
;
6852 arg4
= (long)(SWIG_As_long(obj3
));
6853 if (SWIG_arg_fail(4)) SWIG_fail
;
6858 arg5
= wxString_in_helper(obj4
);
6859 if (arg5
== NULL
) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6887 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6890 int arg2
= (int) 1 ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6894 (char *) "self",(char *) "number", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6899 if (SWIG_arg_fail(1)) SWIG_fail
;
6902 arg2
= (int)(SWIG_As_int(obj1
));
6903 if (SWIG_arg_fail(2)) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 (arg1
)->SetFieldsCount(arg2
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 Py_INCREF(Py_None
); resultobj
= Py_None
;
6920 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6926 (char *) "self", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_From_int((int)(result
));
6948 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6951 wxString
*arg2
= 0 ;
6952 int arg3
= (int) 0 ;
6953 bool temp2
= false ;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6956 PyObject
* obj2
= 0 ;
6958 (char *) "self",(char *) "text",(char *) "number", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail
;
6965 arg2
= wxString_in_helper(obj1
);
6966 if (arg2
== NULL
) SWIG_fail
;
6971 arg3
= (int)(SWIG_As_int(obj2
));
6972 if (SWIG_arg_fail(3)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6997 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7000 int arg2
= (int) 0 ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7005 (char *) "self",(char *) "number", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7010 if (SWIG_arg_fail(1)) SWIG_fail
;
7013 arg2
= (int)(SWIG_As_int(obj1
));
7014 if (SWIG_arg_fail(2)) SWIG_fail
;
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7037 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7040 wxString
*arg2
= 0 ;
7041 int arg3
= (int) 0 ;
7042 bool temp2
= false ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7045 PyObject
* obj2
= 0 ;
7047 (char *) "self",(char *) "text",(char *) "number", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7052 if (SWIG_arg_fail(1)) SWIG_fail
;
7054 arg2
= wxString_in_helper(obj1
);
7055 if (arg2
== NULL
) SWIG_fail
;
7060 arg3
= (int)(SWIG_As_int(obj2
));
7061 if (SWIG_arg_fail(3)) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 Py_INCREF(Py_None
); resultobj
= Py_None
;
7086 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7089 int arg2
= (int) 0 ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7093 (char *) "self",(char *) "number", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7098 if (SWIG_arg_fail(1)) SWIG_fail
;
7101 arg2
= (int)(SWIG_As_int(obj1
));
7102 if (SWIG_arg_fail(2)) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 (arg1
)->PopStatusText(arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7123 int *arg3
= (int *) 0 ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "self",(char *) "widths", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7134 arg2
= PyList_Size(obj1
);
7135 arg3
= int_LIST_helper(obj1
);
7136 if (arg3
== NULL
) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 if (arg3
) delete [] arg3
;
7152 if (arg3
) delete [] arg3
;
7158 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7162 int *arg3
= (int *) 0 ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7166 (char *) "self",(char *) "styles", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail
;
7173 arg2
= PyList_Size(obj1
);
7174 arg3
= int_LIST_helper(obj1
);
7175 if (arg3
== NULL
) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 Py_INCREF(Py_None
); resultobj
= Py_None
;
7186 if (arg3
) delete [] arg3
;
7191 if (arg3
) delete [] arg3
;
7197 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "i", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 arg2
= (int)(SWIG_As_int(obj1
));
7213 if (SWIG_arg_fail(2)) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7224 resultptr
= new wxRect((wxRect
&)(result
));
7225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7233 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7240 (char *) "self",(char *) "height", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7245 if (SWIG_arg_fail(1)) SWIG_fail
;
7247 arg2
= (int)(SWIG_As_int(obj1
));
7248 if (SWIG_arg_fail(2)) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 (arg1
)->SetMinHeight(arg2
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 Py_INCREF(Py_None
); resultobj
= Py_None
;
7264 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7270 (char *) "self", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_From_int((int)(result
));
7292 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "self", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7303 if (SWIG_arg_fail(1)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_From_int((int)(result
));
7320 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7323 wxVisualAttributes result
;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "variant", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7332 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7333 if (SWIG_arg_fail(1)) SWIG_fail
;
7337 if (!wxPyCheckForApp()) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7345 wxVisualAttributes
* resultptr
;
7346 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7355 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7360 return Py_BuildValue((char *)"");
7362 static int _wrap_SplitterNameStr_set(PyObject
*) {
7363 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7368 static PyObject
*_wrap_SplitterNameStr_get(void) {
7373 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7375 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7382 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxWindow
*arg1
= (wxWindow
*) 0 ;
7385 int arg2
= (int) -1 ;
7386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7390 long arg5
= (long) wxSP_3D
;
7391 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7392 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7393 wxSplitterWindow
*result
;
7396 bool temp6
= false ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7399 PyObject
* obj2
= 0 ;
7400 PyObject
* obj3
= 0 ;
7401 PyObject
* obj4
= 0 ;
7402 PyObject
* obj5
= 0 ;
7404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 arg2
= (int)(SWIG_As_int(obj1
));
7413 if (SWIG_arg_fail(2)) SWIG_fail
;
7419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7425 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7430 arg5
= (long)(SWIG_As_long(obj4
));
7431 if (SWIG_arg_fail(5)) SWIG_fail
;
7436 arg6
= wxString_in_helper(obj5
);
7437 if (arg6
== NULL
) SWIG_fail
;
7442 if (!wxPyCheckForApp()) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7464 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxSplitterWindow
*result
;
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7473 if (!wxPyCheckForApp()) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7487 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7490 wxWindow
*arg2
= (wxWindow
*) 0 ;
7491 int arg3
= (int) -1 ;
7492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7496 long arg6
= (long) wxSP_3D
;
7497 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7498 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7502 bool temp7
= false ;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7505 PyObject
* obj2
= 0 ;
7506 PyObject
* obj3
= 0 ;
7507 PyObject
* obj4
= 0 ;
7508 PyObject
* obj5
= 0 ;
7509 PyObject
* obj6
= 0 ;
7511 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7516 if (SWIG_arg_fail(1)) SWIG_fail
;
7517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7518 if (SWIG_arg_fail(2)) SWIG_fail
;
7521 arg3
= (int)(SWIG_As_int(obj2
));
7522 if (SWIG_arg_fail(3)) SWIG_fail
;
7528 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7534 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7539 arg6
= (long)(SWIG_As_long(obj5
));
7540 if (SWIG_arg_fail(6)) SWIG_fail
;
7545 arg7
= wxString_in_helper(obj6
);
7546 if (arg7
== NULL
) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7574 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7585 if (SWIG_arg_fail(1)) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= wxPyMake_wxObject(result
, 0);
7602 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7606 PyObject
* obj0
= 0 ;
7608 (char *) "self", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7613 if (SWIG_arg_fail(1)) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= wxPyMake_wxObject(result
, 0);
7630 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7637 (char *) "self",(char *) "mode", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail
;
7644 arg2
= (int)(SWIG_As_int(obj1
));
7645 if (SWIG_arg_fail(2)) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 (arg1
)->SetSplitMode(arg2
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 Py_INCREF(Py_None
); resultobj
= Py_None
;
7661 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(1)) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_From_int((result
));
7687 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7690 wxWindow
*arg2
= (wxWindow
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7694 (char *) "self",(char *) "window", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail
;
7700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7701 if (SWIG_arg_fail(2)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 (arg1
)->Initialize(arg2
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 Py_INCREF(Py_None
); resultobj
= Py_None
;
7716 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7719 wxWindow
*arg2
= (wxWindow
*) 0 ;
7720 wxWindow
*arg3
= (wxWindow
*) 0 ;
7721 int arg4
= (int) 0 ;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7725 PyObject
* obj2
= 0 ;
7726 PyObject
* obj3
= 0 ;
7728 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7733 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7735 if (SWIG_arg_fail(2)) SWIG_fail
;
7736 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7737 if (SWIG_arg_fail(3)) SWIG_fail
;
7740 arg4
= (int)(SWIG_As_int(obj3
));
7741 if (SWIG_arg_fail(4)) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7760 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7763 wxWindow
*arg2
= (wxWindow
*) 0 ;
7764 wxWindow
*arg3
= (wxWindow
*) 0 ;
7765 int arg4
= (int) 0 ;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7769 PyObject
* obj2
= 0 ;
7770 PyObject
* obj3
= 0 ;
7772 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7777 if (SWIG_arg_fail(1)) SWIG_fail
;
7778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7779 if (SWIG_arg_fail(2)) SWIG_fail
;
7780 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7781 if (SWIG_arg_fail(3)) SWIG_fail
;
7784 arg4
= (int)(SWIG_As_int(obj3
));
7785 if (SWIG_arg_fail(4)) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7804 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7807 wxWindow
*arg2
= (wxWindow
*) NULL
;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7812 (char *) "self",(char *) "toRemove", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7820 if (SWIG_arg_fail(2)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (bool)(arg1
)->Unsplit(arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7838 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7841 wxWindow
*arg2
= (wxWindow
*) 0 ;
7842 wxWindow
*arg3
= (wxWindow
*) 0 ;
7844 PyObject
* obj0
= 0 ;
7845 PyObject
* obj1
= 0 ;
7846 PyObject
* obj2
= 0 ;
7848 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7853 if (SWIG_arg_fail(1)) SWIG_fail
;
7854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7855 if (SWIG_arg_fail(2)) SWIG_fail
;
7856 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(3)) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7874 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7879 (char *) "self", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7884 if (SWIG_arg_fail(1)) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->UpdateSize();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7927 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7934 (char *) "self",(char *) "width", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail
;
7941 arg2
= (int)(SWIG_As_int(obj1
));
7942 if (SWIG_arg_fail(2)) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 (arg1
)->SetSashSize(arg2
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 Py_INCREF(Py_None
); resultobj
= Py_None
;
7958 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7960 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7965 (char *) "self",(char *) "width", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7970 if (SWIG_arg_fail(1)) SWIG_fail
;
7972 arg2
= (int)(SWIG_As_int(obj1
));
7973 if (SWIG_arg_fail(2)) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 (arg1
)->SetBorderSize(arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 Py_INCREF(Py_None
); resultobj
= Py_None
;
7989 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8000 if (SWIG_arg_fail(1)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_From_int((int)(result
));
8017 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "self", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_From_int((int)(result
));
8045 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8049 bool arg3
= (bool) true ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8052 PyObject
* obj2
= 0 ;
8054 (char *) "self",(char *) "position",(char *) "redraw", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 arg2
= (int)(SWIG_As_int(obj1
));
8062 if (SWIG_arg_fail(2)) SWIG_fail
;
8066 arg3
= (bool)(SWIG_As_bool(obj2
));
8067 if (SWIG_arg_fail(3)) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 (arg1
)->SetSashPosition(arg2
,arg3
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 Py_INCREF(Py_None
); resultobj
= Py_None
;
8084 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8088 PyObject
* obj0
= 0 ;
8090 (char *) "self", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8095 if (SWIG_arg_fail(1)) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= SWIG_From_int((int)(result
));
8112 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8119 (char *) "self",(char *) "gravity", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8124 if (SWIG_arg_fail(1)) SWIG_fail
;
8126 arg2
= (double)(SWIG_As_double(obj1
));
8127 if (SWIG_arg_fail(2)) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 (arg1
)->SetSashGravity(arg2
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 Py_INCREF(Py_None
); resultobj
= Py_None
;
8143 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8149 (char *) "self", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8154 if (SWIG_arg_fail(1)) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= SWIG_From_double((double)(result
));
8171 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8175 PyObject
* obj0
= 0 ;
8176 PyObject
* obj1
= 0 ;
8178 (char *) "self",(char *) "min", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8183 if (SWIG_arg_fail(1)) SWIG_fail
;
8185 arg2
= (int)(SWIG_As_int(obj1
));
8186 if (SWIG_arg_fail(2)) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 (arg1
)->SetMinimumPaneSize(arg2
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 Py_INCREF(Py_None
); resultobj
= Py_None
;
8202 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8206 PyObject
* obj0
= 0 ;
8208 (char *) "self", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8213 if (SWIG_arg_fail(1)) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= SWIG_From_int((int)(result
));
8230 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8235 int arg4
= (int) 5 ;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8239 PyObject
* obj2
= 0 ;
8240 PyObject
* obj3
= 0 ;
8242 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8247 if (SWIG_arg_fail(1)) SWIG_fail
;
8249 arg2
= (int)(SWIG_As_int(obj1
));
8250 if (SWIG_arg_fail(2)) SWIG_fail
;
8253 arg3
= (int)(SWIG_As_int(obj2
));
8254 if (SWIG_arg_fail(3)) SWIG_fail
;
8258 arg4
= (int)(SWIG_As_int(obj3
));
8259 if (SWIG_arg_fail(4)) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8278 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8283 (char *) "self", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8288 if (SWIG_arg_fail(1)) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 (arg1
)->SizeWindows();
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 Py_INCREF(Py_None
); resultobj
= Py_None
;
8303 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8307 PyObject
* obj0
= 0 ;
8308 PyObject
* obj1
= 0 ;
8310 (char *) "self",(char *) "needUpdating", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8315 if (SWIG_arg_fail(1)) SWIG_fail
;
8317 arg2
= (bool)(SWIG_As_bool(obj1
));
8318 if (SWIG_arg_fail(2)) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 (arg1
)->SetNeedUpdating(arg2
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 Py_INCREF(Py_None
); resultobj
= Py_None
;
8334 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8340 (char *) "self", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8345 if (SWIG_arg_fail(1)) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8362 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8365 wxVisualAttributes result
;
8366 PyObject
* obj0
= 0 ;
8368 (char *) "variant", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8374 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8375 if (SWIG_arg_fail(1)) SWIG_fail
;
8379 if (!wxPyCheckForApp()) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8387 wxVisualAttributes
* resultptr
;
8388 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8397 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8400 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8402 return Py_BuildValue((char *)"");
8404 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8407 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8408 wxSplitterEvent
*result
;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8412 (char *) "type",(char *) "splitter", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8418 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8419 if (SWIG_arg_fail(1)) SWIG_fail
;
8423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8424 if (SWIG_arg_fail(2)) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8440 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
;
8442 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8447 (char *) "self",(char *) "pos", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8452 if (SWIG_arg_fail(1)) SWIG_fail
;
8454 arg2
= (int)(SWIG_As_int(obj1
));
8455 if (SWIG_arg_fail(2)) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 (arg1
)->SetSashPosition(arg2
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 Py_INCREF(Py_None
); resultobj
= Py_None
;
8471 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8475 PyObject
* obj0
= 0 ;
8477 (char *) "self", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8482 if (SWIG_arg_fail(1)) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_From_int((int)(result
));
8499 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8503 PyObject
* obj0
= 0 ;
8505 (char *) "self", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8510 if (SWIG_arg_fail(1)) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= wxPyMake_wxObject(result
, 0);
8527 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8533 (char *) "self", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8538 if (SWIG_arg_fail(1)) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_From_int((int)(result
));
8555 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8561 (char *) "self", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8566 if (SWIG_arg_fail(1)) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= SWIG_From_int((int)(result
));
8583 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8586 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8588 return Py_BuildValue((char *)"");
8590 static int _wrap_SashNameStr_set(PyObject
*) {
8591 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8596 static PyObject
*_wrap_SashNameStr_get(void) {
8601 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8603 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8610 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8611 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8616 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8621 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8623 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8630 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxWindow
*arg1
= (wxWindow
*) 0 ;
8633 int arg2
= (int) -1 ;
8634 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8635 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8636 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8637 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8638 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8639 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8640 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8641 wxSashWindow
*result
;
8644 bool temp6
= false ;
8645 PyObject
* obj0
= 0 ;
8646 PyObject
* obj1
= 0 ;
8647 PyObject
* obj2
= 0 ;
8648 PyObject
* obj3
= 0 ;
8649 PyObject
* obj4
= 0 ;
8650 PyObject
* obj5
= 0 ;
8652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8657 if (SWIG_arg_fail(1)) SWIG_fail
;
8660 arg2
= (int)(SWIG_As_int(obj1
));
8661 if (SWIG_arg_fail(2)) SWIG_fail
;
8667 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8673 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8678 arg5
= (long)(SWIG_As_long(obj4
));
8679 if (SWIG_arg_fail(5)) SWIG_fail
;
8684 arg6
= wxString_in_helper(obj5
);
8685 if (arg6
== NULL
) SWIG_fail
;
8690 if (!wxPyCheckForApp()) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8712 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxSashWindow
*result
;
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8721 if (!wxPyCheckForApp()) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (wxSashWindow
*)new wxSashWindow();
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8735 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8738 wxWindow
*arg2
= (wxWindow
*) 0 ;
8739 int arg3
= (int) -1 ;
8740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8744 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8745 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8750 bool temp7
= false ;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8754 PyObject
* obj3
= 0 ;
8755 PyObject
* obj4
= 0 ;
8756 PyObject
* obj5
= 0 ;
8757 PyObject
* obj6
= 0 ;
8759 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8764 if (SWIG_arg_fail(1)) SWIG_fail
;
8765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8766 if (SWIG_arg_fail(2)) SWIG_fail
;
8769 arg3
= (int)(SWIG_As_int(obj2
));
8770 if (SWIG_arg_fail(3)) SWIG_fail
;
8776 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8782 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8787 arg6
= (long)(SWIG_As_long(obj5
));
8788 if (SWIG_arg_fail(6)) SWIG_fail
;
8793 arg7
= wxString_in_helper(obj6
);
8794 if (arg7
== NULL
) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8822 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8825 wxSashEdgePosition arg2
;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8829 PyObject
* obj2
= 0 ;
8831 (char *) "self",(char *) "edge",(char *) "sash", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8836 if (SWIG_arg_fail(1)) SWIG_fail
;
8838 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8839 if (SWIG_arg_fail(2)) SWIG_fail
;
8842 arg3
= (bool)(SWIG_As_bool(obj2
));
8843 if (SWIG_arg_fail(3)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8862 wxSashEdgePosition arg2
;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8867 (char *) "self",(char *) "edge", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8875 if (SWIG_arg_fail(2)) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8893 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8896 wxSashEdgePosition arg2
;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 PyObject
* obj2
= 0 ;
8902 (char *) "self",(char *) "edge",(char *) "border", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8907 if (SWIG_arg_fail(1)) SWIG_fail
;
8909 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8910 if (SWIG_arg_fail(2)) SWIG_fail
;
8913 arg3
= (bool)(SWIG_As_bool(obj2
));
8914 if (SWIG_arg_fail(3)) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 Py_INCREF(Py_None
); resultobj
= Py_None
;
8930 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8933 wxSashEdgePosition arg2
;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8938 (char *) "self",(char *) "edge", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8943 if (SWIG_arg_fail(1)) SWIG_fail
;
8945 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8946 if (SWIG_arg_fail(2)) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8964 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8967 wxSashEdgePosition arg2
;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8972 (char *) "self",(char *) "edge", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8977 if (SWIG_arg_fail(1)) SWIG_fail
;
8979 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8980 if (SWIG_arg_fail(2)) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_From_int((int)(result
));
8998 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9005 (char *) "self",(char *) "width", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9010 if (SWIG_arg_fail(1)) SWIG_fail
;
9012 arg2
= (int)(SWIG_As_int(obj1
));
9013 if (SWIG_arg_fail(2)) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 (arg1
)->SetDefaultBorderSize(arg2
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 Py_INCREF(Py_None
); resultobj
= Py_None
;
9029 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9033 PyObject
* obj0
= 0 ;
9035 (char *) "self", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9040 if (SWIG_arg_fail(1)) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_From_int((int)(result
));
9057 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9061 PyObject
* obj0
= 0 ;
9062 PyObject
* obj1
= 0 ;
9064 (char *) "self",(char *) "width", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9069 if (SWIG_arg_fail(1)) SWIG_fail
;
9071 arg2
= (int)(SWIG_As_int(obj1
));
9072 if (SWIG_arg_fail(2)) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 (arg1
)->SetExtraBorderSize(arg2
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "self", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_From_int((int)(result
));
9116 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9123 (char *) "self",(char *) "min", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail
;
9130 arg2
= (int)(SWIG_As_int(obj1
));
9131 if (SWIG_arg_fail(2)) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 (arg1
)->SetMinimumSizeX(arg2
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 Py_INCREF(Py_None
); resultobj
= Py_None
;
9147 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9154 (char *) "self",(char *) "min", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9159 if (SWIG_arg_fail(1)) SWIG_fail
;
9161 arg2
= (int)(SWIG_As_int(obj1
));
9162 if (SWIG_arg_fail(2)) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 (arg1
)->SetMinimumSizeY(arg2
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 Py_INCREF(Py_None
); resultobj
= Py_None
;
9178 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= SWIG_From_int((int)(result
));
9206 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_From_int((int)(result
));
9234 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9241 (char *) "self",(char *) "max", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail
;
9248 arg2
= (int)(SWIG_As_int(obj1
));
9249 if (SWIG_arg_fail(2)) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 (arg1
)->SetMaximumSizeX(arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 Py_INCREF(Py_None
); resultobj
= Py_None
;
9265 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9272 (char *) "self",(char *) "max", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9277 if (SWIG_arg_fail(1)) SWIG_fail
;
9279 arg2
= (int)(SWIG_As_int(obj1
));
9280 if (SWIG_arg_fail(2)) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 (arg1
)->SetMaximumSizeY(arg2
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 Py_INCREF(Py_None
); resultobj
= Py_None
;
9296 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9307 if (SWIG_arg_fail(1)) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_From_int((int)(result
));
9324 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9335 if (SWIG_arg_fail(1)) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_From_int((int)(result
));
9352 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9357 int arg4
= (int) 2 ;
9358 wxSashEdgePosition result
;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9361 PyObject
* obj2
= 0 ;
9362 PyObject
* obj3
= 0 ;
9364 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9369 if (SWIG_arg_fail(1)) SWIG_fail
;
9371 arg2
= (int)(SWIG_As_int(obj1
));
9372 if (SWIG_arg_fail(2)) SWIG_fail
;
9375 arg3
= (int)(SWIG_As_int(obj2
));
9376 if (SWIG_arg_fail(3)) SWIG_fail
;
9380 arg4
= (int)(SWIG_As_int(obj3
));
9381 if (SWIG_arg_fail(4)) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_From_int((result
));
9398 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9403 (char *) "self", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9408 if (SWIG_arg_fail(1)) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 (arg1
)->SizeWindows();
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 Py_INCREF(Py_None
); resultobj
= Py_None
;
9423 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9426 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9428 return Py_BuildValue((char *)"");
9430 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 int arg1
= (int) 0 ;
9433 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9434 wxSashEvent
*result
;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9438 (char *) "id",(char *) "edge", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9444 arg1
= (int)(SWIG_As_int(obj0
));
9445 if (SWIG_arg_fail(1)) SWIG_fail
;
9450 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9451 if (SWIG_arg_fail(2)) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9468 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9471 wxSashEdgePosition arg2
;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9475 (char *) "self",(char *) "edge", NULL
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9480 if (SWIG_arg_fail(1)) SWIG_fail
;
9482 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9483 if (SWIG_arg_fail(2)) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 Py_INCREF(Py_None
); resultobj
= Py_None
;
9499 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9502 wxSashEdgePosition result
;
9503 PyObject
* obj0
= 0 ;
9505 (char *) "self", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9510 if (SWIG_arg_fail(1)) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_From_int((result
));
9525 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9533 (char *) "self",(char *) "rect", NULL
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9538 if (SWIG_arg_fail(1)) SWIG_fail
;
9541 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9561 PyObject
* obj0
= 0 ;
9563 (char *) "self", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9568 if (SWIG_arg_fail(1)) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9578 resultptr
= new wxRect((wxRect
&)(result
));
9579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9587 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9590 wxSashDragStatus arg2
;
9591 PyObject
* obj0
= 0 ;
9592 PyObject
* obj1
= 0 ;
9594 (char *) "self",(char *) "status", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9599 if (SWIG_arg_fail(1)) SWIG_fail
;
9601 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9602 if (SWIG_arg_fail(2)) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 Py_INCREF(Py_None
); resultobj
= Py_None
;
9618 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9621 wxSashDragStatus result
;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_From_int((result
));
9644 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9647 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9649 return Py_BuildValue((char *)"");
9651 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 int arg1
= (int) 0 ;
9654 wxQueryLayoutInfoEvent
*result
;
9655 PyObject
* obj0
= 0 ;
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9663 arg1
= (int)(SWIG_As_int(obj0
));
9664 if (SWIG_arg_fail(1)) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9681 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9688 (char *) "self",(char *) "length", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9693 if (SWIG_arg_fail(1)) SWIG_fail
;
9695 arg2
= (int)(SWIG_As_int(obj1
));
9696 if (SWIG_arg_fail(2)) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->SetRequestedLength(arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9718 (char *) "self", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9723 if (SWIG_arg_fail(1)) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_From_int((int)(result
));
9740 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9744 PyObject
* obj0
= 0 ;
9745 PyObject
* obj1
= 0 ;
9747 (char *) "self",(char *) "flags", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9752 if (SWIG_arg_fail(1)) SWIG_fail
;
9754 arg2
= (int)(SWIG_As_int(obj1
));
9755 if (SWIG_arg_fail(2)) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 (arg1
)->SetFlags(arg2
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 Py_INCREF(Py_None
); resultobj
= Py_None
;
9771 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9782 if (SWIG_arg_fail(1)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_From_int((int)(result
));
9799 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9801 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9807 (char *) "self",(char *) "size", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9812 if (SWIG_arg_fail(1)) SWIG_fail
;
9815 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 (arg1
)->SetSize((wxSize
const &)*arg2
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 Py_INCREF(Py_None
); resultobj
= Py_None
;
9831 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9837 (char *) "self", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9842 if (SWIG_arg_fail(1)) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9852 resultptr
= new wxSize((wxSize
&)(result
));
9853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9861 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9864 wxLayoutOrientation arg2
;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9868 (char *) "self",(char *) "orient", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9873 if (SWIG_arg_fail(1)) SWIG_fail
;
9875 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9876 if (SWIG_arg_fail(2)) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 Py_INCREF(Py_None
); resultobj
= Py_None
;
9892 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9895 wxLayoutOrientation result
;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_From_int((result
));
9918 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9921 wxLayoutAlignment arg2
;
9922 PyObject
* obj0
= 0 ;
9923 PyObject
* obj1
= 0 ;
9925 (char *) "self",(char *) "align", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail
;
9932 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9933 if (SWIG_arg_fail(2)) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 Py_INCREF(Py_None
); resultobj
= Py_None
;
9949 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9952 wxLayoutAlignment result
;
9953 PyObject
* obj0
= 0 ;
9955 (char *) "self", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9960 if (SWIG_arg_fail(1)) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_From_int((result
));
9975 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9978 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9980 return Py_BuildValue((char *)"");
9982 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 int arg1
= (int) 0 ;
9985 wxCalculateLayoutEvent
*result
;
9986 PyObject
* obj0
= 0 ;
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9994 arg1
= (int)(SWIG_As_int(obj0
));
9995 if (SWIG_arg_fail(1)) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10012 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self",(char *) "flags", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10024 if (SWIG_arg_fail(1)) SWIG_fail
;
10026 arg2
= (int)(SWIG_As_int(obj1
));
10027 if (SWIG_arg_fail(2)) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 (arg1
)->SetFlags(arg2
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 Py_INCREF(Py_None
); resultobj
= Py_None
;
10043 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 char *kwnames
[] = {
10049 (char *) "self", NULL
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10054 if (SWIG_arg_fail(1)) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_From_int((int)(result
));
10071 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10073 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10076 PyObject
* obj0
= 0 ;
10077 PyObject
* obj1
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self",(char *) "rect", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10084 if (SWIG_arg_fail(1)) SWIG_fail
;
10087 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 (arg1
)->SetRect((wxRect
const &)*arg2
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 Py_INCREF(Py_None
); resultobj
= Py_None
;
10103 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10114 if (SWIG_arg_fail(1)) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10123 wxRect
* resultptr
;
10124 resultptr
= new wxRect((wxRect
&)(result
));
10125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10133 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10136 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10138 return Py_BuildValue((char *)"");
10140 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxWindow
*arg1
= (wxWindow
*) 0 ;
10143 int arg2
= (int) -1 ;
10144 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10145 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10146 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10147 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10148 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10149 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10150 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10151 wxSashLayoutWindow
*result
;
10154 bool temp6
= false ;
10155 PyObject
* obj0
= 0 ;
10156 PyObject
* obj1
= 0 ;
10157 PyObject
* obj2
= 0 ;
10158 PyObject
* obj3
= 0 ;
10159 PyObject
* obj4
= 0 ;
10160 PyObject
* obj5
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10167 if (SWIG_arg_fail(1)) SWIG_fail
;
10170 arg2
= (int)(SWIG_As_int(obj1
));
10171 if (SWIG_arg_fail(2)) SWIG_fail
;
10177 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10183 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10188 arg5
= (long)(SWIG_As_long(obj4
));
10189 if (SWIG_arg_fail(5)) SWIG_fail
;
10194 arg6
= wxString_in_helper(obj5
);
10195 if (arg6
== NULL
) SWIG_fail
;
10200 if (!wxPyCheckForApp()) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10222 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxSashLayoutWindow
*result
;
10225 char *kwnames
[] = {
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10231 if (!wxPyCheckForApp()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10245 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10248 wxWindow
*arg2
= (wxWindow
*) 0 ;
10249 int arg3
= (int) -1 ;
10250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10254 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10255 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10256 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10260 bool temp7
= false ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 PyObject
* obj2
= 0 ;
10264 PyObject
* obj3
= 0 ;
10265 PyObject
* obj4
= 0 ;
10266 PyObject
* obj5
= 0 ;
10267 PyObject
* obj6
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10274 if (SWIG_arg_fail(1)) SWIG_fail
;
10275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10276 if (SWIG_arg_fail(2)) SWIG_fail
;
10279 arg3
= (int)(SWIG_As_int(obj2
));
10280 if (SWIG_arg_fail(3)) SWIG_fail
;
10286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10292 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10297 arg6
= (long)(SWIG_As_long(obj5
));
10298 if (SWIG_arg_fail(6)) SWIG_fail
;
10303 arg7
= wxString_in_helper(obj6
);
10304 if (arg7
== NULL
) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10332 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10335 wxLayoutAlignment result
;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10343 if (SWIG_arg_fail(1)) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_From_int((result
));
10358 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10361 wxLayoutOrientation result
;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_From_int((result
));
10384 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10387 wxLayoutAlignment arg2
;
10388 PyObject
* obj0
= 0 ;
10389 PyObject
* obj1
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "alignment", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail
;
10398 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10399 if (SWIG_arg_fail(2)) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self",(char *) "size", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10428 if (SWIG_arg_fail(1)) SWIG_fail
;
10431 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10450 wxLayoutOrientation arg2
;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self",(char *) "orientation", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10459 if (SWIG_arg_fail(1)) SWIG_fail
;
10461 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10462 if (SWIG_arg_fail(2)) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 Py_INCREF(Py_None
); resultobj
= Py_None
;
10478 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10481 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10483 return Py_BuildValue((char *)"");
10485 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxLayoutAlgorithm
*result
;
10488 char *kwnames
[] = {
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10507 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10517 if (SWIG_arg_fail(1)) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 Py_INCREF(Py_None
); resultobj
= Py_None
;
10532 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10535 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10536 wxRect
*arg3
= (wxRect
*) NULL
;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 PyObject
* obj2
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self",(char *) "frame",(char *) "rect", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10547 if (SWIG_arg_fail(1)) SWIG_fail
;
10548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10549 if (SWIG_arg_fail(2)) SWIG_fail
;
10551 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10552 if (SWIG_arg_fail(3)) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10570 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10573 wxFrame
*arg2
= (wxFrame
*) 0 ;
10574 wxWindow
*arg3
= (wxWindow
*) NULL
;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 PyObject
* obj2
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10585 if (SWIG_arg_fail(1)) SWIG_fail
;
10586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10587 if (SWIG_arg_fail(2)) SWIG_fail
;
10589 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10590 if (SWIG_arg_fail(3)) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10608 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10611 wxWindow
*arg2
= (wxWindow
*) 0 ;
10612 wxWindow
*arg3
= (wxWindow
*) NULL
;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 PyObject
* obj2
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10623 if (SWIG_arg_fail(1)) SWIG_fail
;
10624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10625 if (SWIG_arg_fail(2)) SWIG_fail
;
10627 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10628 if (SWIG_arg_fail(3)) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10646 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10651 return Py_BuildValue((char *)"");
10653 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxWindow
*arg1
= (wxWindow
*) 0 ;
10656 int arg2
= (int) wxBORDER_NONE
;
10657 wxPopupWindow
*result
;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "parent",(char *) "flags", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10666 if (SWIG_arg_fail(1)) SWIG_fail
;
10669 arg2
= (int)(SWIG_As_int(obj1
));
10670 if (SWIG_arg_fail(2)) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10687 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxPopupWindow
*result
;
10690 char *kwnames
[] = {
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (wxPopupWindow
*)new wxPopupWindow();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10709 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10712 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10714 return Py_BuildValue((char *)"");
10716 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxWindow
*arg1
= (wxWindow
*) 0 ;
10719 int arg2
= (int) wxBORDER_NONE
;
10720 wxPyPopupTransientWindow
*result
;
10721 PyObject
* obj0
= 0 ;
10722 PyObject
* obj1
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "parent",(char *) "style", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10729 if (SWIG_arg_fail(1)) SWIG_fail
;
10732 arg2
= (int)(SWIG_As_int(obj1
));
10733 if (SWIG_arg_fail(2)) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10750 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxPyPopupTransientWindow
*result
;
10753 char *kwnames
[] = {
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10772 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10775 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10777 return Py_BuildValue((char *)"");
10779 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxWindow
*arg1
= (wxWindow
*) 0 ;
10782 wxString
*arg2
= 0 ;
10783 int arg3
= (int) 100 ;
10784 wxRect
*arg4
= (wxRect
*) NULL
;
10785 wxTipWindow
*result
;
10786 bool temp2
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 PyObject
* obj2
= 0 ;
10790 PyObject
* obj3
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10797 if (SWIG_arg_fail(1)) SWIG_fail
;
10799 arg2
= wxString_in_helper(obj1
);
10800 if (arg2
== NULL
) SWIG_fail
;
10805 arg3
= (int)(SWIG_As_int(obj2
));
10806 if (SWIG_arg_fail(3)) SWIG_fail
;
10810 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10811 if (SWIG_arg_fail(4)) SWIG_fail
;
10814 if (!wxPyCheckForApp()) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10836 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self",(char *) "rectBound", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail
;
10852 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 Py_INCREF(Py_None
); resultobj
= Py_None
;
10868 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10896 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10898 return Py_BuildValue((char *)"");
10900 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxWindow
*arg1
= (wxWindow
*) 0 ;
10903 int arg2
= (int) wxID_ANY
;
10904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10908 long arg5
= (long) 0 ;
10909 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10910 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10911 wxPyVScrolledWindow
*result
;
10914 bool temp6
= false ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 PyObject
* obj2
= 0 ;
10918 PyObject
* obj3
= 0 ;
10919 PyObject
* obj4
= 0 ;
10920 PyObject
* obj5
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10927 if (SWIG_arg_fail(1)) SWIG_fail
;
10930 arg2
= (int)(SWIG_As_int(obj1
));
10931 if (SWIG_arg_fail(2)) SWIG_fail
;
10937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10943 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10948 arg5
= (long)(SWIG_As_long(obj4
));
10949 if (SWIG_arg_fail(5)) SWIG_fail
;
10954 arg6
= wxString_in_helper(obj5
);
10955 if (arg6
== NULL
) SWIG_fail
;
10960 if (!wxPyCheckForApp()) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10982 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxPyVScrolledWindow
*result
;
10985 char *kwnames
[] = {
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10991 if (!wxPyCheckForApp()) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11005 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11008 PyObject
*arg2
= (PyObject
*) 0 ;
11009 PyObject
*arg3
= (PyObject
*) 0 ;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 PyObject
* obj2
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "self",(char *) "_class", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11019 if (SWIG_arg_fail(1)) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 Py_INCREF(Py_None
); resultobj
= Py_None
;
11036 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11039 wxWindow
*arg2
= (wxWindow
*) 0 ;
11040 int arg3
= (int) wxID_ANY
;
11041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11045 long arg6
= (long) 0 ;
11046 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11051 bool temp7
= false ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 PyObject
* obj2
= 0 ;
11055 PyObject
* obj3
= 0 ;
11056 PyObject
* obj4
= 0 ;
11057 PyObject
* obj5
= 0 ;
11058 PyObject
* obj6
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11065 if (SWIG_arg_fail(1)) SWIG_fail
;
11066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11067 if (SWIG_arg_fail(2)) SWIG_fail
;
11070 arg3
= (int)(SWIG_As_int(obj2
));
11071 if (SWIG_arg_fail(3)) SWIG_fail
;
11077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11088 arg6
= (long)(SWIG_As_long(obj5
));
11089 if (SWIG_arg_fail(6)) SWIG_fail
;
11094 arg7
= wxString_in_helper(obj6
);
11095 if (arg7
== NULL
) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11123 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 char *kwnames
[] = {
11130 (char *) "self",(char *) "count", NULL
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11135 if (SWIG_arg_fail(1)) SWIG_fail
;
11137 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11138 if (SWIG_arg_fail(2)) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 (arg1
)->SetLineCount(arg2
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 Py_INCREF(Py_None
); resultobj
= Py_None
;
11154 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self",(char *) "line", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11167 if (SWIG_arg_fail(1)) SWIG_fail
;
11169 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11170 if (SWIG_arg_fail(2)) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self",(char *) "lines", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11201 if (SWIG_arg_fail(1)) SWIG_fail
;
11203 arg2
= (int)(SWIG_As_int(obj1
));
11204 if (SWIG_arg_fail(2)) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (bool)(arg1
)->ScrollLines(arg2
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11222 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self",(char *) "pages", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11235 if (SWIG_arg_fail(1)) SWIG_fail
;
11237 arg2
= (int)(SWIG_As_int(obj1
));
11238 if (SWIG_arg_fail(2)) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 result
= (bool)(arg1
)->ScrollPages(arg2
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11256 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "line", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail
;
11270 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11271 if (SWIG_arg_fail(2)) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 (arg1
)->RefreshLine(arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 Py_INCREF(Py_None
); resultobj
= Py_None
;
11287 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11292 PyObject
* obj0
= 0 ;
11293 PyObject
* obj1
= 0 ;
11294 PyObject
* obj2
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self",(char *) "from",(char *) "to", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11301 if (SWIG_arg_fail(1)) SWIG_fail
;
11303 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11304 if (SWIG_arg_fail(2)) SWIG_fail
;
11307 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11308 if (SWIG_arg_fail(3)) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 (arg1
)->RefreshLines(arg2
,arg3
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 Py_INCREF(Py_None
); resultobj
= Py_None
;
11324 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 PyObject
* obj2
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "x",(char *) "y", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11339 if (SWIG_arg_fail(1)) SWIG_fail
;
11341 arg2
= (int)(SWIG_As_int(obj1
));
11342 if (SWIG_arg_fail(2)) SWIG_fail
;
11345 arg3
= (int)(SWIG_As_int(obj2
));
11346 if (SWIG_arg_fail(3)) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_From_int((int)(result
));
11364 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11367 wxPoint
*arg2
= 0 ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "pt", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_From_int((int)(result
));
11399 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",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 (arg1
)->RefreshAll();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 Py_INCREF(Py_None
); resultobj
= Py_None
;
11424 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11428 PyObject
* obj0
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11444 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11452 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "self", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11463 if (SWIG_arg_fail(1)) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11480 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11484 PyObject
* obj0
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11491 if (SWIG_arg_fail(1)) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11508 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self",(char *) "line", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail
;
11523 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11524 if (SWIG_arg_fail(2)) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11542 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11553 if (SWIG_arg_fail(1)) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11570 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11581 if (SWIG_arg_fail(1)) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11598 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11601 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11603 return Py_BuildValue((char *)"");
11605 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11606 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11611 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11616 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11618 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11625 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxWindow
*arg1
= (wxWindow
*) 0 ;
11628 int arg2
= (int) wxID_ANY
;
11629 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11630 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11631 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11632 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11633 long arg5
= (long) 0 ;
11634 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11635 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11636 wxPyVListBox
*result
;
11639 bool temp6
= false ;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 PyObject
* obj2
= 0 ;
11643 PyObject
* obj3
= 0 ;
11644 PyObject
* obj4
= 0 ;
11645 PyObject
* obj5
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11652 if (SWIG_arg_fail(1)) SWIG_fail
;
11655 arg2
= (int)(SWIG_As_int(obj1
));
11656 if (SWIG_arg_fail(2)) SWIG_fail
;
11662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11673 arg5
= (long)(SWIG_As_long(obj4
));
11674 if (SWIG_arg_fail(5)) SWIG_fail
;
11679 arg6
= wxString_in_helper(obj5
);
11680 if (arg6
== NULL
) SWIG_fail
;
11685 if (!wxPyCheckForApp()) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11707 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxPyVListBox
*result
;
11710 char *kwnames
[] = {
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11716 if (!wxPyCheckForApp()) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (wxPyVListBox
*)new wxPyVListBox();
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11730 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11733 PyObject
*arg2
= (PyObject
*) 0 ;
11734 PyObject
*arg3
= (PyObject
*) 0 ;
11735 PyObject
* obj0
= 0 ;
11736 PyObject
* obj1
= 0 ;
11737 PyObject
* obj2
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self",(char *) "self",(char *) "_class", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11744 if (SWIG_arg_fail(1)) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 Py_INCREF(Py_None
); resultobj
= Py_None
;
11761 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11764 wxWindow
*arg2
= (wxWindow
*) 0 ;
11765 int arg3
= (int) wxID_ANY
;
11766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11770 long arg6
= (long) 0 ;
11771 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11772 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11776 bool temp7
= false ;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 PyObject
* obj2
= 0 ;
11780 PyObject
* obj3
= 0 ;
11781 PyObject
* obj4
= 0 ;
11782 PyObject
* obj5
= 0 ;
11783 PyObject
* obj6
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11790 if (SWIG_arg_fail(1)) SWIG_fail
;
11791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11792 if (SWIG_arg_fail(2)) SWIG_fail
;
11795 arg3
= (int)(SWIG_As_int(obj2
));
11796 if (SWIG_arg_fail(3)) SWIG_fail
;
11802 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11808 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11813 arg6
= (long)(SWIG_As_long(obj5
));
11814 if (SWIG_arg_fail(6)) SWIG_fail
;
11819 arg7
= wxString_in_helper(obj6
);
11820 if (arg7
== NULL
) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11848 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11876 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11904 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_From_int((int)(result
));
11932 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self",(char *) "item", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11945 if (SWIG_arg_fail(1)) SWIG_fail
;
11947 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11948 if (SWIG_arg_fail(2)) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11966 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self",(char *) "item", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11979 if (SWIG_arg_fail(1)) SWIG_fail
;
11981 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11982 if (SWIG_arg_fail(2)) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12000 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "self", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12011 if (SWIG_arg_fail(1)) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12028 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12032 PyObject
* obj0
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12039 if (SWIG_arg_fail(1)) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= result
;
12054 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12057 unsigned long arg2
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "cookie", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12067 if (SWIG_arg_fail(1)) SWIG_fail
;
12069 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12070 if (SWIG_arg_fail(2)) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= result
;
12086 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12106 wxPoint
* resultptr
;
12107 resultptr
= new wxPoint((wxPoint
&)(result
));
12108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12116 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12120 PyObject
* obj0
= 0 ;
12121 char *kwnames
[] = {
12122 (char *) "self", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12127 if (SWIG_arg_fail(1)) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12132 result
= (wxColour
*) &_result_ref
;
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12145 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self",(char *) "count", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12157 if (SWIG_arg_fail(1)) SWIG_fail
;
12159 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12160 if (SWIG_arg_fail(2)) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 (arg1
)->SetItemCount(arg2
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 Py_INCREF(Py_None
); resultobj
= Py_None
;
12176 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12186 if (SWIG_arg_fail(1)) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self",(char *) "selection", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12213 if (SWIG_arg_fail(1)) SWIG_fail
;
12215 arg2
= (int)(SWIG_As_int(obj1
));
12216 if (SWIG_arg_fail(2)) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->SetSelection(arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 Py_INCREF(Py_None
); resultobj
= Py_None
;
12232 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12236 bool arg3
= (bool) true ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 PyObject
* obj2
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self",(char *) "item",(char *) "select", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12247 if (SWIG_arg_fail(1)) SWIG_fail
;
12249 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12250 if (SWIG_arg_fail(2)) SWIG_fail
;
12254 arg3
= (bool)(SWIG_As_bool(obj2
));
12255 if (SWIG_arg_fail(3)) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12274 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 PyObject
* obj2
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "from",(char *) "to", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12289 if (SWIG_arg_fail(1)) SWIG_fail
;
12291 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12292 if (SWIG_arg_fail(2)) SWIG_fail
;
12295 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12296 if (SWIG_arg_fail(3)) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12314 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self",(char *) "item", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12326 if (SWIG_arg_fail(1)) SWIG_fail
;
12328 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12329 if (SWIG_arg_fail(2)) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->Toggle(arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (bool)(arg1
)->SelectAll();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12373 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (bool)(arg1
)->DeselectAll();
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12401 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12404 wxPoint
*arg2
= 0 ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "pt", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12414 if (SWIG_arg_fail(1)) SWIG_fail
;
12417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 Py_INCREF(Py_None
); resultobj
= Py_None
;
12433 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "x",(char *) "y", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12447 if (SWIG_arg_fail(1)) SWIG_fail
;
12449 arg2
= (int)(SWIG_As_int(obj1
));
12450 if (SWIG_arg_fail(2)) SWIG_fail
;
12453 arg3
= (int)(SWIG_As_int(obj2
));
12454 if (SWIG_arg_fail(3)) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->SetMargins(arg2
,arg3
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12473 wxColour
*arg2
= 0 ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self",(char *) "col", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12483 if (SWIG_arg_fail(1)) SWIG_fail
;
12486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 Py_INCREF(Py_None
); resultobj
= Py_None
;
12502 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12505 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12507 return Py_BuildValue((char *)"");
12509 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxWindow
*arg1
= (wxWindow
*) 0 ;
12512 int arg2
= (int) wxID_ANY
;
12513 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12514 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12515 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12516 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12517 long arg5
= (long) 0 ;
12518 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12519 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12520 wxPyHtmlListBox
*result
;
12523 bool temp6
= false ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 PyObject
* obj2
= 0 ;
12527 PyObject
* obj3
= 0 ;
12528 PyObject
* obj4
= 0 ;
12529 PyObject
* obj5
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12536 if (SWIG_arg_fail(1)) SWIG_fail
;
12539 arg2
= (int)(SWIG_As_int(obj1
));
12540 if (SWIG_arg_fail(2)) SWIG_fail
;
12546 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12552 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12557 arg5
= (long)(SWIG_As_long(obj4
));
12558 if (SWIG_arg_fail(5)) SWIG_fail
;
12563 arg6
= wxString_in_helper(obj5
);
12564 if (arg6
== NULL
) SWIG_fail
;
12569 if (!wxPyCheckForApp()) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12591 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxPyHtmlListBox
*result
;
12594 char *kwnames
[] = {
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12600 if (!wxPyCheckForApp()) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12614 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12617 PyObject
*arg2
= (PyObject
*) 0 ;
12618 PyObject
*arg3
= (PyObject
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 PyObject
* obj2
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self",(char *) "self",(char *) "_class", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12628 if (SWIG_arg_fail(1)) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 Py_INCREF(Py_None
); resultobj
= Py_None
;
12645 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12648 wxWindow
*arg2
= (wxWindow
*) 0 ;
12649 int arg3
= (int) wxID_ANY
;
12650 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12651 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12652 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12653 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12654 long arg6
= (long) 0 ;
12655 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12656 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12660 bool temp7
= false ;
12661 PyObject
* obj0
= 0 ;
12662 PyObject
* obj1
= 0 ;
12663 PyObject
* obj2
= 0 ;
12664 PyObject
* obj3
= 0 ;
12665 PyObject
* obj4
= 0 ;
12666 PyObject
* obj5
= 0 ;
12667 PyObject
* obj6
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12674 if (SWIG_arg_fail(1)) SWIG_fail
;
12675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12676 if (SWIG_arg_fail(2)) SWIG_fail
;
12679 arg3
= (int)(SWIG_As_int(obj2
));
12680 if (SWIG_arg_fail(3)) SWIG_fail
;
12686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12697 arg6
= (long)(SWIG_As_long(obj5
));
12698 if (SWIG_arg_fail(6)) SWIG_fail
;
12703 arg7
= wxString_in_helper(obj6
);
12704 if (arg7
== NULL
) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12732 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12742 if (SWIG_arg_fail(1)) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 (arg1
)->RefreshAll();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 Py_INCREF(Py_None
); resultobj
= Py_None
;
12757 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self",(char *) "count", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12769 if (SWIG_arg_fail(1)) SWIG_fail
;
12771 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12772 if (SWIG_arg_fail(2)) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 (arg1
)->SetItemCount(arg2
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 Py_INCREF(Py_None
); resultobj
= Py_None
;
12788 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
;
12790 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12791 wxFileSystem
*result
;
12792 PyObject
* obj0
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12799 if (SWIG_arg_fail(1)) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12804 result
= (wxFileSystem
*) &_result_ref
;
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12817 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12820 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12822 return Py_BuildValue((char *)"");
12824 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxPyTaskBarIcon
*result
;
12827 char *kwnames
[] = {
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12833 if (!wxPyCheckForApp()) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12847 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12850 PyObject
*arg2
= (PyObject
*) 0 ;
12851 PyObject
*arg3
= (PyObject
*) 0 ;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 PyObject
* obj3
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12863 if (SWIG_arg_fail(1)) SWIG_fail
;
12867 arg4
= (int)(SWIG_As_int(obj3
));
12868 if (SWIG_arg_fail(4)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12887 PyObject
* obj0
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12894 if (SWIG_arg_fail(1)) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 wxPyTaskBarIcon_Destroy(arg1
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12937 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12948 if (SWIG_arg_fail(1)) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12965 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12969 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12970 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12972 bool temp3
= false ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 PyObject
* obj2
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12982 if (SWIG_arg_fail(1)) SWIG_fail
;
12984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12985 if (SWIG_arg_fail(2)) SWIG_fail
;
12986 if (arg2
== NULL
) {
12987 SWIG_null_ref("wxIcon");
12989 if (SWIG_arg_fail(2)) SWIG_fail
;
12993 arg3
= wxString_in_helper(obj2
);
12994 if (arg3
== NULL
) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13022 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (bool)(arg1
)->RemoveIcon();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13050 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13053 wxMenu
*arg2
= (wxMenu
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self",(char *) "menu", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13063 if (SWIG_arg_fail(1)) SWIG_fail
;
13064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(2)) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (bool)(arg1
)->PopupMenu(arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13082 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13085 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13087 return Py_BuildValue((char *)"");
13089 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13092 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13093 wxTaskBarIconEvent
*result
;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "evtType",(char *) "tbIcon", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13102 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13103 if (SWIG_arg_fail(1)) SWIG_fail
;
13105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13106 if (SWIG_arg_fail(2)) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13121 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13124 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13126 return Py_BuildValue((char *)"");
13128 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13129 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13134 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13139 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13141 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13148 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13149 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13154 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13159 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13161 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13168 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13169 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13174 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13179 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13181 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13188 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13189 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13194 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13199 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13201 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13208 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13209 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13214 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13219 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13221 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13228 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13229 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13234 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13239 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13241 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13248 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxColourData
*result
;
13251 char *kwnames
[] = {
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (wxColourData
*)new wxColourData();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13270 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxColourData
*arg1
= (wxColourData
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13280 if (SWIG_arg_fail(1)) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 Py_INCREF(Py_None
); resultobj
= Py_None
;
13295 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxColourData
*arg1
= (wxColourData
*) 0 ;
13299 PyObject
* obj0
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13306 if (SWIG_arg_fail(1)) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (bool)(arg1
)->GetChooseFull();
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13323 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxColourData
*arg1
= (wxColourData
*) 0 ;
13327 PyObject
* obj0
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13334 if (SWIG_arg_fail(1)) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (arg1
)->GetColour();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 wxColour
* resultptr
;
13344 resultptr
= new wxColour((wxColour
&)(result
));
13345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13353 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxColourData
*arg1
= (wxColourData
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "i", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail
;
13368 arg2
= (int)(SWIG_As_int(obj1
));
13369 if (SWIG_arg_fail(2)) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (arg1
)->GetCustomColour(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 wxColour
* resultptr
;
13380 resultptr
= new wxColour((wxColour
&)(result
));
13381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13389 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxColourData
*arg1
= (wxColourData
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self",(char *) "flag", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13401 if (SWIG_arg_fail(1)) SWIG_fail
;
13403 arg2
= (int)(SWIG_As_int(obj1
));
13404 if (SWIG_arg_fail(2)) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 (arg1
)->SetChooseFull(arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxColourData
*arg1
= (wxColourData
*) 0 ;
13423 wxColour
*arg2
= 0 ;
13425 PyObject
* obj0
= 0 ;
13426 PyObject
* obj1
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "colour", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13433 if (SWIG_arg_fail(1)) SWIG_fail
;
13436 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 (arg1
)->SetColour((wxColour
const &)*arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxColourData
*arg1
= (wxColourData
*) 0 ;
13456 wxColour
*arg3
= 0 ;
13458 PyObject
* obj0
= 0 ;
13459 PyObject
* obj1
= 0 ;
13460 PyObject
* obj2
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self",(char *) "i",(char *) "colour", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13467 if (SWIG_arg_fail(1)) SWIG_fail
;
13469 arg2
= (int)(SWIG_As_int(obj1
));
13470 if (SWIG_arg_fail(2)) SWIG_fail
;
13474 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 Py_INCREF(Py_None
); resultobj
= Py_None
;
13490 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13493 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13495 return Py_BuildValue((char *)"");
13497 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxWindow
*arg1
= (wxWindow
*) 0 ;
13500 wxColourData
*arg2
= (wxColourData
*) NULL
;
13501 wxColourDialog
*result
;
13502 PyObject
* obj0
= 0 ;
13503 PyObject
* obj1
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "parent",(char *) "data", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail
;
13512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13513 if (SWIG_arg_fail(2)) SWIG_fail
;
13516 if (!wxPyCheckForApp()) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13530 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13533 wxColourData
*result
;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13546 result
= (wxColourData
*) &_result_ref
;
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13559 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13562 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13564 return Py_BuildValue((char *)"");
13566 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxWindow
*arg1
= (wxWindow
*) 0 ;
13569 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13570 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13571 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13573 long arg4
= (long) 0 ;
13574 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13575 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13576 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13577 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13578 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13579 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13580 wxDirDialog
*result
;
13581 bool temp2
= false ;
13582 bool temp3
= false ;
13585 bool temp7
= false ;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 PyObject
* obj2
= 0 ;
13589 PyObject
* obj3
= 0 ;
13590 PyObject
* obj4
= 0 ;
13591 PyObject
* obj5
= 0 ;
13592 PyObject
* obj6
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13599 if (SWIG_arg_fail(1)) SWIG_fail
;
13602 arg2
= wxString_in_helper(obj1
);
13603 if (arg2
== NULL
) SWIG_fail
;
13609 arg3
= wxString_in_helper(obj2
);
13610 if (arg3
== NULL
) SWIG_fail
;
13616 arg4
= (long)(SWIG_As_long(obj3
));
13617 if (SWIG_arg_fail(4)) SWIG_fail
;
13623 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13629 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13634 arg7
= wxString_in_helper(obj6
);
13635 if (arg7
== NULL
) SWIG_fail
;
13640 if (!wxPyCheckForApp()) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13678 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13682 PyObject
* obj0
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13689 if (SWIG_arg_fail(1)) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 result
= (arg1
)->GetPath();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13710 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13721 if (SWIG_arg_fail(1)) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (arg1
)->GetMessage();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13742 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13746 PyObject
* obj0
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13753 if (SWIG_arg_fail(1)) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (long)(arg1
)->GetStyle();
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_From_long((long)(result
));
13770 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13773 wxString
*arg2
= 0 ;
13774 bool temp2
= false ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "self",(char *) "message", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13783 if (SWIG_arg_fail(1)) SWIG_fail
;
13785 arg2
= wxString_in_helper(obj1
);
13786 if (arg2
== NULL
) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 (arg1
)->SetMessage((wxString
const &)*arg2
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 Py_INCREF(Py_None
); resultobj
= Py_None
;
13811 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13814 wxString
*arg2
= 0 ;
13815 bool temp2
= false ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self",(char *) "path", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13824 if (SWIG_arg_fail(1)) SWIG_fail
;
13826 arg2
= wxString_in_helper(obj1
);
13827 if (arg2
== NULL
) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 (arg1
)->SetPath((wxString
const &)*arg2
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 Py_INCREF(Py_None
); resultobj
= Py_None
;
13852 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13855 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13857 return Py_BuildValue((char *)"");
13859 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxWindow
*arg1
= (wxWindow
*) 0 ;
13862 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13863 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13864 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13866 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13867 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13868 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13869 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13870 long arg6
= (long) 0 ;
13871 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13872 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13873 wxFileDialog
*result
;
13874 bool temp2
= false ;
13875 bool temp3
= false ;
13876 bool temp4
= false ;
13877 bool temp5
= false ;
13879 PyObject
* obj0
= 0 ;
13880 PyObject
* obj1
= 0 ;
13881 PyObject
* obj2
= 0 ;
13882 PyObject
* obj3
= 0 ;
13883 PyObject
* obj4
= 0 ;
13884 PyObject
* obj5
= 0 ;
13885 PyObject
* obj6
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13892 if (SWIG_arg_fail(1)) SWIG_fail
;
13895 arg2
= wxString_in_helper(obj1
);
13896 if (arg2
== NULL
) SWIG_fail
;
13902 arg3
= wxString_in_helper(obj2
);
13903 if (arg3
== NULL
) SWIG_fail
;
13909 arg4
= wxString_in_helper(obj3
);
13910 if (arg4
== NULL
) SWIG_fail
;
13916 arg5
= wxString_in_helper(obj4
);
13917 if (arg5
== NULL
) SWIG_fail
;
13923 arg6
= (long)(SWIG_As_long(obj5
));
13924 if (SWIG_arg_fail(6)) SWIG_fail
;
13930 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13934 if (!wxPyCheckForApp()) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13980 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13983 wxString
*arg2
= 0 ;
13984 bool temp2
= false ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "message", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13993 if (SWIG_arg_fail(1)) SWIG_fail
;
13995 arg2
= wxString_in_helper(obj1
);
13996 if (arg2
== NULL
) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 (arg1
)->SetMessage((wxString
const &)*arg2
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 Py_INCREF(Py_None
); resultobj
= Py_None
;
14021 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14024 wxString
*arg2
= 0 ;
14025 bool temp2
= false ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self",(char *) "path", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14034 if (SWIG_arg_fail(1)) SWIG_fail
;
14036 arg2
= wxString_in_helper(obj1
);
14037 if (arg2
== NULL
) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 (arg1
)->SetPath((wxString
const &)*arg2
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 Py_INCREF(Py_None
); resultobj
= Py_None
;
14062 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14065 wxString
*arg2
= 0 ;
14066 bool temp2
= false ;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "dir", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail
;
14077 arg2
= wxString_in_helper(obj1
);
14078 if (arg2
== NULL
) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 Py_INCREF(Py_None
); resultobj
= Py_None
;
14103 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14106 wxString
*arg2
= 0 ;
14107 bool temp2
= false ;
14108 PyObject
* obj0
= 0 ;
14109 PyObject
* obj1
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self",(char *) "name", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14116 if (SWIG_arg_fail(1)) SWIG_fail
;
14118 arg2
= wxString_in_helper(obj1
);
14119 if (arg2
== NULL
) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 (arg1
)->SetFilename((wxString
const &)*arg2
);
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 Py_INCREF(Py_None
); resultobj
= Py_None
;
14144 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14147 wxString
*arg2
= 0 ;
14148 bool temp2
= false ;
14149 PyObject
* obj0
= 0 ;
14150 PyObject
* obj1
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self",(char *) "wildCard", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14157 if (SWIG_arg_fail(1)) SWIG_fail
;
14159 arg2
= wxString_in_helper(obj1
);
14160 if (arg2
== NULL
) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14185 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "style", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14197 if (SWIG_arg_fail(1)) SWIG_fail
;
14199 arg2
= (long)(SWIG_As_long(obj1
));
14200 if (SWIG_arg_fail(2)) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 (arg1
)->SetStyle(arg2
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 Py_INCREF(Py_None
); resultobj
= Py_None
;
14216 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 PyObject
* obj1
= 0 ;
14222 char *kwnames
[] = {
14223 (char *) "self",(char *) "filterIndex", NULL
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14228 if (SWIG_arg_fail(1)) SWIG_fail
;
14230 arg2
= (int)(SWIG_As_int(obj1
));
14231 if (SWIG_arg_fail(2)) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 (arg1
)->SetFilterIndex(arg2
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 Py_INCREF(Py_None
); resultobj
= Py_None
;
14247 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14258 if (SWIG_arg_fail(1)) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14279 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14283 PyObject
* obj0
= 0 ;
14284 char *kwnames
[] = {
14285 (char *) "self", NULL
14288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14290 if (SWIG_arg_fail(1)) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14311 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14315 PyObject
* obj0
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14343 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14354 if (SWIG_arg_fail(1)) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14375 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14386 if (SWIG_arg_fail(1)) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14407 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14418 if (SWIG_arg_fail(1)) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= SWIG_From_long((long)(result
));
14435 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14446 if (SWIG_arg_fail(1)) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_From_int((int)(result
));
14463 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14474 if (SWIG_arg_fail(1)) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= result
;
14489 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14500 if (SWIG_arg_fail(1)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
;
14515 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14520 return Py_BuildValue((char *)"");
14522 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxWindow
*arg1
= (wxWindow
*) 0 ;
14525 wxString
*arg2
= 0 ;
14526 wxString
*arg3
= 0 ;
14527 int arg4
= (int) 0 ;
14528 wxString
*arg5
= (wxString
*) NULL
;
14529 long arg6
= (long) wxCHOICEDLG_STYLE
;
14530 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14531 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14532 wxMultiChoiceDialog
*result
;
14533 bool temp2
= false ;
14534 bool temp3
= false ;
14536 PyObject
* obj0
= 0 ;
14537 PyObject
* obj1
= 0 ;
14538 PyObject
* obj2
= 0 ;
14539 PyObject
* obj3
= 0 ;
14540 PyObject
* obj4
= 0 ;
14541 PyObject
* obj5
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14548 if (SWIG_arg_fail(1)) SWIG_fail
;
14550 arg2
= wxString_in_helper(obj1
);
14551 if (arg2
== NULL
) SWIG_fail
;
14555 arg3
= wxString_in_helper(obj2
);
14556 if (arg3
== NULL
) SWIG_fail
;
14561 arg4
= PyList_Size(obj3
);
14562 arg5
= wxString_LIST_helper(obj3
);
14563 if (arg5
== NULL
) SWIG_fail
;
14568 arg6
= (long)(SWIG_As_long(obj4
));
14569 if (SWIG_arg_fail(6)) SWIG_fail
;
14575 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14579 if (!wxPyCheckForApp()) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14596 if (arg5
) delete [] arg5
;
14609 if (arg5
) delete [] arg5
;
14615 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14618 wxArrayInt
*arg2
= 0 ;
14619 bool temp2
= false ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj1
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "selections", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14628 if (SWIG_arg_fail(1)) SWIG_fail
;
14630 if (! PySequence_Check(obj1
)) {
14631 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14634 arg2
= new wxArrayInt
;
14636 int i
, len
=PySequence_Length(obj1
);
14637 for (i
=0; i
<len
; i
++) {
14638 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14639 PyObject
* number
= PyNumber_Int(item
);
14640 arg2
->Add(PyInt_AS_LONG(number
));
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 Py_INCREF(Py_None
); resultobj
= Py_None
;
14654 if (temp2
) delete arg2
;
14659 if (temp2
) delete arg2
;
14665 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14676 if (SWIG_arg_fail(1)) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
;
14691 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14694 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14696 return Py_BuildValue((char *)"");
14698 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxWindow
*arg1
= (wxWindow
*) 0 ;
14701 wxString
*arg2
= 0 ;
14702 wxString
*arg3
= 0 ;
14704 wxString
*arg5
= (wxString
*) 0 ;
14705 long arg6
= (long) wxCHOICEDLG_STYLE
;
14706 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14707 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14708 wxSingleChoiceDialog
*result
;
14709 bool temp2
= false ;
14710 bool temp3
= false ;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 PyObject
* obj2
= 0 ;
14715 PyObject
* obj3
= 0 ;
14716 PyObject
* obj4
= 0 ;
14717 PyObject
* obj5
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14724 if (SWIG_arg_fail(1)) SWIG_fail
;
14726 arg2
= wxString_in_helper(obj1
);
14727 if (arg2
== NULL
) SWIG_fail
;
14731 arg3
= wxString_in_helper(obj2
);
14732 if (arg3
== NULL
) SWIG_fail
;
14736 arg4
= PyList_Size(obj3
);
14737 arg5
= wxString_LIST_helper(obj3
);
14738 if (arg5
== NULL
) SWIG_fail
;
14742 arg6
= (long)(SWIG_As_long(obj4
));
14743 if (SWIG_arg_fail(6)) SWIG_fail
;
14749 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14753 if (!wxPyCheckForApp()) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14770 if (arg5
) delete [] arg5
;
14783 if (arg5
) delete [] arg5
;
14789 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14800 if (SWIG_arg_fail(1)) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (int)(arg1
)->GetSelection();
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_From_int((int)(result
));
14817 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14828 if (SWIG_arg_fail(1)) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (arg1
)->GetStringSelection();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14849 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "sel", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail
;
14863 arg2
= (int)(SWIG_As_int(obj1
));
14864 if (SWIG_arg_fail(2)) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 (arg1
)->SetSelection(arg2
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 Py_INCREF(Py_None
); resultobj
= Py_None
;
14880 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14883 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14885 return Py_BuildValue((char *)"");
14887 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxWindow
*arg1
= (wxWindow
*) 0 ;
14890 wxString
*arg2
= 0 ;
14891 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14892 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14893 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14894 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14895 long arg5
= (long) wxTextEntryDialogStyle
;
14896 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14897 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14898 wxTextEntryDialog
*result
;
14899 bool temp2
= false ;
14900 bool temp3
= false ;
14901 bool temp4
= false ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 PyObject
* obj3
= 0 ;
14907 PyObject
* obj4
= 0 ;
14908 PyObject
* obj5
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14915 if (SWIG_arg_fail(1)) SWIG_fail
;
14917 arg2
= wxString_in_helper(obj1
);
14918 if (arg2
== NULL
) SWIG_fail
;
14923 arg3
= wxString_in_helper(obj2
);
14924 if (arg3
== NULL
) SWIG_fail
;
14930 arg4
= wxString_in_helper(obj3
);
14931 if (arg4
== NULL
) SWIG_fail
;
14937 arg5
= (long)(SWIG_As_long(obj4
));
14938 if (SWIG_arg_fail(5)) SWIG_fail
;
14944 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14948 if (!wxPyCheckForApp()) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14986 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14997 if (SWIG_arg_fail(1)) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (arg1
)->GetValue();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15018 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15021 wxString
*arg2
= 0 ;
15022 bool temp2
= false ;
15023 PyObject
* obj0
= 0 ;
15024 PyObject
* obj1
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self",(char *) "value", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15031 if (SWIG_arg_fail(1)) SWIG_fail
;
15033 arg2
= wxString_in_helper(obj1
);
15034 if (arg2
== NULL
) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 (arg1
)->SetValue((wxString
const &)*arg2
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 Py_INCREF(Py_None
); resultobj
= Py_None
;
15059 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15062 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15064 return Py_BuildValue((char *)"");
15066 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15067 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15072 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15077 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15079 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15086 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxWindow
*arg1
= (wxWindow
*) 0 ;
15089 wxString
*arg2
= 0 ;
15090 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15092 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15093 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15094 long arg5
= (long) wxTextEntryDialogStyle
;
15095 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15096 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15097 wxPasswordEntryDialog
*result
;
15098 bool temp2
= false ;
15099 bool temp3
= false ;
15100 bool temp4
= false ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 PyObject
* obj2
= 0 ;
15105 PyObject
* obj3
= 0 ;
15106 PyObject
* obj4
= 0 ;
15107 PyObject
* obj5
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15114 if (SWIG_arg_fail(1)) SWIG_fail
;
15116 arg2
= wxString_in_helper(obj1
);
15117 if (arg2
== NULL
) SWIG_fail
;
15122 arg3
= wxString_in_helper(obj2
);
15123 if (arg3
== NULL
) SWIG_fail
;
15129 arg4
= wxString_in_helper(obj3
);
15130 if (arg4
== NULL
) SWIG_fail
;
15136 arg5
= (long)(SWIG_As_long(obj4
));
15137 if (SWIG_arg_fail(5)) SWIG_fail
;
15143 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15184 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15187 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15189 return Py_BuildValue((char *)"");
15191 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxFontData
*result
;
15194 char *kwnames
[] = {
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (wxFontData
*)new wxFontData();
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15213 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxFontData
*arg1
= (wxFontData
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15223 if (SWIG_arg_fail(1)) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 Py_INCREF(Py_None
); resultobj
= Py_None
;
15238 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxFontData
*arg1
= (wxFontData
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self",(char *) "enable", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15250 if (SWIG_arg_fail(1)) SWIG_fail
;
15252 arg2
= (bool)(SWIG_As_bool(obj1
));
15253 if (SWIG_arg_fail(2)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 (arg1
)->EnableEffects(arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 Py_INCREF(Py_None
); resultobj
= Py_None
;
15269 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxFontData
*arg1
= (wxFontData
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15280 if (SWIG_arg_fail(1)) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (bool)(arg1
)->GetAllowSymbols();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15297 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxFontData
*arg1
= (wxFontData
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15308 if (SWIG_arg_fail(1)) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (arg1
)->GetColour();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 wxColour
* resultptr
;
15318 resultptr
= new wxColour((wxColour
&)(result
));
15319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15327 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxFontData
*arg1
= (wxFontData
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15338 if (SWIG_arg_fail(1)) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (arg1
)->GetChosenFont();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 wxFont
* resultptr
;
15348 resultptr
= new wxFont((wxFont
&)(result
));
15349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15357 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxFontData
*arg1
= (wxFontData
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (bool)(arg1
)->GetEnableEffects();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15385 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxFontData
*arg1
= (wxFontData
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (arg1
)->GetInitialFont();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15405 wxFont
* resultptr
;
15406 resultptr
= new wxFont((wxFont
&)(result
));
15407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15415 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxFontData
*arg1
= (wxFontData
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15426 if (SWIG_arg_fail(1)) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (bool)(arg1
)->GetShowHelp();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15443 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxFontData
*arg1
= (wxFontData
*) 0 ;
15447 PyObject
* obj0
= 0 ;
15448 PyObject
* obj1
= 0 ;
15449 char *kwnames
[] = {
15450 (char *) "self",(char *) "allowSymbols", NULL
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15455 if (SWIG_arg_fail(1)) SWIG_fail
;
15457 arg2
= (bool)(SWIG_As_bool(obj1
));
15458 if (SWIG_arg_fail(2)) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 (arg1
)->SetAllowSymbols(arg2
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 Py_INCREF(Py_None
); resultobj
= Py_None
;
15474 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxFontData
*arg1
= (wxFontData
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self",(char *) "font", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15486 if (SWIG_arg_fail(1)) SWIG_fail
;
15488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15489 if (SWIG_arg_fail(2)) SWIG_fail
;
15490 if (arg2
== NULL
) {
15491 SWIG_null_ref("wxFont");
15493 if (SWIG_arg_fail(2)) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 Py_INCREF(Py_None
); resultobj
= Py_None
;
15509 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxFontData
*arg1
= (wxFontData
*) 0 ;
15512 wxColour
*arg2
= 0 ;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "colour", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail
;
15525 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->SetColour((wxColour
const &)*arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 Py_INCREF(Py_None
); resultobj
= Py_None
;
15541 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxFontData
*arg1
= (wxFontData
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self",(char *) "font", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15553 if (SWIG_arg_fail(1)) SWIG_fail
;
15555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15556 if (SWIG_arg_fail(2)) SWIG_fail
;
15557 if (arg2
== NULL
) {
15558 SWIG_null_ref("wxFont");
15560 if (SWIG_arg_fail(2)) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxFontData
*arg1
= (wxFontData
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 PyObject
* obj2
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self",(char *) "min",(char *) "max", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15590 if (SWIG_arg_fail(1)) SWIG_fail
;
15592 arg2
= (int)(SWIG_As_int(obj1
));
15593 if (SWIG_arg_fail(2)) SWIG_fail
;
15596 arg3
= (int)(SWIG_As_int(obj2
));
15597 if (SWIG_arg_fail(3)) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 (arg1
)->SetRange(arg2
,arg3
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 Py_INCREF(Py_None
); resultobj
= Py_None
;
15613 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxFontData
*arg1
= (wxFontData
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self",(char *) "showHelp", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail
;
15627 arg2
= (bool)(SWIG_As_bool(obj1
));
15628 if (SWIG_arg_fail(2)) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 (arg1
)->SetShowHelp(arg2
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 Py_INCREF(Py_None
); resultobj
= Py_None
;
15644 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15647 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15649 return Py_BuildValue((char *)"");
15651 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxWindow
*arg1
= (wxWindow
*) 0 ;
15654 wxFontData
*arg2
= 0 ;
15655 wxFontDialog
*result
;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "parent",(char *) "data", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15664 if (SWIG_arg_fail(1)) SWIG_fail
;
15666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15667 if (SWIG_arg_fail(2)) SWIG_fail
;
15668 if (arg2
== NULL
) {
15669 SWIG_null_ref("wxFontData");
15671 if (SWIG_arg_fail(2)) SWIG_fail
;
15674 if (!wxPyCheckForApp()) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15688 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15691 wxFontData
*result
;
15692 PyObject
* obj0
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15699 if (SWIG_arg_fail(1)) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15704 result
= (wxFontData
*) &_result_ref
;
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15717 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15720 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15722 return Py_BuildValue((char *)"");
15724 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxWindow
*arg1
= (wxWindow
*) 0 ;
15727 wxString
*arg2
= 0 ;
15728 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15729 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15730 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15731 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15732 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15733 wxMessageDialog
*result
;
15734 bool temp2
= false ;
15735 bool temp3
= false ;
15737 PyObject
* obj0
= 0 ;
15738 PyObject
* obj1
= 0 ;
15739 PyObject
* obj2
= 0 ;
15740 PyObject
* obj3
= 0 ;
15741 PyObject
* obj4
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15748 if (SWIG_arg_fail(1)) SWIG_fail
;
15750 arg2
= wxString_in_helper(obj1
);
15751 if (arg2
== NULL
) SWIG_fail
;
15756 arg3
= wxString_in_helper(obj2
);
15757 if (arg3
== NULL
) SWIG_fail
;
15763 arg4
= (long)(SWIG_As_long(obj3
));
15764 if (SWIG_arg_fail(4)) SWIG_fail
;
15770 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15774 if (!wxPyCheckForApp()) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15804 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15807 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15809 return Py_BuildValue((char *)"");
15811 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxString
*arg1
= 0 ;
15814 wxString
*arg2
= 0 ;
15815 int arg3
= (int) 100 ;
15816 wxWindow
*arg4
= (wxWindow
*) NULL
;
15817 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15818 wxProgressDialog
*result
;
15819 bool temp1
= false ;
15820 bool temp2
= false ;
15821 PyObject
* obj0
= 0 ;
15822 PyObject
* obj1
= 0 ;
15823 PyObject
* obj2
= 0 ;
15824 PyObject
* obj3
= 0 ;
15825 PyObject
* obj4
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15832 arg1
= wxString_in_helper(obj0
);
15833 if (arg1
== NULL
) SWIG_fail
;
15837 arg2
= wxString_in_helper(obj1
);
15838 if (arg2
== NULL
) SWIG_fail
;
15843 arg3
= (int)(SWIG_As_int(obj2
));
15844 if (SWIG_arg_fail(3)) SWIG_fail
;
15848 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15849 if (SWIG_arg_fail(4)) SWIG_fail
;
15853 arg5
= (int)(SWIG_As_int(obj4
));
15854 if (SWIG_arg_fail(5)) SWIG_fail
;
15858 if (!wxPyCheckForApp()) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15888 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15892 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15893 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15895 bool temp3
= false ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 PyObject
* obj2
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15905 if (SWIG_arg_fail(1)) SWIG_fail
;
15907 arg2
= (int)(SWIG_As_int(obj1
));
15908 if (SWIG_arg_fail(2)) SWIG_fail
;
15912 arg3
= wxString_in_helper(obj2
);
15913 if (arg3
== NULL
) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15941 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15951 if (SWIG_arg_fail(1)) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 Py_INCREF(Py_None
); resultobj
= Py_None
;
15966 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15969 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15971 return Py_BuildValue((char *)"");
15973 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15976 int arg2
= (int) 0 ;
15977 wxFindDialogEvent
*result
;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "commandType",(char *) "id", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15987 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15988 if (SWIG_arg_fail(1)) SWIG_fail
;
15993 arg2
= (int)(SWIG_As_int(obj1
));
15994 if (SWIG_arg_fail(2)) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16011 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16022 if (SWIG_arg_fail(1)) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= (int)(arg1
)->GetFlags();
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= SWIG_From_int((int)(result
));
16039 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16050 if (SWIG_arg_fail(1)) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 wxString
const &_result_ref
= (arg1
)->GetFindString();
16055 result
= (wxString
*) &_result_ref
;
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16074 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
;
16076 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16085 if (SWIG_arg_fail(1)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16090 result
= (wxString
*) &_result_ref
;
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16100 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16109 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16112 wxFindReplaceDialog
*result
;
16113 PyObject
* obj0
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16120 if (SWIG_arg_fail(1)) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16135 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16139 PyObject
* obj0
= 0 ;
16140 PyObject
* obj1
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "self",(char *) "flags", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16147 if (SWIG_arg_fail(1)) SWIG_fail
;
16149 arg2
= (int)(SWIG_As_int(obj1
));
16150 if (SWIG_arg_fail(2)) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 (arg1
)->SetFlags(arg2
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 Py_INCREF(Py_None
); resultobj
= Py_None
;
16166 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16169 wxString
*arg2
= 0 ;
16170 bool temp2
= false ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self",(char *) "str", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16179 if (SWIG_arg_fail(1)) SWIG_fail
;
16181 arg2
= wxString_in_helper(obj1
);
16182 if (arg2
== NULL
) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 (arg1
)->SetFindString((wxString
const &)*arg2
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 Py_INCREF(Py_None
); resultobj
= Py_None
;
16207 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16210 wxString
*arg2
= 0 ;
16211 bool temp2
= false ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self",(char *) "str", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16220 if (SWIG_arg_fail(1)) SWIG_fail
;
16222 arg2
= wxString_in_helper(obj1
);
16223 if (arg2
== NULL
) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 Py_INCREF(Py_None
); resultobj
= Py_None
;
16248 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16251 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16253 return Py_BuildValue((char *)"");
16255 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 int arg1
= (int) 0 ;
16258 wxFindReplaceData
*result
;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "flags", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16267 arg1
= (int)(SWIG_As_int(obj0
));
16268 if (SWIG_arg_fail(1)) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16285 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16295 if (SWIG_arg_fail(1)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16321 if (SWIG_arg_fail(1)) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 wxString
const &_result_ref
= (arg1
)->GetFindString();
16326 result
= (wxString
*) &_result_ref
;
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16336 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16345 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16356 if (SWIG_arg_fail(1)) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16361 result
= (wxString
*) &_result_ref
;
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16371 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16380 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16391 if (SWIG_arg_fail(1)) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (int)(arg1
)->GetFlags();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= SWIG_From_int((int)(result
));
16408 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "flags", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16420 if (SWIG_arg_fail(1)) SWIG_fail
;
16422 arg2
= (int)(SWIG_As_int(obj1
));
16423 if (SWIG_arg_fail(2)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 (arg1
)->SetFlags(arg2
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 Py_INCREF(Py_None
); resultobj
= Py_None
;
16439 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16442 wxString
*arg2
= 0 ;
16443 bool temp2
= false ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "str", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16452 if (SWIG_arg_fail(1)) SWIG_fail
;
16454 arg2
= wxString_in_helper(obj1
);
16455 if (arg2
== NULL
) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 (arg1
)->SetFindString((wxString
const &)*arg2
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16483 wxString
*arg2
= 0 ;
16484 bool temp2
= false ;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "str", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16493 if (SWIG_arg_fail(1)) SWIG_fail
;
16495 arg2
= wxString_in_helper(obj1
);
16496 if (arg2
== NULL
) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16524 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16526 return Py_BuildValue((char *)"");
16528 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxWindow
*arg1
= (wxWindow
*) 0 ;
16531 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16532 wxString
*arg3
= 0 ;
16533 int arg4
= (int) 0 ;
16534 wxFindReplaceDialog
*result
;
16535 bool temp3
= false ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 PyObject
* obj2
= 0 ;
16539 PyObject
* obj3
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail
;
16547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16548 if (SWIG_arg_fail(2)) SWIG_fail
;
16550 arg3
= wxString_in_helper(obj2
);
16551 if (arg3
== NULL
) SWIG_fail
;
16556 arg4
= (int)(SWIG_As_int(obj3
));
16557 if (SWIG_arg_fail(4)) SWIG_fail
;
16561 if (!wxPyCheckForApp()) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16583 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxFindReplaceDialog
*result
;
16586 char *kwnames
[] = {
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16592 if (!wxPyCheckForApp()) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16606 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
;
16608 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16609 wxWindow
*arg2
= (wxWindow
*) 0 ;
16610 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16611 wxString
*arg4
= 0 ;
16612 int arg5
= (int) 0 ;
16614 bool temp4
= false ;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 PyObject
* obj2
= 0 ;
16618 PyObject
* obj3
= 0 ;
16619 PyObject
* obj4
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16626 if (SWIG_arg_fail(1)) SWIG_fail
;
16627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16628 if (SWIG_arg_fail(2)) SWIG_fail
;
16629 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16630 if (SWIG_arg_fail(3)) SWIG_fail
;
16632 arg4
= wxString_in_helper(obj3
);
16633 if (arg4
== NULL
) SWIG_fail
;
16638 arg5
= (int)(SWIG_As_int(obj4
));
16639 if (SWIG_arg_fail(5)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16666 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16669 wxFindReplaceData
*result
;
16670 PyObject
* obj0
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16677 if (SWIG_arg_fail(1)) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16692 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16694 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16695 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self",(char *) "data", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16704 if (SWIG_arg_fail(1)) SWIG_fail
;
16705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16706 if (SWIG_arg_fail(2)) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 (arg1
)->SetData(arg2
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 Py_INCREF(Py_None
); resultobj
= Py_None
;
16721 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16724 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16726 return Py_BuildValue((char *)"");
16728 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxWindow
*arg1
= (wxWindow
*) 0 ;
16731 int arg2
= (int) (int)-1 ;
16732 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16733 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16738 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16739 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16740 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16741 wxMDIParentFrame
*result
;
16742 bool temp3
= false ;
16745 bool temp7
= false ;
16746 PyObject
* obj0
= 0 ;
16747 PyObject
* obj1
= 0 ;
16748 PyObject
* obj2
= 0 ;
16749 PyObject
* obj3
= 0 ;
16750 PyObject
* obj4
= 0 ;
16751 PyObject
* obj5
= 0 ;
16752 PyObject
* obj6
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16759 if (SWIG_arg_fail(1)) SWIG_fail
;
16762 arg2
= (int const)(SWIG_As_int(obj1
));
16763 if (SWIG_arg_fail(2)) SWIG_fail
;
16768 arg3
= wxString_in_helper(obj2
);
16769 if (arg3
== NULL
) SWIG_fail
;
16776 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16782 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16787 arg6
= (long)(SWIG_As_long(obj5
));
16788 if (SWIG_arg_fail(6)) SWIG_fail
;
16793 arg7
= wxString_in_helper(obj6
);
16794 if (arg7
== NULL
) SWIG_fail
;
16799 if (!wxPyCheckForApp()) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16829 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxMDIParentFrame
*result
;
16832 char *kwnames
[] = {
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16838 if (!wxPyCheckForApp()) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16852 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16855 wxWindow
*arg2
= (wxWindow
*) 0 ;
16856 int arg3
= (int) (int)-1 ;
16857 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16858 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16859 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16860 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16861 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16862 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16863 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16864 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16865 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16867 bool temp4
= false ;
16870 bool temp8
= false ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 PyObject
* obj2
= 0 ;
16874 PyObject
* obj3
= 0 ;
16875 PyObject
* obj4
= 0 ;
16876 PyObject
* obj5
= 0 ;
16877 PyObject
* obj6
= 0 ;
16878 PyObject
* obj7
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16885 if (SWIG_arg_fail(1)) SWIG_fail
;
16886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16887 if (SWIG_arg_fail(2)) SWIG_fail
;
16890 arg3
= (int const)(SWIG_As_int(obj2
));
16891 if (SWIG_arg_fail(3)) SWIG_fail
;
16896 arg4
= wxString_in_helper(obj3
);
16897 if (arg4
== NULL
) SWIG_fail
;
16904 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16910 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16915 arg7
= (long)(SWIG_As_long(obj6
));
16916 if (SWIG_arg_fail(7)) SWIG_fail
;
16921 arg8
= wxString_in_helper(obj7
);
16922 if (arg8
== NULL
) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16958 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16968 if (SWIG_arg_fail(1)) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->ActivateNext();
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 Py_INCREF(Py_None
); resultobj
= Py_None
;
16983 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16993 if (SWIG_arg_fail(1)) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 (arg1
)->ActivatePrevious();
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 Py_INCREF(Py_None
); resultobj
= Py_None
;
17008 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17018 if (SWIG_arg_fail(1)) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 (arg1
)->ArrangeIcons();
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 Py_INCREF(Py_None
); resultobj
= Py_None
;
17033 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17051 Py_INCREF(Py_None
); resultobj
= Py_None
;
17058 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17061 wxMDIChildFrame
*result
;
17062 PyObject
* obj0
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17069 if (SWIG_arg_fail(1)) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= wxPyMake_wxObject(result
, 0);
17086 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17089 wxMDIClientWindow
*result
;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= wxPyMake_wxObject(result
, 0);
17114 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxWindow
*)(arg1
)->GetToolBar();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= wxPyMake_wxObject(result
, 0);
17142 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17145 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self",(char *) "orient", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17154 if (SWIG_arg_fail(1)) SWIG_fail
;
17157 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17158 if (SWIG_arg_fail(2)) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 (arg1
)->Tile((wxOrientation
)arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 Py_INCREF(Py_None
); resultobj
= Py_None
;
17175 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17178 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17180 return Py_BuildValue((char *)"");
17182 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17185 int arg2
= (int) (int)-1 ;
17186 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17192 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17193 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17195 wxMDIChildFrame
*result
;
17196 bool temp3
= false ;
17199 bool temp7
= false ;
17200 PyObject
* obj0
= 0 ;
17201 PyObject
* obj1
= 0 ;
17202 PyObject
* obj2
= 0 ;
17203 PyObject
* obj3
= 0 ;
17204 PyObject
* obj4
= 0 ;
17205 PyObject
* obj5
= 0 ;
17206 PyObject
* obj6
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17213 if (SWIG_arg_fail(1)) SWIG_fail
;
17216 arg2
= (int const)(SWIG_As_int(obj1
));
17217 if (SWIG_arg_fail(2)) SWIG_fail
;
17222 arg3
= wxString_in_helper(obj2
);
17223 if (arg3
== NULL
) SWIG_fail
;
17230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17241 arg6
= (long)(SWIG_As_long(obj5
));
17242 if (SWIG_arg_fail(6)) SWIG_fail
;
17247 arg7
= wxString_in_helper(obj6
);
17248 if (arg7
== NULL
) SWIG_fail
;
17253 if (!wxPyCheckForApp()) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17283 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxMDIChildFrame
*result
;
17286 char *kwnames
[] = {
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17292 if (!wxPyCheckForApp()) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17306 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17309 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17310 int arg3
= (int) (int)-1 ;
17311 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17312 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17313 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17314 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17315 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17316 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17317 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17318 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17319 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17321 bool temp4
= false ;
17324 bool temp8
= false ;
17325 PyObject
* obj0
= 0 ;
17326 PyObject
* obj1
= 0 ;
17327 PyObject
* obj2
= 0 ;
17328 PyObject
* obj3
= 0 ;
17329 PyObject
* obj4
= 0 ;
17330 PyObject
* obj5
= 0 ;
17331 PyObject
* obj6
= 0 ;
17332 PyObject
* obj7
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17339 if (SWIG_arg_fail(1)) SWIG_fail
;
17340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17341 if (SWIG_arg_fail(2)) SWIG_fail
;
17344 arg3
= (int const)(SWIG_As_int(obj2
));
17345 if (SWIG_arg_fail(3)) SWIG_fail
;
17350 arg4
= wxString_in_helper(obj3
);
17351 if (arg4
== NULL
) SWIG_fail
;
17358 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17364 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17369 arg7
= (long)(SWIG_As_long(obj6
));
17370 if (SWIG_arg_fail(7)) SWIG_fail
;
17375 arg8
= wxString_in_helper(obj7
);
17376 if (arg8
== NULL
) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17412 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17415 PyObject
* obj0
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "self", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17422 if (SWIG_arg_fail(1)) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 (arg1
)->Activate();
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17437 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17440 bool arg2
= (bool) true ;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "maximize", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17449 if (SWIG_arg_fail(1)) SWIG_fail
;
17452 arg2
= (bool)(SWIG_As_bool(obj1
));
17453 if (SWIG_arg_fail(2)) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 (arg1
)->Maximize(arg2
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 Py_INCREF(Py_None
); resultobj
= Py_None
;
17470 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17473 PyObject
* obj0
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "self", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17480 if (SWIG_arg_fail(1)) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 Py_INCREF(Py_None
); resultobj
= Py_None
;
17495 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17498 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17500 return Py_BuildValue((char *)"");
17502 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17505 long arg2
= (long) 0 ;
17506 wxMDIClientWindow
*result
;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "parent",(char *) "style", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail
;
17518 arg2
= (long)(SWIG_As_long(obj1
));
17519 if (SWIG_arg_fail(2)) SWIG_fail
;
17523 if (!wxPyCheckForApp()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17537 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxMDIClientWindow
*result
;
17540 char *kwnames
[] = {
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17546 if (!wxPyCheckForApp()) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17560 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17563 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17564 long arg3
= (long) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 PyObject
* obj2
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self",(char *) "parent",(char *) "style", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17577 if (SWIG_arg_fail(2)) SWIG_fail
;
17580 arg3
= (long)(SWIG_As_long(obj2
));
17581 if (SWIG_arg_fail(3)) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17600 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17603 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17605 return Py_BuildValue((char *)"");
17607 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxWindow
*arg1
= (wxWindow
*) 0 ;
17610 int arg2
= (int) (int)-1 ;
17611 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17612 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17613 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17614 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17615 long arg5
= (long) 0 ;
17616 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17617 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17618 wxPyWindow
*result
;
17621 bool temp6
= false ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 PyObject
* obj2
= 0 ;
17625 PyObject
* obj3
= 0 ;
17626 PyObject
* obj4
= 0 ;
17627 PyObject
* obj5
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail
;
17637 arg2
= (int const)(SWIG_As_int(obj1
));
17638 if (SWIG_arg_fail(2)) SWIG_fail
;
17644 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17650 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17655 arg5
= (long)(SWIG_As_long(obj4
));
17656 if (SWIG_arg_fail(5)) SWIG_fail
;
17661 arg6
= wxString_in_helper(obj5
);
17662 if (arg6
== NULL
) SWIG_fail
;
17667 if (!wxPyCheckForApp()) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17689 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxPyWindow
*result
;
17692 char *kwnames
[] = {
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17698 if (!wxPyCheckForApp()) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (wxPyWindow
*)new wxPyWindow();
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17712 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17715 PyObject
*arg2
= (PyObject
*) 0 ;
17716 PyObject
*arg3
= (PyObject
*) 0 ;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self",(char *) "self",(char *) "_class", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17726 if (SWIG_arg_fail(1)) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 Py_INCREF(Py_None
); resultobj
= Py_None
;
17743 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "size", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17756 if (SWIG_arg_fail(1)) SWIG_fail
;
17759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 Py_INCREF(Py_None
); resultobj
= Py_None
;
17775 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17778 wxDC
*arg2
= (wxDC
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 PyObject
* obj1
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self",(char *) "dc", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17788 if (SWIG_arg_fail(1)) SWIG_fail
;
17789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17790 if (SWIG_arg_fail(2)) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17807 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
;
17809 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 PyObject
* obj2
= 0 ;
17817 PyObject
* obj3
= 0 ;
17818 PyObject
* obj4
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17825 if (SWIG_arg_fail(1)) SWIG_fail
;
17827 arg2
= (int)(SWIG_As_int(obj1
));
17828 if (SWIG_arg_fail(2)) SWIG_fail
;
17831 arg3
= (int)(SWIG_As_int(obj2
));
17832 if (SWIG_arg_fail(3)) SWIG_fail
;
17835 arg4
= (int)(SWIG_As_int(obj3
));
17836 if (SWIG_arg_fail(4)) SWIG_fail
;
17839 arg5
= (int)(SWIG_As_int(obj4
));
17840 if (SWIG_arg_fail(5)) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17849 Py_INCREF(Py_None
); resultobj
= Py_None
;
17856 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17863 int arg6
= (int) wxSIZE_AUTO
;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 PyObject
* obj2
= 0 ;
17867 PyObject
* obj3
= 0 ;
17868 PyObject
* obj4
= 0 ;
17869 PyObject
* obj5
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17876 if (SWIG_arg_fail(1)) SWIG_fail
;
17878 arg2
= (int)(SWIG_As_int(obj1
));
17879 if (SWIG_arg_fail(2)) SWIG_fail
;
17882 arg3
= (int)(SWIG_As_int(obj2
));
17883 if (SWIG_arg_fail(3)) SWIG_fail
;
17886 arg4
= (int)(SWIG_As_int(obj3
));
17887 if (SWIG_arg_fail(4)) SWIG_fail
;
17890 arg5
= (int)(SWIG_As_int(obj4
));
17891 if (SWIG_arg_fail(5)) SWIG_fail
;
17895 arg6
= (int)(SWIG_As_int(obj5
));
17896 if (SWIG_arg_fail(6)) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 Py_INCREF(Py_None
); resultobj
= Py_None
;
17913 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17918 PyObject
* obj0
= 0 ;
17919 PyObject
* obj1
= 0 ;
17920 PyObject
* obj2
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self",(char *) "width",(char *) "height", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17927 if (SWIG_arg_fail(1)) SWIG_fail
;
17929 arg2
= (int)(SWIG_As_int(obj1
));
17930 if (SWIG_arg_fail(2)) SWIG_fail
;
17933 arg3
= (int)(SWIG_As_int(obj2
));
17934 if (SWIG_arg_fail(3)) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 Py_INCREF(Py_None
); resultobj
= Py_None
;
17950 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 PyObject
* obj1
= 0 ;
17957 PyObject
* obj2
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self",(char *) "x",(char *) "y", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17964 if (SWIG_arg_fail(1)) SWIG_fail
;
17966 arg2
= (int)(SWIG_As_int(obj1
));
17967 if (SWIG_arg_fail(2)) SWIG_fail
;
17970 arg3
= (int)(SWIG_As_int(obj2
));
17971 if (SWIG_arg_fail(3)) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 Py_INCREF(Py_None
); resultobj
= Py_None
;
17987 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17990 int *arg2
= (int *) 0 ;
17991 int *arg3
= (int *) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18002 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18005 if (SWIG_arg_fail(1)) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 Py_INCREF(Py_None
); resultobj
= Py_None
;
18014 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18015 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18016 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18017 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18024 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18027 int *arg2
= (int *) 0 ;
18028 int *arg3
= (int *) 0 ;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self", NULL
18038 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18039 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18042 if (SWIG_arg_fail(1)) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18052 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18053 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18054 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18061 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18064 int *arg2
= (int *) 0 ;
18065 int *arg3
= (int *) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self", NULL
18075 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18076 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18079 if (SWIG_arg_fail(1)) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 Py_INCREF(Py_None
); resultobj
= Py_None
;
18088 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18089 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18090 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18091 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18098 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18102 PyObject
* obj0
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18109 if (SWIG_arg_fail(1)) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18118 wxSize
* resultptr
;
18119 resultptr
= new wxSize((wxSize
&)(result
));
18120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18128 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18132 PyObject
* obj0
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "self", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18139 if (SWIG_arg_fail(1)) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 wxSize
* resultptr
;
18149 resultptr
= new wxSize((wxSize
&)(result
));
18150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18158 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18161 PyObject
* obj0
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->base_InitDialog();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 Py_INCREF(Py_None
); resultobj
= Py_None
;
18183 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18187 PyObject
* obj0
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18194 if (SWIG_arg_fail(1)) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (bool)(arg1
)->base_TransferDataToWindow();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18211 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18222 if (SWIG_arg_fail(1)) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18239 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18250 if (SWIG_arg_fail(1)) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 result
= (bool)(arg1
)->base_Validate();
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18267 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18278 if (SWIG_arg_fail(1)) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18295 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18306 if (SWIG_arg_fail(1)) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18323 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18327 PyObject
* obj0
= 0 ;
18328 char *kwnames
[] = {
18329 (char *) "self", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18334 if (SWIG_arg_fail(1)) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 wxSize
* resultptr
;
18344 resultptr
= new wxSize((wxSize
&)(result
));
18345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18353 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18356 wxWindow
*arg2
= (wxWindow
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "child", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail
;
18366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18367 if (SWIG_arg_fail(2)) SWIG_fail
;
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 (arg1
)->base_AddChild(arg2
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 Py_INCREF(Py_None
); resultobj
= Py_None
;
18382 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18385 wxWindow
*arg2
= (wxWindow
*) 0 ;
18386 PyObject
* obj0
= 0 ;
18387 PyObject
* obj1
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self",(char *) "child", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18394 if (SWIG_arg_fail(1)) SWIG_fail
;
18395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18396 if (SWIG_arg_fail(2)) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 (arg1
)->base_RemoveChild(arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 Py_INCREF(Py_None
); resultobj
= Py_None
;
18411 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
;
18413 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18415 PyObject
* obj0
= 0 ;
18416 char *kwnames
[] = {
18417 (char *) "self", NULL
18420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18422 if (SWIG_arg_fail(1)) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18439 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18442 wxVisualAttributes result
;
18443 PyObject
* obj0
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18450 if (SWIG_arg_fail(1)) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (arg1
)->base_GetDefaultAttributes();
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 wxVisualAttributes
* resultptr
;
18460 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18469 static PyObject
*_wrap_PyWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
18478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18479 if (SWIG_arg_fail(1)) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 (arg1
)->base_OnInternalIdle();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 Py_INCREF(Py_None
); resultobj
= Py_None
;
18494 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18497 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18499 return Py_BuildValue((char *)"");
18501 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxWindow
*arg1
= (wxWindow
*) 0 ;
18504 int arg2
= (int) (int)-1 ;
18505 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18506 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18507 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18508 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18509 long arg5
= (long) 0 ;
18510 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18511 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18515 bool temp6
= false ;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18518 PyObject
* obj2
= 0 ;
18519 PyObject
* obj3
= 0 ;
18520 PyObject
* obj4
= 0 ;
18521 PyObject
* obj5
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 arg2
= (int const)(SWIG_As_int(obj1
));
18532 if (SWIG_arg_fail(2)) SWIG_fail
;
18538 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18544 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18549 arg5
= (long)(SWIG_As_long(obj4
));
18550 if (SWIG_arg_fail(5)) SWIG_fail
;
18555 arg6
= wxString_in_helper(obj5
);
18556 if (arg6
== NULL
) SWIG_fail
;
18561 if (!wxPyCheckForApp()) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18583 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18586 char *kwnames
[] = {
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18592 if (!wxPyCheckForApp()) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (wxPyPanel
*)new wxPyPanel();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18606 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18609 PyObject
*arg2
= (PyObject
*) 0 ;
18610 PyObject
*arg3
= (PyObject
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 PyObject
* obj1
= 0 ;
18613 PyObject
* obj2
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "self",(char *) "_class", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18620 if (SWIG_arg_fail(1)) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 Py_INCREF(Py_None
); resultobj
= Py_None
;
18637 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self",(char *) "size", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18650 if (SWIG_arg_fail(1)) SWIG_fail
;
18653 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 Py_INCREF(Py_None
); resultobj
= Py_None
;
18669 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18672 wxDC
*arg2
= (wxDC
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self",(char *) "dc", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18682 if (SWIG_arg_fail(1)) SWIG_fail
;
18683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18684 if (SWIG_arg_fail(2)) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18701 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 PyObject
* obj2
= 0 ;
18711 PyObject
* obj3
= 0 ;
18712 PyObject
* obj4
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18719 if (SWIG_arg_fail(1)) SWIG_fail
;
18721 arg2
= (int)(SWIG_As_int(obj1
));
18722 if (SWIG_arg_fail(2)) SWIG_fail
;
18725 arg3
= (int)(SWIG_As_int(obj2
));
18726 if (SWIG_arg_fail(3)) SWIG_fail
;
18729 arg4
= (int)(SWIG_As_int(obj3
));
18730 if (SWIG_arg_fail(4)) SWIG_fail
;
18733 arg5
= (int)(SWIG_As_int(obj4
));
18734 if (SWIG_arg_fail(5)) SWIG_fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 Py_INCREF(Py_None
); resultobj
= Py_None
;
18750 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18757 int arg6
= (int) wxSIZE_AUTO
;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 PyObject
* obj2
= 0 ;
18761 PyObject
* obj3
= 0 ;
18762 PyObject
* obj4
= 0 ;
18763 PyObject
* obj5
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail
;
18772 arg2
= (int)(SWIG_As_int(obj1
));
18773 if (SWIG_arg_fail(2)) SWIG_fail
;
18776 arg3
= (int)(SWIG_As_int(obj2
));
18777 if (SWIG_arg_fail(3)) SWIG_fail
;
18780 arg4
= (int)(SWIG_As_int(obj3
));
18781 if (SWIG_arg_fail(4)) SWIG_fail
;
18784 arg5
= (int)(SWIG_As_int(obj4
));
18785 if (SWIG_arg_fail(5)) SWIG_fail
;
18789 arg6
= (int)(SWIG_As_int(obj5
));
18790 if (SWIG_arg_fail(6)) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 Py_INCREF(Py_None
); resultobj
= Py_None
;
18807 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 PyObject
* obj1
= 0 ;
18814 PyObject
* obj2
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self",(char *) "width",(char *) "height", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18821 if (SWIG_arg_fail(1)) SWIG_fail
;
18823 arg2
= (int)(SWIG_As_int(obj1
));
18824 if (SWIG_arg_fail(2)) SWIG_fail
;
18827 arg3
= (int)(SWIG_As_int(obj2
));
18828 if (SWIG_arg_fail(3)) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 Py_INCREF(Py_None
); resultobj
= Py_None
;
18844 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 PyObject
* obj2
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "x",(char *) "y", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
18861 if (SWIG_arg_fail(2)) SWIG_fail
;
18864 arg3
= (int)(SWIG_As_int(obj2
));
18865 if (SWIG_arg_fail(3)) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 Py_INCREF(Py_None
); resultobj
= Py_None
;
18881 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18884 int *arg2
= (int *) 0 ;
18885 int *arg3
= (int *) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self", NULL
18895 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18896 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18899 if (SWIG_arg_fail(1)) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 Py_INCREF(Py_None
); resultobj
= Py_None
;
18908 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18909 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18910 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18911 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18918 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18921 int *arg2
= (int *) 0 ;
18922 int *arg3
= (int *) 0 ;
18927 PyObject
* obj0
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self", NULL
18932 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18933 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18936 if (SWIG_arg_fail(1)) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 Py_INCREF(Py_None
); resultobj
= Py_None
;
18945 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18946 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18947 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18948 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18955 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18958 int *arg2
= (int *) 0 ;
18959 int *arg3
= (int *) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18970 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 Py_INCREF(Py_None
); resultobj
= Py_None
;
18982 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18983 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18984 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18985 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18992 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18996 PyObject
* obj0
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19003 if (SWIG_arg_fail(1)) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 wxSize
* resultptr
;
19013 resultptr
= new wxSize((wxSize
&)(result
));
19014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19022 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19033 if (SWIG_arg_fail(1)) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19042 wxSize
* resultptr
;
19043 resultptr
= new wxSize((wxSize
&)(result
));
19044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19052 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19062 if (SWIG_arg_fail(1)) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 (arg1
)->base_InitDialog();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 Py_INCREF(Py_None
); resultobj
= Py_None
;
19077 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19088 if (SWIG_arg_fail(1)) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (bool)(arg1
)->base_TransferDataToWindow();
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19105 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19116 if (SWIG_arg_fail(1)) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19133 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19144 if (SWIG_arg_fail(1)) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (bool)(arg1
)->base_Validate();
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19161 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19165 PyObject
* obj0
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19172 if (SWIG_arg_fail(1)) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19189 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19200 if (SWIG_arg_fail(1)) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19217 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19237 wxSize
* resultptr
;
19238 resultptr
= new wxSize((wxSize
&)(result
));
19239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19247 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19250 wxWindow
*arg2
= (wxWindow
*) 0 ;
19251 PyObject
* obj0
= 0 ;
19252 PyObject
* obj1
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "self",(char *) "child", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19259 if (SWIG_arg_fail(1)) SWIG_fail
;
19260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19261 if (SWIG_arg_fail(2)) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 (arg1
)->base_AddChild(arg2
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 Py_INCREF(Py_None
); resultobj
= Py_None
;
19276 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19279 wxWindow
*arg2
= (wxWindow
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "child", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19288 if (SWIG_arg_fail(1)) SWIG_fail
;
19289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19290 if (SWIG_arg_fail(2)) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 (arg1
)->base_RemoveChild(arg2
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 Py_INCREF(Py_None
); resultobj
= Py_None
;
19305 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19333 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19336 wxVisualAttributes result
;
19337 PyObject
* obj0
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19344 if (SWIG_arg_fail(1)) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (arg1
)->base_GetDefaultAttributes();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19353 wxVisualAttributes
* resultptr
;
19354 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19363 static PyObject
*_wrap_PyPanel_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 (arg1
)->base_OnInternalIdle();
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 Py_INCREF(Py_None
); resultobj
= Py_None
;
19388 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19391 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19393 return Py_BuildValue((char *)"");
19395 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxWindow
*arg1
= (wxWindow
*) 0 ;
19398 int arg2
= (int) (int)-1 ;
19399 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19400 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19401 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19402 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19403 long arg5
= (long) 0 ;
19404 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19405 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19406 wxPyScrolledWindow
*result
;
19409 bool temp6
= false ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 PyObject
* obj2
= 0 ;
19413 PyObject
* obj3
= 0 ;
19414 PyObject
* obj4
= 0 ;
19415 PyObject
* obj5
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19422 if (SWIG_arg_fail(1)) SWIG_fail
;
19425 arg2
= (int const)(SWIG_As_int(obj1
));
19426 if (SWIG_arg_fail(2)) SWIG_fail
;
19432 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19438 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19443 arg5
= (long)(SWIG_As_long(obj4
));
19444 if (SWIG_arg_fail(5)) SWIG_fail
;
19449 arg6
= wxString_in_helper(obj5
);
19450 if (arg6
== NULL
) SWIG_fail
;
19455 if (!wxPyCheckForApp()) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19477 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19479 wxPyScrolledWindow
*result
;
19480 char *kwnames
[] = {
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19486 if (!wxPyCheckForApp()) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19500 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19503 PyObject
*arg2
= (PyObject
*) 0 ;
19504 PyObject
*arg3
= (PyObject
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 PyObject
* obj2
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "self",(char *) "_class", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19514 if (SWIG_arg_fail(1)) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 Py_INCREF(Py_None
); resultobj
= Py_None
;
19531 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self",(char *) "size", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19544 if (SWIG_arg_fail(1)) SWIG_fail
;
19547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 Py_INCREF(Py_None
); resultobj
= Py_None
;
19563 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19566 wxDC
*arg2
= (wxDC
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self",(char *) "dc", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19576 if (SWIG_arg_fail(1)) SWIG_fail
;
19577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19578 if (SWIG_arg_fail(2)) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19595 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
;
19597 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 PyObject
* obj2
= 0 ;
19605 PyObject
* obj3
= 0 ;
19606 PyObject
* obj4
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19613 if (SWIG_arg_fail(1)) SWIG_fail
;
19615 arg2
= (int)(SWIG_As_int(obj1
));
19616 if (SWIG_arg_fail(2)) SWIG_fail
;
19619 arg3
= (int)(SWIG_As_int(obj2
));
19620 if (SWIG_arg_fail(3)) SWIG_fail
;
19623 arg4
= (int)(SWIG_As_int(obj3
));
19624 if (SWIG_arg_fail(4)) SWIG_fail
;
19627 arg5
= (int)(SWIG_As_int(obj4
));
19628 if (SWIG_arg_fail(5)) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 Py_INCREF(Py_None
); resultobj
= Py_None
;
19644 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19651 int arg6
= (int) wxSIZE_AUTO
;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 PyObject
* obj2
= 0 ;
19655 PyObject
* obj3
= 0 ;
19656 PyObject
* obj4
= 0 ;
19657 PyObject
* obj5
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19664 if (SWIG_arg_fail(1)) SWIG_fail
;
19666 arg2
= (int)(SWIG_As_int(obj1
));
19667 if (SWIG_arg_fail(2)) SWIG_fail
;
19670 arg3
= (int)(SWIG_As_int(obj2
));
19671 if (SWIG_arg_fail(3)) SWIG_fail
;
19674 arg4
= (int)(SWIG_As_int(obj3
));
19675 if (SWIG_arg_fail(4)) SWIG_fail
;
19678 arg5
= (int)(SWIG_As_int(obj4
));
19679 if (SWIG_arg_fail(5)) SWIG_fail
;
19683 arg6
= (int)(SWIG_As_int(obj5
));
19684 if (SWIG_arg_fail(6)) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 Py_INCREF(Py_None
); resultobj
= Py_None
;
19701 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 PyObject
* obj2
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self",(char *) "width",(char *) "height", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19715 if (SWIG_arg_fail(1)) SWIG_fail
;
19717 arg2
= (int)(SWIG_As_int(obj1
));
19718 if (SWIG_arg_fail(2)) SWIG_fail
;
19721 arg3
= (int)(SWIG_As_int(obj2
));
19722 if (SWIG_arg_fail(3)) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 Py_INCREF(Py_None
); resultobj
= Py_None
;
19738 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 PyObject
* obj2
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self",(char *) "x",(char *) "y", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19752 if (SWIG_arg_fail(1)) SWIG_fail
;
19754 arg2
= (int)(SWIG_As_int(obj1
));
19755 if (SWIG_arg_fail(2)) SWIG_fail
;
19758 arg3
= (int)(SWIG_As_int(obj2
));
19759 if (SWIG_arg_fail(3)) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19778 int *arg2
= (int *) 0 ;
19779 int *arg3
= (int *) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self", NULL
19789 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19790 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19793 if (SWIG_arg_fail(1)) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 Py_INCREF(Py_None
); resultobj
= Py_None
;
19802 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19803 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19804 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19805 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19812 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19815 int *arg2
= (int *) 0 ;
19816 int *arg3
= (int *) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self", NULL
19826 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19827 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19830 if (SWIG_arg_fail(1)) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 Py_INCREF(Py_None
); resultobj
= Py_None
;
19839 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19840 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19841 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19842 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19849 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19852 int *arg2
= (int *) 0 ;
19853 int *arg3
= (int *) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19864 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19867 if (SWIG_arg_fail(1)) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 Py_INCREF(Py_None
); resultobj
= Py_None
;
19876 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19877 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19878 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19879 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19886 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19906 wxSize
* resultptr
;
19907 resultptr
= new wxSize((wxSize
&)(result
));
19908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19916 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19920 PyObject
* obj0
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19936 wxSize
* resultptr
;
19937 resultptr
= new wxSize((wxSize
&)(result
));
19938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19946 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19949 PyObject
* obj0
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19956 if (SWIG_arg_fail(1)) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 (arg1
)->base_InitDialog();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 Py_INCREF(Py_None
); resultobj
= Py_None
;
19971 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19975 PyObject
* obj0
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19982 if (SWIG_arg_fail(1)) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (bool)(arg1
)->base_TransferDataToWindow();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(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_TransferDataFromWindow",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)(arg1
)->base_TransferDataFromWindow();
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_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20038 if (SWIG_arg_fail(1)) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->base_Validate();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20066 if (SWIG_arg_fail(1)) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20083 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20094 if (SWIG_arg_fail(1)) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20111 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20122 if (SWIG_arg_fail(1)) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20131 wxSize
* resultptr
;
20132 resultptr
= new wxSize((wxSize
&)(result
));
20133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20141 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20144 wxWindow
*arg2
= (wxWindow
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 PyObject
* obj1
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self",(char *) "child", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20153 if (SWIG_arg_fail(1)) SWIG_fail
;
20154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20155 if (SWIG_arg_fail(2)) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 (arg1
)->base_AddChild(arg2
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 Py_INCREF(Py_None
); resultobj
= Py_None
;
20170 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20173 wxWindow
*arg2
= (wxWindow
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self",(char *) "child", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20182 if (SWIG_arg_fail(1)) SWIG_fail
;
20183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20184 if (SWIG_arg_fail(2)) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 (arg1
)->base_RemoveChild(arg2
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 Py_INCREF(Py_None
); resultobj
= Py_None
;
20199 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20210 if (SWIG_arg_fail(1)) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20227 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20230 wxVisualAttributes result
;
20231 PyObject
* obj0
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20238 if (SWIG_arg_fail(1)) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (arg1
)->base_GetDefaultAttributes();
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20247 wxVisualAttributes
* resultptr
;
20248 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20257 static PyObject
*_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "self", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20267 if (SWIG_arg_fail(1)) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 (arg1
)->base_OnInternalIdle();
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 Py_INCREF(Py_None
); resultobj
= Py_None
;
20282 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20285 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20287 return Py_BuildValue((char *)"");
20289 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20290 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20295 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20300 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20302 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20309 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20310 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20315 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20320 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20322 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20329 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20330 PyObject
*resultobj
;
20331 wxPrintData
*result
;
20333 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (wxPrintData
*)new wxPrintData();
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20348 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20349 PyObject
*resultobj
;
20350 wxPrintData
*arg1
= 0 ;
20351 wxPrintData
*result
;
20352 PyObject
* obj0
= 0 ;
20354 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20357 if (SWIG_arg_fail(1)) SWIG_fail
;
20358 if (arg1
== NULL
) {
20359 SWIG_null_ref("wxPrintData");
20361 if (SWIG_arg_fail(1)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20377 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20382 argc
= PyObject_Length(args
);
20383 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20384 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20387 return _wrap_new_PrintData__SWIG_0(self
,args
);
20393 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20401 return _wrap_new_PrintData__SWIG_1(self
,args
);
20405 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20410 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20413 PyObject
* obj0
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20420 if (SWIG_arg_fail(1)) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 Py_INCREF(Py_None
); resultobj
= Py_None
;
20435 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20446 if (SWIG_arg_fail(1)) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (int)(arg1
)->GetNoCopies();
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= SWIG_From_int((int)(result
));
20463 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20474 if (SWIG_arg_fail(1)) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (bool)(arg1
)->GetCollate();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20491 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (int)(arg1
)->GetOrientation();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_From_int((int)(result
));
20519 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (bool)(arg1
)->Ok();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20547 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20563 result
= (wxString
*) &_result_ref
;
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20573 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20582 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20586 PyObject
* obj0
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20593 if (SWIG_arg_fail(1)) SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 result
= (bool)(arg1
)->GetColour();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20610 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20613 wxDuplexMode result
;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= SWIG_From_int((result
));
20636 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20639 wxPaperSize result
;
20640 PyObject
* obj0
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20647 if (SWIG_arg_fail(1)) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= SWIG_From_int((result
));
20662 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20678 result
= (wxSize
*) &_result_ref
;
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20691 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20702 if (SWIG_arg_fail(1)) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (int)(arg1
)->GetQuality();
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_From_int((int)(result
));
20719 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20730 if (SWIG_arg_fail(1)) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (wxPrintBin
)(arg1
)->GetBin();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_From_int((result
));
20745 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20748 wxPrintMode result
;
20749 PyObject
* obj0
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20756 if (SWIG_arg_fail(1)) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_From_int((result
));
20771 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20775 PyObject
* obj0
= 0 ;
20776 PyObject
* obj1
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self",(char *) "v", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20783 if (SWIG_arg_fail(1)) SWIG_fail
;
20785 arg2
= (int)(SWIG_As_int(obj1
));
20786 if (SWIG_arg_fail(2)) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 (arg1
)->SetNoCopies(arg2
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 Py_INCREF(Py_None
); resultobj
= Py_None
;
20802 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
;
20804 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20806 PyObject
* obj0
= 0 ;
20807 PyObject
* obj1
= 0 ;
20808 char *kwnames
[] = {
20809 (char *) "self",(char *) "flag", NULL
20812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20814 if (SWIG_arg_fail(1)) SWIG_fail
;
20816 arg2
= (bool)(SWIG_As_bool(obj1
));
20817 if (SWIG_arg_fail(2)) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 (arg1
)->SetCollate(arg2
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 Py_INCREF(Py_None
); resultobj
= Py_None
;
20833 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "orient", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail
;
20847 arg2
= (int)(SWIG_As_int(obj1
));
20848 if (SWIG_arg_fail(2)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 (arg1
)->SetOrientation(arg2
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 Py_INCREF(Py_None
); resultobj
= Py_None
;
20864 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20867 wxString
*arg2
= 0 ;
20868 bool temp2
= false ;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self",(char *) "name", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20877 if (SWIG_arg_fail(1)) SWIG_fail
;
20879 arg2
= wxString_in_helper(obj1
);
20880 if (arg2
== NULL
) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 Py_INCREF(Py_None
); resultobj
= Py_None
;
20905 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "self",(char *) "colour", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20917 if (SWIG_arg_fail(1)) SWIG_fail
;
20919 arg2
= (bool)(SWIG_As_bool(obj1
));
20920 if (SWIG_arg_fail(2)) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 (arg1
)->SetColour(arg2
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 Py_INCREF(Py_None
); resultobj
= Py_None
;
20936 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20939 wxDuplexMode arg2
;
20940 PyObject
* obj0
= 0 ;
20941 PyObject
* obj1
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self",(char *) "duplex", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20948 if (SWIG_arg_fail(1)) SWIG_fail
;
20950 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20951 if (SWIG_arg_fail(2)) SWIG_fail
;
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20960 Py_INCREF(Py_None
); resultobj
= Py_None
;
20967 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20968 PyObject
*resultobj
;
20969 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20971 PyObject
* obj0
= 0 ;
20972 PyObject
* obj1
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "self",(char *) "sizeId", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20979 if (SWIG_arg_fail(1)) SWIG_fail
;
20981 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20982 if (SWIG_arg_fail(2)) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 Py_INCREF(Py_None
); resultobj
= Py_None
;
20998 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self",(char *) "sz", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21011 if (SWIG_arg_fail(1)) SWIG_fail
;
21014 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 Py_INCREF(Py_None
); resultobj
= Py_None
;
21030 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21034 PyObject
* obj0
= 0 ;
21035 PyObject
* obj1
= 0 ;
21036 char *kwnames
[] = {
21037 (char *) "self",(char *) "quality", NULL
21040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21042 if (SWIG_arg_fail(1)) SWIG_fail
;
21044 arg2
= (int)(SWIG_As_int(obj1
));
21045 if (SWIG_arg_fail(2)) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 (arg1
)->SetQuality(arg2
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21054 Py_INCREF(Py_None
); resultobj
= Py_None
;
21061 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21063 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self",(char *) "bin", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21073 if (SWIG_arg_fail(1)) SWIG_fail
;
21075 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
21076 if (SWIG_arg_fail(2)) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 (arg1
)->SetBin((wxPrintBin
)arg2
);
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 Py_INCREF(Py_None
); resultobj
= Py_None
;
21092 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21094 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 PyObject
* obj1
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self",(char *) "printMode", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21104 if (SWIG_arg_fail(1)) SWIG_fail
;
21106 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21107 if (SWIG_arg_fail(2)) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 Py_INCREF(Py_None
); resultobj
= Py_None
;
21123 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21124 PyObject
*resultobj
;
21125 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21127 PyObject
* obj0
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21134 if (SWIG_arg_fail(1)) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21155 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21158 wxString
*arg2
= 0 ;
21159 bool temp2
= false ;
21160 PyObject
* obj0
= 0 ;
21161 PyObject
* obj1
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self",(char *) "filename", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21168 if (SWIG_arg_fail(1)) SWIG_fail
;
21170 arg2
= wxString_in_helper(obj1
);
21171 if (arg2
== NULL
) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 (arg1
)->SetFilename((wxString
const &)*arg2
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 Py_INCREF(Py_None
); resultobj
= Py_None
;
21196 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21200 PyObject
* obj0
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21207 if (SWIG_arg_fail(1)) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= result
;
21222 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21225 PyObject
*arg2
= (PyObject
*) 0 ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "data", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 wxPrintData_SetPrivData(arg1
,arg2
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 Py_INCREF(Py_None
); resultobj
= Py_None
;
21250 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21261 if (SWIG_arg_fail(1)) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21266 result
= (wxString
*) &_result_ref
;
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21274 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21276 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21285 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
;
21287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21289 PyObject
* obj0
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21296 if (SWIG_arg_fail(1)) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21301 result
= (wxString
*) &_result_ref
;
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21311 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21320 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21331 if (SWIG_arg_fail(1)) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21336 result
= (wxString
*) &_result_ref
;
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21346 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21355 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21366 if (SWIG_arg_fail(1)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21371 result
= (wxString
*) &_result_ref
;
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21379 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21381 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21390 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "self", NULL
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21401 if (SWIG_arg_fail(1)) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (double)(arg1
)->GetPrinterScaleX();
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= SWIG_From_double((double)(result
));
21418 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21429 if (SWIG_arg_fail(1)) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (double)(arg1
)->GetPrinterScaleY();
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= SWIG_From_double((double)(result
));
21446 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21457 if (SWIG_arg_fail(1)) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (long)(arg1
)->GetPrinterTranslateX();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= SWIG_From_long((long)(result
));
21474 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21485 if (SWIG_arg_fail(1)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (long)(arg1
)->GetPrinterTranslateY();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_From_long((long)(result
));
21502 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21505 wxString
*arg2
= 0 ;
21506 bool temp2
= false ;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "command", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21515 if (SWIG_arg_fail(1)) SWIG_fail
;
21517 arg2
= wxString_in_helper(obj1
);
21518 if (arg2
== NULL
) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 Py_INCREF(Py_None
); resultobj
= Py_None
;
21543 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21546 wxString
*arg2
= 0 ;
21547 bool temp2
= false ;
21548 PyObject
* obj0
= 0 ;
21549 PyObject
* obj1
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "self",(char *) "options", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21556 if (SWIG_arg_fail(1)) SWIG_fail
;
21558 arg2
= wxString_in_helper(obj1
);
21559 if (arg2
== NULL
) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 Py_INCREF(Py_None
); resultobj
= Py_None
;
21584 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21587 wxString
*arg2
= 0 ;
21588 bool temp2
= false ;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self",(char *) "command", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21597 if (SWIG_arg_fail(1)) SWIG_fail
;
21599 arg2
= wxString_in_helper(obj1
);
21600 if (arg2
== NULL
) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 Py_INCREF(Py_None
); resultobj
= Py_None
;
21625 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21628 wxString
*arg2
= 0 ;
21629 bool temp2
= false ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "path", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 arg2
= wxString_in_helper(obj1
);
21641 if (arg2
== NULL
) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self",(char *) "x", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21678 if (SWIG_arg_fail(1)) SWIG_fail
;
21680 arg2
= (double)(SWIG_As_double(obj1
));
21681 if (SWIG_arg_fail(2)) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 (arg1
)->SetPrinterScaleX(arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 Py_INCREF(Py_None
); resultobj
= Py_None
;
21697 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "y", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail
;
21711 arg2
= (double)(SWIG_As_double(obj1
));
21712 if (SWIG_arg_fail(2)) SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 (arg1
)->SetPrinterScaleY(arg2
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 Py_INCREF(Py_None
); resultobj
= Py_None
;
21728 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 PyObject
* obj2
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self",(char *) "x",(char *) "y", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21742 if (SWIG_arg_fail(1)) SWIG_fail
;
21744 arg2
= (double)(SWIG_As_double(obj1
));
21745 if (SWIG_arg_fail(2)) SWIG_fail
;
21748 arg3
= (double)(SWIG_As_double(obj2
));
21749 if (SWIG_arg_fail(3)) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 Py_INCREF(Py_None
); resultobj
= Py_None
;
21765 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "x", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail
;
21779 arg2
= (long)(SWIG_As_long(obj1
));
21780 if (SWIG_arg_fail(2)) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 (arg1
)->SetPrinterTranslateX(arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "y", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 arg2
= (long)(SWIG_As_long(obj1
));
21811 if (SWIG_arg_fail(2)) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 (arg1
)->SetPrinterTranslateY(arg2
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 Py_INCREF(Py_None
); resultobj
= Py_None
;
21827 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 PyObject
* obj2
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self",(char *) "x",(char *) "y", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21841 if (SWIG_arg_fail(1)) SWIG_fail
;
21843 arg2
= (long)(SWIG_As_long(obj1
));
21844 if (SWIG_arg_fail(2)) SWIG_fail
;
21847 arg3
= (long)(SWIG_As_long(obj2
));
21848 if (SWIG_arg_fail(3)) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 Py_INCREF(Py_None
); resultobj
= Py_None
;
21864 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21867 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21869 return Py_BuildValue((char *)"");
21871 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21872 PyObject
*resultobj
;
21873 wxPageSetupDialogData
*result
;
21875 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21890 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21891 PyObject
*resultobj
;
21892 wxPageSetupDialogData
*arg1
= 0 ;
21893 wxPageSetupDialogData
*result
;
21894 PyObject
* obj0
= 0 ;
21896 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21899 if (SWIG_arg_fail(1)) SWIG_fail
;
21900 if (arg1
== NULL
) {
21901 SWIG_null_ref("wxPageSetupDialogData");
21903 if (SWIG_arg_fail(1)) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21919 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21920 PyObject
*resultobj
;
21921 wxPrintData
*arg1
= 0 ;
21922 wxPageSetupDialogData
*result
;
21923 PyObject
* obj0
= 0 ;
21925 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail
;
21929 if (arg1
== NULL
) {
21930 SWIG_null_ref("wxPrintData");
21932 if (SWIG_arg_fail(1)) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21948 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21953 argc
= PyObject_Length(args
);
21954 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21955 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21958 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21964 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21972 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21979 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21987 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21991 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21996 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22006 if (SWIG_arg_fail(1)) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "flag", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
22032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22033 if (SWIG_arg_fail(1)) SWIG_fail
;
22035 arg2
= (bool)(SWIG_As_bool(obj1
));
22036 if (SWIG_arg_fail(2)) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 (arg1
)->EnableHelp(arg2
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 Py_INCREF(Py_None
); resultobj
= Py_None
;
22052 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self",(char *) "flag", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22064 if (SWIG_arg_fail(1)) SWIG_fail
;
22066 arg2
= (bool)(SWIG_As_bool(obj1
));
22067 if (SWIG_arg_fail(2)) SWIG_fail
;
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 (arg1
)->EnableMargins(arg2
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 Py_INCREF(Py_None
); resultobj
= Py_None
;
22083 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22085 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "flag", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22095 if (SWIG_arg_fail(1)) SWIG_fail
;
22097 arg2
= (bool)(SWIG_As_bool(obj1
));
22098 if (SWIG_arg_fail(2)) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 (arg1
)->EnableOrientation(arg2
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 Py_INCREF(Py_None
); resultobj
= Py_None
;
22114 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "flag", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22126 if (SWIG_arg_fail(1)) SWIG_fail
;
22128 arg2
= (bool)(SWIG_As_bool(obj1
));
22129 if (SWIG_arg_fail(2)) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->EnablePaper(arg2
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 Py_INCREF(Py_None
); resultobj
= Py_None
;
22145 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "flag", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22157 if (SWIG_arg_fail(1)) SWIG_fail
;
22159 arg2
= (bool)(SWIG_As_bool(obj1
));
22160 if (SWIG_arg_fail(2)) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 (arg1
)->EnablePrinter(arg2
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 Py_INCREF(Py_None
); resultobj
= Py_None
;
22176 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22180 PyObject
* obj0
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22187 if (SWIG_arg_fail(1)) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (bool)(arg1
)->GetDefaultMinMargins();
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22204 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22215 if (SWIG_arg_fail(1)) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= (bool)(arg1
)->GetEnableMargins();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22232 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (bool)(arg1
)->GetEnableOrientation();
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (bool)(arg1
)->GetEnablePaper();
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22288 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= (bool)(arg1
)->GetEnablePrinter();
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22316 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (bool)(arg1
)->GetEnableHelp();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22344 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22348 PyObject
* obj0
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22355 if (SWIG_arg_fail(1)) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 result
= (bool)(arg1
)->GetDefaultInfo();
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22372 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22383 if (SWIG_arg_fail(1)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (arg1
)->GetMarginTopLeft();
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 wxPoint
* resultptr
;
22393 resultptr
= new wxPoint((wxPoint
&)(result
));
22394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22402 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22406 PyObject
* obj0
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22413 if (SWIG_arg_fail(1)) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (arg1
)->GetMarginBottomRight();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 wxPoint
* resultptr
;
22423 resultptr
= new wxPoint((wxPoint
&)(result
));
22424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22432 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (arg1
)->GetMinMarginTopLeft();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22452 wxPoint
* resultptr
;
22453 resultptr
= new wxPoint((wxPoint
&)(result
));
22454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22462 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (arg1
)->GetMinMarginBottomRight();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 wxPoint
* resultptr
;
22483 resultptr
= new wxPoint((wxPoint
&)(result
));
22484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22492 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22495 wxPaperSize result
;
22496 PyObject
* obj0
= 0 ;
22497 char *kwnames
[] = {
22498 (char *) "self", NULL
22501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22503 if (SWIG_arg_fail(1)) SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_From_int((result
));
22518 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= (arg1
)->GetPaperSize();
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22538 wxSize
* resultptr
;
22539 resultptr
= new wxSize((wxSize
&)(result
));
22540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22548 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22551 wxPrintData
*result
;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22564 result
= (wxPrintData
*) &_result_ref
;
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22577 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22588 if (SWIG_arg_fail(1)) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= (bool)(arg1
)->Ok();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22605 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self",(char *) "flag", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22617 if (SWIG_arg_fail(1)) SWIG_fail
;
22619 arg2
= (bool)(SWIG_As_bool(obj1
));
22620 if (SWIG_arg_fail(2)) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->SetDefaultInfo(arg2
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "flag", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22648 if (SWIG_arg_fail(1)) SWIG_fail
;
22650 arg2
= (bool)(SWIG_As_bool(obj1
));
22651 if (SWIG_arg_fail(2)) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 (arg1
)->SetDefaultMinMargins(arg2
);
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22670 wxPoint
*arg2
= 0 ;
22672 PyObject
* obj0
= 0 ;
22673 PyObject
* obj1
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self",(char *) "pt", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22680 if (SWIG_arg_fail(1)) SWIG_fail
;
22683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 Py_INCREF(Py_None
); resultobj
= Py_None
;
22699 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22702 wxPoint
*arg2
= 0 ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self",(char *) "pt", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22712 if (SWIG_arg_fail(1)) SWIG_fail
;
22715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 Py_INCREF(Py_None
); resultobj
= Py_None
;
22731 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22734 wxPoint
*arg2
= 0 ;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self",(char *) "pt", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22744 if (SWIG_arg_fail(1)) SWIG_fail
;
22747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22766 wxPoint
*arg2
= 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self",(char *) "pt", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22776 if (SWIG_arg_fail(1)) SWIG_fail
;
22779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 Py_INCREF(Py_None
); resultobj
= Py_None
;
22795 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
;
22797 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22799 PyObject
* obj0
= 0 ;
22800 PyObject
* obj1
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self",(char *) "id", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail
;
22809 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22810 if (SWIG_arg_fail(2)) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 Py_INCREF(Py_None
); resultobj
= Py_None
;
22826 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22828 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self",(char *) "size", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail
;
22842 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 Py_INCREF(Py_None
); resultobj
= Py_None
;
22858 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22860 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22861 wxPrintData
*arg2
= 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 char *kwnames
[] = {
22865 (char *) "self",(char *) "printData", NULL
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22870 if (SWIG_arg_fail(1)) SWIG_fail
;
22872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22873 if (SWIG_arg_fail(2)) SWIG_fail
;
22874 if (arg2
== NULL
) {
22875 SWIG_null_ref("wxPrintData");
22877 if (SWIG_arg_fail(2)) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 Py_INCREF(Py_None
); resultobj
= Py_None
;
22893 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22903 if (SWIG_arg_fail(1)) SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 (arg1
)->CalculateIdFromPaperSize();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 Py_INCREF(Py_None
); resultobj
= Py_None
;
22918 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22928 if (SWIG_arg_fail(1)) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 (arg1
)->CalculatePaperSizeFromId();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 Py_INCREF(Py_None
); resultobj
= Py_None
;
22943 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22946 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22948 return Py_BuildValue((char *)"");
22950 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxWindow
*arg1
= (wxWindow
*) 0 ;
22953 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22954 wxPageSetupDialog
*result
;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "parent",(char *) "data", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22963 if (SWIG_arg_fail(1)) SWIG_fail
;
22965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22966 if (SWIG_arg_fail(2)) SWIG_fail
;
22969 if (!wxPyCheckForApp()) SWIG_fail
;
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22973 wxPyEndAllowThreads(__tstate
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22983 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22985 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22986 wxPageSetupDialogData
*result
;
22987 PyObject
* obj0
= 0 ;
22988 char *kwnames
[] = {
22989 (char *) "self", NULL
22992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22994 if (SWIG_arg_fail(1)) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22999 result
= (wxPageSetupDialogData
*) &_result_ref
;
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23012 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23015 wxPageSetupDialogData
*result
;
23016 PyObject
* obj0
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
23022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23023 if (SWIG_arg_fail(1)) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
23028 result
= (wxPageSetupDialogData
*) &_result_ref
;
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23041 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23043 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23052 if (SWIG_arg_fail(1)) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (int)(arg1
)->ShowModal();
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= SWIG_From_int((int)(result
));
23069 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23072 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23074 return Py_BuildValue((char *)"");
23076 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23077 PyObject
*resultobj
;
23078 wxPrintDialogData
*result
;
23080 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23095 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23096 PyObject
*resultobj
;
23097 wxPrintData
*arg1
= 0 ;
23098 wxPrintDialogData
*result
;
23099 PyObject
* obj0
= 0 ;
23101 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23104 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 if (arg1
== NULL
) {
23106 SWIG_null_ref("wxPrintData");
23108 if (SWIG_arg_fail(1)) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23124 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23125 PyObject
*resultobj
;
23126 wxPrintDialogData
*arg1
= 0 ;
23127 wxPrintDialogData
*result
;
23128 PyObject
* obj0
= 0 ;
23130 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail
;
23134 if (arg1
== NULL
) {
23135 SWIG_null_ref("wxPrintDialogData");
23137 if (SWIG_arg_fail(1)) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23153 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23158 argc
= PyObject_Length(args
);
23159 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23160 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23163 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23169 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23177 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23184 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23192 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23196 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23201 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23204 PyObject
* obj0
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23211 if (SWIG_arg_fail(1)) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 Py_INCREF(Py_None
); resultobj
= Py_None
;
23226 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23237 if (SWIG_arg_fail(1)) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_From_int((int)(result
));
23254 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23258 PyObject
* obj0
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= SWIG_From_int((int)(result
));
23282 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23286 PyObject
* obj0
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_From_int((int)(result
));
23310 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23321 if (SWIG_arg_fail(1)) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_From_int((int)(result
));
23338 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23349 if (SWIG_arg_fail(1)) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= SWIG_From_int((int)(result
));
23366 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23377 if (SWIG_arg_fail(1)) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23394 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23398 PyObject
* obj0
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23405 if (SWIG_arg_fail(1)) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23422 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23433 if (SWIG_arg_fail(1)) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23450 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23478 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23482 PyObject
* obj0
= 0 ;
23483 char *kwnames
[] = {
23484 (char *) "self", NULL
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23489 if (SWIG_arg_fail(1)) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23506 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self",(char *) "flag", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 arg2
= (bool)(SWIG_As_bool(obj1
));
23521 if (SWIG_arg_fail(2)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 (arg1
)->SetSetupDialog(arg2
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 Py_INCREF(Py_None
); resultobj
= Py_None
;
23537 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 PyObject
* obj1
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self",(char *) "v", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23549 if (SWIG_arg_fail(1)) SWIG_fail
;
23551 arg2
= (int)(SWIG_As_int(obj1
));
23552 if (SWIG_arg_fail(2)) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 (arg1
)->SetFromPage(arg2
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 Py_INCREF(Py_None
); resultobj
= Py_None
;
23568 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self",(char *) "v", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23580 if (SWIG_arg_fail(1)) SWIG_fail
;
23582 arg2
= (int)(SWIG_As_int(obj1
));
23583 if (SWIG_arg_fail(2)) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 (arg1
)->SetToPage(arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 Py_INCREF(Py_None
); resultobj
= Py_None
;
23599 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char *kwnames
[] = {
23606 (char *) "self",(char *) "v", NULL
23609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23611 if (SWIG_arg_fail(1)) SWIG_fail
;
23613 arg2
= (int)(SWIG_As_int(obj1
));
23614 if (SWIG_arg_fail(2)) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 (arg1
)->SetMinPage(arg2
);
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 Py_INCREF(Py_None
); resultobj
= Py_None
;
23630 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
;
23632 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23634 PyObject
* obj0
= 0 ;
23635 PyObject
* obj1
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self",(char *) "v", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23642 if (SWIG_arg_fail(1)) SWIG_fail
;
23644 arg2
= (int)(SWIG_As_int(obj1
));
23645 if (SWIG_arg_fail(2)) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 (arg1
)->SetMaxPage(arg2
);
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 Py_INCREF(Py_None
); resultobj
= Py_None
;
23661 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23665 PyObject
* obj0
= 0 ;
23666 PyObject
* obj1
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "self",(char *) "v", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23673 if (SWIG_arg_fail(1)) SWIG_fail
;
23675 arg2
= (int)(SWIG_As_int(obj1
));
23676 if (SWIG_arg_fail(2)) SWIG_fail
;
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 (arg1
)->SetNoCopies(arg2
);
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 Py_INCREF(Py_None
); resultobj
= Py_None
;
23692 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23696 PyObject
* obj0
= 0 ;
23697 PyObject
* obj1
= 0 ;
23698 char *kwnames
[] = {
23699 (char *) "self",(char *) "flag", NULL
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
23707 if (SWIG_arg_fail(2)) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 (arg1
)->SetAllPages(arg2
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 Py_INCREF(Py_None
); resultobj
= Py_None
;
23723 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "self",(char *) "flag", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23735 if (SWIG_arg_fail(1)) SWIG_fail
;
23737 arg2
= (bool)(SWIG_As_bool(obj1
));
23738 if (SWIG_arg_fail(2)) SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 (arg1
)->SetSelection(arg2
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 Py_INCREF(Py_None
); resultobj
= Py_None
;
23754 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23758 PyObject
* obj0
= 0 ;
23759 PyObject
* obj1
= 0 ;
23760 char *kwnames
[] = {
23761 (char *) "self",(char *) "flag", NULL
23764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23766 if (SWIG_arg_fail(1)) SWIG_fail
;
23768 arg2
= (bool)(SWIG_As_bool(obj1
));
23769 if (SWIG_arg_fail(2)) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 (arg1
)->SetCollate(arg2
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 Py_INCREF(Py_None
); resultobj
= Py_None
;
23785 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self",(char *) "flag", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23797 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 arg2
= (bool)(SWIG_As_bool(obj1
));
23800 if (SWIG_arg_fail(2)) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 (arg1
)->SetPrintToFile(arg2
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 Py_INCREF(Py_None
); resultobj
= Py_None
;
23816 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self",(char *) "flag", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23828 if (SWIG_arg_fail(1)) SWIG_fail
;
23830 arg2
= (bool)(SWIG_As_bool(obj1
));
23831 if (SWIG_arg_fail(2)) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 (arg1
)->EnablePrintToFile(arg2
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 Py_INCREF(Py_None
); resultobj
= Py_None
;
23847 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 PyObject
* obj1
= 0 ;
23853 char *kwnames
[] = {
23854 (char *) "self",(char *) "flag", NULL
23857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23859 if (SWIG_arg_fail(1)) SWIG_fail
;
23861 arg2
= (bool)(SWIG_As_bool(obj1
));
23862 if (SWIG_arg_fail(2)) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 (arg1
)->EnableSelection(arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 Py_INCREF(Py_None
); resultobj
= Py_None
;
23878 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "flag", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23890 if (SWIG_arg_fail(1)) SWIG_fail
;
23892 arg2
= (bool)(SWIG_As_bool(obj1
));
23893 if (SWIG_arg_fail(2)) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 (arg1
)->EnablePageNumbers(arg2
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 Py_INCREF(Py_None
); resultobj
= Py_None
;
23909 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "flag", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23921 if (SWIG_arg_fail(1)) SWIG_fail
;
23923 arg2
= (bool)(SWIG_As_bool(obj1
));
23924 if (SWIG_arg_fail(2)) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 (arg1
)->EnableHelp(arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 Py_INCREF(Py_None
); resultobj
= Py_None
;
23940 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23951 if (SWIG_arg_fail(1)) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23968 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23979 if (SWIG_arg_fail(1)) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23996 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
;
23998 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
24006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24007 if (SWIG_arg_fail(1)) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24024 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
24034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24035 if (SWIG_arg_fail(1)) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24052 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
24062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24080 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24083 wxPrintData
*result
;
24084 PyObject
* obj0
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24096 result
= (wxPrintData
*) &_result_ref
;
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24109 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
;
24111 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24112 wxPrintData
*arg2
= 0 ;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 char *kwnames
[] = {
24116 (char *) "self",(char *) "printData", NULL
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24121 if (SWIG_arg_fail(1)) SWIG_fail
;
24123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24124 if (SWIG_arg_fail(2)) SWIG_fail
;
24125 if (arg2
== NULL
) {
24126 SWIG_null_ref("wxPrintData");
24128 if (SWIG_arg_fail(2)) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 Py_INCREF(Py_None
); resultobj
= Py_None
;
24144 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24147 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24149 return Py_BuildValue((char *)"");
24151 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxWindow
*arg1
= (wxWindow
*) 0 ;
24154 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24155 wxPrintDialog
*result
;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "parent",(char *) "data", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24164 if (SWIG_arg_fail(1)) SWIG_fail
;
24166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24167 if (SWIG_arg_fail(2)) SWIG_fail
;
24170 if (!wxPyCheckForApp()) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24184 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24195 if (SWIG_arg_fail(1)) SWIG_fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (int)(arg1
)->ShowModal();
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= SWIG_From_int((int)(result
));
24212 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24215 wxPrintDialogData
*result
;
24216 PyObject
* obj0
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24223 if (SWIG_arg_fail(1)) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24228 result
= (wxPrintDialogData
*) &_result_ref
;
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24241 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24244 wxPrintData
*result
;
24245 PyObject
* obj0
= 0 ;
24246 char *kwnames
[] = {
24247 (char *) "self", NULL
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24252 if (SWIG_arg_fail(1)) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24257 result
= (wxPrintData
*) &_result_ref
;
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24270 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24272 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 char *kwnames
[] = {
24276 (char *) "self", NULL
24279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24281 if (SWIG_arg_fail(1)) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (wxDC
*)(arg1
)->GetPrintDC();
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= wxPyMake_wxObject(result
, 1);
24298 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24301 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24303 return Py_BuildValue((char *)"");
24305 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "data", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24317 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 if (!wxPyCheckForApp()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxPrinter
*)new wxPrinter(arg1
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24334 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24344 if (SWIG_arg_fail(1)) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 Py_INCREF(Py_None
); resultobj
= Py_None
;
24359 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
;
24361 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24362 wxWindow
*arg2
= (wxWindow
*) 0 ;
24363 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 PyObject
* obj2
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self",(char *) "parent",(char *) "printout", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24374 if (SWIG_arg_fail(1)) SWIG_fail
;
24375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24376 if (SWIG_arg_fail(2)) SWIG_fail
;
24377 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24378 if (SWIG_arg_fail(3)) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= wxPyMake_wxObject(result
, 0);
24395 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24398 wxWindow
*arg2
= (wxWindow
*) 0 ;
24399 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24400 wxString
*arg4
= 0 ;
24401 bool temp4
= false ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 PyObject
* obj2
= 0 ;
24405 PyObject
* obj3
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24414 if (SWIG_arg_fail(2)) SWIG_fail
;
24415 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24416 if (SWIG_arg_fail(3)) SWIG_fail
;
24418 arg4
= wxString_in_helper(obj3
);
24419 if (arg4
== NULL
) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 Py_INCREF(Py_None
); resultobj
= Py_None
;
24444 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
;
24446 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24447 wxWindow
*arg2
= (wxWindow
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 PyObject
* obj1
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self",(char *) "parent", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24457 if (SWIG_arg_fail(1)) SWIG_fail
;
24458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24459 if (SWIG_arg_fail(2)) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 result
= (bool)(arg1
)->Setup(arg2
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24476 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24479 wxWindow
*arg2
= (wxWindow
*) 0 ;
24480 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24481 bool arg4
= (bool) true ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 PyObject
* obj2
= 0 ;
24486 PyObject
* obj3
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail
;
24494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24495 if (SWIG_arg_fail(2)) SWIG_fail
;
24496 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24497 if (SWIG_arg_fail(3)) SWIG_fail
;
24500 arg4
= (bool)(SWIG_As_bool(obj3
));
24501 if (SWIG_arg_fail(4)) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24520 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
;
24522 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24523 wxWindow
*arg2
= (wxWindow
*) 0 ;
24525 PyObject
* obj0
= 0 ;
24526 PyObject
* obj1
= 0 ;
24527 char *kwnames
[] = {
24528 (char *) "self",(char *) "parent", NULL
24531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24533 if (SWIG_arg_fail(1)) SWIG_fail
;
24534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24535 if (SWIG_arg_fail(2)) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= wxPyMake_wxObject(result
, 0);
24552 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24555 wxPrintDialogData
*result
;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24563 if (SWIG_arg_fail(1)) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24568 result
= (wxPrintDialogData
*) &_result_ref
;
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24581 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (bool)(arg1
)->GetAbort();
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24609 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPrinterError result
;
24612 char *kwnames
[] = {
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (wxPrinterError
)wxPrinter::GetLastError();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_From_int((result
));
24631 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24634 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24636 return Py_BuildValue((char *)"");
24638 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24641 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24642 wxPyPrintout
*result
;
24643 bool temp1
= false ;
24644 PyObject
* obj0
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "title", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24652 arg1
= wxString_in_helper(obj0
);
24653 if (arg1
== NULL
) SWIG_fail
;
24658 if (!wxPyCheckForApp()) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= wxPyMake_wxObject(result
, 1);
24682 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24685 PyObject
*arg2
= (PyObject
*) 0 ;
24686 PyObject
*arg3
= (PyObject
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 PyObject
* obj2
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "self",(char *) "_class", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 Py_INCREF(Py_None
); resultobj
= Py_None
;
24713 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
;
24715 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24745 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (wxDC
*)(arg1
)->GetDC();
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= wxPyMake_wxObject(result
, 0);
24773 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24776 wxDC
*arg2
= (wxDC
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self",(char *) "dc", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24785 if (SWIG_arg_fail(1)) SWIG_fail
;
24786 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24787 if (SWIG_arg_fail(2)) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 (arg1
)->SetDC(arg2
);
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 Py_INCREF(Py_None
); resultobj
= Py_None
;
24802 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 PyObject
* obj2
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self",(char *) "w",(char *) "h", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24816 if (SWIG_arg_fail(1)) SWIG_fail
;
24818 arg2
= (int)(SWIG_As_int(obj1
));
24819 if (SWIG_arg_fail(2)) SWIG_fail
;
24822 arg3
= (int)(SWIG_As_int(obj2
));
24823 if (SWIG_arg_fail(3)) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 Py_INCREF(Py_None
); resultobj
= Py_None
;
24839 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24842 int *arg2
= (int *) 0 ;
24843 int *arg3
= (int *) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self", NULL
24853 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24854 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24857 if (SWIG_arg_fail(1)) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 Py_INCREF(Py_None
); resultobj
= Py_None
;
24866 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24867 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24868 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24869 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24876 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 PyObject
* obj2
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "w",(char *) "h", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24890 if (SWIG_arg_fail(1)) SWIG_fail
;
24892 arg2
= (int)(SWIG_As_int(obj1
));
24893 if (SWIG_arg_fail(2)) SWIG_fail
;
24896 arg3
= (int)(SWIG_As_int(obj2
));
24897 if (SWIG_arg_fail(3)) SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 Py_INCREF(Py_None
); resultobj
= Py_None
;
24913 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24916 int *arg2
= (int *) 0 ;
24917 int *arg3
= (int *) 0 ;
24922 PyObject
* obj0
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self", NULL
24927 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24928 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24931 if (SWIG_arg_fail(1)) SWIG_fail
;
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 Py_INCREF(Py_None
); resultobj
= Py_None
;
24940 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24941 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24942 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24943 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24950 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 PyObject
* obj2
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self",(char *) "x",(char *) "y", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24966 arg2
= (int)(SWIG_As_int(obj1
));
24967 if (SWIG_arg_fail(2)) SWIG_fail
;
24970 arg3
= (int)(SWIG_As_int(obj2
));
24971 if (SWIG_arg_fail(3)) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 (arg1
)->SetPPIScreen(arg2
,arg3
);
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 Py_INCREF(Py_None
); resultobj
= Py_None
;
24987 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24990 int *arg2
= (int *) 0 ;
24991 int *arg3
= (int *) 0 ;
24996 PyObject
* obj0
= 0 ;
24997 char *kwnames
[] = {
24998 (char *) "self", NULL
25001 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25002 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
25004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25005 if (SWIG_arg_fail(1)) SWIG_fail
;
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 (arg1
)->GetPPIScreen(arg2
,arg3
);
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 Py_INCREF(Py_None
); resultobj
= Py_None
;
25014 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25015 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25016 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25017 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25024 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
;
25026 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 PyObject
* obj2
= 0 ;
25032 char *kwnames
[] = {
25033 (char *) "self",(char *) "x",(char *) "y", NULL
25036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25038 if (SWIG_arg_fail(1)) SWIG_fail
;
25040 arg2
= (int)(SWIG_As_int(obj1
));
25041 if (SWIG_arg_fail(2)) SWIG_fail
;
25044 arg3
= (int)(SWIG_As_int(obj2
));
25045 if (SWIG_arg_fail(3)) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->SetPPIPrinter(arg2
,arg3
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 Py_INCREF(Py_None
); resultobj
= Py_None
;
25061 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25064 int *arg2
= (int *) 0 ;
25065 int *arg3
= (int *) 0 ;
25070 PyObject
* obj0
= 0 ;
25071 char *kwnames
[] = {
25072 (char *) "self", NULL
25075 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25076 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
25078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25079 if (SWIG_arg_fail(1)) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 (arg1
)->GetPPIPrinter(arg2
,arg3
);
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25087 Py_INCREF(Py_None
); resultobj
= Py_None
;
25088 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25089 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25090 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25091 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25098 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25109 if (SWIG_arg_fail(1)) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (bool)(arg1
)->IsPreview();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25126 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25130 PyObject
* obj0
= 0 ;
25131 PyObject
* obj1
= 0 ;
25132 char *kwnames
[] = {
25133 (char *) "self",(char *) "p", NULL
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25138 if (SWIG_arg_fail(1)) SWIG_fail
;
25140 arg2
= (bool)(SWIG_As_bool(obj1
));
25141 if (SWIG_arg_fail(2)) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 (arg1
)->SetIsPreview(arg2
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25157 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 PyObject
* obj2
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25172 if (SWIG_arg_fail(1)) SWIG_fail
;
25174 arg2
= (int)(SWIG_As_int(obj1
));
25175 if (SWIG_arg_fail(2)) SWIG_fail
;
25178 arg3
= (int)(SWIG_As_int(obj2
));
25179 if (SWIG_arg_fail(3)) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25197 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25207 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 (arg1
)->base_OnEndDocument();
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 Py_INCREF(Py_None
); resultobj
= Py_None
;
25222 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25223 PyObject
*resultobj
;
25224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25225 PyObject
* obj0
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25232 if (SWIG_arg_fail(1)) SWIG_fail
;
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 (arg1
)->base_OnBeginPrinting();
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 Py_INCREF(Py_None
); resultobj
= Py_None
;
25247 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25257 if (SWIG_arg_fail(1)) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->base_OnEndPrinting();
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 Py_INCREF(Py_None
); resultobj
= Py_None
;
25272 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25282 if (SWIG_arg_fail(1)) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 (arg1
)->base_OnPreparePrinting();
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 Py_INCREF(Py_None
); resultobj
= Py_None
;
25297 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self",(char *) "page", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25310 if (SWIG_arg_fail(1)) SWIG_fail
;
25312 arg2
= (int)(SWIG_As_int(obj1
));
25313 if (SWIG_arg_fail(2)) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (bool)(arg1
)->base_HasPage(arg2
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25331 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25334 int *arg2
= (int *) 0 ;
25335 int *arg3
= (int *) 0 ;
25336 int *arg4
= (int *) 0 ;
25337 int *arg5
= (int *) 0 ;
25346 PyObject
* obj0
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self", NULL
25351 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25352 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25353 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25354 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25357 if (SWIG_arg_fail(1)) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25365 Py_INCREF(Py_None
); resultobj
= Py_None
;
25366 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25367 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25368 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25369 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25370 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25371 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25372 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25373 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25380 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25383 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25385 return Py_BuildValue((char *)"");
25387 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25390 wxWindow
*arg2
= (wxWindow
*) 0 ;
25391 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25392 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25393 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25394 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25395 long arg5
= (long) 0 ;
25396 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25397 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25398 wxPreviewCanvas
*result
;
25401 bool temp6
= false ;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 PyObject
* obj2
= 0 ;
25405 PyObject
* obj3
= 0 ;
25406 PyObject
* obj4
= 0 ;
25407 PyObject
* obj5
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25414 if (SWIG_arg_fail(1)) SWIG_fail
;
25415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25416 if (SWIG_arg_fail(2)) SWIG_fail
;
25420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25426 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25431 arg5
= (long)(SWIG_As_long(obj4
));
25432 if (SWIG_arg_fail(5)) SWIG_fail
;
25437 arg6
= wxString_in_helper(obj5
);
25438 if (arg6
== NULL
) SWIG_fail
;
25443 if (!wxPyCheckForApp()) SWIG_fail
;
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25465 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25468 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25470 return Py_BuildValue((char *)"");
25472 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
;
25474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25475 wxFrame
*arg2
= (wxFrame
*) 0 ;
25476 wxString
*arg3
= 0 ;
25477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25481 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25482 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25484 wxPreviewFrame
*result
;
25485 bool temp3
= false ;
25488 bool temp7
= false ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 PyObject
* obj2
= 0 ;
25492 PyObject
* obj3
= 0 ;
25493 PyObject
* obj4
= 0 ;
25494 PyObject
* obj5
= 0 ;
25495 PyObject
* obj6
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25502 if (SWIG_arg_fail(1)) SWIG_fail
;
25503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25504 if (SWIG_arg_fail(2)) SWIG_fail
;
25506 arg3
= wxString_in_helper(obj2
);
25507 if (arg3
== NULL
) SWIG_fail
;
25513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25524 arg6
= (long)(SWIG_As_long(obj5
));
25525 if (SWIG_arg_fail(6)) SWIG_fail
;
25530 arg7
= wxString_in_helper(obj6
);
25531 if (arg7
== NULL
) SWIG_fail
;
25536 if (!wxPyCheckForApp()) SWIG_fail
;
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25566 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25576 if (SWIG_arg_fail(1)) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 (arg1
)->Initialize();
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 Py_INCREF(Py_None
); resultobj
= Py_None
;
25591 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
;
25593 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25594 PyObject
* obj0
= 0 ;
25595 char *kwnames
[] = {
25596 (char *) "self", NULL
25599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25601 if (SWIG_arg_fail(1)) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 (arg1
)->CreateControlBar();
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 Py_INCREF(Py_None
); resultobj
= Py_None
;
25616 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 char *kwnames
[] = {
25621 (char *) "self", NULL
25624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25626 if (SWIG_arg_fail(1)) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 (arg1
)->CreateCanvas();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 Py_INCREF(Py_None
); resultobj
= Py_None
;
25641 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
;
25643 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25644 wxPreviewControlBar
*result
;
25645 PyObject
* obj0
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25652 if (SWIG_arg_fail(1)) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25667 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25670 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25672 return Py_BuildValue((char *)"");
25674 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25678 wxWindow
*arg3
= (wxWindow
*) 0 ;
25679 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25680 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25681 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25682 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25683 long arg6
= (long) wxTAB_TRAVERSAL
;
25684 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25685 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25686 wxPreviewControlBar
*result
;
25689 bool temp7
= false ;
25690 PyObject
* obj0
= 0 ;
25691 PyObject
* obj1
= 0 ;
25692 PyObject
* obj2
= 0 ;
25693 PyObject
* obj3
= 0 ;
25694 PyObject
* obj4
= 0 ;
25695 PyObject
* obj5
= 0 ;
25696 PyObject
* obj6
= 0 ;
25697 char *kwnames
[] = {
25698 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25703 if (SWIG_arg_fail(1)) SWIG_fail
;
25705 arg2
= (long)(SWIG_As_long(obj1
));
25706 if (SWIG_arg_fail(2)) SWIG_fail
;
25708 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25709 if (SWIG_arg_fail(3)) SWIG_fail
;
25713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25719 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25724 arg6
= (long)(SWIG_As_long(obj5
));
25725 if (SWIG_arg_fail(6)) SWIG_fail
;
25730 arg7
= wxString_in_helper(obj6
);
25731 if (arg7
== NULL
) SWIG_fail
;
25736 if (!wxPyCheckForApp()) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25758 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25769 if (SWIG_arg_fail(1)) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= (int)(arg1
)->GetZoomControl();
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25778 resultobj
= SWIG_From_int((int)(result
));
25786 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
;
25788 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 char *kwnames
[] = {
25793 (char *) "self",(char *) "zoom", NULL
25796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25798 if (SWIG_arg_fail(1)) SWIG_fail
;
25800 arg2
= (int)(SWIG_As_int(obj1
));
25801 if (SWIG_arg_fail(2)) SWIG_fail
;
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 (arg1
)->SetZoomControl(arg2
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 Py_INCREF(Py_None
); resultobj
= Py_None
;
25817 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25820 wxPrintPreview
*result
;
25821 PyObject
* obj0
= 0 ;
25822 char *kwnames
[] = {
25823 (char *) "self", NULL
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25828 if (SWIG_arg_fail(1)) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25843 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
;
25845 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25846 PyObject
* obj0
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25853 if (SWIG_arg_fail(1)) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 Py_INCREF(Py_None
); resultobj
= Py_None
;
25868 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
;
25870 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25871 PyObject
* obj0
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25878 if (SWIG_arg_fail(1)) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->OnPrevious();
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 Py_INCREF(Py_None
); resultobj
= Py_None
;
25893 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25896 PyObject
* obj0
= 0 ;
25897 char *kwnames
[] = {
25898 (char *) "self", NULL
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25903 if (SWIG_arg_fail(1)) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 Py_INCREF(Py_None
); resultobj
= Py_None
;
25918 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25921 PyObject
* obj0
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25928 if (SWIG_arg_fail(1)) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 Py_INCREF(Py_None
); resultobj
= Py_None
;
25943 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25946 PyObject
* obj0
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25953 if (SWIG_arg_fail(1)) SWIG_fail
;
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 Py_INCREF(Py_None
); resultobj
= Py_None
;
25968 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25971 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25973 return Py_BuildValue((char *)"");
25975 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25976 PyObject
*resultobj
;
25977 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25978 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25979 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25980 wxPrintPreview
*result
;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 PyObject
* obj2
= 0 ;
25985 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25987 if (SWIG_arg_fail(1)) SWIG_fail
;
25988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25989 if (SWIG_arg_fail(2)) SWIG_fail
;
25991 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25992 if (SWIG_arg_fail(3)) SWIG_fail
;
25995 if (!wxPyCheckForApp()) SWIG_fail
;
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26009 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26010 PyObject
*resultobj
;
26011 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26012 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26013 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26014 wxPrintPreview
*result
;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 PyObject
* obj2
= 0 ;
26019 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26021 if (SWIG_arg_fail(1)) SWIG_fail
;
26022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26023 if (SWIG_arg_fail(2)) SWIG_fail
;
26024 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26025 if (SWIG_arg_fail(3)) SWIG_fail
;
26027 if (!wxPyCheckForApp()) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26041 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
26046 argc
= PyObject_Length(args
);
26047 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26048 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26050 if ((argc
>= 2) && (argc
<= 3)) {
26054 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26064 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26073 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26077 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26085 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26094 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26104 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26114 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26122 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26128 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26133 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self",(char *) "pageNum", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 arg2
= (int)(SWIG_As_int(obj1
));
26149 if (SWIG_arg_fail(2)) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26167 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 char *kwnames
[] = {
26173 (char *) "self", NULL
26176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26178 if (SWIG_arg_fail(1)) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= (int)(arg1
)->GetCurrentPage();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= SWIG_From_int((int)(result
));
26195 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26198 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 char *kwnames
[] = {
26202 (char *) "self",(char *) "printout", NULL
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26207 if (SWIG_arg_fail(1)) SWIG_fail
;
26208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26209 if (SWIG_arg_fail(2)) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 (arg1
)->SetPrintout(arg2
);
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 Py_INCREF(Py_None
); resultobj
= Py_None
;
26224 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26227 wxPyPrintout
*result
;
26228 PyObject
* obj0
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= wxPyMake_wxObject(result
, 0);
26252 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26255 wxPyPrintout
*result
;
26256 PyObject
* obj0
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26263 if (SWIG_arg_fail(1)) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= wxPyMake_wxObject(result
, 0);
26280 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26283 wxFrame
*arg2
= (wxFrame
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self",(char *) "frame", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26292 if (SWIG_arg_fail(1)) SWIG_fail
;
26293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26294 if (SWIG_arg_fail(2)) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 (arg1
)->SetFrame(arg2
);
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26302 Py_INCREF(Py_None
); resultobj
= Py_None
;
26309 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
;
26311 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26312 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self",(char *) "canvas", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail
;
26322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26323 if (SWIG_arg_fail(2)) SWIG_fail
;
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 (arg1
)->SetCanvas(arg2
);
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 Py_INCREF(Py_None
); resultobj
= Py_None
;
26338 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (wxFrame
*)(arg1
)->GetFrame();
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= wxPyMake_wxObject(result
, 0);
26366 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26369 wxPreviewCanvas
*result
;
26370 PyObject
* obj0
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26392 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26393 PyObject
*resultobj
;
26394 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26395 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 PyObject
* obj1
= 0 ;
26400 PyObject
* obj2
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26407 if (SWIG_arg_fail(1)) SWIG_fail
;
26408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26409 if (SWIG_arg_fail(2)) SWIG_fail
;
26411 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26412 if (SWIG_arg_fail(3)) SWIG_fail
;
26413 if (arg3
== NULL
) {
26414 SWIG_null_ref("wxDC");
26416 if (SWIG_arg_fail(3)) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26434 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26437 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 PyObject
* obj2
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26451 if (SWIG_arg_fail(2)) SWIG_fail
;
26453 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26454 if (SWIG_arg_fail(3)) SWIG_fail
;
26455 if (arg3
== NULL
) {
26456 SWIG_null_ref("wxDC");
26458 if (SWIG_arg_fail(3)) SWIG_fail
;
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26464 wxPyEndAllowThreads(__tstate
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26476 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
;
26478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self",(char *) "pageNum", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26489 if (SWIG_arg_fail(1)) SWIG_fail
;
26491 arg2
= (int)(SWIG_As_int(obj1
));
26492 if (SWIG_arg_fail(2)) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (bool)(arg1
)->RenderPage(arg2
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26510 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26513 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 PyObject
* obj1
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self",(char *) "canvas", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26522 if (SWIG_arg_fail(1)) SWIG_fail
;
26523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26524 if (SWIG_arg_fail(2)) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 (arg1
)->AdjustScrollbars(arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 Py_INCREF(Py_None
); resultobj
= Py_None
;
26539 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
;
26541 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26542 wxPrintDialogData
*result
;
26543 PyObject
* obj0
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26550 if (SWIG_arg_fail(1)) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26555 result
= (wxPrintDialogData
*) &_result_ref
;
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26568 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "percent", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26580 if (SWIG_arg_fail(1)) SWIG_fail
;
26582 arg2
= (int)(SWIG_As_int(obj1
));
26583 if (SWIG_arg_fail(2)) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetZoom(arg2
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 Py_INCREF(Py_None
); resultobj
= Py_None
;
26599 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26610 if (SWIG_arg_fail(1)) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (int)(arg1
)->GetZoom();
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_From_int((int)(result
));
26627 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26638 if (SWIG_arg_fail(1)) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (int)(arg1
)->GetMaxPage();
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= SWIG_From_int((int)(result
));
26655 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 char *kwnames
[] = {
26661 (char *) "self", NULL
26664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(1)) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 result
= (int)(arg1
)->GetMinPage();
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_From_int((int)(result
));
26683 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26694 if (SWIG_arg_fail(1)) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (bool)(arg1
)->Ok();
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26711 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self",(char *) "ok", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26723 if (SWIG_arg_fail(1)) SWIG_fail
;
26725 arg2
= (bool)(SWIG_As_bool(obj1
));
26726 if (SWIG_arg_fail(2)) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 (arg1
)->SetOk(arg2
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 Py_INCREF(Py_None
); resultobj
= Py_None
;
26742 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
;
26744 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26747 PyObject
* obj0
= 0 ;
26748 PyObject
* obj1
= 0 ;
26749 char *kwnames
[] = {
26750 (char *) "self",(char *) "interactive", NULL
26753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26755 if (SWIG_arg_fail(1)) SWIG_fail
;
26757 arg2
= (bool)(SWIG_As_bool(obj1
));
26758 if (SWIG_arg_fail(2)) SWIG_fail
;
26761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26762 result
= (bool)(arg1
)->Print(arg2
);
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26776 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26777 PyObject
*resultobj
;
26778 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26786 if (SWIG_arg_fail(1)) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 (arg1
)->DetermineScaling();
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 Py_INCREF(Py_None
); resultobj
= Py_None
;
26801 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26804 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26806 return Py_BuildValue((char *)"");
26808 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26809 PyObject
*resultobj
;
26810 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26811 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26812 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26813 wxPyPrintPreview
*result
;
26814 PyObject
* obj0
= 0 ;
26815 PyObject
* obj1
= 0 ;
26816 PyObject
* obj2
= 0 ;
26818 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26820 if (SWIG_arg_fail(1)) SWIG_fail
;
26821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26822 if (SWIG_arg_fail(2)) SWIG_fail
;
26824 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26825 if (SWIG_arg_fail(3)) SWIG_fail
;
26828 if (!wxPyCheckForApp()) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26842 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26843 PyObject
*resultobj
;
26844 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26845 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26846 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26847 wxPyPrintPreview
*result
;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 PyObject
* obj2
= 0 ;
26852 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26854 if (SWIG_arg_fail(1)) SWIG_fail
;
26855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26856 if (SWIG_arg_fail(2)) SWIG_fail
;
26857 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26858 if (SWIG_arg_fail(3)) SWIG_fail
;
26860 if (!wxPyCheckForApp()) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26874 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26879 argc
= PyObject_Length(args
);
26880 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26881 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26883 if ((argc
>= 2) && (argc
<= 3)) {
26887 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26897 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26906 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26910 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26918 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26927 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26937 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26947 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26955 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26961 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26966 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26969 PyObject
*arg2
= (PyObject
*) 0 ;
26970 PyObject
*arg3
= (PyObject
*) 0 ;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 PyObject
* obj2
= 0 ;
26974 char *kwnames
[] = {
26975 (char *) "self",(char *) "self",(char *) "_class", NULL
26978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26980 if (SWIG_arg_fail(1)) SWIG_fail
;
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 Py_INCREF(Py_None
); resultobj
= Py_None
;
26997 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
;
26999 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27002 PyObject
* obj0
= 0 ;
27003 PyObject
* obj1
= 0 ;
27004 char *kwnames
[] = {
27005 (char *) "self",(char *) "pageNum", NULL
27008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27010 if (SWIG_arg_fail(1)) SWIG_fail
;
27012 arg2
= (int)(SWIG_As_int(obj1
));
27013 if (SWIG_arg_fail(2)) SWIG_fail
;
27016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27017 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
27019 wxPyEndAllowThreads(__tstate
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27031 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27034 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 PyObject
* obj2
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27046 if (SWIG_arg_fail(1)) SWIG_fail
;
27047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27048 if (SWIG_arg_fail(2)) SWIG_fail
;
27050 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27051 if (SWIG_arg_fail(3)) SWIG_fail
;
27052 if (arg3
== NULL
) {
27053 SWIG_null_ref("wxDC");
27055 if (SWIG_arg_fail(3)) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27073 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
;
27075 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27076 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 PyObject
* obj1
= 0 ;
27081 PyObject
* obj2
= 0 ;
27082 char *kwnames
[] = {
27083 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27088 if (SWIG_arg_fail(1)) SWIG_fail
;
27089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27090 if (SWIG_arg_fail(2)) SWIG_fail
;
27092 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27093 if (SWIG_arg_fail(3)) SWIG_fail
;
27094 if (arg3
== NULL
) {
27095 SWIG_null_ref("wxDC");
27097 if (SWIG_arg_fail(3)) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27115 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self",(char *) "pageNum", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail
;
27130 arg2
= (int)(SWIG_As_int(obj1
));
27131 if (SWIG_arg_fail(2)) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27149 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27150 PyObject
*resultobj
;
27151 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self",(char *) "percent", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27161 if (SWIG_arg_fail(1)) SWIG_fail
;
27163 arg2
= (int)(SWIG_As_int(obj1
));
27164 if (SWIG_arg_fail(2)) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 (arg1
)->base_SetZoom(arg2
);
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 Py_INCREF(Py_None
); resultobj
= Py_None
;
27180 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 char *kwnames
[] = {
27188 (char *) "self",(char *) "interactive", NULL
27191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27193 if (SWIG_arg_fail(1)) SWIG_fail
;
27195 arg2
= (bool)(SWIG_As_bool(obj1
));
27196 if (SWIG_arg_fail(2)) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (bool)(arg1
)->base_Print(arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27214 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27217 PyObject
* obj0
= 0 ;
27218 char *kwnames
[] = {
27219 (char *) "self", NULL
27222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27224 if (SWIG_arg_fail(1)) SWIG_fail
;
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27227 (arg1
)->base_DetermineScaling();
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 Py_INCREF(Py_None
); resultobj
= Py_None
;
27239 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27242 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27244 return Py_BuildValue((char *)"");
27246 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27249 wxFrame
*arg2
= (wxFrame
*) 0 ;
27250 wxString
*arg3
= 0 ;
27251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27255 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27256 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27258 wxPyPreviewFrame
*result
;
27259 bool temp3
= false ;
27262 bool temp7
= false ;
27263 PyObject
* obj0
= 0 ;
27264 PyObject
* obj1
= 0 ;
27265 PyObject
* obj2
= 0 ;
27266 PyObject
* obj3
= 0 ;
27267 PyObject
* obj4
= 0 ;
27268 PyObject
* obj5
= 0 ;
27269 PyObject
* obj6
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27278 if (SWIG_arg_fail(2)) SWIG_fail
;
27280 arg3
= wxString_in_helper(obj2
);
27281 if (arg3
== NULL
) SWIG_fail
;
27287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27298 arg6
= (long)(SWIG_As_long(obj5
));
27299 if (SWIG_arg_fail(6)) SWIG_fail
;
27304 arg7
= wxString_in_helper(obj6
);
27305 if (arg7
== NULL
) SWIG_fail
;
27310 if (!wxPyCheckForApp()) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27340 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27343 PyObject
*arg2
= (PyObject
*) 0 ;
27344 PyObject
*arg3
= (PyObject
*) 0 ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 PyObject
* obj2
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self",(char *) "self",(char *) "_class", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27354 if (SWIG_arg_fail(1)) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 Py_INCREF(Py_None
); resultobj
= Py_None
;
27371 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27372 PyObject
*resultobj
;
27373 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27374 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj1
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self",(char *) "canvas", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27383 if (SWIG_arg_fail(1)) SWIG_fail
;
27384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27385 if (SWIG_arg_fail(2)) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 (arg1
)->SetPreviewCanvas(arg2
);
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 Py_INCREF(Py_None
); resultobj
= Py_None
;
27400 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27403 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "self",(char *) "bar", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27412 if (SWIG_arg_fail(1)) SWIG_fail
;
27413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27414 if (SWIG_arg_fail(2)) SWIG_fail
;
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27417 (arg1
)->SetControlBar(arg2
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 Py_INCREF(Py_None
); resultobj
= Py_None
;
27429 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27439 if (SWIG_arg_fail(1)) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 (arg1
)->base_Initialize();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 Py_INCREF(Py_None
); resultobj
= Py_None
;
27454 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27464 if (SWIG_arg_fail(1)) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 (arg1
)->base_CreateCanvas();
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 Py_INCREF(Py_None
); resultobj
= Py_None
;
27479 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
;
27481 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27482 PyObject
* obj0
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27489 if (SWIG_arg_fail(1)) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 (arg1
)->base_CreateControlBar();
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27497 Py_INCREF(Py_None
); resultobj
= Py_None
;
27504 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27507 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27509 return Py_BuildValue((char *)"");
27511 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27515 wxWindow
*arg3
= (wxWindow
*) 0 ;
27516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27520 long arg6
= (long) 0 ;
27521 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27522 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27523 wxPyPreviewControlBar
*result
;
27526 bool temp7
= false ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 PyObject
* obj2
= 0 ;
27530 PyObject
* obj3
= 0 ;
27531 PyObject
* obj4
= 0 ;
27532 PyObject
* obj5
= 0 ;
27533 PyObject
* obj6
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27540 if (SWIG_arg_fail(1)) SWIG_fail
;
27542 arg2
= (long)(SWIG_As_long(obj1
));
27543 if (SWIG_arg_fail(2)) SWIG_fail
;
27545 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(3)) SWIG_fail
;
27550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27561 arg6
= (long)(SWIG_As_long(obj5
));
27562 if (SWIG_arg_fail(6)) SWIG_fail
;
27567 arg7
= wxString_in_helper(obj6
);
27568 if (arg7
== NULL
) SWIG_fail
;
27573 if (!wxPyCheckForApp()) SWIG_fail
;
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27595 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
;
27597 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27598 PyObject
*arg2
= (PyObject
*) 0 ;
27599 PyObject
*arg3
= (PyObject
*) 0 ;
27600 PyObject
* obj0
= 0 ;
27601 PyObject
* obj1
= 0 ;
27602 PyObject
* obj2
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "self",(char *) "_class", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 Py_INCREF(Py_None
); resultobj
= Py_None
;
27626 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27629 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 PyObject
* obj1
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self",(char *) "preview", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27638 if (SWIG_arg_fail(1)) SWIG_fail
;
27639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27640 if (SWIG_arg_fail(2)) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 (arg1
)->SetPrintPreview(arg2
);
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 Py_INCREF(Py_None
); resultobj
= Py_None
;
27655 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 char *kwnames
[] = {
27660 (char *) "self", NULL
27663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27665 if (SWIG_arg_fail(1)) SWIG_fail
;
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 (arg1
)->base_CreateButtons();
27670 wxPyEndAllowThreads(__tstate
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27673 Py_INCREF(Py_None
); resultobj
= Py_None
;
27680 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27681 PyObject
*resultobj
;
27682 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27684 PyObject
* obj0
= 0 ;
27685 PyObject
* obj1
= 0 ;
27686 char *kwnames
[] = {
27687 (char *) "self",(char *) "zoom", NULL
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27692 if (SWIG_arg_fail(1)) SWIG_fail
;
27694 arg2
= (int)(SWIG_As_int(obj1
));
27695 if (SWIG_arg_fail(2)) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 (arg1
)->base_SetZoomControl(arg2
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 Py_INCREF(Py_None
); resultobj
= Py_None
;
27711 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27714 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27716 return Py_BuildValue((char *)"");
27718 static PyMethodDef SwigMethods
[] = {
27719 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27727 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27742 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27743 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27752 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27770 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27794 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27807 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27811 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27815 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27820 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27837 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27867 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27874 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27897 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27905 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27917 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27923 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27932 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27938 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27941 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27944 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27948 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27968 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27994 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
28002 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
28011 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
28013 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
28022 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
28025 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
28032 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
28050 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28054 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28059 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28063 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28065 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
28081 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28084 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28086 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28090 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28099 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28108 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28114 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28126 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28133 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28137 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28164 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28191 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28218 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28219 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28266 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28267 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28300 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28305 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28306 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28339 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28345 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28356 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28379 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28381 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28387 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28397 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28398 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28400 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28401 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28403 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28405 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28406 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28407 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28408 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28409 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28412 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28415 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28421 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28422 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28431 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28435 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28437 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28438 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28439 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28440 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28443 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28445 { NULL
, NULL
, 0, NULL
}
28449 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28451 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28452 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28454 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28455 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28457 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28458 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28460 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28461 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28463 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28464 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28466 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28467 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28469 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28470 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28472 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28473 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28475 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28476 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28478 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28479 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28481 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28484 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28485 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28487 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28490 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28491 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28493 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28494 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28496 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28497 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28499 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28500 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28502 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28503 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28505 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28506 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28508 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28509 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28511 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28512 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28514 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28515 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28517 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28520 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28521 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28523 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28524 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28526 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28527 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28529 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28530 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28532 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28533 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28535 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28536 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28538 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28539 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28541 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28542 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28544 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28545 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28547 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28548 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28550 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28551 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28553 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28554 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28556 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28557 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28559 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28560 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28562 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28563 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28565 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28566 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28568 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28569 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28571 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28572 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28574 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28575 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28577 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28578 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28580 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28581 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28583 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28584 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28586 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28589 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28592 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28595 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28596 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28598 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28599 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28601 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28602 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28604 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28605 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28607 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28610 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28613 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28616 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28619 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28622 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28625 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28628 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28631 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28634 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28637 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28640 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28643 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28646 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28647 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28649 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28652 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28655 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28656 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28658 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28659 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28661 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28662 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28664 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28667 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28668 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28670 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28671 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28673 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28676 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28677 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28679 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28682 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28685 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28688 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28689 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28691 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28694 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28695 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28697 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28700 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28703 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28706 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28709 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28712 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28713 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28715 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28718 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28721 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28724 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28727 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28730 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28733 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28734 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28736 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28737 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28739 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28740 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28742 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28743 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28745 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28746 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28748 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28749 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28751 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28752 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28754 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28755 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28757 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28758 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28760 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28761 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28763 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28764 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28766 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28769 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28772 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28773 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28775 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28776 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28778 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28779 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28781 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28782 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28784 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28785 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28787 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28788 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28790 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28791 return (void *)((wxObject
*) ((wxSizer
*) x
));
28793 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28794 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28796 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28799 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28802 static void *_p_wxEventTo_p_wxObject(void *x
) {
28803 return (void *)((wxObject
*) ((wxEvent
*) x
));
28805 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28806 return (void *)((wxObject
*) ((wxFontData
*) x
));
28808 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28809 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28811 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28812 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28814 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28815 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28817 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28818 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28820 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28821 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28823 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28824 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28826 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28829 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28830 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28832 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28833 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28835 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28836 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28838 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28839 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28841 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28842 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28844 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28845 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28847 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28850 static void *_p_wxControlTo_p_wxObject(void *x
) {
28851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28853 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28854 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28856 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28859 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28860 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28862 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28863 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28865 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28866 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28868 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28871 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28872 return (void *)((wxObject
*) ((wxColourData
*) x
));
28874 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28875 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28877 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28880 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28883 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28886 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28889 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28892 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28895 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28898 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28901 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28904 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28907 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28910 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28911 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28913 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28914 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28916 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28917 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28919 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28922 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28923 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28925 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28926 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28928 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28929 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28931 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28932 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28934 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28935 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28937 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28938 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28940 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28941 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28943 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28944 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28946 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28949 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28952 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28955 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28958 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28961 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28964 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28965 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28967 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28968 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28970 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28971 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28973 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28976 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28977 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28979 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28980 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28982 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28983 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28985 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28986 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28988 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28991 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28994 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28995 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28997 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28998 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29000 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
29001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29003 static void *_p_wxImageTo_p_wxObject(void *x
) {
29004 return (void *)((wxObject
*) ((wxImage
*) x
));
29006 static void *_p_wxFrameTo_p_wxObject(void *x
) {
29007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
29009 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
29010 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
29012 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29013 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29015 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
29016 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
29018 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
29019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
29021 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
29022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29024 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29027 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29028 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29030 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29033 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29036 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29039 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29042 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
29045 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
29048 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
29051 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
29054 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
29057 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29060 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
29063 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
29064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29066 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
29067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29069 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
29070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29072 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
29073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
29075 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
29076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29078 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
29079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
29081 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
29082 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
29084 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29087 static void *_p_wxPanelTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
29090 static void *_p_wxDialogTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
29093 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29096 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29099 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29102 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29103 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29105 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29106 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29108 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29109 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29111 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29114 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29115 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29117 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29118 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29120 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29121 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29123 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29124 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29126 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29127 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29129 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29132 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29133 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29135 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29138 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29141 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29142 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29144 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29145 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29147 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29150 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29153 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29154 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29156 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29157 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29159 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29162 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29163 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29165 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29166 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29168 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29169 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29171 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29172 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29174 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29175 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29177 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29178 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29180 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29181 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29183 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29184 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29186 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29187 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29189 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29190 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29192 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29193 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29195 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29196 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29198 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
29199 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
29201 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29202 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29204 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29205 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29207 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29208 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29210 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29211 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29213 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29214 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29216 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29217 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29219 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29220 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29222 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29223 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29225 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29226 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29228 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29229 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29231 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29232 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29234 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29235 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29237 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29240 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29241 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29243 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29244 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29246 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29247 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29249 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29252 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29255 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29258 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29261 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29264 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29267 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29270 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29271 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29273 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29274 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29276 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29277 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29279 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29280 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29282 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29285 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29286 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29288 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29289 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29291 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29292 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29294 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29295 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29297 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29298 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29300 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29301 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29303 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29304 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29306 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29307 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29309 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29310 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29312 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29313 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29315 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29316 return (void *)((wxWindow
*) ((wxControl
*) x
));
29318 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29319 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29321 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29322 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29324 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29325 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29327 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29328 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29330 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29331 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29333 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29334 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29336 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29337 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29339 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29340 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29342 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29343 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29345 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29346 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29348 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29349 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29351 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29352 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29354 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29355 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29357 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29358 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29360 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29361 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29363 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29364 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29366 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29367 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29369 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29370 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29372 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29373 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29375 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29376 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29378 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29379 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29381 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29382 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29384 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29385 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29387 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29388 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29390 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29391 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29393 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29394 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29396 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29397 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29399 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29400 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29402 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29403 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29405 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29406 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29408 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29409 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29411 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29412 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29414 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29415 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29417 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29418 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29420 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29421 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29423 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29424 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29426 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29427 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29429 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29430 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29432 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29433 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29435 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29436 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29438 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29439 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29441 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29442 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29444 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29445 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29447 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29448 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29450 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29451 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29453 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29454 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29456 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29457 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29459 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29460 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29462 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29463 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29465 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29466 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29468 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29469 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29471 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}};
29472 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}};
29473 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}};
29474 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}};
29475 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}};
29476 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}};
29477 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}};
29478 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}};
29479 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}};
29480 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}};
29481 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}};
29482 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}};
29483 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}};
29484 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}};
29485 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}};
29486 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}};
29487 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}};
29488 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}};
29489 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}};
29490 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}};
29491 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}};
29492 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}};
29493 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}};
29494 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}};
29495 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}};
29496 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}};
29497 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}};
29498 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}};
29499 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}};
29500 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}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29507 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}};
29508 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}};
29509 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}};
29510 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}};
29511 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}};
29512 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}};
29513 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}};
29514 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}};
29515 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}};
29516 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}};
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29523 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}};
29524 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}};
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29569 static swig_type_info
*swig_types_initial
[] = {
29570 _swigt__p_wxQueryLayoutInfoEvent
,
29571 _swigt__p_wxPreviewFrame
,
29572 _swigt__p_wxPyPreviewFrame
,
29573 _swigt__p_wxPyPanel
,
29575 _swigt__p_wxFontData
,
29577 _swigt__p_wxPrintData
,
29578 _swigt__p_wxTaskBarIcon
,
29579 _swigt__p_wxPyTaskBarIcon
,
29580 _swigt__p_wxIconBundle
,
29581 _swigt__p_wxLayoutAlgorithm
,
29582 _swigt__p_wxFindDialogEvent
,
29583 _swigt__p_wxPreviewCanvas
,
29585 _swigt__p_wxSplitterEvent
,
29586 _swigt__p_wxRegion
,
29588 _swigt__std__ptrdiff_t
,
29589 _swigt__p_wxFindReplaceData
,
29594 _swigt__p_wxVisualAttributes
,
29595 _swigt__p_wxMDIChildFrame
,
29596 _swigt__p_wxColourData
,
29597 _swigt__p_wxNotifyEvent
,
29598 _swigt__p_wxPyWindow
,
29599 _swigt__p_form_ops_t
,
29600 _swigt__p_wxSplashScreen
,
29601 _swigt__p_wxPasswordEntryDialog
,
29602 _swigt__p_wxSingleChoiceDialog
,
29603 _swigt__p_wxMultiChoiceDialog
,
29604 _swigt__p_wxFileDialog
,
29605 _swigt__p_wxTextEntryDialog
,
29606 _swigt__p_wxMessageDialog
,
29607 _swigt__p_wxProgressDialog
,
29608 _swigt__p_wxFindReplaceDialog
,
29609 _swigt__p_wxPrinter
,
29610 _swigt__p_wxArrayInt
,
29611 _swigt__p_wxDuplexMode
,
29612 _swigt__p_wxEvtHandler
,
29613 _swigt__p_wxCalculateLayoutEvent
,
29614 _swigt__p_wxPyHtmlListBox
,
29615 _swigt__p_wxPyVListBox
,
29617 _swigt__p_wxStdDialogButtonSizer
,
29619 _swigt__p_wxMiniFrame
,
29621 _swigt__p_wxPyPrintout
,
29622 _swigt__p_wxTaskBarIconEvent
,
29623 _swigt__p_wxScrollWinEvent
,
29624 _swigt__p_wxPaperSize
,
29625 _swigt__p_wxStatusBar
,
29626 _swigt__p_wxMDIParentFrame
,
29628 _swigt__p_wxObject
,
29629 _swigt__p_unsigned_long
,
29630 _swigt__p_wxTipWindow
,
29631 _swigt__p_wxPyPopupTransientWindow
,
29632 _swigt__p_wxSashLayoutWindow
,
29633 _swigt__p_wxSplitterWindow
,
29634 _swigt__p_wxSplashScreenWindow
,
29635 _swigt__p_wxPyVScrolledWindow
,
29636 _swigt__p_wxPopupWindow
,
29637 _swigt__p_wxSashWindow
,
29638 _swigt__p_wxTopLevelWindow
,
29639 _swigt__p_wxWindow
,
29640 _swigt__p_wxScrolledWindow
,
29641 _swigt__p_wxMenuBar
,
29642 _swigt__p_wxMDIClientWindow
,
29643 _swigt__p_wxPyScrolledWindow
,
29644 _swigt__p_wxPrintPreview
,
29645 _swigt__p_wxSashEvent
,
29646 _swigt__p_wxString
,
29647 _swigt__p_wxPyPrintPreview
,
29648 _swigt__p_wxDirDialog
,
29649 _swigt__p_wxColourDialog
,
29650 _swigt__p_wxDialog
,
29652 _swigt__p_wxFontDialog
,
29653 _swigt__p_wxPageSetupDialog
,
29654 _swigt__p_wxPrintDialog
,
29655 _swigt__p_wxFileSystem
,
29656 _swigt__p_wxBitmap
,
29657 _swigt__unsigned_int
,
29658 _swigt__p_unsigned_int
,
29659 _swigt__p_unsigned_char
,
29660 _swigt__p_wxCommandEvent
,
29661 _swigt__p_wxPreviewControlBar
,
29662 _swigt__p_wxPyPreviewControlBar
,
29663 _swigt__p_wxColour
,
29664 _swigt__p_wxToolBar
,
29665 _swigt__p_wxPageSetupDialogData
,
29666 _swigt__p_wxPrintDialogData
,
29671 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29673 static swig_const_info swig_const_table
[] = {
29674 {0, 0, 0, 0.0, 0, 0}};
29685 /* Python-specific SWIG API */
29686 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29687 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29688 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29690 /* -----------------------------------------------------------------------------
29691 * global variable support code.
29692 * ----------------------------------------------------------------------------- */
29694 typedef struct swig_globalvar
{
29695 char *name
; /* Name of global variable */
29696 PyObject
*(*get_attr
)(); /* Return the current value */
29697 int (*set_attr
)(PyObject
*); /* Set the value */
29698 struct swig_globalvar
*next
;
29701 typedef struct swig_varlinkobject
{
29703 swig_globalvar
*vars
;
29704 } swig_varlinkobject
;
29707 swig_varlink_repr(swig_varlinkobject
*v
) {
29709 return PyString_FromString("<Swig global variables>");
29713 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29714 swig_globalvar
*var
;
29716 fprintf(fp
,"Swig global variables { ");
29717 for (var
= v
->vars
; var
; var
=var
->next
) {
29718 fprintf(fp
,"%s", var
->name
);
29719 if (var
->next
) fprintf(fp
,", ");
29721 fprintf(fp
," }\n");
29726 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29727 swig_globalvar
*var
= v
->vars
;
29729 if (strcmp(var
->name
,n
) == 0) {
29730 return (*var
->get_attr
)();
29734 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29739 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29740 swig_globalvar
*var
= v
->vars
;
29742 if (strcmp(var
->name
,n
) == 0) {
29743 return (*var
->set_attr
)(p
);
29747 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29751 static PyTypeObject varlinktype
= {
29752 PyObject_HEAD_INIT(0)
29753 0, /* Number of items in variable part (ob_size) */
29754 (char *)"swigvarlink", /* Type name (tp_name) */
29755 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29756 0, /* Itemsize (tp_itemsize) */
29757 0, /* Deallocator (tp_dealloc) */
29758 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29759 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29760 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29761 0, /* tp_compare */
29762 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29763 0, /* tp_as_number */
29764 0, /* tp_as_sequence */
29765 0, /* tp_as_mapping */
29769 0, /* tp_getattro */
29770 0, /* tp_setattro */
29771 0, /* tp_as_buffer */
29774 #if PY_VERSION_HEX >= 0x02000000
29775 0, /* tp_traverse */
29778 #if PY_VERSION_HEX >= 0x02010000
29779 0, /* tp_richcompare */
29780 0, /* tp_weaklistoffset */
29782 #if PY_VERSION_HEX >= 0x02020000
29783 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29785 #if PY_VERSION_HEX >= 0x02030000
29788 #ifdef COUNT_ALLOCS
29789 0,0,0,0 /* tp_alloc -> tp_next */
29793 /* Create a variable linking object for use later */
29795 SWIG_Python_newvarlink(void) {
29796 swig_varlinkobject
*result
= 0;
29797 result
= PyMem_NEW(swig_varlinkobject
,1);
29798 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29799 result
->ob_type
= &varlinktype
;
29801 result
->ob_refcnt
= 0;
29802 Py_XINCREF((PyObject
*) result
);
29803 return ((PyObject
*) result
);
29807 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29808 swig_varlinkobject
*v
;
29809 swig_globalvar
*gv
;
29810 v
= (swig_varlinkobject
*) p
;
29811 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29812 gv
->name
= (char *) malloc(strlen(name
)+1);
29813 strcpy(gv
->name
,name
);
29814 gv
->get_attr
= get_attr
;
29815 gv
->set_attr
= set_attr
;
29816 gv
->next
= v
->vars
;
29820 /* -----------------------------------------------------------------------------
29821 * constants/methods manipulation
29822 * ----------------------------------------------------------------------------- */
29824 /* Install Constants */
29826 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29829 for (i
= 0; constants
[i
].type
; i
++) {
29830 switch(constants
[i
].type
) {
29832 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29834 case SWIG_PY_FLOAT
:
29835 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29837 case SWIG_PY_STRING
:
29838 if (constants
[i
].pvalue
) {
29839 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29841 Py_INCREF(Py_None
);
29845 case SWIG_PY_POINTER
:
29846 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29848 case SWIG_PY_BINARY
:
29849 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29856 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29862 /* -----------------------------------------------------------------------------*/
29863 /* Fix SwigMethods to carry the callback ptrs when needed */
29864 /* -----------------------------------------------------------------------------*/
29867 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29868 swig_const_info
*const_table
,
29869 swig_type_info
**types
,
29870 swig_type_info
**types_initial
) {
29872 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29873 char *c
= methods
[i
].ml_doc
;
29874 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29876 swig_const_info
*ci
= 0;
29877 char *name
= c
+ 10;
29878 for (j
= 0; const_table
[j
].type
; j
++) {
29879 if (strncmp(const_table
[j
].name
, name
,
29880 strlen(const_table
[j
].name
)) == 0) {
29881 ci
= &(const_table
[j
]);
29886 size_t shift
= (ci
->ptype
) - types
;
29887 swig_type_info
*ty
= types_initial
[shift
];
29888 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29889 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29890 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29892 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29893 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29895 strncpy(buff
, "swig_ptr: ", 10);
29897 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29898 methods
[i
].ml_doc
= ndoc
;
29904 /* -----------------------------------------------------------------------------*
29905 * Initialize type list
29906 * -----------------------------------------------------------------------------*/
29908 #if PY_MAJOR_VERSION < 2
29909 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29910 is copied out of Python/modsupport.c in python version 2.3.4 */
29912 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29915 if (!PyModule_Check(m
)) {
29916 PyErr_SetString(PyExc_TypeError
,
29917 "PyModule_AddObject() needs module as first arg");
29921 PyErr_SetString(PyExc_TypeError
,
29922 "PyModule_AddObject() needs non-NULL value");
29926 dict
= PyModule_GetDict(m
);
29927 if (dict
== NULL
) {
29928 /* Internal error -- modules must have a dict! */
29929 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29930 PyModule_GetName(m
));
29933 if (PyDict_SetItemString(dict
, name
, o
))
29940 static swig_type_info
**
29941 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29942 static PyMethodDef swig_empty_runtime_method_table
[] = {
29944 NULL
, NULL
, 0, NULL
29948 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29949 swig_empty_runtime_method_table
);
29950 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29951 if (pointer
&& module) {
29952 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29954 return type_list_handle
;
29957 static swig_type_info
**
29958 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29959 swig_type_info
**type_pointer
;
29961 /* first check if module already created */
29962 type_pointer
= SWIG_Python_GetTypeListHandle();
29963 if (type_pointer
) {
29964 return type_pointer
;
29966 /* create a new module and variable */
29967 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29975 /* -----------------------------------------------------------------------------*
29976 * Partial Init method
29977 * -----------------------------------------------------------------------------*/
29979 #ifdef SWIG_LINK_RUNTIME
29983 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29989 SWIGEXPORT(void) SWIG_init(void) {
29990 static PyObject
*SWIG_globals
= 0;
29991 static int typeinit
= 0;
29994 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29996 /* Fix SwigMethods to carry the callback ptrs when needed */
29997 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29999 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30000 d
= PyModule_GetDict(m
);
30003 #ifdef SWIG_LINK_RUNTIME
30004 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
30006 # ifndef SWIG_STATIC_RUNTIME
30007 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
30010 for (i
= 0; swig_types_initial
[i
]; i
++) {
30011 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30015 SWIG_InstallConstants(d
,swig_const_table
);
30017 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30018 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30019 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30020 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30021 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30023 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
30026 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
30029 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
30032 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
30035 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
30038 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
30041 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
30044 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
30047 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
30050 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
30053 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
30056 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
30059 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
30062 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
30065 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
30068 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
30071 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
30074 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
30077 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
30080 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
30083 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
30086 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
30089 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
30092 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
30095 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
30098 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
30101 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
30104 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
30107 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
30110 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
30113 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
30116 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
30119 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
30122 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
30125 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
30128 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
30131 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
30134 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
30137 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
30140 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
30143 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
30146 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
30149 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30152 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30155 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30157 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30159 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30162 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30165 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30168 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30171 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30174 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30177 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30180 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30183 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30186 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30189 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30192 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30195 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30198 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30200 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30201 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30202 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30203 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30204 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30205 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30207 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30210 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30213 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30216 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30219 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30222 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30225 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30228 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30231 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30234 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30237 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30240 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30243 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30246 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30249 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30251 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30253 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30256 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30259 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30262 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30265 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30268 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30271 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30274 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30277 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30280 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30283 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30285 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30286 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30287 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30289 // Map renamed classes back to their common name for OOR
30290 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30291 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30292 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30294 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30295 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30296 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30297 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30298 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30299 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30300 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30301 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30302 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30303 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30304 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30305 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30306 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30308 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30311 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30313 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30315 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30318 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30321 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30324 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30327 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30330 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30333 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30335 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30336 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30337 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30338 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30339 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30341 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30344 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30347 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30350 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30353 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30356 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30359 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30362 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30365 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30367 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30368 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30370 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30373 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30376 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30379 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30382 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30385 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30388 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30391 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30394 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30397 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30400 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30403 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30406 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30409 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30412 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30415 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30418 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30421 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30424 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30427 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30430 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30433 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30436 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30439 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30442 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30445 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30448 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30451 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30454 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30457 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30460 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30463 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30466 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30469 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30472 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30475 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30478 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30481 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30484 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30487 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");