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
);
2152 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2154 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2155 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2156 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2157 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2159 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2160 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2161 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2163 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2164 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2166 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2167 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2168 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2169 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2171 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2172 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2173 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2175 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2176 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2178 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2179 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2181 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2183 // C++ version of Python aware wxPanel
2184 class wxPyPanel
: public wxPanel
2186 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2188 wxPyPanel() : wxPanel() {}
2189 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2190 const wxPoint
& pos
= wxDefaultPosition
,
2191 const wxSize
& size
= wxDefaultSize
,
2193 const wxString
& name
= wxPyPanelNameStr
)
2194 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2196 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2197 bool DoEraseBackground(wxDC
* dc
) {
2199 return wxWindow::DoEraseBackground(dc
->GetHDC());
2201 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2208 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2209 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2210 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2211 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2213 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2214 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2215 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2217 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2218 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2220 DEC_PYCALLBACK__(InitDialog
);
2221 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2222 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2223 DEC_PYCALLBACK_BOOL_(Validate
);
2225 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2226 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2227 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2229 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2230 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2232 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2233 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2235 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2240 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2242 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2243 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2244 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2245 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2247 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2248 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2249 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2251 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2252 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2254 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2255 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2256 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2257 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2259 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2260 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2261 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2263 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2264 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2266 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2267 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2269 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2271 // C++ version of Python aware wxScrolledWindow
2272 class wxPyScrolledWindow
: public wxScrolledWindow
2274 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2276 wxPyScrolledWindow() : wxScrolledWindow() {}
2277 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2278 const wxPoint
& pos
= wxDefaultPosition
,
2279 const wxSize
& size
= wxDefaultSize
,
2281 const wxString
& name
= wxPyPanelNameStr
)
2282 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2284 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2285 bool DoEraseBackground(wxDC
* dc
) {
2287 return wxWindow::DoEraseBackground(dc
->GetHDC());
2289 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2295 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2296 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2297 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2298 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2300 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2301 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2302 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2304 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2305 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2307 DEC_PYCALLBACK__(InitDialog
);
2308 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2309 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2310 DEC_PYCALLBACK_BOOL_(Validate
);
2312 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2313 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2314 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2316 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2317 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2319 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2320 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2322 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2327 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2329 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2330 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2331 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2332 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2334 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2335 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2336 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2338 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2339 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2341 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2342 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2343 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2344 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2346 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2347 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2348 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2350 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2351 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2353 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2354 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2356 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2359 #include "wx/wxPython/printfw.h"
2362 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2363 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2364 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2366 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2367 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2368 self
->GetPrivDataLen());
2369 wxPyEndBlockThreads(blocked
);
2372 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2373 if (! PyString_Check(data
)) {
2374 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2375 "Expected string object"));
2379 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2380 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2381 wxPyEndBlockThreads(blocked
);
2385 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2387 // Since this one would be tough and ugly to do with the Macros...
2388 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2389 bool hadErr
= false;
2392 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2393 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2394 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2395 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2398 val
= PyTuple_GetItem(result
, 0);
2399 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2402 val
= PyTuple_GetItem(result
, 1);
2403 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2406 val
= PyTuple_GetItem(result
, 2);
2407 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2410 val
= PyTuple_GetItem(result
, 3);
2411 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2418 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2423 wxPyEndBlockThreads(blocked
);
2425 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2428 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2429 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2433 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2434 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2435 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2436 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2437 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2438 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2439 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2445 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2446 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2447 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2450 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2451 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2454 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2455 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2456 PyObject* win = wxPyMake_wxObject(a,false); \
2457 PyObject* dc = wxPyMake_wxObject(&b,false); \
2458 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2462 wxPyEndBlockThreads(blocked); \
2464 rval = PCLASS::CBNAME(a, b); \
2467 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2468 return PCLASS::CBNAME(a, b); \
2474 class wxPyPrintPreview
: public wxPrintPreview
2476 DECLARE_CLASS(wxPyPrintPreview
)
2478 wxPyPrintPreview(wxPyPrintout
* printout
,
2479 wxPyPrintout
* printoutForPrinting
,
2480 wxPrintDialogData
* data
=NULL
)
2481 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2483 wxPyPrintPreview(wxPyPrintout
* printout
,
2484 wxPyPrintout
* printoutForPrinting
,
2485 wxPrintData
* data
=NULL
)
2486 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2489 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2490 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2491 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2492 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2493 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2494 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2495 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2500 // Stupid renamed classes... Fix this in 2.5...
2501 #if defined(__WXMSW__)
2502 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2503 #elif defined(__WXMAC__)
2504 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2506 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2509 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2510 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2511 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2512 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2513 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2514 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2515 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2518 class wxPyPreviewFrame
: public wxPreviewFrame
2520 DECLARE_CLASS(wxPyPreviewFrame
);
2522 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2523 const wxString
& title
,
2524 const wxPoint
& pos
= wxDefaultPosition
,
2525 const wxSize
& size
= wxDefaultSize
,
2526 long style
= wxDEFAULT_FRAME_STYLE
,
2527 const wxString
& name
= wxPyFrameNameStr
)
2528 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2531 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2532 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2534 DEC_PYCALLBACK_VOID_(Initialize
);
2535 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2536 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2541 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2543 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2544 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2545 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2548 class wxPyPreviewControlBar
: public wxPreviewControlBar
2550 DECLARE_CLASS(wxPyPreviewControlBar
);
2552 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2555 const wxPoint
& pos
= wxDefaultPosition
,
2556 const wxSize
& size
= wxDefaultSize
,
2558 const wxString
& name
= wxPyPanelNameStr
)
2559 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2562 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2564 DEC_PYCALLBACK_VOID_(CreateButtons
);
2565 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2570 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2571 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2572 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2577 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxWindow
*arg1
= (wxWindow
*) 0 ;
2580 int arg2
= (int) (int)-1 ;
2581 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2582 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2583 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2584 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2585 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2586 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2587 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2591 bool temp6
= false ;
2592 PyObject
* obj0
= 0 ;
2593 PyObject
* obj1
= 0 ;
2594 PyObject
* obj2
= 0 ;
2595 PyObject
* obj3
= 0 ;
2596 PyObject
* obj4
= 0 ;
2597 PyObject
* obj5
= 0 ;
2599 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2604 if (SWIG_arg_fail(1)) SWIG_fail
;
2607 arg2
= (int const)(SWIG_As_int(obj1
));
2608 if (SWIG_arg_fail(2)) SWIG_fail
;
2614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2620 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2625 arg5
= (long)(SWIG_As_long(obj4
));
2626 if (SWIG_arg_fail(5)) SWIG_fail
;
2631 arg6
= wxString_in_helper(obj5
);
2632 if (arg6
== NULL
) SWIG_fail
;
2637 if (!wxPyCheckForApp()) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2659 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2668 if (!wxPyCheckForApp()) SWIG_fail
;
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 result
= (wxPanel
*)new wxPanel();
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2682 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxPanel
*arg1
= (wxPanel
*) 0 ;
2685 wxWindow
*arg2
= (wxWindow
*) 0 ;
2686 int arg3
= (int) (int)-1 ;
2687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2691 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2692 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2697 bool temp7
= false ;
2698 PyObject
* obj0
= 0 ;
2699 PyObject
* obj1
= 0 ;
2700 PyObject
* obj2
= 0 ;
2701 PyObject
* obj3
= 0 ;
2702 PyObject
* obj4
= 0 ;
2703 PyObject
* obj5
= 0 ;
2704 PyObject
* obj6
= 0 ;
2706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2711 if (SWIG_arg_fail(1)) SWIG_fail
;
2712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2713 if (SWIG_arg_fail(2)) SWIG_fail
;
2716 arg3
= (int const)(SWIG_As_int(obj2
));
2717 if (SWIG_arg_fail(3)) SWIG_fail
;
2723 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2729 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2734 arg6
= (long)(SWIG_As_long(obj5
));
2735 if (SWIG_arg_fail(6)) SWIG_fail
;
2740 arg7
= wxString_in_helper(obj6
);
2741 if (arg7
== NULL
) SWIG_fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2769 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxPanel
*arg1
= (wxPanel
*) 0 ;
2772 PyObject
* obj0
= 0 ;
2774 (char *) "self", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2779 if (SWIG_arg_fail(1)) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 (arg1
)->InitDialog();
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2787 Py_INCREF(Py_None
); resultobj
= Py_None
;
2794 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxPanel
*arg1
= (wxPanel
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "self", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2804 if (SWIG_arg_fail(1)) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2812 Py_INCREF(Py_None
); resultobj
= Py_None
;
2819 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxPanel
*arg1
= (wxPanel
*) 0 ;
2822 PyObject
* obj0
= 0 ;
2824 (char *) "self", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2829 if (SWIG_arg_fail(1)) SWIG_fail
;
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 (arg1
)->SetFocusIgnoringChildren();
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 Py_INCREF(Py_None
); resultobj
= Py_None
;
2844 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2846 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2847 wxVisualAttributes result
;
2848 PyObject
* obj0
= 0 ;
2850 (char *) "variant", NULL
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2856 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2857 if (SWIG_arg_fail(1)) SWIG_fail
;
2861 if (!wxPyCheckForApp()) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2869 wxVisualAttributes
* resultptr
;
2870 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2879 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2882 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2884 return Py_BuildValue((char *)"");
2886 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxWindow
*arg1
= (wxWindow
*) 0 ;
2889 int arg2
= (int) (int)-1 ;
2890 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2891 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2892 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2893 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2894 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2895 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2896 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2897 wxScrolledWindow
*result
;
2900 bool temp6
= false ;
2901 PyObject
* obj0
= 0 ;
2902 PyObject
* obj1
= 0 ;
2903 PyObject
* obj2
= 0 ;
2904 PyObject
* obj3
= 0 ;
2905 PyObject
* obj4
= 0 ;
2906 PyObject
* obj5
= 0 ;
2908 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2913 if (SWIG_arg_fail(1)) SWIG_fail
;
2916 arg2
= (int const)(SWIG_As_int(obj1
));
2917 if (SWIG_arg_fail(2)) SWIG_fail
;
2923 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2929 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2934 arg5
= (long)(SWIG_As_long(obj4
));
2935 if (SWIG_arg_fail(5)) SWIG_fail
;
2940 arg6
= wxString_in_helper(obj5
);
2941 if (arg6
== NULL
) SWIG_fail
;
2946 if (!wxPyCheckForApp()) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2968 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxScrolledWindow
*result
;
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2977 if (!wxPyCheckForApp()) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2991 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2994 wxWindow
*arg2
= (wxWindow
*) 0 ;
2995 int arg3
= (int) (int)-1 ;
2996 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2997 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2998 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2999 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3000 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3001 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3002 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3006 bool temp7
= false ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3009 PyObject
* obj2
= 0 ;
3010 PyObject
* obj3
= 0 ;
3011 PyObject
* obj4
= 0 ;
3012 PyObject
* obj5
= 0 ;
3013 PyObject
* obj6
= 0 ;
3015 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3020 if (SWIG_arg_fail(1)) SWIG_fail
;
3021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3022 if (SWIG_arg_fail(2)) SWIG_fail
;
3025 arg3
= (int const)(SWIG_As_int(obj2
));
3026 if (SWIG_arg_fail(3)) SWIG_fail
;
3032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3038 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3043 arg6
= (long)(SWIG_As_long(obj5
));
3044 if (SWIG_arg_fail(6)) SWIG_fail
;
3049 arg7
= wxString_in_helper(obj6
);
3050 if (arg7
== NULL
) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3078 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
*resultobj
;
3080 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3085 int arg6
= (int) 0 ;
3086 int arg7
= (int) 0 ;
3087 bool arg8
= (bool) false ;
3088 PyObject
* obj0
= 0 ;
3089 PyObject
* obj1
= 0 ;
3090 PyObject
* obj2
= 0 ;
3091 PyObject
* obj3
= 0 ;
3092 PyObject
* obj4
= 0 ;
3093 PyObject
* obj5
= 0 ;
3094 PyObject
* obj6
= 0 ;
3095 PyObject
* obj7
= 0 ;
3097 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3102 if (SWIG_arg_fail(1)) SWIG_fail
;
3104 arg2
= (int)(SWIG_As_int(obj1
));
3105 if (SWIG_arg_fail(2)) SWIG_fail
;
3108 arg3
= (int)(SWIG_As_int(obj2
));
3109 if (SWIG_arg_fail(3)) SWIG_fail
;
3112 arg4
= (int)(SWIG_As_int(obj3
));
3113 if (SWIG_arg_fail(4)) SWIG_fail
;
3116 arg5
= (int)(SWIG_As_int(obj4
));
3117 if (SWIG_arg_fail(5)) SWIG_fail
;
3121 arg6
= (int)(SWIG_As_int(obj5
));
3122 if (SWIG_arg_fail(6)) SWIG_fail
;
3127 arg7
= (int)(SWIG_As_int(obj6
));
3128 if (SWIG_arg_fail(7)) SWIG_fail
;
3133 arg8
= (bool)(SWIG_As_bool(obj7
));
3134 if (SWIG_arg_fail(8)) SWIG_fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 Py_INCREF(Py_None
); resultobj
= Py_None
;
3151 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3156 PyObject
* obj0
= 0 ;
3157 PyObject
* obj1
= 0 ;
3158 PyObject
* obj2
= 0 ;
3160 (char *) "self",(char *) "x",(char *) "y", NULL
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3165 if (SWIG_arg_fail(1)) SWIG_fail
;
3167 arg2
= (int)(SWIG_As_int(obj1
));
3168 if (SWIG_arg_fail(2)) SWIG_fail
;
3171 arg3
= (int)(SWIG_As_int(obj2
));
3172 if (SWIG_arg_fail(3)) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 (arg1
)->Scroll(arg2
,arg3
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3181 Py_INCREF(Py_None
); resultobj
= Py_None
;
3188 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3194 PyObject
* obj1
= 0 ;
3196 (char *) "self",(char *) "orient", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail
;
3203 arg2
= (int)(SWIG_As_int(obj1
));
3204 if (SWIG_arg_fail(2)) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3214 resultobj
= SWIG_From_int((int)(result
));
3222 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
;
3224 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3227 PyObject
* obj0
= 0 ;
3228 PyObject
* obj1
= 0 ;
3229 PyObject
* obj2
= 0 ;
3231 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3236 if (SWIG_arg_fail(1)) SWIG_fail
;
3238 arg2
= (int)(SWIG_As_int(obj1
));
3239 if (SWIG_arg_fail(2)) SWIG_fail
;
3242 arg3
= (int)(SWIG_As_int(obj2
));
3243 if (SWIG_arg_fail(3)) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 Py_INCREF(Py_None
); resultobj
= Py_None
;
3259 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 PyObject
* obj2
= 0 ;
3268 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3273 if (SWIG_arg_fail(1)) SWIG_fail
;
3275 arg2
= (int)(SWIG_As_int(obj1
));
3276 if (SWIG_arg_fail(2)) SWIG_fail
;
3279 arg3
= (int)(SWIG_As_int(obj2
));
3280 if (SWIG_arg_fail(3)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 (arg1
)->SetScrollRate(arg2
,arg3
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 Py_INCREF(Py_None
); resultobj
= Py_None
;
3296 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3299 int *arg2
= (int *) 0 ;
3300 int *arg3
= (int *) 0 ;
3305 PyObject
* obj0
= 0 ;
3307 (char *) "self", NULL
3310 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3311 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3314 if (SWIG_arg_fail(1)) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3323 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3324 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3325 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3326 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3333 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3338 PyObject
* obj0
= 0 ;
3339 PyObject
* obj1
= 0 ;
3340 PyObject
* obj2
= 0 ;
3342 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail
;
3349 arg2
= (bool)(SWIG_As_bool(obj1
));
3350 if (SWIG_arg_fail(2)) SWIG_fail
;
3353 arg3
= (bool)(SWIG_As_bool(obj2
));
3354 if (SWIG_arg_fail(3)) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 (arg1
)->EnableScrolling(arg2
,arg3
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 Py_INCREF(Py_None
); resultobj
= Py_None
;
3370 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3373 int *arg2
= (int *) 0 ;
3374 int *arg3
= (int *) 0 ;
3379 PyObject
* obj0
= 0 ;
3381 (char *) "self", NULL
3384 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3385 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3388 if (SWIG_arg_fail(1)) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3397 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3398 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3399 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3400 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3407 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3414 PyObject
* obj2
= 0 ;
3416 (char *) "self",(char *) "xs",(char *) "ys", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail
;
3423 arg2
= (double)(SWIG_As_double(obj1
));
3424 if (SWIG_arg_fail(2)) SWIG_fail
;
3427 arg3
= (double)(SWIG_As_double(obj2
));
3428 if (SWIG_arg_fail(3)) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 (arg1
)->SetScale(arg2
,arg3
);
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 Py_INCREF(Py_None
); resultobj
= Py_None
;
3444 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3450 (char *) "self", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3455 if (SWIG_arg_fail(1)) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_From_double((double)(result
));
3472 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3478 (char *) "self", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3483 if (SWIG_arg_fail(1)) SWIG_fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3492 resultobj
= SWIG_From_double((double)(result
));
3500 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3501 PyObject
*resultobj
;
3502 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3506 PyObject
* obj0
= 0 ;
3507 PyObject
* obj1
= 0 ;
3509 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3524 wxPoint
* resultptr
;
3525 resultptr
= new wxPoint((wxPoint
&)(result
));
3526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3534 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3535 PyObject
*resultobj
;
3536 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3539 int *arg4
= (int *) 0 ;
3540 int *arg5
= (int *) 0 ;
3545 PyObject
* obj0
= 0 ;
3546 PyObject
* obj1
= 0 ;
3547 PyObject
* obj2
= 0 ;
3549 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3550 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3551 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3553 if (SWIG_arg_fail(1)) SWIG_fail
;
3555 arg2
= (int)(SWIG_As_int(obj1
));
3556 if (SWIG_arg_fail(2)) SWIG_fail
;
3559 arg3
= (int)(SWIG_As_int(obj2
));
3560 if (SWIG_arg_fail(3)) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 Py_INCREF(Py_None
); resultobj
= Py_None
;
3570 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3571 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3572 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3573 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3580 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3585 argc
= PyObject_Length(args
);
3586 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3587 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3593 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3602 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3605 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3613 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3621 _v
= SWIG_Check_int(argv
[1]);
3623 _v
= SWIG_Check_int(argv
[2]);
3625 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3631 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3636 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3637 PyObject
*resultobj
;
3638 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3643 PyObject
* obj1
= 0 ;
3645 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3647 if (SWIG_arg_fail(1)) SWIG_fail
;
3650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3660 wxPoint
* resultptr
;
3661 resultptr
= new wxPoint((wxPoint
&)(result
));
3662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3670 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3671 PyObject
*resultobj
;
3672 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3675 int *arg4
= (int *) 0 ;
3676 int *arg5
= (int *) 0 ;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3683 PyObject
* obj2
= 0 ;
3685 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3686 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3687 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3689 if (SWIG_arg_fail(1)) SWIG_fail
;
3691 arg2
= (int)(SWIG_As_int(obj1
));
3692 if (SWIG_arg_fail(2)) SWIG_fail
;
3695 arg3
= (int)(SWIG_As_int(obj2
));
3696 if (SWIG_arg_fail(3)) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3707 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3708 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3709 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3716 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3721 argc
= PyObject_Length(args
);
3722 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3723 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3729 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3738 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3741 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3749 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3757 _v
= SWIG_Check_int(argv
[1]);
3759 _v
= SWIG_Check_int(argv
[2]);
3761 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3767 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3772 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3782 if (SWIG_arg_fail(1)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 (arg1
)->AdjustScrollbars();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 Py_INCREF(Py_None
); resultobj
= Py_None
;
3797 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3800 wxScrollWinEvent
*arg2
= 0 ;
3802 PyObject
* obj0
= 0 ;
3803 PyObject
* obj1
= 0 ;
3805 (char *) "self",(char *) "event", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail
;
3812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3813 if (SWIG_arg_fail(2)) SWIG_fail
;
3815 SWIG_null_ref("wxScrollWinEvent");
3817 if (SWIG_arg_fail(2)) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_From_int((int)(result
));
3835 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3837 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3838 wxWindow
*arg2
= (wxWindow
*) 0 ;
3839 PyObject
* obj0
= 0 ;
3840 PyObject
* obj1
= 0 ;
3842 (char *) "self",(char *) "target", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3847 if (SWIG_arg_fail(1)) SWIG_fail
;
3848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3849 if (SWIG_arg_fail(2)) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 (arg1
)->SetTargetWindow(arg2
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3864 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3870 (char *) "self", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3875 if (SWIG_arg_fail(1)) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= wxPyMake_wxObject(result
, 0);
3892 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3900 (char *) "self",(char *) "rect", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3905 if (SWIG_arg_fail(1)) SWIG_fail
;
3908 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 Py_INCREF(Py_None
); resultobj
= Py_None
;
3924 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "self", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(1)) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3945 resultptr
= new wxRect((wxRect
&)(result
));
3946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3954 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3958 PyObject
* obj0
= 0 ;
3959 PyObject
* obj1
= 0 ;
3961 (char *) "self",(char *) "dc", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3966 if (SWIG_arg_fail(1)) SWIG_fail
;
3968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3969 if (SWIG_arg_fail(2)) SWIG_fail
;
3971 SWIG_null_ref("wxDC");
3973 if (SWIG_arg_fail(2)) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 (arg1
)->DoPrepareDC(*arg2
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 Py_INCREF(Py_None
); resultobj
= Py_None
;
3989 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
;
3991 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3992 wxVisualAttributes result
;
3993 PyObject
* obj0
= 0 ;
3995 (char *) "variant", NULL
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4001 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4002 if (SWIG_arg_fail(1)) SWIG_fail
;
4006 if (!wxPyCheckForApp()) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4014 wxVisualAttributes
* resultptr
;
4015 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4024 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4027 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4029 return Py_BuildValue((char *)"");
4031 static int _wrap_FrameNameStr_set(PyObject
*) {
4032 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4037 static PyObject
*_wrap_FrameNameStr_get(void) {
4042 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4044 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4051 static int _wrap_DialogNameStr_set(PyObject
*) {
4052 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4057 static PyObject
*_wrap_DialogNameStr_get(void) {
4062 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4064 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4071 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4072 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4077 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4082 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4084 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4091 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4092 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4097 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4102 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4104 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4111 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4114 bool arg2
= (bool) true ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4118 (char *) "self",(char *) "maximize", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4123 if (SWIG_arg_fail(1)) SWIG_fail
;
4126 arg2
= (bool)(SWIG_As_bool(obj1
));
4127 if (SWIG_arg_fail(2)) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->Maximize(arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4144 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4146 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4147 PyObject
* obj0
= 0 ;
4149 (char *) "self", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4154 if (SWIG_arg_fail(1)) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 Py_INCREF(Py_None
); resultobj
= Py_None
;
4169 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4172 bool arg2
= (bool) true ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "iconize", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4181 if (SWIG_arg_fail(1)) SWIG_fail
;
4184 arg2
= (bool)(SWIG_As_bool(obj1
));
4185 if (SWIG_arg_fail(2)) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 (arg1
)->Iconize(arg2
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 Py_INCREF(Py_None
); resultobj
= Py_None
;
4202 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4208 (char *) "self", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4213 if (SWIG_arg_fail(1)) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4230 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4241 if (SWIG_arg_fail(1)) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4258 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4264 (char *) "self", NULL
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4269 if (SWIG_arg_fail(1)) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4279 resultptr
= new wxIcon((wxIcon
&)(result
));
4280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4288 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4290 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4292 PyObject
* obj0
= 0 ;
4293 PyObject
* obj1
= 0 ;
4295 (char *) "self",(char *) "icon", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4300 if (SWIG_arg_fail(1)) SWIG_fail
;
4302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4303 if (SWIG_arg_fail(2)) SWIG_fail
;
4305 SWIG_null_ref("wxIcon");
4307 if (SWIG_arg_fail(2)) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 Py_INCREF(Py_None
); resultobj
= Py_None
;
4323 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
;
4325 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4326 wxIconBundle
*arg2
= 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4330 (char *) "self",(char *) "icons", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4335 if (SWIG_arg_fail(1)) SWIG_fail
;
4337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4338 if (SWIG_arg_fail(2)) SWIG_fail
;
4340 SWIG_null_ref("wxIconBundle");
4342 if (SWIG_arg_fail(2)) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 Py_INCREF(Py_None
); resultobj
= Py_None
;
4358 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4362 long arg3
= (long) wxFULLSCREEN_ALL
;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 PyObject
* obj2
= 0 ;
4368 (char *) "self",(char *) "show",(char *) "style", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4373 if (SWIG_arg_fail(1)) SWIG_fail
;
4375 arg2
= (bool)(SWIG_As_bool(obj1
));
4376 if (SWIG_arg_fail(2)) SWIG_fail
;
4380 arg3
= (long)(SWIG_As_long(obj2
));
4381 if (SWIG_arg_fail(3)) SWIG_fail
;
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4400 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4402 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4404 PyObject
* obj0
= 0 ;
4406 (char *) "self", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4411 if (SWIG_arg_fail(1)) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4428 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4431 wxString
*arg2
= 0 ;
4432 bool temp2
= false ;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4436 (char *) "self",(char *) "title", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail
;
4443 arg2
= wxString_in_helper(obj1
);
4444 if (arg2
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 (arg1
)->SetTitle((wxString
const &)*arg2
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 Py_INCREF(Py_None
); resultobj
= Py_None
;
4469 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4473 PyObject
* obj0
= 0 ;
4475 (char *) "self", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4501 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4504 wxRegion
*arg2
= 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4509 (char *) "self",(char *) "region", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail
;
4516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4517 if (SWIG_arg_fail(2)) SWIG_fail
;
4519 SWIG_null_ref("wxRegion");
4521 if (SWIG_arg_fail(2)) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4539 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4541 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4542 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4546 (char *) "self",(char *) "flags", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4551 if (SWIG_arg_fail(1)) SWIG_fail
;
4554 arg2
= (int)(SWIG_As_int(obj1
));
4555 if (SWIG_arg_fail(2)) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 (arg1
)->RequestUserAttention(arg2
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4583 if (SWIG_arg_fail(1)) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (bool)(arg1
)->IsActive();
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4600 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4605 PyObject
* obj1
= 0 ;
4607 (char *) "self",(char *) "on", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4612 if (SWIG_arg_fail(1)) SWIG_fail
;
4614 arg2
= (bool)(SWIG_As_bool(obj1
));
4615 if (SWIG_arg_fail(2)) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 (arg1
)->MacSetMetalAppearance(arg2
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 Py_INCREF(Py_None
); resultobj
= Py_None
;
4631 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4635 PyObject
* obj0
= 0 ;
4637 (char *) "self", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4642 if (SWIG_arg_fail(1)) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4659 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4662 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4664 return Py_BuildValue((char *)"");
4666 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxWindow
*arg1
= (wxWindow
*) 0 ;
4669 int arg2
= (int) (int)-1 ;
4670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4672 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4674 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4675 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4676 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4677 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4678 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4680 bool temp3
= false ;
4683 bool temp7
= false ;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj1
= 0 ;
4686 PyObject
* obj2
= 0 ;
4687 PyObject
* obj3
= 0 ;
4688 PyObject
* obj4
= 0 ;
4689 PyObject
* obj5
= 0 ;
4690 PyObject
* obj6
= 0 ;
4692 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4697 if (SWIG_arg_fail(1)) SWIG_fail
;
4700 arg2
= (int const)(SWIG_As_int(obj1
));
4701 if (SWIG_arg_fail(2)) SWIG_fail
;
4706 arg3
= wxString_in_helper(obj2
);
4707 if (arg3
== NULL
) SWIG_fail
;
4714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4720 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4725 arg6
= (long)(SWIG_As_long(obj5
));
4726 if (SWIG_arg_fail(6)) SWIG_fail
;
4731 arg7
= wxString_in_helper(obj6
);
4732 if (arg7
== NULL
) SWIG_fail
;
4737 if (!wxPyCheckForApp()) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4767 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4776 if (!wxPyCheckForApp()) SWIG_fail
;
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 result
= (wxFrame
*)new wxFrame();
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4790 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxFrame
*arg1
= (wxFrame
*) 0 ;
4793 wxWindow
*arg2
= (wxWindow
*) 0 ;
4794 int arg3
= (int) (int)-1 ;
4795 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4797 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4798 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4799 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4800 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4801 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4802 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4803 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4805 bool temp4
= false ;
4808 bool temp8
= false ;
4809 PyObject
* obj0
= 0 ;
4810 PyObject
* obj1
= 0 ;
4811 PyObject
* obj2
= 0 ;
4812 PyObject
* obj3
= 0 ;
4813 PyObject
* obj4
= 0 ;
4814 PyObject
* obj5
= 0 ;
4815 PyObject
* obj6
= 0 ;
4816 PyObject
* obj7
= 0 ;
4818 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4823 if (SWIG_arg_fail(1)) SWIG_fail
;
4824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4825 if (SWIG_arg_fail(2)) SWIG_fail
;
4828 arg3
= (int const)(SWIG_As_int(obj2
));
4829 if (SWIG_arg_fail(3)) SWIG_fail
;
4834 arg4
= wxString_in_helper(obj3
);
4835 if (arg4
== NULL
) SWIG_fail
;
4842 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4848 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4853 arg7
= (long)(SWIG_As_long(obj6
));
4854 if (SWIG_arg_fail(7)) SWIG_fail
;
4859 arg8
= wxString_in_helper(obj7
);
4860 if (arg8
== NULL
) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4896 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxFrame
*arg1
= (wxFrame
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4907 if (SWIG_arg_fail(1)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4916 wxPoint
* resultptr
;
4917 resultptr
= new wxPoint((wxPoint
&)(result
));
4918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4926 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxFrame
*arg1
= (wxFrame
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4931 (char *) "self", NULL
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4936 if (SWIG_arg_fail(1)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->SendSizeEvent();
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxFrame
*arg1
= (wxFrame
*) 0 ;
4954 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4956 PyObject
* obj1
= 0 ;
4958 (char *) "self",(char *) "menubar", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4963 if (SWIG_arg_fail(1)) SWIG_fail
;
4964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4965 if (SWIG_arg_fail(2)) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 (arg1
)->SetMenuBar(arg2
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxFrame
*arg1
= (wxFrame
*) 0 ;
4984 PyObject
* obj0
= 0 ;
4986 (char *) "self", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4991 if (SWIG_arg_fail(1)) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= wxPyMake_wxObject(result
, 0);
5008 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxFrame
*arg1
= (wxFrame
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "winid", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail
;
5023 arg2
= (int)(SWIG_As_int(obj1
));
5024 if (SWIG_arg_fail(2)) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5042 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxFrame
*arg1
= (wxFrame
*) 0 ;
5045 int arg2
= (int) 1 ;
5046 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5047 int arg4
= (int) 0 ;
5048 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5049 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5050 wxStatusBar
*result
;
5051 bool temp5
= false ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5054 PyObject
* obj2
= 0 ;
5055 PyObject
* obj3
= 0 ;
5056 PyObject
* obj4
= 0 ;
5058 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5063 if (SWIG_arg_fail(1)) SWIG_fail
;
5066 arg2
= (int)(SWIG_As_int(obj1
));
5067 if (SWIG_arg_fail(2)) SWIG_fail
;
5072 arg3
= (long)(SWIG_As_long(obj2
));
5073 if (SWIG_arg_fail(3)) SWIG_fail
;
5078 arg4
= (int)(SWIG_As_int(obj3
));
5079 if (SWIG_arg_fail(4)) SWIG_fail
;
5084 arg5
= wxString_in_helper(obj4
);
5085 if (arg5
== NULL
) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= wxPyMake_wxObject(result
, 0);
5113 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxFrame
*arg1
= (wxFrame
*) 0 ;
5116 wxStatusBar
*result
;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= wxPyMake_wxObject(result
, 0);
5141 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxFrame
*arg1
= (wxFrame
*) 0 ;
5144 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5148 (char *) "self",(char *) "statBar", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5153 if (SWIG_arg_fail(1)) SWIG_fail
;
5154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5155 if (SWIG_arg_fail(2)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetStatusBar(arg2
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxFrame
*arg1
= (wxFrame
*) 0 ;
5173 wxString
*arg2
= 0 ;
5174 int arg3
= (int) 0 ;
5175 bool temp2
= false ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5178 PyObject
* obj2
= 0 ;
5180 (char *) "self",(char *) "text",(char *) "number", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5185 if (SWIG_arg_fail(1)) SWIG_fail
;
5187 arg2
= wxString_in_helper(obj1
);
5188 if (arg2
== NULL
) SWIG_fail
;
5193 arg3
= (int)(SWIG_As_int(obj2
));
5194 if (SWIG_arg_fail(3)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 Py_INCREF(Py_None
); resultobj
= Py_None
;
5219 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxFrame
*arg1
= (wxFrame
*) 0 ;
5223 int *arg3
= (int *) 0 ;
5224 PyObject
* obj0
= 0 ;
5225 PyObject
* obj1
= 0 ;
5227 (char *) "self",(char *) "widths", NULL
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5232 if (SWIG_arg_fail(1)) SWIG_fail
;
5234 arg2
= PyList_Size(obj1
);
5235 arg3
= int_LIST_helper(obj1
);
5236 if (arg3
== NULL
) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 Py_INCREF(Py_None
); resultobj
= Py_None
;
5247 if (arg3
) delete [] arg3
;
5252 if (arg3
) delete [] arg3
;
5258 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxFrame
*arg1
= (wxFrame
*) 0 ;
5261 wxString
*arg2
= 0 ;
5262 int arg3
= (int) 0 ;
5263 bool temp2
= false ;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5266 PyObject
* obj2
= 0 ;
5268 (char *) "self",(char *) "text",(char *) "number", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5273 if (SWIG_arg_fail(1)) SWIG_fail
;
5275 arg2
= wxString_in_helper(obj1
);
5276 if (arg2
== NULL
) SWIG_fail
;
5281 arg3
= (int)(SWIG_As_int(obj2
));
5282 if (SWIG_arg_fail(3)) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 Py_INCREF(Py_None
); resultobj
= Py_None
;
5307 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxFrame
*arg1
= (wxFrame
*) 0 ;
5310 int arg2
= (int) 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5314 (char *) "self",(char *) "number", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5319 if (SWIG_arg_fail(1)) SWIG_fail
;
5322 arg2
= (int)(SWIG_As_int(obj1
));
5323 if (SWIG_arg_fail(2)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 (arg1
)->PopStatusText(arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 Py_INCREF(Py_None
); resultobj
= Py_None
;
5340 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxFrame
*arg1
= (wxFrame
*) 0 ;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5347 (char *) "self",(char *) "n", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5352 if (SWIG_arg_fail(1)) SWIG_fail
;
5354 arg2
= (int)(SWIG_As_int(obj1
));
5355 if (SWIG_arg_fail(2)) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 (arg1
)->SetStatusBarPane(arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 Py_INCREF(Py_None
); resultobj
= Py_None
;
5371 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxFrame
*arg1
= (wxFrame
*) 0 ;
5375 PyObject
* obj0
= 0 ;
5377 (char *) "self", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5382 if (SWIG_arg_fail(1)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_From_int((int)(result
));
5399 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxFrame
*arg1
= (wxFrame
*) 0 ;
5402 long arg2
= (long) -1 ;
5403 int arg3
= (int) -1 ;
5404 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5405 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5407 bool temp4
= false ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5410 PyObject
* obj2
= 0 ;
5411 PyObject
* obj3
= 0 ;
5413 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5418 if (SWIG_arg_fail(1)) SWIG_fail
;
5421 arg2
= (long)(SWIG_As_long(obj1
));
5422 if (SWIG_arg_fail(2)) SWIG_fail
;
5427 arg3
= (int)(SWIG_As_int(obj2
));
5428 if (SWIG_arg_fail(3)) SWIG_fail
;
5433 arg4
= wxString_in_helper(obj3
);
5434 if (arg4
== NULL
) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= wxPyMake_wxObject(result
, 0);
5462 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxFrame
*arg1
= (wxFrame
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5468 (char *) "self", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= wxPyMake_wxObject(result
, 0);
5490 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxFrame
*arg1
= (wxFrame
*) 0 ;
5493 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5497 (char *) "self",(char *) "toolbar", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5502 if (SWIG_arg_fail(1)) SWIG_fail
;
5503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5504 if (SWIG_arg_fail(2)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->SetToolBar(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxFrame
*arg1
= (wxFrame
*) 0 ;
5522 wxString
*arg2
= 0 ;
5524 bool temp2
= false ;
5525 PyObject
* obj0
= 0 ;
5526 PyObject
* obj1
= 0 ;
5527 PyObject
* obj2
= 0 ;
5529 (char *) "self",(char *) "text",(char *) "show", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5534 if (SWIG_arg_fail(1)) SWIG_fail
;
5536 arg2
= wxString_in_helper(obj1
);
5537 if (arg2
== NULL
) SWIG_fail
;
5541 arg3
= (bool)(SWIG_As_bool(obj2
));
5542 if (SWIG_arg_fail(3)) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 Py_INCREF(Py_None
); resultobj
= Py_None
;
5566 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxFrame
*arg1
= (wxFrame
*) 0 ;
5569 wxMenu
*arg2
= (wxMenu
*) NULL
;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5573 (char *) "self",(char *) "menu", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5578 if (SWIG_arg_fail(1)) SWIG_fail
;
5580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5581 if (SWIG_arg_fail(2)) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 (arg1
)->DoMenuUpdates(arg2
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5600 wxVisualAttributes result
;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "variant", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5609 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5610 if (SWIG_arg_fail(1)) SWIG_fail
;
5614 if (!wxPyCheckForApp()) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 wxVisualAttributes
* resultptr
;
5623 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5632 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5635 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5637 return Py_BuildValue((char *)"");
5639 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxWindow
*arg1
= (wxWindow
*) 0 ;
5642 int arg2
= (int) (int)-1 ;
5643 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5644 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5645 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5646 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5647 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5648 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5649 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5650 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5651 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5653 bool temp3
= false ;
5656 bool temp7
= false ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5659 PyObject
* obj2
= 0 ;
5660 PyObject
* obj3
= 0 ;
5661 PyObject
* obj4
= 0 ;
5662 PyObject
* obj5
= 0 ;
5663 PyObject
* obj6
= 0 ;
5665 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5670 if (SWIG_arg_fail(1)) SWIG_fail
;
5673 arg2
= (int const)(SWIG_As_int(obj1
));
5674 if (SWIG_arg_fail(2)) SWIG_fail
;
5679 arg3
= wxString_in_helper(obj2
);
5680 if (arg3
== NULL
) SWIG_fail
;
5687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5698 arg6
= (long)(SWIG_As_long(obj5
));
5699 if (SWIG_arg_fail(6)) SWIG_fail
;
5704 arg7
= wxString_in_helper(obj6
);
5705 if (arg7
== NULL
) SWIG_fail
;
5710 if (!wxPyCheckForApp()) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5740 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5749 if (!wxPyCheckForApp()) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (wxDialog
*)new wxDialog();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5763 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxDialog
*arg1
= (wxDialog
*) 0 ;
5766 wxWindow
*arg2
= (wxWindow
*) 0 ;
5767 int arg3
= (int) (int)-1 ;
5768 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5769 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5770 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5771 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5772 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5773 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5774 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5775 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5776 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5778 bool temp4
= false ;
5781 bool temp8
= false ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5784 PyObject
* obj2
= 0 ;
5785 PyObject
* obj3
= 0 ;
5786 PyObject
* obj4
= 0 ;
5787 PyObject
* obj5
= 0 ;
5788 PyObject
* obj6
= 0 ;
5789 PyObject
* obj7
= 0 ;
5791 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5796 if (SWIG_arg_fail(1)) SWIG_fail
;
5797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5798 if (SWIG_arg_fail(2)) SWIG_fail
;
5801 arg3
= (int const)(SWIG_As_int(obj2
));
5802 if (SWIG_arg_fail(3)) SWIG_fail
;
5807 arg4
= wxString_in_helper(obj3
);
5808 if (arg4
== NULL
) SWIG_fail
;
5815 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5821 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5826 arg7
= (long)(SWIG_As_long(obj6
));
5827 if (SWIG_arg_fail(7)) SWIG_fail
;
5832 arg8
= wxString_in_helper(obj7
);
5833 if (arg8
== NULL
) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5869 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxDialog
*arg1
= (wxDialog
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5874 PyObject
* obj1
= 0 ;
5876 (char *) "self",(char *) "returnCode", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5881 if (SWIG_arg_fail(1)) SWIG_fail
;
5883 arg2
= (int)(SWIG_As_int(obj1
));
5884 if (SWIG_arg_fail(2)) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 (arg1
)->SetReturnCode(arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5900 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxDialog
*arg1
= (wxDialog
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5906 (char *) "self", NULL
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5911 if (SWIG_arg_fail(1)) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_From_int((int)(result
));
5928 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxDialog
*arg1
= (wxDialog
*) 0 ;
5931 wxString
*arg2
= 0 ;
5933 bool temp2
= false ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5937 (char *) "self",(char *) "message", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5942 if (SWIG_arg_fail(1)) SWIG_fail
;
5944 arg2
= wxString_in_helper(obj1
);
5945 if (arg2
== NULL
) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= wxPyMake_wxObject(result
, 0);
5972 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxDialog
*arg1
= (wxDialog
*) 0 ;
5977 PyObject
* obj0
= 0 ;
5978 PyObject
* obj1
= 0 ;
5980 (char *) "self",(char *) "flags", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5985 if (SWIG_arg_fail(1)) SWIG_fail
;
5987 arg2
= (long)(SWIG_As_long(obj1
));
5988 if (SWIG_arg_fail(2)) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= wxPyMake_wxObject(result
, 0);
6006 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxDialog
*arg1
= (wxDialog
*) 0 ;
6010 wxStdDialogButtonSizer
*result
;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6014 (char *) "self",(char *) "flags", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6019 if (SWIG_arg_fail(1)) SWIG_fail
;
6021 arg2
= (long)(SWIG_As_long(obj1
));
6022 if (SWIG_arg_fail(2)) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6038 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxDialog
*arg1
= (wxDialog
*) 0 ;
6042 PyObject
* obj0
= 0 ;
6044 (char *) "self", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6066 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxDialog
*arg1
= (wxDialog
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6072 (char *) "self", NULL
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6077 if (SWIG_arg_fail(1)) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (int)(arg1
)->ShowModal();
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= SWIG_From_int((int)(result
));
6094 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxDialog
*arg1
= (wxDialog
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6101 (char *) "self",(char *) "retCode", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6106 if (SWIG_arg_fail(1)) SWIG_fail
;
6108 arg2
= (int)(SWIG_As_int(obj1
));
6109 if (SWIG_arg_fail(2)) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 (arg1
)->EndModal(arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 Py_INCREF(Py_None
); resultobj
= Py_None
;
6125 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6128 wxVisualAttributes result
;
6129 PyObject
* obj0
= 0 ;
6131 (char *) "variant", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6137 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6138 if (SWIG_arg_fail(1)) SWIG_fail
;
6142 if (!wxPyCheckForApp()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6150 wxVisualAttributes
* resultptr
;
6151 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6160 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6163 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6165 return Py_BuildValue((char *)"");
6167 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxWindow
*arg1
= (wxWindow
*) 0 ;
6170 int arg2
= (int) (int)-1 ;
6171 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6172 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6173 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6174 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6175 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6176 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6177 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6178 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6179 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6180 wxMiniFrame
*result
;
6181 bool temp3
= false ;
6184 bool temp7
= false ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6187 PyObject
* obj2
= 0 ;
6188 PyObject
* obj3
= 0 ;
6189 PyObject
* obj4
= 0 ;
6190 PyObject
* obj5
= 0 ;
6191 PyObject
* obj6
= 0 ;
6193 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6198 if (SWIG_arg_fail(1)) SWIG_fail
;
6201 arg2
= (int const)(SWIG_As_int(obj1
));
6202 if (SWIG_arg_fail(2)) SWIG_fail
;
6207 arg3
= wxString_in_helper(obj2
);
6208 if (arg3
== NULL
) SWIG_fail
;
6215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6226 arg6
= (long)(SWIG_As_long(obj5
));
6227 if (SWIG_arg_fail(6)) SWIG_fail
;
6232 arg7
= wxString_in_helper(obj6
);
6233 if (arg7
== NULL
) SWIG_fail
;
6238 if (!wxPyCheckForApp()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6268 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxMiniFrame
*result
;
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6277 if (!wxPyCheckForApp()) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (wxMiniFrame
*)new wxMiniFrame();
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6291 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6294 wxWindow
*arg2
= (wxWindow
*) 0 ;
6295 int arg3
= (int) (int)-1 ;
6296 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6297 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6298 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6299 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6300 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6301 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6302 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6303 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6304 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6306 bool temp4
= false ;
6309 bool temp8
= false ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6312 PyObject
* obj2
= 0 ;
6313 PyObject
* obj3
= 0 ;
6314 PyObject
* obj4
= 0 ;
6315 PyObject
* obj5
= 0 ;
6316 PyObject
* obj6
= 0 ;
6317 PyObject
* obj7
= 0 ;
6319 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6324 if (SWIG_arg_fail(1)) SWIG_fail
;
6325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6326 if (SWIG_arg_fail(2)) SWIG_fail
;
6329 arg3
= (int const)(SWIG_As_int(obj2
));
6330 if (SWIG_arg_fail(3)) SWIG_fail
;
6335 arg4
= wxString_in_helper(obj3
);
6336 if (arg4
== NULL
) SWIG_fail
;
6343 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6349 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6354 arg7
= (long)(SWIG_As_long(obj6
));
6355 if (SWIG_arg_fail(7)) SWIG_fail
;
6360 arg8
= wxString_in_helper(obj7
);
6361 if (arg8
== NULL
) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6397 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6400 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6402 return Py_BuildValue((char *)"");
6404 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxBitmap
*arg1
= 0 ;
6407 wxWindow
*arg2
= (wxWindow
*) 0 ;
6409 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6410 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6411 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6412 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6413 long arg6
= (long) wxNO_BORDER
;
6414 wxSplashScreenWindow
*result
;
6417 PyObject
* obj0
= 0 ;
6418 PyObject
* obj1
= 0 ;
6419 PyObject
* obj2
= 0 ;
6420 PyObject
* obj3
= 0 ;
6421 PyObject
* obj4
= 0 ;
6422 PyObject
* obj5
= 0 ;
6424 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6430 if (SWIG_arg_fail(1)) SWIG_fail
;
6432 SWIG_null_ref("wxBitmap");
6434 if (SWIG_arg_fail(1)) SWIG_fail
;
6436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6437 if (SWIG_arg_fail(2)) SWIG_fail
;
6439 arg3
= (int)(SWIG_As_int(obj2
));
6440 if (SWIG_arg_fail(3)) SWIG_fail
;
6445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6456 arg6
= (long)(SWIG_As_long(obj5
));
6457 if (SWIG_arg_fail(6)) SWIG_fail
;
6461 if (!wxPyCheckForApp()) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6475 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6478 wxBitmap
*arg2
= 0 ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6482 (char *) "self",(char *) "bitmap", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6487 if (SWIG_arg_fail(1)) SWIG_fail
;
6489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6490 if (SWIG_arg_fail(2)) SWIG_fail
;
6492 SWIG_null_ref("wxBitmap");
6494 if (SWIG_arg_fail(2)) SWIG_fail
;
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 Py_INCREF(Py_None
); resultobj
= Py_None
;
6510 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
*resultobj
;
6512 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6514 PyObject
* obj0
= 0 ;
6516 (char *) "self", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6521 if (SWIG_arg_fail(1)) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6526 result
= (wxBitmap
*) &_result_ref
;
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6533 wxBitmap
* resultptr
= new wxBitmap(*result
);
6534 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6542 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6545 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6547 return Py_BuildValue((char *)"");
6549 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
;
6551 wxBitmap
*arg1
= 0 ;
6554 wxWindow
*arg4
= (wxWindow
*) 0 ;
6555 int arg5
= (int) -1 ;
6556 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6557 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6558 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6559 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6560 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6561 wxSplashScreen
*result
;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6566 PyObject
* obj2
= 0 ;
6567 PyObject
* obj3
= 0 ;
6568 PyObject
* obj4
= 0 ;
6569 PyObject
* obj5
= 0 ;
6570 PyObject
* obj6
= 0 ;
6571 PyObject
* obj7
= 0 ;
6573 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 SWIG_null_ref("wxBitmap");
6583 if (SWIG_arg_fail(1)) SWIG_fail
;
6586 arg2
= (long)(SWIG_As_long(obj1
));
6587 if (SWIG_arg_fail(2)) SWIG_fail
;
6590 arg3
= (int)(SWIG_As_int(obj2
));
6591 if (SWIG_arg_fail(3)) SWIG_fail
;
6593 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6594 if (SWIG_arg_fail(4)) SWIG_fail
;
6597 arg5
= (int)(SWIG_As_int(obj4
));
6598 if (SWIG_arg_fail(5)) SWIG_fail
;
6604 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6610 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6615 arg8
= (long)(SWIG_As_long(obj7
));
6616 if (SWIG_arg_fail(8)) SWIG_fail
;
6620 if (!wxPyCheckForApp()) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6634 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "self", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6645 if (SWIG_arg_fail(1)) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_From_long((long)(result
));
6662 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6665 wxSplashScreenWindow
*result
;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6673 if (SWIG_arg_fail(1)) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6688 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6692 PyObject
* obj0
= 0 ;
6694 (char *) "self", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= SWIG_From_int((int)(result
));
6716 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6719 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6721 return Py_BuildValue((char *)"");
6723 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxWindow
*arg1
= (wxWindow
*) 0 ;
6726 int arg2
= (int) -1 ;
6727 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6728 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6729 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6730 wxStatusBar
*result
;
6731 bool temp4
= false ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6734 PyObject
* obj2
= 0 ;
6735 PyObject
* obj3
= 0 ;
6737 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6742 if (SWIG_arg_fail(1)) SWIG_fail
;
6745 arg2
= (int)(SWIG_As_int(obj1
));
6746 if (SWIG_arg_fail(2)) SWIG_fail
;
6751 arg3
= (long)(SWIG_As_long(obj2
));
6752 if (SWIG_arg_fail(3)) SWIG_fail
;
6757 arg4
= wxString_in_helper(obj3
);
6758 if (arg4
== NULL
) SWIG_fail
;
6763 if (!wxPyCheckForApp()) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6785 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxStatusBar
*result
;
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6794 if (!wxPyCheckForApp()) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (wxStatusBar
*)new wxStatusBar();
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6808 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6811 wxWindow
*arg2
= (wxWindow
*) 0 ;
6812 int arg3
= (int) -1 ;
6813 long arg4
= (long) wxST_SIZEGRIP
;
6814 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6815 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6817 bool temp5
= false ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6820 PyObject
* obj2
= 0 ;
6821 PyObject
* obj3
= 0 ;
6822 PyObject
* obj4
= 0 ;
6824 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6829 if (SWIG_arg_fail(1)) SWIG_fail
;
6830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6831 if (SWIG_arg_fail(2)) SWIG_fail
;
6834 arg3
= (int)(SWIG_As_int(obj2
));
6835 if (SWIG_arg_fail(3)) SWIG_fail
;
6840 arg4
= (long)(SWIG_As_long(obj3
));
6841 if (SWIG_arg_fail(4)) SWIG_fail
;
6846 arg5
= wxString_in_helper(obj4
);
6847 if (arg5
== NULL
) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6875 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6878 int arg2
= (int) 1 ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6882 (char *) "self",(char *) "number", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail
;
6890 arg2
= (int)(SWIG_As_int(obj1
));
6891 if (SWIG_arg_fail(2)) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->SetFieldsCount(arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 Py_INCREF(Py_None
); resultobj
= Py_None
;
6908 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6914 (char *) "self", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6919 if (SWIG_arg_fail(1)) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_From_int((int)(result
));
6936 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6939 wxString
*arg2
= 0 ;
6940 int arg3
= (int) 0 ;
6941 bool temp2
= false ;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 PyObject
* obj2
= 0 ;
6946 (char *) "self",(char *) "text",(char *) "number", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6951 if (SWIG_arg_fail(1)) SWIG_fail
;
6953 arg2
= wxString_in_helper(obj1
);
6954 if (arg2
== NULL
) SWIG_fail
;
6959 arg3
= (int)(SWIG_As_int(obj2
));
6960 if (SWIG_arg_fail(3)) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 Py_INCREF(Py_None
); resultobj
= Py_None
;
6985 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6988 int arg2
= (int) 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6993 (char *) "self",(char *) "number", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail
;
7001 arg2
= (int)(SWIG_As_int(obj1
));
7002 if (SWIG_arg_fail(2)) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7025 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7028 wxString
*arg2
= 0 ;
7029 int arg3
= (int) 0 ;
7030 bool temp2
= false ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7033 PyObject
* obj2
= 0 ;
7035 (char *) "self",(char *) "text",(char *) "number", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7040 if (SWIG_arg_fail(1)) SWIG_fail
;
7042 arg2
= wxString_in_helper(obj1
);
7043 if (arg2
== NULL
) SWIG_fail
;
7048 arg3
= (int)(SWIG_As_int(obj2
));
7049 if (SWIG_arg_fail(3)) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7077 int arg2
= (int) 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7081 (char *) "self",(char *) "number", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7086 if (SWIG_arg_fail(1)) SWIG_fail
;
7089 arg2
= (int)(SWIG_As_int(obj1
));
7090 if (SWIG_arg_fail(2)) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 (arg1
)->PopStatusText(arg2
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 Py_INCREF(Py_None
); resultobj
= Py_None
;
7107 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7111 int *arg3
= (int *) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "widths", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7120 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 arg2
= PyList_Size(obj1
);
7123 arg3
= int_LIST_helper(obj1
);
7124 if (arg3
== NULL
) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 if (arg3
) delete [] arg3
;
7140 if (arg3
) delete [] arg3
;
7146 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7150 int *arg3
= (int *) 0 ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7154 (char *) "self",(char *) "styles", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7159 if (SWIG_arg_fail(1)) SWIG_fail
;
7161 arg2
= PyList_Size(obj1
);
7162 arg3
= int_LIST_helper(obj1
);
7163 if (arg3
== NULL
) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 if (arg3
) delete [] arg3
;
7179 if (arg3
) delete [] arg3
;
7185 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7193 (char *) "self",(char *) "i", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7198 if (SWIG_arg_fail(1)) SWIG_fail
;
7200 arg2
= (int)(SWIG_As_int(obj1
));
7201 if (SWIG_arg_fail(2)) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7212 resultptr
= new wxRect((wxRect
&)(result
));
7213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7221 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7228 (char *) "self",(char *) "height", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7233 if (SWIG_arg_fail(1)) SWIG_fail
;
7235 arg2
= (int)(SWIG_As_int(obj1
));
7236 if (SWIG_arg_fail(2)) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 (arg1
)->SetMinHeight(arg2
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7263 if (SWIG_arg_fail(1)) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_From_int((int)(result
));
7280 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "self", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7291 if (SWIG_arg_fail(1)) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_From_int((int)(result
));
7308 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7311 wxVisualAttributes result
;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "variant", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7320 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7321 if (SWIG_arg_fail(1)) SWIG_fail
;
7325 if (!wxPyCheckForApp()) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 wxVisualAttributes
* resultptr
;
7334 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7343 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7346 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7348 return Py_BuildValue((char *)"");
7350 static int _wrap_SplitterNameStr_set(PyObject
*) {
7351 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7356 static PyObject
*_wrap_SplitterNameStr_get(void) {
7361 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7363 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7370 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxWindow
*arg1
= (wxWindow
*) 0 ;
7373 int arg2
= (int) -1 ;
7374 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7375 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7376 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7377 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7378 long arg5
= (long) wxSP_3D
;
7379 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7380 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7381 wxSplitterWindow
*result
;
7384 bool temp6
= false ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7387 PyObject
* obj2
= 0 ;
7388 PyObject
* obj3
= 0 ;
7389 PyObject
* obj4
= 0 ;
7390 PyObject
* obj5
= 0 ;
7392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail
;
7400 arg2
= (int)(SWIG_As_int(obj1
));
7401 if (SWIG_arg_fail(2)) SWIG_fail
;
7407 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7413 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7418 arg5
= (long)(SWIG_As_long(obj4
));
7419 if (SWIG_arg_fail(5)) SWIG_fail
;
7424 arg6
= wxString_in_helper(obj5
);
7425 if (arg6
== NULL
) SWIG_fail
;
7430 if (!wxPyCheckForApp()) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7452 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxSplitterWindow
*result
;
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7461 if (!wxPyCheckForApp()) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7475 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7478 wxWindow
*arg2
= (wxWindow
*) 0 ;
7479 int arg3
= (int) -1 ;
7480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7484 long arg6
= (long) wxSP_3D
;
7485 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7486 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7490 bool temp7
= false ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7493 PyObject
* obj2
= 0 ;
7494 PyObject
* obj3
= 0 ;
7495 PyObject
* obj4
= 0 ;
7496 PyObject
* obj5
= 0 ;
7497 PyObject
* obj6
= 0 ;
7499 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail
;
7505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7506 if (SWIG_arg_fail(2)) SWIG_fail
;
7509 arg3
= (int)(SWIG_As_int(obj2
));
7510 if (SWIG_arg_fail(3)) SWIG_fail
;
7516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7527 arg6
= (long)(SWIG_As_long(obj5
));
7528 if (SWIG_arg_fail(6)) SWIG_fail
;
7533 arg7
= wxString_in_helper(obj6
);
7534 if (arg7
== NULL
) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7562 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "self", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7573 if (SWIG_arg_fail(1)) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= wxPyMake_wxObject(result
, 0);
7590 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7596 (char *) "self", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= wxPyMake_wxObject(result
, 0);
7618 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7623 PyObject
* obj1
= 0 ;
7625 (char *) "self",(char *) "mode", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail
;
7632 arg2
= (int)(SWIG_As_int(obj1
));
7633 if (SWIG_arg_fail(2)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 (arg1
)->SetSplitMode(arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_From_int((result
));
7675 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7678 wxWindow
*arg2
= (wxWindow
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7682 (char *) "self",(char *) "window", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(2)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 (arg1
)->Initialize(arg2
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 Py_INCREF(Py_None
); resultobj
= Py_None
;
7704 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7707 wxWindow
*arg2
= (wxWindow
*) 0 ;
7708 wxWindow
*arg3
= (wxWindow
*) 0 ;
7709 int arg4
= (int) 0 ;
7711 PyObject
* obj0
= 0 ;
7712 PyObject
* obj1
= 0 ;
7713 PyObject
* obj2
= 0 ;
7714 PyObject
* obj3
= 0 ;
7716 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7721 if (SWIG_arg_fail(1)) SWIG_fail
;
7722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(2)) SWIG_fail
;
7724 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7725 if (SWIG_arg_fail(3)) SWIG_fail
;
7728 arg4
= (int)(SWIG_As_int(obj3
));
7729 if (SWIG_arg_fail(4)) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7748 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7751 wxWindow
*arg2
= (wxWindow
*) 0 ;
7752 wxWindow
*arg3
= (wxWindow
*) 0 ;
7753 int arg4
= (int) 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 PyObject
* obj2
= 0 ;
7758 PyObject
* obj3
= 0 ;
7760 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail
;
7766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7767 if (SWIG_arg_fail(2)) SWIG_fail
;
7768 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7769 if (SWIG_arg_fail(3)) SWIG_fail
;
7772 arg4
= (int)(SWIG_As_int(obj3
));
7773 if (SWIG_arg_fail(4)) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7792 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7795 wxWindow
*arg2
= (wxWindow
*) NULL
;
7797 PyObject
* obj0
= 0 ;
7798 PyObject
* obj1
= 0 ;
7800 (char *) "self",(char *) "toRemove", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7805 if (SWIG_arg_fail(1)) SWIG_fail
;
7807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7808 if (SWIG_arg_fail(2)) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (bool)(arg1
)->Unsplit(arg2
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7826 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7829 wxWindow
*arg2
= (wxWindow
*) 0 ;
7830 wxWindow
*arg3
= (wxWindow
*) 0 ;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7834 PyObject
* obj2
= 0 ;
7836 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7841 if (SWIG_arg_fail(1)) SWIG_fail
;
7842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7843 if (SWIG_arg_fail(2)) SWIG_fail
;
7844 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(3)) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7862 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "self", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7872 if (SWIG_arg_fail(1)) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 (arg1
)->UpdateSize();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7887 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7915 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7922 (char *) "self",(char *) "width", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7927 if (SWIG_arg_fail(1)) SWIG_fail
;
7929 arg2
= (int)(SWIG_As_int(obj1
));
7930 if (SWIG_arg_fail(2)) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 (arg1
)->SetSashSize(arg2
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 Py_INCREF(Py_None
); resultobj
= Py_None
;
7946 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7953 (char *) "self",(char *) "width", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7958 if (SWIG_arg_fail(1)) SWIG_fail
;
7960 arg2
= (int)(SWIG_As_int(obj1
));
7961 if (SWIG_arg_fail(2)) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 (arg1
)->SetBorderSize(arg2
);
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 Py_INCREF(Py_None
); resultobj
= Py_None
;
7977 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_From_int((int)(result
));
8005 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8016 if (SWIG_arg_fail(1)) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_From_int((int)(result
));
8033 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8037 bool arg3
= (bool) true ;
8038 PyObject
* obj0
= 0 ;
8039 PyObject
* obj1
= 0 ;
8040 PyObject
* obj2
= 0 ;
8042 (char *) "self",(char *) "position",(char *) "redraw", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8047 if (SWIG_arg_fail(1)) SWIG_fail
;
8049 arg2
= (int)(SWIG_As_int(obj1
));
8050 if (SWIG_arg_fail(2)) SWIG_fail
;
8054 arg3
= (bool)(SWIG_As_bool(obj2
));
8055 if (SWIG_arg_fail(3)) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->SetSashPosition(arg2
,arg3
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_From_int((int)(result
));
8100 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8102 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8104 PyObject
* obj0
= 0 ;
8105 PyObject
* obj1
= 0 ;
8107 (char *) "self",(char *) "gravity", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8112 if (SWIG_arg_fail(1)) SWIG_fail
;
8114 arg2
= (double)(SWIG_As_double(obj1
));
8115 if (SWIG_arg_fail(2)) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 (arg1
)->SetSashGravity(arg2
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 Py_INCREF(Py_None
); resultobj
= Py_None
;
8131 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8135 PyObject
* obj0
= 0 ;
8137 (char *) "self", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8142 if (SWIG_arg_fail(1)) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_From_double((double)(result
));
8159 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8166 (char *) "self",(char *) "min", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8171 if (SWIG_arg_fail(1)) SWIG_fail
;
8173 arg2
= (int)(SWIG_As_int(obj1
));
8174 if (SWIG_arg_fail(2)) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->SetMinimumPaneSize(arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8190 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "self", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8201 if (SWIG_arg_fail(1)) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_From_int((int)(result
));
8218 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8220 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8223 int arg4
= (int) 5 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8228 PyObject
* obj3
= 0 ;
8230 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail
;
8237 arg2
= (int)(SWIG_As_int(obj1
));
8238 if (SWIG_arg_fail(2)) SWIG_fail
;
8241 arg3
= (int)(SWIG_As_int(obj2
));
8242 if (SWIG_arg_fail(3)) SWIG_fail
;
8246 arg4
= (int)(SWIG_As_int(obj3
));
8247 if (SWIG_arg_fail(4)) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8266 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8271 (char *) "self", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 (arg1
)->SizeWindows();
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 Py_INCREF(Py_None
); resultobj
= Py_None
;
8291 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8298 (char *) "self",(char *) "needUpdating", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8303 if (SWIG_arg_fail(1)) SWIG_fail
;
8305 arg2
= (bool)(SWIG_As_bool(obj1
));
8306 if (SWIG_arg_fail(2)) SWIG_fail
;
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 (arg1
)->SetNeedUpdating(arg2
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8326 PyObject
* obj0
= 0 ;
8328 (char *) "self", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8333 if (SWIG_arg_fail(1)) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8350 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8353 wxVisualAttributes result
;
8354 PyObject
* obj0
= 0 ;
8356 (char *) "variant", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8362 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8363 if (SWIG_arg_fail(1)) SWIG_fail
;
8367 if (!wxPyCheckForApp()) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8375 wxVisualAttributes
* resultptr
;
8376 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8385 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8388 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8390 return Py_BuildValue((char *)"");
8392 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8395 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8396 wxSplitterEvent
*result
;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8400 (char *) "type",(char *) "splitter", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8406 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8407 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8412 if (SWIG_arg_fail(2)) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8428 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8433 PyObject
* obj1
= 0 ;
8435 (char *) "self",(char *) "pos", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8440 if (SWIG_arg_fail(1)) SWIG_fail
;
8442 arg2
= (int)(SWIG_As_int(obj1
));
8443 if (SWIG_arg_fail(2)) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 (arg1
)->SetSashPosition(arg2
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 Py_INCREF(Py_None
); resultobj
= Py_None
;
8459 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8470 if (SWIG_arg_fail(1)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_From_int((int)(result
));
8487 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "self", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8498 if (SWIG_arg_fail(1)) SWIG_fail
;
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= wxPyMake_wxObject(result
, 0);
8515 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8519 PyObject
* obj0
= 0 ;
8521 (char *) "self", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8526 if (SWIG_arg_fail(1)) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= SWIG_From_int((int)(result
));
8543 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8549 (char *) "self", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= SWIG_From_int((int)(result
));
8571 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8574 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8576 return Py_BuildValue((char *)"");
8578 static int _wrap_SashNameStr_set(PyObject
*) {
8579 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8584 static PyObject
*_wrap_SashNameStr_get(void) {
8589 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8591 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8598 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8599 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8604 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8609 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8611 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8618 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxWindow
*arg1
= (wxWindow
*) 0 ;
8621 int arg2
= (int) -1 ;
8622 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8623 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8624 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8625 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8626 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8627 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8628 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8629 wxSashWindow
*result
;
8632 bool temp6
= false ;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8635 PyObject
* obj2
= 0 ;
8636 PyObject
* obj3
= 0 ;
8637 PyObject
* obj4
= 0 ;
8638 PyObject
* obj5
= 0 ;
8640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8648 arg2
= (int)(SWIG_As_int(obj1
));
8649 if (SWIG_arg_fail(2)) SWIG_fail
;
8655 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8661 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8666 arg5
= (long)(SWIG_As_long(obj4
));
8667 if (SWIG_arg_fail(5)) SWIG_fail
;
8672 arg6
= wxString_in_helper(obj5
);
8673 if (arg6
== NULL
) SWIG_fail
;
8678 if (!wxPyCheckForApp()) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8700 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxSashWindow
*result
;
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8709 if (!wxPyCheckForApp()) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (wxSashWindow
*)new wxSashWindow();
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8723 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8726 wxWindow
*arg2
= (wxWindow
*) 0 ;
8727 int arg3
= (int) -1 ;
8728 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8729 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8730 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8731 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8732 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8733 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8734 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8738 bool temp7
= false ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8742 PyObject
* obj3
= 0 ;
8743 PyObject
* obj4
= 0 ;
8744 PyObject
* obj5
= 0 ;
8745 PyObject
* obj6
= 0 ;
8747 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8752 if (SWIG_arg_fail(1)) SWIG_fail
;
8753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8754 if (SWIG_arg_fail(2)) SWIG_fail
;
8757 arg3
= (int)(SWIG_As_int(obj2
));
8758 if (SWIG_arg_fail(3)) SWIG_fail
;
8764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8775 arg6
= (long)(SWIG_As_long(obj5
));
8776 if (SWIG_arg_fail(6)) SWIG_fail
;
8781 arg7
= wxString_in_helper(obj6
);
8782 if (arg7
== NULL
) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8810 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8813 wxSashEdgePosition arg2
;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 PyObject
* obj2
= 0 ;
8819 (char *) "self",(char *) "edge",(char *) "sash", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8824 if (SWIG_arg_fail(1)) SWIG_fail
;
8826 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8827 if (SWIG_arg_fail(2)) SWIG_fail
;
8830 arg3
= (bool)(SWIG_As_bool(obj2
));
8831 if (SWIG_arg_fail(3)) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 Py_INCREF(Py_None
); resultobj
= Py_None
;
8847 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8850 wxSashEdgePosition arg2
;
8852 PyObject
* obj0
= 0 ;
8853 PyObject
* obj1
= 0 ;
8855 (char *) "self",(char *) "edge", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8860 if (SWIG_arg_fail(1)) SWIG_fail
;
8862 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8863 if (SWIG_arg_fail(2)) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8881 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8884 wxSashEdgePosition arg2
;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8890 (char *) "self",(char *) "edge",(char *) "border", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8895 if (SWIG_arg_fail(1)) SWIG_fail
;
8897 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8898 if (SWIG_arg_fail(2)) SWIG_fail
;
8901 arg3
= (bool)(SWIG_As_bool(obj2
));
8902 if (SWIG_arg_fail(3)) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 Py_INCREF(Py_None
); resultobj
= Py_None
;
8918 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8921 wxSashEdgePosition arg2
;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8926 (char *) "self",(char *) "edge", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8931 if (SWIG_arg_fail(1)) SWIG_fail
;
8933 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8934 if (SWIG_arg_fail(2)) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8952 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8955 wxSashEdgePosition arg2
;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8960 (char *) "self",(char *) "edge", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8965 if (SWIG_arg_fail(1)) SWIG_fail
;
8967 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8968 if (SWIG_arg_fail(2)) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= SWIG_From_int((int)(result
));
8986 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8993 (char *) "self",(char *) "width", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8998 if (SWIG_arg_fail(1)) SWIG_fail
;
9000 arg2
= (int)(SWIG_As_int(obj1
));
9001 if (SWIG_arg_fail(2)) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 (arg1
)->SetDefaultBorderSize(arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "self", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9028 if (SWIG_arg_fail(1)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_From_int((int)(result
));
9045 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9052 (char *) "self",(char *) "width", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9057 if (SWIG_arg_fail(1)) SWIG_fail
;
9059 arg2
= (int)(SWIG_As_int(obj1
));
9060 if (SWIG_arg_fail(2)) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 (arg1
)->SetExtraBorderSize(arg2
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 Py_INCREF(Py_None
); resultobj
= Py_None
;
9076 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9080 PyObject
* obj0
= 0 ;
9082 (char *) "self", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9087 if (SWIG_arg_fail(1)) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= SWIG_From_int((int)(result
));
9104 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9111 (char *) "self",(char *) "min", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9116 if (SWIG_arg_fail(1)) SWIG_fail
;
9118 arg2
= (int)(SWIG_As_int(obj1
));
9119 if (SWIG_arg_fail(2)) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 (arg1
)->SetMinimumSizeX(arg2
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9140 PyObject
* obj1
= 0 ;
9142 (char *) "self",(char *) "min", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9147 if (SWIG_arg_fail(1)) SWIG_fail
;
9149 arg2
= (int)(SWIG_As_int(obj1
));
9150 if (SWIG_arg_fail(2)) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 (arg1
)->SetMinimumSizeY(arg2
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 Py_INCREF(Py_None
); resultobj
= Py_None
;
9166 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9170 PyObject
* obj0
= 0 ;
9172 (char *) "self", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9177 if (SWIG_arg_fail(1)) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_From_int((int)(result
));
9194 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9200 (char *) "self", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9205 if (SWIG_arg_fail(1)) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= SWIG_From_int((int)(result
));
9222 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9229 (char *) "self",(char *) "max", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9234 if (SWIG_arg_fail(1)) SWIG_fail
;
9236 arg2
= (int)(SWIG_As_int(obj1
));
9237 if (SWIG_arg_fail(2)) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 (arg1
)->SetMaximumSizeX(arg2
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 Py_INCREF(Py_None
); resultobj
= Py_None
;
9253 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9260 (char *) "self",(char *) "max", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9265 if (SWIG_arg_fail(1)) SWIG_fail
;
9267 arg2
= (int)(SWIG_As_int(obj1
));
9268 if (SWIG_arg_fail(2)) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->SetMaximumSizeY(arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 Py_INCREF(Py_None
); resultobj
= Py_None
;
9284 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9288 PyObject
* obj0
= 0 ;
9290 (char *) "self", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9295 if (SWIG_arg_fail(1)) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_From_int((int)(result
));
9312 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9316 PyObject
* obj0
= 0 ;
9318 (char *) "self", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9323 if (SWIG_arg_fail(1)) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_From_int((int)(result
));
9340 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9345 int arg4
= (int) 2 ;
9346 wxSashEdgePosition result
;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 PyObject
* obj2
= 0 ;
9350 PyObject
* obj3
= 0 ;
9352 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail
;
9359 arg2
= (int)(SWIG_As_int(obj1
));
9360 if (SWIG_arg_fail(2)) SWIG_fail
;
9363 arg3
= (int)(SWIG_As_int(obj2
));
9364 if (SWIG_arg_fail(3)) SWIG_fail
;
9368 arg4
= (int)(SWIG_As_int(obj3
));
9369 if (SWIG_arg_fail(4)) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_From_int((result
));
9386 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9396 if (SWIG_arg_fail(1)) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 (arg1
)->SizeWindows();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 Py_INCREF(Py_None
); resultobj
= Py_None
;
9411 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9414 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9416 return Py_BuildValue((char *)"");
9418 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 int arg1
= (int) 0 ;
9421 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9422 wxSashEvent
*result
;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9426 (char *) "id",(char *) "edge", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9432 arg1
= (int)(SWIG_As_int(obj0
));
9433 if (SWIG_arg_fail(1)) SWIG_fail
;
9438 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9439 if (SWIG_arg_fail(2)) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9456 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9459 wxSashEdgePosition arg2
;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9463 (char *) "self",(char *) "edge", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9468 if (SWIG_arg_fail(1)) SWIG_fail
;
9470 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9471 if (SWIG_arg_fail(2)) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 Py_INCREF(Py_None
); resultobj
= Py_None
;
9487 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9490 wxSashEdgePosition result
;
9491 PyObject
* obj0
= 0 ;
9493 (char *) "self", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9498 if (SWIG_arg_fail(1)) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_From_int((result
));
9513 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9518 PyObject
* obj0
= 0 ;
9519 PyObject
* obj1
= 0 ;
9521 (char *) "self",(char *) "rect", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9526 if (SWIG_arg_fail(1)) SWIG_fail
;
9529 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 Py_INCREF(Py_None
); resultobj
= Py_None
;
9545 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9551 (char *) "self", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9556 if (SWIG_arg_fail(1)) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9566 resultptr
= new wxRect((wxRect
&)(result
));
9567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9575 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9578 wxSashDragStatus arg2
;
9579 PyObject
* obj0
= 0 ;
9580 PyObject
* obj1
= 0 ;
9582 (char *) "self",(char *) "status", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9587 if (SWIG_arg_fail(1)) SWIG_fail
;
9589 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9590 if (SWIG_arg_fail(2)) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 Py_INCREF(Py_None
); resultobj
= Py_None
;
9606 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
;
9608 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9609 wxSashDragStatus result
;
9610 PyObject
* obj0
= 0 ;
9612 (char *) "self", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9617 if (SWIG_arg_fail(1)) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_From_int((result
));
9632 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9635 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9637 return Py_BuildValue((char *)"");
9639 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 int arg1
= (int) 0 ;
9642 wxQueryLayoutInfoEvent
*result
;
9643 PyObject
* obj0
= 0 ;
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9651 arg1
= (int)(SWIG_As_int(obj0
));
9652 if (SWIG_arg_fail(1)) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9669 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9676 (char *) "self",(char *) "length", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9681 if (SWIG_arg_fail(1)) SWIG_fail
;
9683 arg2
= (int)(SWIG_As_int(obj1
));
9684 if (SWIG_arg_fail(2)) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 (arg1
)->SetRequestedLength(arg2
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 Py_INCREF(Py_None
); resultobj
= Py_None
;
9700 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9706 (char *) "self", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9711 if (SWIG_arg_fail(1)) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= SWIG_From_int((int)(result
));
9728 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9733 PyObject
* obj1
= 0 ;
9735 (char *) "self",(char *) "flags", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9740 if (SWIG_arg_fail(1)) SWIG_fail
;
9742 arg2
= (int)(SWIG_As_int(obj1
));
9743 if (SWIG_arg_fail(2)) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetFlags(arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 Py_INCREF(Py_None
); resultobj
= Py_None
;
9759 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9770 if (SWIG_arg_fail(1)) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_From_int((int)(result
));
9787 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9795 (char *) "self",(char *) "size", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9800 if (SWIG_arg_fail(1)) SWIG_fail
;
9803 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 (arg1
)->SetSize((wxSize
const &)*arg2
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 Py_INCREF(Py_None
); resultobj
= Py_None
;
9819 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "self", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9840 resultptr
= new wxSize((wxSize
&)(result
));
9841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9849 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9852 wxLayoutOrientation arg2
;
9853 PyObject
* obj0
= 0 ;
9854 PyObject
* obj1
= 0 ;
9856 (char *) "self",(char *) "orient", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9861 if (SWIG_arg_fail(1)) SWIG_fail
;
9863 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9864 if (SWIG_arg_fail(2)) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 Py_INCREF(Py_None
); resultobj
= Py_None
;
9880 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9883 wxLayoutOrientation result
;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_From_int((result
));
9906 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9909 wxLayoutAlignment arg2
;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9913 (char *) "self",(char *) "align", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9918 if (SWIG_arg_fail(1)) SWIG_fail
;
9920 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9921 if (SWIG_arg_fail(2)) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 Py_INCREF(Py_None
); resultobj
= Py_None
;
9937 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9940 wxLayoutAlignment result
;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9948 if (SWIG_arg_fail(1)) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_From_int((result
));
9963 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9966 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9968 return Py_BuildValue((char *)"");
9970 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 int arg1
= (int) 0 ;
9973 wxCalculateLayoutEvent
*result
;
9974 PyObject
* obj0
= 0 ;
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9982 arg1
= (int)(SWIG_As_int(obj0
));
9983 if (SWIG_arg_fail(1)) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10000 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 PyObject
* obj1
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self",(char *) "flags", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10014 arg2
= (int)(SWIG_As_int(obj1
));
10015 if (SWIG_arg_fail(2)) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 (arg1
)->SetFlags(arg2
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 Py_INCREF(Py_None
); resultobj
= Py_None
;
10031 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10042 if (SWIG_arg_fail(1)) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_From_int((int)(result
));
10059 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self",(char *) "rect", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10072 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 (arg1
)->SetRect((wxRect
const &)*arg2
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 Py_INCREF(Py_None
); resultobj
= Py_None
;
10091 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 wxRect
* resultptr
;
10112 resultptr
= new wxRect((wxRect
&)(result
));
10113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10121 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10124 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10126 return Py_BuildValue((char *)"");
10128 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxWindow
*arg1
= (wxWindow
*) 0 ;
10131 int arg2
= (int) -1 ;
10132 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10133 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10134 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10135 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10136 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10137 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10138 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10139 wxSashLayoutWindow
*result
;
10142 bool temp6
= false ;
10143 PyObject
* obj0
= 0 ;
10144 PyObject
* obj1
= 0 ;
10145 PyObject
* obj2
= 0 ;
10146 PyObject
* obj3
= 0 ;
10147 PyObject
* obj4
= 0 ;
10148 PyObject
* obj5
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10155 if (SWIG_arg_fail(1)) SWIG_fail
;
10158 arg2
= (int)(SWIG_As_int(obj1
));
10159 if (SWIG_arg_fail(2)) SWIG_fail
;
10165 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10171 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10176 arg5
= (long)(SWIG_As_long(obj4
));
10177 if (SWIG_arg_fail(5)) SWIG_fail
;
10182 arg6
= wxString_in_helper(obj5
);
10183 if (arg6
== NULL
) SWIG_fail
;
10188 if (!wxPyCheckForApp()) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10210 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxSashLayoutWindow
*result
;
10213 char *kwnames
[] = {
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10219 if (!wxPyCheckForApp()) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10233 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10236 wxWindow
*arg2
= (wxWindow
*) 0 ;
10237 int arg3
= (int) -1 ;
10238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10242 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10243 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10244 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10248 bool temp7
= false ;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 PyObject
* obj2
= 0 ;
10252 PyObject
* obj3
= 0 ;
10253 PyObject
* obj4
= 0 ;
10254 PyObject
* obj5
= 0 ;
10255 PyObject
* obj6
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10262 if (SWIG_arg_fail(1)) SWIG_fail
;
10263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10264 if (SWIG_arg_fail(2)) SWIG_fail
;
10267 arg3
= (int)(SWIG_As_int(obj2
));
10268 if (SWIG_arg_fail(3)) SWIG_fail
;
10274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10285 arg6
= (long)(SWIG_As_long(obj5
));
10286 if (SWIG_arg_fail(6)) SWIG_fail
;
10291 arg7
= wxString_in_helper(obj6
);
10292 if (arg7
== NULL
) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10320 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10323 wxLayoutAlignment result
;
10324 PyObject
* obj0
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10331 if (SWIG_arg_fail(1)) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= SWIG_From_int((result
));
10346 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10349 wxLayoutOrientation result
;
10350 PyObject
* obj0
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10357 if (SWIG_arg_fail(1)) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_From_int((result
));
10372 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10375 wxLayoutAlignment arg2
;
10376 PyObject
* obj0
= 0 ;
10377 PyObject
* obj1
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self",(char *) "alignment", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail
;
10386 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10387 if (SWIG_arg_fail(2)) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 Py_INCREF(Py_None
); resultobj
= Py_None
;
10403 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
;
10405 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 PyObject
* obj1
= 0 ;
10410 char *kwnames
[] = {
10411 (char *) "self",(char *) "size", NULL
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10416 if (SWIG_arg_fail(1)) SWIG_fail
;
10419 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 Py_INCREF(Py_None
); resultobj
= Py_None
;
10435 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10438 wxLayoutOrientation arg2
;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self",(char *) "orientation", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10447 if (SWIG_arg_fail(1)) SWIG_fail
;
10449 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10450 if (SWIG_arg_fail(2)) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10466 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10469 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10471 return Py_BuildValue((char *)"");
10473 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxLayoutAlgorithm
*result
;
10476 char *kwnames
[] = {
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10495 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10498 PyObject
* obj0
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10523 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10524 wxRect
*arg3
= (wxRect
*) NULL
;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 PyObject
* obj2
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "frame",(char *) "rect", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail
;
10536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10537 if (SWIG_arg_fail(2)) SWIG_fail
;
10539 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10540 if (SWIG_arg_fail(3)) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10558 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10561 wxFrame
*arg2
= (wxFrame
*) 0 ;
10562 wxWindow
*arg3
= (wxWindow
*) NULL
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 PyObject
* obj2
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail
;
10574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10575 if (SWIG_arg_fail(2)) SWIG_fail
;
10577 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10578 if (SWIG_arg_fail(3)) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10596 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10599 wxWindow
*arg2
= (wxWindow
*) 0 ;
10600 wxWindow
*arg3
= (wxWindow
*) NULL
;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 PyObject
* obj2
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10611 if (SWIG_arg_fail(1)) SWIG_fail
;
10612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10613 if (SWIG_arg_fail(2)) SWIG_fail
;
10615 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10616 if (SWIG_arg_fail(3)) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10634 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10637 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10639 return Py_BuildValue((char *)"");
10641 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxWindow
*arg1
= (wxWindow
*) 0 ;
10644 int arg2
= (int) wxBORDER_NONE
;
10645 wxPopupWindow
*result
;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "parent",(char *) "flags", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10654 if (SWIG_arg_fail(1)) SWIG_fail
;
10657 arg2
= (int)(SWIG_As_int(obj1
));
10658 if (SWIG_arg_fail(2)) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10675 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxPopupWindow
*result
;
10678 char *kwnames
[] = {
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (wxPopupWindow
*)new wxPopupWindow();
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10697 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10700 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10702 return Py_BuildValue((char *)"");
10704 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxWindow
*arg1
= (wxWindow
*) 0 ;
10707 int arg2
= (int) wxBORDER_NONE
;
10708 wxPyPopupTransientWindow
*result
;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "parent",(char *) "style", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10717 if (SWIG_arg_fail(1)) SWIG_fail
;
10720 arg2
= (int)(SWIG_As_int(obj1
));
10721 if (SWIG_arg_fail(2)) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10738 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxPyPopupTransientWindow
*result
;
10741 char *kwnames
[] = {
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10760 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10763 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10765 return Py_BuildValue((char *)"");
10767 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxWindow
*arg1
= (wxWindow
*) 0 ;
10770 wxString
*arg2
= 0 ;
10771 int arg3
= (int) 100 ;
10772 wxRect
*arg4
= (wxRect
*) NULL
;
10773 wxTipWindow
*result
;
10774 bool temp2
= false ;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 PyObject
* obj2
= 0 ;
10778 PyObject
* obj3
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10785 if (SWIG_arg_fail(1)) SWIG_fail
;
10787 arg2
= wxString_in_helper(obj1
);
10788 if (arg2
== NULL
) SWIG_fail
;
10793 arg3
= (int)(SWIG_As_int(obj2
));
10794 if (SWIG_arg_fail(3)) SWIG_fail
;
10798 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10799 if (SWIG_arg_fail(4)) SWIG_fail
;
10802 if (!wxPyCheckForApp()) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10824 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10826 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self",(char *) "rectBound", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail
;
10840 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 Py_INCREF(Py_None
); resultobj
= Py_None
;
10856 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "self", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10866 if (SWIG_arg_fail(1)) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10884 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10886 return Py_BuildValue((char *)"");
10888 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxWindow
*arg1
= (wxWindow
*) 0 ;
10891 int arg2
= (int) wxID_ANY
;
10892 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10893 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10894 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10895 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10896 long arg5
= (long) 0 ;
10897 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10898 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10899 wxPyVScrolledWindow
*result
;
10902 bool temp6
= false ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 PyObject
* obj2
= 0 ;
10906 PyObject
* obj3
= 0 ;
10907 PyObject
* obj4
= 0 ;
10908 PyObject
* obj5
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10915 if (SWIG_arg_fail(1)) SWIG_fail
;
10918 arg2
= (int)(SWIG_As_int(obj1
));
10919 if (SWIG_arg_fail(2)) SWIG_fail
;
10925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10931 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10936 arg5
= (long)(SWIG_As_long(obj4
));
10937 if (SWIG_arg_fail(5)) SWIG_fail
;
10942 arg6
= wxString_in_helper(obj5
);
10943 if (arg6
== NULL
) SWIG_fail
;
10948 if (!wxPyCheckForApp()) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10970 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxPyVScrolledWindow
*result
;
10973 char *kwnames
[] = {
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10979 if (!wxPyCheckForApp()) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10993 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10996 PyObject
*arg2
= (PyObject
*) 0 ;
10997 PyObject
*arg3
= (PyObject
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 PyObject
* obj2
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self",(char *) "self",(char *) "_class", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11007 if (SWIG_arg_fail(1)) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 Py_INCREF(Py_None
); resultobj
= Py_None
;
11024 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11027 wxWindow
*arg2
= (wxWindow
*) 0 ;
11028 int arg3
= (int) wxID_ANY
;
11029 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11030 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11031 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11032 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11033 long arg6
= (long) 0 ;
11034 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11035 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11039 bool temp7
= false ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 PyObject
* obj3
= 0 ;
11044 PyObject
* obj4
= 0 ;
11045 PyObject
* obj5
= 0 ;
11046 PyObject
* obj6
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail
;
11054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11055 if (SWIG_arg_fail(2)) SWIG_fail
;
11058 arg3
= (int)(SWIG_As_int(obj2
));
11059 if (SWIG_arg_fail(3)) SWIG_fail
;
11065 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11071 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11076 arg6
= (long)(SWIG_As_long(obj5
));
11077 if (SWIG_arg_fail(6)) SWIG_fail
;
11082 arg7
= wxString_in_helper(obj6
);
11083 if (arg7
== NULL
) SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11111 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "count", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11123 if (SWIG_arg_fail(1)) SWIG_fail
;
11125 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11126 if (SWIG_arg_fail(2)) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->SetLineCount(arg2
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11142 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "line", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail
;
11157 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11158 if (SWIG_arg_fail(2)) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11176 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
;
11178 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "lines", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail
;
11191 arg2
= (int)(SWIG_As_int(obj1
));
11192 if (SWIG_arg_fail(2)) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (bool)(arg1
)->ScrollLines(arg2
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11210 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11215 PyObject
* obj0
= 0 ;
11216 PyObject
* obj1
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self",(char *) "pages", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail
;
11225 arg2
= (int)(SWIG_As_int(obj1
));
11226 if (SWIG_arg_fail(2)) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (bool)(arg1
)->ScrollPages(arg2
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11244 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "line", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11256 if (SWIG_arg_fail(1)) SWIG_fail
;
11258 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11259 if (SWIG_arg_fail(2)) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 (arg1
)->RefreshLine(arg2
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 Py_INCREF(Py_None
); resultobj
= Py_None
;
11275 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 PyObject
* obj2
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "from",(char *) "to", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11289 if (SWIG_arg_fail(1)) SWIG_fail
;
11291 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11292 if (SWIG_arg_fail(2)) SWIG_fail
;
11295 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11296 if (SWIG_arg_fail(3)) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 (arg1
)->RefreshLines(arg2
,arg3
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 Py_INCREF(Py_None
); resultobj
= Py_None
;
11312 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 PyObject
* obj2
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self",(char *) "x",(char *) "y", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11327 if (SWIG_arg_fail(1)) SWIG_fail
;
11329 arg2
= (int)(SWIG_As_int(obj1
));
11330 if (SWIG_arg_fail(2)) SWIG_fail
;
11333 arg3
= (int)(SWIG_As_int(obj2
));
11334 if (SWIG_arg_fail(3)) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_From_int((int)(result
));
11352 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11355 wxPoint
*arg2
= 0 ;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "pt", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11366 if (SWIG_arg_fail(1)) SWIG_fail
;
11369 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_From_int((int)(result
));
11387 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11397 if (SWIG_arg_fail(1)) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 (arg1
)->RefreshAll();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 Py_INCREF(Py_None
); resultobj
= Py_None
;
11412 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11423 if (SWIG_arg_fail(1)) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11440 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11451 if (SWIG_arg_fail(1)) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11468 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11470 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11479 if (SWIG_arg_fail(1)) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11496 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self",(char *) "line", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail
;
11511 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11512 if (SWIG_arg_fail(2)) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11530 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11541 if (SWIG_arg_fail(1)) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11558 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11562 PyObject
* obj0
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11569 if (SWIG_arg_fail(1)) SWIG_fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11586 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11589 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11591 return Py_BuildValue((char *)"");
11593 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11594 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11599 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11604 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11606 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11613 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxWindow
*arg1
= (wxWindow
*) 0 ;
11616 int arg2
= (int) wxID_ANY
;
11617 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11618 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11619 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11620 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11621 long arg5
= (long) 0 ;
11622 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11623 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11624 wxPyVListBox
*result
;
11627 bool temp6
= false ;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 PyObject
* obj2
= 0 ;
11631 PyObject
* obj3
= 0 ;
11632 PyObject
* obj4
= 0 ;
11633 PyObject
* obj5
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail
;
11643 arg2
= (int)(SWIG_As_int(obj1
));
11644 if (SWIG_arg_fail(2)) SWIG_fail
;
11650 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11656 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11661 arg5
= (long)(SWIG_As_long(obj4
));
11662 if (SWIG_arg_fail(5)) SWIG_fail
;
11667 arg6
= wxString_in_helper(obj5
);
11668 if (arg6
== NULL
) SWIG_fail
;
11673 if (!wxPyCheckForApp()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11695 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxPyVListBox
*result
;
11698 char *kwnames
[] = {
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11704 if (!wxPyCheckForApp()) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (wxPyVListBox
*)new wxPyVListBox();
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11718 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11721 PyObject
*arg2
= (PyObject
*) 0 ;
11722 PyObject
*arg3
= (PyObject
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 PyObject
* obj2
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "self",(char *) "_class", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 Py_INCREF(Py_None
); resultobj
= Py_None
;
11749 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
*resultobj
;
11751 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11752 wxWindow
*arg2
= (wxWindow
*) 0 ;
11753 int arg3
= (int) wxID_ANY
;
11754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11758 long arg6
= (long) 0 ;
11759 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11760 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11764 bool temp7
= false ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 PyObject
* obj2
= 0 ;
11768 PyObject
* obj3
= 0 ;
11769 PyObject
* obj4
= 0 ;
11770 PyObject
* obj5
= 0 ;
11771 PyObject
* obj6
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11778 if (SWIG_arg_fail(1)) SWIG_fail
;
11779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11780 if (SWIG_arg_fail(2)) SWIG_fail
;
11783 arg3
= (int)(SWIG_As_int(obj2
));
11784 if (SWIG_arg_fail(3)) SWIG_fail
;
11790 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11796 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11801 arg6
= (long)(SWIG_As_long(obj5
));
11802 if (SWIG_arg_fail(6)) SWIG_fail
;
11807 arg7
= wxString_in_helper(obj6
);
11808 if (arg7
== NULL
) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11836 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
;
11838 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 char *kwnames
[] = {
11842 (char *) "self", NULL
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11864 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11892 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11896 PyObject
* obj0
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "self", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11903 if (SWIG_arg_fail(1)) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_From_int((int)(result
));
11920 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 char *kwnames
[] = {
11928 (char *) "self",(char *) "item", NULL
11931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11933 if (SWIG_arg_fail(1)) SWIG_fail
;
11935 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11936 if (SWIG_arg_fail(2)) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11954 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11959 PyObject
* obj0
= 0 ;
11960 PyObject
* obj1
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self",(char *) "item", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail
;
11969 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11970 if (SWIG_arg_fail(2)) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11988 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
11998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11999 if (SWIG_arg_fail(1)) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12016 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12020 PyObject
* obj0
= 0 ;
12021 char *kwnames
[] = {
12022 (char *) "self", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12027 if (SWIG_arg_fail(1)) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
;
12042 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12045 unsigned long arg2
;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self",(char *) "cookie", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12055 if (SWIG_arg_fail(1)) SWIG_fail
;
12057 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12058 if (SWIG_arg_fail(2)) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= result
;
12074 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 wxPoint
* resultptr
;
12095 resultptr
= new wxPoint((wxPoint
&)(result
));
12096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12104 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12115 if (SWIG_arg_fail(1)) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12120 result
= (wxColour
*) &_result_ref
;
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12133 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self",(char *) "count", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail
;
12147 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12148 if (SWIG_arg_fail(2)) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 (arg1
)->SetItemCount(arg2
);
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 Py_INCREF(Py_None
); resultobj
= Py_None
;
12164 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 Py_INCREF(Py_None
); resultobj
= Py_None
;
12189 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 PyObject
* obj1
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self",(char *) "selection", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail
;
12203 arg2
= (int)(SWIG_As_int(obj1
));
12204 if (SWIG_arg_fail(2)) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 (arg1
)->SetSelection(arg2
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 Py_INCREF(Py_None
); resultobj
= Py_None
;
12220 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12224 bool arg3
= (bool) true ;
12226 PyObject
* obj0
= 0 ;
12227 PyObject
* obj1
= 0 ;
12228 PyObject
* obj2
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self",(char *) "item",(char *) "select", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12237 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12238 if (SWIG_arg_fail(2)) SWIG_fail
;
12242 arg3
= (bool)(SWIG_As_bool(obj2
));
12243 if (SWIG_arg_fail(3)) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12262 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 PyObject
* obj2
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self",(char *) "from",(char *) "to", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12277 if (SWIG_arg_fail(1)) SWIG_fail
;
12279 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12280 if (SWIG_arg_fail(2)) SWIG_fail
;
12283 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12284 if (SWIG_arg_fail(3)) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12302 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12306 PyObject
* obj0
= 0 ;
12307 PyObject
* obj1
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self",(char *) "item", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail
;
12316 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12317 if (SWIG_arg_fail(2)) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 (arg1
)->Toggle(arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 Py_INCREF(Py_None
); resultobj
= Py_None
;
12333 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12344 if (SWIG_arg_fail(1)) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 result
= (bool)(arg1
)->SelectAll();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12361 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12372 if (SWIG_arg_fail(1)) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (bool)(arg1
)->DeselectAll();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12389 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12392 wxPoint
*arg2
= 0 ;
12394 PyObject
* obj0
= 0 ;
12395 PyObject
* obj1
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self",(char *) "pt", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12402 if (SWIG_arg_fail(1)) SWIG_fail
;
12405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 Py_INCREF(Py_None
); resultobj
= Py_None
;
12421 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 PyObject
* obj2
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self",(char *) "x",(char *) "y", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12435 if (SWIG_arg_fail(1)) SWIG_fail
;
12437 arg2
= (int)(SWIG_As_int(obj1
));
12438 if (SWIG_arg_fail(2)) SWIG_fail
;
12441 arg3
= (int)(SWIG_As_int(obj2
));
12442 if (SWIG_arg_fail(3)) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->SetMargins(arg2
,arg3
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12461 wxColour
*arg2
= 0 ;
12463 PyObject
* obj0
= 0 ;
12464 PyObject
* obj1
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self",(char *) "col", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12474 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 Py_INCREF(Py_None
); resultobj
= Py_None
;
12490 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12493 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12495 return Py_BuildValue((char *)"");
12497 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxWindow
*arg1
= (wxWindow
*) 0 ;
12500 int arg2
= (int) wxID_ANY
;
12501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12505 long arg5
= (long) 0 ;
12506 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12507 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12508 wxPyHtmlListBox
*result
;
12511 bool temp6
= false ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 PyObject
* obj2
= 0 ;
12515 PyObject
* obj3
= 0 ;
12516 PyObject
* obj4
= 0 ;
12517 PyObject
* obj5
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12524 if (SWIG_arg_fail(1)) SWIG_fail
;
12527 arg2
= (int)(SWIG_As_int(obj1
));
12528 if (SWIG_arg_fail(2)) SWIG_fail
;
12534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12545 arg5
= (long)(SWIG_As_long(obj4
));
12546 if (SWIG_arg_fail(5)) SWIG_fail
;
12551 arg6
= wxString_in_helper(obj5
);
12552 if (arg6
== NULL
) SWIG_fail
;
12557 if (!wxPyCheckForApp()) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12579 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxPyHtmlListBox
*result
;
12582 char *kwnames
[] = {
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12588 if (!wxPyCheckForApp()) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12602 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12605 PyObject
*arg2
= (PyObject
*) 0 ;
12606 PyObject
*arg3
= (PyObject
*) 0 ;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 PyObject
* obj2
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "self",(char *) "self",(char *) "_class", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12616 if (SWIG_arg_fail(1)) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 Py_INCREF(Py_None
); resultobj
= Py_None
;
12633 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
;
12635 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12636 wxWindow
*arg2
= (wxWindow
*) 0 ;
12637 int arg3
= (int) wxID_ANY
;
12638 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12639 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12640 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12641 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12642 long arg6
= (long) 0 ;
12643 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12644 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12648 bool temp7
= false ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 PyObject
* obj2
= 0 ;
12652 PyObject
* obj3
= 0 ;
12653 PyObject
* obj4
= 0 ;
12654 PyObject
* obj5
= 0 ;
12655 PyObject
* obj6
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12662 if (SWIG_arg_fail(1)) SWIG_fail
;
12663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12664 if (SWIG_arg_fail(2)) SWIG_fail
;
12667 arg3
= (int)(SWIG_As_int(obj2
));
12668 if (SWIG_arg_fail(3)) SWIG_fail
;
12674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12685 arg6
= (long)(SWIG_As_long(obj5
));
12686 if (SWIG_arg_fail(6)) SWIG_fail
;
12691 arg7
= wxString_in_helper(obj6
);
12692 if (arg7
== NULL
) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12720 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12730 if (SWIG_arg_fail(1)) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 (arg1
)->RefreshAll();
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 Py_INCREF(Py_None
); resultobj
= Py_None
;
12745 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self",(char *) "count", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12757 if (SWIG_arg_fail(1)) SWIG_fail
;
12759 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12760 if (SWIG_arg_fail(2)) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 (arg1
)->SetItemCount(arg2
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 Py_INCREF(Py_None
); resultobj
= Py_None
;
12776 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12779 wxFileSystem
*result
;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12787 if (SWIG_arg_fail(1)) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12792 result
= (wxFileSystem
*) &_result_ref
;
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12805 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12808 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12810 return Py_BuildValue((char *)"");
12812 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxPyTaskBarIcon
*result
;
12815 char *kwnames
[] = {
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12821 if (!wxPyCheckForApp()) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12835 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12838 PyObject
*arg2
= (PyObject
*) 0 ;
12839 PyObject
*arg3
= (PyObject
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 PyObject
* obj2
= 0 ;
12844 PyObject
* obj3
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail
;
12855 arg4
= (int)(SWIG_As_int(obj3
));
12856 if (SWIG_arg_fail(4)) SWIG_fail
;
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 Py_INCREF(Py_None
); resultobj
= Py_None
;
12872 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12882 if (SWIG_arg_fail(1)) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 wxPyTaskBarIcon_Destroy(arg1
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12925 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12929 PyObject
* obj0
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12936 if (SWIG_arg_fail(1)) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12953 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12957 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12958 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12960 bool temp3
= false ;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 PyObject
* obj2
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12970 if (SWIG_arg_fail(1)) SWIG_fail
;
12972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12973 if (SWIG_arg_fail(2)) SWIG_fail
;
12974 if (arg2
== NULL
) {
12975 SWIG_null_ref("wxIcon");
12977 if (SWIG_arg_fail(2)) SWIG_fail
;
12981 arg3
= wxString_in_helper(obj2
);
12982 if (arg3
== NULL
) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13010 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13014 PyObject
* obj0
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13021 if (SWIG_arg_fail(1)) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (bool)(arg1
)->RemoveIcon();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13038 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13041 wxMenu
*arg2
= (wxMenu
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 PyObject
* obj1
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self",(char *) "menu", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13051 if (SWIG_arg_fail(1)) SWIG_fail
;
13052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13053 if (SWIG_arg_fail(2)) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (bool)(arg1
)->PopupMenu(arg2
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13070 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13073 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13075 return Py_BuildValue((char *)"");
13077 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13080 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13081 wxTaskBarIconEvent
*result
;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "evtType",(char *) "tbIcon", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13090 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13091 if (SWIG_arg_fail(1)) SWIG_fail
;
13093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(2)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13109 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13112 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13114 return Py_BuildValue((char *)"");
13116 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13117 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13122 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13127 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13129 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13136 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13137 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13142 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13147 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13149 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13156 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13157 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13162 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13167 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13169 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13176 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13177 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13182 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13187 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13189 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13196 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13197 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13202 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13207 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13209 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13216 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13217 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13222 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13227 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13229 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13236 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxColourData
*result
;
13239 char *kwnames
[] = {
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (wxColourData
*)new wxColourData();
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13258 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxColourData
*arg1
= (wxColourData
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13268 if (SWIG_arg_fail(1)) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxColourData
*arg1
= (wxColourData
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13294 if (SWIG_arg_fail(1)) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (bool)(arg1
)->GetChooseFull();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13311 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxColourData
*arg1
= (wxColourData
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13322 if (SWIG_arg_fail(1)) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (arg1
)->GetColour();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13331 wxColour
* resultptr
;
13332 resultptr
= new wxColour((wxColour
&)(result
));
13333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13341 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxColourData
*arg1
= (wxColourData
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "i", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13354 if (SWIG_arg_fail(1)) SWIG_fail
;
13356 arg2
= (int)(SWIG_As_int(obj1
));
13357 if (SWIG_arg_fail(2)) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (arg1
)->GetCustomColour(arg2
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 wxColour
* resultptr
;
13368 resultptr
= new wxColour((wxColour
&)(result
));
13369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13377 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxColourData
*arg1
= (wxColourData
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self",(char *) "flag", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13389 if (SWIG_arg_fail(1)) SWIG_fail
;
13391 arg2
= (int)(SWIG_As_int(obj1
));
13392 if (SWIG_arg_fail(2)) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 (arg1
)->SetChooseFull(arg2
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13408 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxColourData
*arg1
= (wxColourData
*) 0 ;
13411 wxColour
*arg2
= 0 ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "colour", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13421 if (SWIG_arg_fail(1)) SWIG_fail
;
13424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->SetColour((wxColour
const &)*arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxColourData
*arg1
= (wxColourData
*) 0 ;
13444 wxColour
*arg3
= 0 ;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 PyObject
* obj2
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "i",(char *) "colour", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13455 if (SWIG_arg_fail(1)) SWIG_fail
;
13457 arg2
= (int)(SWIG_As_int(obj1
));
13458 if (SWIG_arg_fail(2)) SWIG_fail
;
13462 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 Py_INCREF(Py_None
); resultobj
= Py_None
;
13478 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13481 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13483 return Py_BuildValue((char *)"");
13485 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxWindow
*arg1
= (wxWindow
*) 0 ;
13488 wxColourData
*arg2
= (wxColourData
*) NULL
;
13489 wxColourDialog
*result
;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "parent",(char *) "data", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13498 if (SWIG_arg_fail(1)) SWIG_fail
;
13500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13501 if (SWIG_arg_fail(2)) SWIG_fail
;
13504 if (!wxPyCheckForApp()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13518 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13521 wxColourData
*result
;
13522 PyObject
* obj0
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13529 if (SWIG_arg_fail(1)) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13534 result
= (wxColourData
*) &_result_ref
;
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13547 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13550 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13552 return Py_BuildValue((char *)"");
13554 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxWindow
*arg1
= (wxWindow
*) 0 ;
13557 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13558 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13561 long arg4
= (long) 0 ;
13562 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13563 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13564 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13565 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13566 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13567 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13568 wxDirDialog
*result
;
13569 bool temp2
= false ;
13570 bool temp3
= false ;
13573 bool temp7
= false ;
13574 PyObject
* obj0
= 0 ;
13575 PyObject
* obj1
= 0 ;
13576 PyObject
* obj2
= 0 ;
13577 PyObject
* obj3
= 0 ;
13578 PyObject
* obj4
= 0 ;
13579 PyObject
* obj5
= 0 ;
13580 PyObject
* obj6
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13587 if (SWIG_arg_fail(1)) SWIG_fail
;
13590 arg2
= wxString_in_helper(obj1
);
13591 if (arg2
== NULL
) SWIG_fail
;
13597 arg3
= wxString_in_helper(obj2
);
13598 if (arg3
== NULL
) SWIG_fail
;
13604 arg4
= (long)(SWIG_As_long(obj3
));
13605 if (SWIG_arg_fail(4)) SWIG_fail
;
13611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13622 arg7
= wxString_in_helper(obj6
);
13623 if (arg7
== NULL
) SWIG_fail
;
13628 if (!wxPyCheckForApp()) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13666 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13670 PyObject
* obj0
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "self", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13677 if (SWIG_arg_fail(1)) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (arg1
)->GetPath();
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13698 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13709 if (SWIG_arg_fail(1)) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (arg1
)->GetMessage();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13730 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13741 if (SWIG_arg_fail(1)) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (long)(arg1
)->GetStyle();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_From_long((long)(result
));
13758 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13761 wxString
*arg2
= 0 ;
13762 bool temp2
= false ;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self",(char *) "message", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13771 if (SWIG_arg_fail(1)) SWIG_fail
;
13773 arg2
= wxString_in_helper(obj1
);
13774 if (arg2
== NULL
) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 (arg1
)->SetMessage((wxString
const &)*arg2
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 Py_INCREF(Py_None
); resultobj
= Py_None
;
13799 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13802 wxString
*arg2
= 0 ;
13803 bool temp2
= false ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self",(char *) "path", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13812 if (SWIG_arg_fail(1)) SWIG_fail
;
13814 arg2
= wxString_in_helper(obj1
);
13815 if (arg2
== NULL
) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 (arg1
)->SetPath((wxString
const &)*arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 Py_INCREF(Py_None
); resultobj
= Py_None
;
13840 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13843 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13845 return Py_BuildValue((char *)"");
13847 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxWindow
*arg1
= (wxWindow
*) 0 ;
13850 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13851 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13852 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13853 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13854 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13855 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13856 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13857 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13858 long arg6
= (long) 0 ;
13859 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13860 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13861 wxFileDialog
*result
;
13862 bool temp2
= false ;
13863 bool temp3
= false ;
13864 bool temp4
= false ;
13865 bool temp5
= false ;
13867 PyObject
* obj0
= 0 ;
13868 PyObject
* obj1
= 0 ;
13869 PyObject
* obj2
= 0 ;
13870 PyObject
* obj3
= 0 ;
13871 PyObject
* obj4
= 0 ;
13872 PyObject
* obj5
= 0 ;
13873 PyObject
* obj6
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13880 if (SWIG_arg_fail(1)) SWIG_fail
;
13883 arg2
= wxString_in_helper(obj1
);
13884 if (arg2
== NULL
) SWIG_fail
;
13890 arg3
= wxString_in_helper(obj2
);
13891 if (arg3
== NULL
) SWIG_fail
;
13897 arg4
= wxString_in_helper(obj3
);
13898 if (arg4
== NULL
) SWIG_fail
;
13904 arg5
= wxString_in_helper(obj4
);
13905 if (arg5
== NULL
) SWIG_fail
;
13911 arg6
= (long)(SWIG_As_long(obj5
));
13912 if (SWIG_arg_fail(6)) SWIG_fail
;
13918 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13922 if (!wxPyCheckForApp()) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13968 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13971 wxString
*arg2
= 0 ;
13972 bool temp2
= false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "message", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail
;
13983 arg2
= wxString_in_helper(obj1
);
13984 if (arg2
== NULL
) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 (arg1
)->SetMessage((wxString
const &)*arg2
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 Py_INCREF(Py_None
); resultobj
= Py_None
;
14009 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14012 wxString
*arg2
= 0 ;
14013 bool temp2
= false ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "path", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14022 if (SWIG_arg_fail(1)) SWIG_fail
;
14024 arg2
= wxString_in_helper(obj1
);
14025 if (arg2
== NULL
) SWIG_fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 (arg1
)->SetPath((wxString
const &)*arg2
);
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 Py_INCREF(Py_None
); resultobj
= Py_None
;
14050 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14053 wxString
*arg2
= 0 ;
14054 bool temp2
= false ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self",(char *) "dir", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14063 if (SWIG_arg_fail(1)) SWIG_fail
;
14065 arg2
= wxString_in_helper(obj1
);
14066 if (arg2
== NULL
) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14091 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14094 wxString
*arg2
= 0 ;
14095 bool temp2
= false ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self",(char *) "name", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14104 if (SWIG_arg_fail(1)) SWIG_fail
;
14106 arg2
= wxString_in_helper(obj1
);
14107 if (arg2
== NULL
) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 (arg1
)->SetFilename((wxString
const &)*arg2
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 Py_INCREF(Py_None
); resultobj
= Py_None
;
14132 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14135 wxString
*arg2
= 0 ;
14136 bool temp2
= false ;
14137 PyObject
* obj0
= 0 ;
14138 PyObject
* obj1
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self",(char *) "wildCard", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail
;
14147 arg2
= wxString_in_helper(obj1
);
14148 if (arg2
== NULL
) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 Py_INCREF(Py_None
); resultobj
= Py_None
;
14173 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 PyObject
* obj1
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self",(char *) "style", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14185 if (SWIG_arg_fail(1)) SWIG_fail
;
14187 arg2
= (long)(SWIG_As_long(obj1
));
14188 if (SWIG_arg_fail(2)) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 (arg1
)->SetStyle(arg2
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 Py_INCREF(Py_None
); resultobj
= Py_None
;
14204 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self",(char *) "filterIndex", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14216 if (SWIG_arg_fail(1)) SWIG_fail
;
14218 arg2
= (int)(SWIG_As_int(obj1
));
14219 if (SWIG_arg_fail(2)) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 (arg1
)->SetFilterIndex(arg2
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 Py_INCREF(Py_None
); resultobj
= Py_None
;
14235 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14246 if (SWIG_arg_fail(1)) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14267 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14278 if (SWIG_arg_fail(1)) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14299 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "self", NULL
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14310 if (SWIG_arg_fail(1)) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14331 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14342 if (SWIG_arg_fail(1)) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14363 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14374 if (SWIG_arg_fail(1)) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14395 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14406 if (SWIG_arg_fail(1)) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= SWIG_From_long((long)(result
));
14423 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14434 if (SWIG_arg_fail(1)) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_From_int((int)(result
));
14451 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
;
14453 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14462 if (SWIG_arg_fail(1)) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= result
;
14477 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14481 PyObject
* obj0
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14488 if (SWIG_arg_fail(1)) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= result
;
14503 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14506 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14508 return Py_BuildValue((char *)"");
14510 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxWindow
*arg1
= (wxWindow
*) 0 ;
14513 wxString
*arg2
= 0 ;
14514 wxString
*arg3
= 0 ;
14515 int arg4
= (int) 0 ;
14516 wxString
*arg5
= (wxString
*) NULL
;
14517 long arg6
= (long) wxCHOICEDLG_STYLE
;
14518 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14519 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14520 wxMultiChoiceDialog
*result
;
14521 bool temp2
= false ;
14522 bool temp3
= false ;
14524 PyObject
* obj0
= 0 ;
14525 PyObject
* obj1
= 0 ;
14526 PyObject
* obj2
= 0 ;
14527 PyObject
* obj3
= 0 ;
14528 PyObject
* obj4
= 0 ;
14529 PyObject
* obj5
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14536 if (SWIG_arg_fail(1)) SWIG_fail
;
14538 arg2
= wxString_in_helper(obj1
);
14539 if (arg2
== NULL
) SWIG_fail
;
14543 arg3
= wxString_in_helper(obj2
);
14544 if (arg3
== NULL
) SWIG_fail
;
14549 arg4
= PyList_Size(obj3
);
14550 arg5
= wxString_LIST_helper(obj3
);
14551 if (arg5
== NULL
) SWIG_fail
;
14556 arg6
= (long)(SWIG_As_long(obj4
));
14557 if (SWIG_arg_fail(6)) SWIG_fail
;
14563 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14567 if (!wxPyCheckForApp()) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14584 if (arg5
) delete [] arg5
;
14597 if (arg5
) delete [] arg5
;
14603 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14606 wxArrayInt
*arg2
= 0 ;
14607 bool temp2
= false ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self",(char *) "selections", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14616 if (SWIG_arg_fail(1)) SWIG_fail
;
14618 if (! PySequence_Check(obj1
)) {
14619 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14622 arg2
= new wxArrayInt
;
14624 int i
, len
=PySequence_Length(obj1
);
14625 for (i
=0; i
<len
; i
++) {
14626 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14627 PyObject
* number
= PyNumber_Int(item
);
14628 arg2
->Add(PyInt_AS_LONG(number
));
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 Py_INCREF(Py_None
); resultobj
= Py_None
;
14642 if (temp2
) delete arg2
;
14647 if (temp2
) delete arg2
;
14653 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14664 if (SWIG_arg_fail(1)) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= result
;
14679 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14682 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14684 return Py_BuildValue((char *)"");
14686 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxWindow
*arg1
= (wxWindow
*) 0 ;
14689 wxString
*arg2
= 0 ;
14690 wxString
*arg3
= 0 ;
14692 wxString
*arg5
= (wxString
*) 0 ;
14693 long arg6
= (long) wxCHOICEDLG_STYLE
;
14694 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14695 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14696 wxSingleChoiceDialog
*result
;
14697 bool temp2
= false ;
14698 bool temp3
= false ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 PyObject
* obj2
= 0 ;
14703 PyObject
* obj3
= 0 ;
14704 PyObject
* obj4
= 0 ;
14705 PyObject
* obj5
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14712 if (SWIG_arg_fail(1)) SWIG_fail
;
14714 arg2
= wxString_in_helper(obj1
);
14715 if (arg2
== NULL
) SWIG_fail
;
14719 arg3
= wxString_in_helper(obj2
);
14720 if (arg3
== NULL
) SWIG_fail
;
14724 arg4
= PyList_Size(obj3
);
14725 arg5
= wxString_LIST_helper(obj3
);
14726 if (arg5
== NULL
) SWIG_fail
;
14730 arg6
= (long)(SWIG_As_long(obj4
));
14731 if (SWIG_arg_fail(6)) SWIG_fail
;
14737 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14741 if (!wxPyCheckForApp()) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14758 if (arg5
) delete [] arg5
;
14771 if (arg5
) delete [] arg5
;
14777 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (int)(arg1
)->GetSelection();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_From_int((int)(result
));
14805 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14816 if (SWIG_arg_fail(1)) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (arg1
)->GetStringSelection();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14837 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self",(char *) "sel", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14849 if (SWIG_arg_fail(1)) SWIG_fail
;
14851 arg2
= (int)(SWIG_As_int(obj1
));
14852 if (SWIG_arg_fail(2)) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 (arg1
)->SetSelection(arg2
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 Py_INCREF(Py_None
); resultobj
= Py_None
;
14868 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14873 return Py_BuildValue((char *)"");
14875 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxWindow
*arg1
= (wxWindow
*) 0 ;
14878 wxString
*arg2
= 0 ;
14879 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14880 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14881 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14882 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14883 long arg5
= (long) wxTextEntryDialogStyle
;
14884 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14885 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14886 wxTextEntryDialog
*result
;
14887 bool temp2
= false ;
14888 bool temp3
= false ;
14889 bool temp4
= false ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 PyObject
* obj2
= 0 ;
14894 PyObject
* obj3
= 0 ;
14895 PyObject
* obj4
= 0 ;
14896 PyObject
* obj5
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14903 if (SWIG_arg_fail(1)) SWIG_fail
;
14905 arg2
= wxString_in_helper(obj1
);
14906 if (arg2
== NULL
) SWIG_fail
;
14911 arg3
= wxString_in_helper(obj2
);
14912 if (arg3
== NULL
) SWIG_fail
;
14918 arg4
= wxString_in_helper(obj3
);
14919 if (arg4
== NULL
) SWIG_fail
;
14925 arg5
= (long)(SWIG_As_long(obj4
));
14926 if (SWIG_arg_fail(5)) SWIG_fail
;
14932 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14936 if (!wxPyCheckForApp()) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14974 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
;
14976 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14978 PyObject
* obj0
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14985 if (SWIG_arg_fail(1)) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 result
= (arg1
)->GetValue();
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15006 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15009 wxString
*arg2
= 0 ;
15010 bool temp2
= false ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self",(char *) "value", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15019 if (SWIG_arg_fail(1)) SWIG_fail
;
15021 arg2
= wxString_in_helper(obj1
);
15022 if (arg2
== NULL
) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 (arg1
)->SetValue((wxString
const &)*arg2
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 Py_INCREF(Py_None
); resultobj
= Py_None
;
15047 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15050 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15052 return Py_BuildValue((char *)"");
15054 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15055 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15060 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15065 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15067 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15074 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxWindow
*arg1
= (wxWindow
*) 0 ;
15077 wxString
*arg2
= 0 ;
15078 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15079 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15080 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15081 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15082 long arg5
= (long) wxTextEntryDialogStyle
;
15083 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15084 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15085 wxPasswordEntryDialog
*result
;
15086 bool temp2
= false ;
15087 bool temp3
= false ;
15088 bool temp4
= false ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 PyObject
* obj2
= 0 ;
15093 PyObject
* obj3
= 0 ;
15094 PyObject
* obj4
= 0 ;
15095 PyObject
* obj5
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15102 if (SWIG_arg_fail(1)) SWIG_fail
;
15104 arg2
= wxString_in_helper(obj1
);
15105 if (arg2
== NULL
) SWIG_fail
;
15110 arg3
= wxString_in_helper(obj2
);
15111 if (arg3
== NULL
) SWIG_fail
;
15117 arg4
= wxString_in_helper(obj3
);
15118 if (arg4
== NULL
) SWIG_fail
;
15124 arg5
= (long)(SWIG_As_long(obj4
));
15125 if (SWIG_arg_fail(5)) SWIG_fail
;
15131 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15172 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15175 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15177 return Py_BuildValue((char *)"");
15179 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxFontData
*result
;
15182 char *kwnames
[] = {
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (wxFontData
*)new wxFontData();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15201 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxFontData
*arg1
= (wxFontData
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15211 if (SWIG_arg_fail(1)) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 Py_INCREF(Py_None
); resultobj
= Py_None
;
15226 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxFontData
*arg1
= (wxFontData
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 char *kwnames
[] = {
15233 (char *) "self",(char *) "enable", NULL
15236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15238 if (SWIG_arg_fail(1)) SWIG_fail
;
15240 arg2
= (bool)(SWIG_As_bool(obj1
));
15241 if (SWIG_arg_fail(2)) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->EnableEffects(arg2
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 Py_INCREF(Py_None
); resultobj
= Py_None
;
15257 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxFontData
*arg1
= (wxFontData
*) 0 ;
15261 PyObject
* obj0
= 0 ;
15262 char *kwnames
[] = {
15263 (char *) "self", NULL
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15268 if (SWIG_arg_fail(1)) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (bool)(arg1
)->GetAllowSymbols();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15285 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxFontData
*arg1
= (wxFontData
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15296 if (SWIG_arg_fail(1)) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (arg1
)->GetColour();
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 wxColour
* resultptr
;
15306 resultptr
= new wxColour((wxColour
&)(result
));
15307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15315 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxFontData
*arg1
= (wxFontData
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (arg1
)->GetChosenFont();
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15335 wxFont
* resultptr
;
15336 resultptr
= new wxFont((wxFont
&)(result
));
15337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15345 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxFontData
*arg1
= (wxFontData
*) 0 ;
15349 PyObject
* obj0
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "self", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15356 if (SWIG_arg_fail(1)) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (bool)(arg1
)->GetEnableEffects();
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15373 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
;
15375 wxFontData
*arg1
= (wxFontData
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (arg1
)->GetInitialFont();
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15393 wxFont
* resultptr
;
15394 resultptr
= new wxFont((wxFont
&)(result
));
15395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15403 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxFontData
*arg1
= (wxFontData
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15414 if (SWIG_arg_fail(1)) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (bool)(arg1
)->GetShowHelp();
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15431 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxFontData
*arg1
= (wxFontData
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "allowSymbols", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 arg2
= (bool)(SWIG_As_bool(obj1
));
15446 if (SWIG_arg_fail(2)) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 (arg1
)->SetAllowSymbols(arg2
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 Py_INCREF(Py_None
); resultobj
= Py_None
;
15462 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxFontData
*arg1
= (wxFontData
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self",(char *) "font", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15474 if (SWIG_arg_fail(1)) SWIG_fail
;
15476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15477 if (SWIG_arg_fail(2)) SWIG_fail
;
15478 if (arg2
== NULL
) {
15479 SWIG_null_ref("wxFont");
15481 if (SWIG_arg_fail(2)) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 Py_INCREF(Py_None
); resultobj
= Py_None
;
15497 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxFontData
*arg1
= (wxFontData
*) 0 ;
15500 wxColour
*arg2
= 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "colour", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15510 if (SWIG_arg_fail(1)) SWIG_fail
;
15513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 (arg1
)->SetColour((wxColour
const &)*arg2
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 Py_INCREF(Py_None
); resultobj
= Py_None
;
15529 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxFontData
*arg1
= (wxFontData
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 char *kwnames
[] = {
15536 (char *) "self",(char *) "font", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15541 if (SWIG_arg_fail(1)) SWIG_fail
;
15543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15544 if (SWIG_arg_fail(2)) SWIG_fail
;
15545 if (arg2
== NULL
) {
15546 SWIG_null_ref("wxFont");
15548 if (SWIG_arg_fail(2)) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 Py_INCREF(Py_None
); resultobj
= Py_None
;
15564 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxFontData
*arg1
= (wxFontData
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 PyObject
* obj2
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self",(char *) "min",(char *) "max", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15578 if (SWIG_arg_fail(1)) SWIG_fail
;
15580 arg2
= (int)(SWIG_As_int(obj1
));
15581 if (SWIG_arg_fail(2)) SWIG_fail
;
15584 arg3
= (int)(SWIG_As_int(obj2
));
15585 if (SWIG_arg_fail(3)) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 (arg1
)->SetRange(arg2
,arg3
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 Py_INCREF(Py_None
); resultobj
= Py_None
;
15601 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxFontData
*arg1
= (wxFontData
*) 0 ;
15605 PyObject
* obj0
= 0 ;
15606 PyObject
* obj1
= 0 ;
15607 char *kwnames
[] = {
15608 (char *) "self",(char *) "showHelp", NULL
15611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15613 if (SWIG_arg_fail(1)) SWIG_fail
;
15615 arg2
= (bool)(SWIG_As_bool(obj1
));
15616 if (SWIG_arg_fail(2)) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 (arg1
)->SetShowHelp(arg2
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 Py_INCREF(Py_None
); resultobj
= Py_None
;
15632 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15635 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15637 return Py_BuildValue((char *)"");
15639 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxWindow
*arg1
= (wxWindow
*) 0 ;
15642 wxFontData
*arg2
= 0 ;
15643 wxFontDialog
*result
;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 char *kwnames
[] = {
15647 (char *) "parent",(char *) "data", NULL
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15652 if (SWIG_arg_fail(1)) SWIG_fail
;
15654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15655 if (SWIG_arg_fail(2)) SWIG_fail
;
15656 if (arg2
== NULL
) {
15657 SWIG_null_ref("wxFontData");
15659 if (SWIG_arg_fail(2)) SWIG_fail
;
15662 if (!wxPyCheckForApp()) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15676 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15679 wxFontData
*result
;
15680 PyObject
* obj0
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15687 if (SWIG_arg_fail(1)) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15692 result
= (wxFontData
*) &_result_ref
;
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15705 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15708 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15710 return Py_BuildValue((char *)"");
15712 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxWindow
*arg1
= (wxWindow
*) 0 ;
15715 wxString
*arg2
= 0 ;
15716 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15717 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15718 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15719 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15720 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15721 wxMessageDialog
*result
;
15722 bool temp2
= false ;
15723 bool temp3
= false ;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 PyObject
* obj2
= 0 ;
15728 PyObject
* obj3
= 0 ;
15729 PyObject
* obj4
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15736 if (SWIG_arg_fail(1)) SWIG_fail
;
15738 arg2
= wxString_in_helper(obj1
);
15739 if (arg2
== NULL
) SWIG_fail
;
15744 arg3
= wxString_in_helper(obj2
);
15745 if (arg3
== NULL
) SWIG_fail
;
15751 arg4
= (long)(SWIG_As_long(obj3
));
15752 if (SWIG_arg_fail(4)) SWIG_fail
;
15758 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15762 if (!wxPyCheckForApp()) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15792 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15795 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15797 return Py_BuildValue((char *)"");
15799 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxString
*arg1
= 0 ;
15802 wxString
*arg2
= 0 ;
15803 int arg3
= (int) 100 ;
15804 wxWindow
*arg4
= (wxWindow
*) NULL
;
15805 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15806 wxProgressDialog
*result
;
15807 bool temp1
= false ;
15808 bool temp2
= false ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 PyObject
* obj2
= 0 ;
15812 PyObject
* obj3
= 0 ;
15813 PyObject
* obj4
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15820 arg1
= wxString_in_helper(obj0
);
15821 if (arg1
== NULL
) SWIG_fail
;
15825 arg2
= wxString_in_helper(obj1
);
15826 if (arg2
== NULL
) SWIG_fail
;
15831 arg3
= (int)(SWIG_As_int(obj2
));
15832 if (SWIG_arg_fail(3)) SWIG_fail
;
15836 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15837 if (SWIG_arg_fail(4)) SWIG_fail
;
15841 arg5
= (int)(SWIG_As_int(obj4
));
15842 if (SWIG_arg_fail(5)) SWIG_fail
;
15846 if (!wxPyCheckForApp()) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15876 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15880 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15881 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15883 bool temp3
= false ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 PyObject
* obj2
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15893 if (SWIG_arg_fail(1)) SWIG_fail
;
15895 arg2
= (int)(SWIG_As_int(obj1
));
15896 if (SWIG_arg_fail(2)) SWIG_fail
;
15900 arg3
= wxString_in_helper(obj2
);
15901 if (arg3
== NULL
) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15929 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15939 if (SWIG_arg_fail(1)) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 Py_INCREF(Py_None
); resultobj
= Py_None
;
15954 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15957 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15959 return Py_BuildValue((char *)"");
15961 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15964 int arg2
= (int) 0 ;
15965 wxFindDialogEvent
*result
;
15966 PyObject
* obj0
= 0 ;
15967 PyObject
* obj1
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "commandType",(char *) "id", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15975 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15976 if (SWIG_arg_fail(1)) SWIG_fail
;
15981 arg2
= (int)(SWIG_As_int(obj1
));
15982 if (SWIG_arg_fail(2)) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
15999 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (int)(arg1
)->GetFlags();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= SWIG_From_int((int)(result
));
16027 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16031 PyObject
* obj0
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "self", NULL
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16038 if (SWIG_arg_fail(1)) SWIG_fail
;
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 wxString
const &_result_ref
= (arg1
)->GetFindString();
16043 result
= (wxString
*) &_result_ref
;
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16053 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16062 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16073 if (SWIG_arg_fail(1)) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16078 result
= (wxString
*) &_result_ref
;
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16088 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16097 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16100 wxFindReplaceDialog
*result
;
16101 PyObject
* obj0
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16108 if (SWIG_arg_fail(1)) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16123 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16127 PyObject
* obj0
= 0 ;
16128 PyObject
* obj1
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self",(char *) "flags", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16135 if (SWIG_arg_fail(1)) SWIG_fail
;
16137 arg2
= (int)(SWIG_As_int(obj1
));
16138 if (SWIG_arg_fail(2)) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 (arg1
)->SetFlags(arg2
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 Py_INCREF(Py_None
); resultobj
= Py_None
;
16154 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16157 wxString
*arg2
= 0 ;
16158 bool temp2
= false ;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self",(char *) "str", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16167 if (SWIG_arg_fail(1)) SWIG_fail
;
16169 arg2
= wxString_in_helper(obj1
);
16170 if (arg2
== NULL
) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 (arg1
)->SetFindString((wxString
const &)*arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16198 wxString
*arg2
= 0 ;
16199 bool temp2
= false ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self",(char *) "str", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16208 if (SWIG_arg_fail(1)) SWIG_fail
;
16210 arg2
= wxString_in_helper(obj1
);
16211 if (arg2
== NULL
) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16239 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16241 return Py_BuildValue((char *)"");
16243 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 int arg1
= (int) 0 ;
16246 wxFindReplaceData
*result
;
16247 PyObject
* obj0
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "flags", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16255 arg1
= (int)(SWIG_As_int(obj0
));
16256 if (SWIG_arg_fail(1)) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16273 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16283 if (SWIG_arg_fail(1)) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16291 Py_INCREF(Py_None
); resultobj
= Py_None
;
16298 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16309 if (SWIG_arg_fail(1)) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 wxString
const &_result_ref
= (arg1
)->GetFindString();
16314 result
= (wxString
*) &_result_ref
;
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16324 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16333 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16349 result
= (wxString
*) &_result_ref
;
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16359 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16368 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16379 if (SWIG_arg_fail(1)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (int)(arg1
)->GetFlags();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= SWIG_From_int((int)(result
));
16396 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 PyObject
* obj1
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self",(char *) "flags", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16408 if (SWIG_arg_fail(1)) SWIG_fail
;
16410 arg2
= (int)(SWIG_As_int(obj1
));
16411 if (SWIG_arg_fail(2)) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 (arg1
)->SetFlags(arg2
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 Py_INCREF(Py_None
); resultobj
= Py_None
;
16427 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16430 wxString
*arg2
= 0 ;
16431 bool temp2
= false ;
16432 PyObject
* obj0
= 0 ;
16433 PyObject
* obj1
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self",(char *) "str", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16440 if (SWIG_arg_fail(1)) SWIG_fail
;
16442 arg2
= wxString_in_helper(obj1
);
16443 if (arg2
== NULL
) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 (arg1
)->SetFindString((wxString
const &)*arg2
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16468 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16471 wxString
*arg2
= 0 ;
16472 bool temp2
= false ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "str", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16481 if (SWIG_arg_fail(1)) SWIG_fail
;
16483 arg2
= wxString_in_helper(obj1
);
16484 if (arg2
== NULL
) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16509 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16512 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16514 return Py_BuildValue((char *)"");
16516 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxWindow
*arg1
= (wxWindow
*) 0 ;
16519 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16520 wxString
*arg3
= 0 ;
16521 int arg4
= (int) 0 ;
16522 wxFindReplaceDialog
*result
;
16523 bool temp3
= false ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 PyObject
* obj2
= 0 ;
16527 PyObject
* obj3
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16534 if (SWIG_arg_fail(1)) SWIG_fail
;
16535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16536 if (SWIG_arg_fail(2)) SWIG_fail
;
16538 arg3
= wxString_in_helper(obj2
);
16539 if (arg3
== NULL
) SWIG_fail
;
16544 arg4
= (int)(SWIG_As_int(obj3
));
16545 if (SWIG_arg_fail(4)) SWIG_fail
;
16549 if (!wxPyCheckForApp()) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16571 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxFindReplaceDialog
*result
;
16574 char *kwnames
[] = {
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16580 if (!wxPyCheckForApp()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16594 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16597 wxWindow
*arg2
= (wxWindow
*) 0 ;
16598 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16599 wxString
*arg4
= 0 ;
16600 int arg5
= (int) 0 ;
16602 bool temp4
= false ;
16603 PyObject
* obj0
= 0 ;
16604 PyObject
* obj1
= 0 ;
16605 PyObject
* obj2
= 0 ;
16606 PyObject
* obj3
= 0 ;
16607 PyObject
* obj4
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16616 if (SWIG_arg_fail(2)) SWIG_fail
;
16617 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16618 if (SWIG_arg_fail(3)) SWIG_fail
;
16620 arg4
= wxString_in_helper(obj3
);
16621 if (arg4
== NULL
) SWIG_fail
;
16626 arg5
= (int)(SWIG_As_int(obj4
));
16627 if (SWIG_arg_fail(5)) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16654 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16657 wxFindReplaceData
*result
;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16665 if (SWIG_arg_fail(1)) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16680 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16683 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "data", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16692 if (SWIG_arg_fail(1)) SWIG_fail
;
16693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16694 if (SWIG_arg_fail(2)) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 (arg1
)->SetData(arg2
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 Py_INCREF(Py_None
); resultobj
= Py_None
;
16709 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16712 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16714 return Py_BuildValue((char *)"");
16716 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxWindow
*arg1
= (wxWindow
*) 0 ;
16719 int arg2
= (int) (int)-1 ;
16720 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16721 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16726 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16727 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16729 wxMDIParentFrame
*result
;
16730 bool temp3
= false ;
16733 bool temp7
= false ;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 PyObject
* obj2
= 0 ;
16737 PyObject
* obj3
= 0 ;
16738 PyObject
* obj4
= 0 ;
16739 PyObject
* obj5
= 0 ;
16740 PyObject
* obj6
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail
;
16750 arg2
= (int const)(SWIG_As_int(obj1
));
16751 if (SWIG_arg_fail(2)) SWIG_fail
;
16756 arg3
= wxString_in_helper(obj2
);
16757 if (arg3
== NULL
) SWIG_fail
;
16764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16775 arg6
= (long)(SWIG_As_long(obj5
));
16776 if (SWIG_arg_fail(6)) SWIG_fail
;
16781 arg7
= wxString_in_helper(obj6
);
16782 if (arg7
== NULL
) SWIG_fail
;
16787 if (!wxPyCheckForApp()) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16817 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
;
16819 wxMDIParentFrame
*result
;
16820 char *kwnames
[] = {
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16826 if (!wxPyCheckForApp()) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16840 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16843 wxWindow
*arg2
= (wxWindow
*) 0 ;
16844 int arg3
= (int) (int)-1 ;
16845 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16846 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16847 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16848 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16849 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16850 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16851 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16852 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16855 bool temp4
= false ;
16858 bool temp8
= false ;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 PyObject
* obj2
= 0 ;
16862 PyObject
* obj3
= 0 ;
16863 PyObject
* obj4
= 0 ;
16864 PyObject
* obj5
= 0 ;
16865 PyObject
* obj6
= 0 ;
16866 PyObject
* obj7
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail
;
16874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(2)) SWIG_fail
;
16878 arg3
= (int const)(SWIG_As_int(obj2
));
16879 if (SWIG_arg_fail(3)) SWIG_fail
;
16884 arg4
= wxString_in_helper(obj3
);
16885 if (arg4
== NULL
) SWIG_fail
;
16892 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16898 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16903 arg7
= (long)(SWIG_As_long(obj6
));
16904 if (SWIG_arg_fail(7)) SWIG_fail
;
16909 arg8
= wxString_in_helper(obj7
);
16910 if (arg8
== NULL
) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16946 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16956 if (SWIG_arg_fail(1)) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 (arg1
)->ActivateNext();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 Py_INCREF(Py_None
); resultobj
= Py_None
;
16971 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16981 if (SWIG_arg_fail(1)) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 (arg1
)->ActivatePrevious();
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 Py_INCREF(Py_None
); resultobj
= Py_None
;
16996 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 (arg1
)->ArrangeIcons();
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 Py_INCREF(Py_None
); resultobj
= Py_None
;
17021 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17031 if (SWIG_arg_fail(1)) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 Py_INCREF(Py_None
); resultobj
= Py_None
;
17046 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17049 wxMDIChildFrame
*result
;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= wxPyMake_wxObject(result
, 0);
17074 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17077 wxMDIClientWindow
*result
;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17085 if (SWIG_arg_fail(1)) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= wxPyMake_wxObject(result
, 0);
17102 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17113 if (SWIG_arg_fail(1)) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 result
= (wxWindow
*)(arg1
)->GetToolBar();
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= wxPyMake_wxObject(result
, 0);
17130 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17133 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "orient", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17142 if (SWIG_arg_fail(1)) SWIG_fail
;
17145 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17146 if (SWIG_arg_fail(2)) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 (arg1
)->Tile((wxOrientation
)arg2
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 Py_INCREF(Py_None
); resultobj
= Py_None
;
17163 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17166 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17168 return Py_BuildValue((char *)"");
17170 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17173 int arg2
= (int) (int)-1 ;
17174 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17175 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17180 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17181 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17182 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17183 wxMDIChildFrame
*result
;
17184 bool temp3
= false ;
17187 bool temp7
= false ;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 PyObject
* obj2
= 0 ;
17191 PyObject
* obj3
= 0 ;
17192 PyObject
* obj4
= 0 ;
17193 PyObject
* obj5
= 0 ;
17194 PyObject
* obj6
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17201 if (SWIG_arg_fail(1)) SWIG_fail
;
17204 arg2
= (int const)(SWIG_As_int(obj1
));
17205 if (SWIG_arg_fail(2)) SWIG_fail
;
17210 arg3
= wxString_in_helper(obj2
);
17211 if (arg3
== NULL
) SWIG_fail
;
17218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17224 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17229 arg6
= (long)(SWIG_As_long(obj5
));
17230 if (SWIG_arg_fail(6)) SWIG_fail
;
17235 arg7
= wxString_in_helper(obj6
);
17236 if (arg7
== NULL
) SWIG_fail
;
17241 if (!wxPyCheckForApp()) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17271 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxMDIChildFrame
*result
;
17274 char *kwnames
[] = {
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17280 if (!wxPyCheckForApp()) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17294 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17297 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17298 int arg3
= (int) (int)-1 ;
17299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17301 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17302 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17303 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17304 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17305 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17306 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17307 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17309 bool temp4
= false ;
17312 bool temp8
= false ;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 PyObject
* obj3
= 0 ;
17317 PyObject
* obj4
= 0 ;
17318 PyObject
* obj5
= 0 ;
17319 PyObject
* obj6
= 0 ;
17320 PyObject
* obj7
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17327 if (SWIG_arg_fail(1)) SWIG_fail
;
17328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17329 if (SWIG_arg_fail(2)) SWIG_fail
;
17332 arg3
= (int const)(SWIG_As_int(obj2
));
17333 if (SWIG_arg_fail(3)) SWIG_fail
;
17338 arg4
= wxString_in_helper(obj3
);
17339 if (arg4
== NULL
) SWIG_fail
;
17346 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17352 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17357 arg7
= (long)(SWIG_As_long(obj6
));
17358 if (SWIG_arg_fail(7)) SWIG_fail
;
17363 arg8
= wxString_in_helper(obj7
);
17364 if (arg8
== NULL
) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17400 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17410 if (SWIG_arg_fail(1)) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 (arg1
)->Activate();
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 Py_INCREF(Py_None
); resultobj
= Py_None
;
17425 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
;
17427 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17428 bool arg2
= (bool) true ;
17429 PyObject
* obj0
= 0 ;
17430 PyObject
* obj1
= 0 ;
17431 char *kwnames
[] = {
17432 (char *) "self",(char *) "maximize", NULL
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17437 if (SWIG_arg_fail(1)) SWIG_fail
;
17440 arg2
= (bool)(SWIG_As_bool(obj1
));
17441 if (SWIG_arg_fail(2)) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 (arg1
)->Maximize(arg2
);
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 Py_INCREF(Py_None
); resultobj
= Py_None
;
17458 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17486 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17488 return Py_BuildValue((char *)"");
17490 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17493 long arg2
= (long) 0 ;
17494 wxMDIClientWindow
*result
;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "parent",(char *) "style", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17503 if (SWIG_arg_fail(1)) SWIG_fail
;
17506 arg2
= (long)(SWIG_As_long(obj1
));
17507 if (SWIG_arg_fail(2)) SWIG_fail
;
17511 if (!wxPyCheckForApp()) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17525 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
;
17527 wxMDIClientWindow
*result
;
17528 char *kwnames
[] = {
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17534 if (!wxPyCheckForApp()) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17548 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17551 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17552 long arg3
= (long) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 PyObject
* obj2
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "parent",(char *) "style", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17563 if (SWIG_arg_fail(1)) SWIG_fail
;
17564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17565 if (SWIG_arg_fail(2)) SWIG_fail
;
17568 arg3
= (long)(SWIG_As_long(obj2
));
17569 if (SWIG_arg_fail(3)) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17588 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17591 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17593 return Py_BuildValue((char *)"");
17595 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxWindow
*arg1
= (wxWindow
*) 0 ;
17598 int arg2
= (int) (int)-1 ;
17599 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17600 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17601 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17602 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17603 long arg5
= (long) 0 ;
17604 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17605 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17606 wxPyWindow
*result
;
17609 bool temp6
= false ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 PyObject
* obj2
= 0 ;
17613 PyObject
* obj3
= 0 ;
17614 PyObject
* obj4
= 0 ;
17615 PyObject
* obj5
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail
;
17625 arg2
= (int const)(SWIG_As_int(obj1
));
17626 if (SWIG_arg_fail(2)) SWIG_fail
;
17632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17643 arg5
= (long)(SWIG_As_long(obj4
));
17644 if (SWIG_arg_fail(5)) SWIG_fail
;
17649 arg6
= wxString_in_helper(obj5
);
17650 if (arg6
== NULL
) SWIG_fail
;
17655 if (!wxPyCheckForApp()) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17677 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxPyWindow
*result
;
17680 char *kwnames
[] = {
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17686 if (!wxPyCheckForApp()) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= (wxPyWindow
*)new wxPyWindow();
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17700 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17703 PyObject
*arg2
= (PyObject
*) 0 ;
17704 PyObject
*arg3
= (PyObject
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 PyObject
* obj1
= 0 ;
17707 PyObject
* obj2
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "self",(char *) "_class", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17714 if (SWIG_arg_fail(1)) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 Py_INCREF(Py_None
); resultobj
= Py_None
;
17731 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "size", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail
;
17747 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 Py_INCREF(Py_None
); resultobj
= Py_None
;
17763 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17766 wxDC
*arg2
= (wxDC
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "dc", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17776 if (SWIG_arg_fail(1)) SWIG_fail
;
17777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(2)) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17795 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 PyObject
* obj1
= 0 ;
17804 PyObject
* obj2
= 0 ;
17805 PyObject
* obj3
= 0 ;
17806 PyObject
* obj4
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17813 if (SWIG_arg_fail(1)) SWIG_fail
;
17815 arg2
= (int)(SWIG_As_int(obj1
));
17816 if (SWIG_arg_fail(2)) SWIG_fail
;
17819 arg3
= (int)(SWIG_As_int(obj2
));
17820 if (SWIG_arg_fail(3)) SWIG_fail
;
17823 arg4
= (int)(SWIG_As_int(obj3
));
17824 if (SWIG_arg_fail(4)) SWIG_fail
;
17827 arg5
= (int)(SWIG_As_int(obj4
));
17828 if (SWIG_arg_fail(5)) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 Py_INCREF(Py_None
); resultobj
= Py_None
;
17844 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17851 int arg6
= (int) wxSIZE_AUTO
;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 PyObject
* obj2
= 0 ;
17855 PyObject
* obj3
= 0 ;
17856 PyObject
* obj4
= 0 ;
17857 PyObject
* obj5
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17864 if (SWIG_arg_fail(1)) SWIG_fail
;
17866 arg2
= (int)(SWIG_As_int(obj1
));
17867 if (SWIG_arg_fail(2)) SWIG_fail
;
17870 arg3
= (int)(SWIG_As_int(obj2
));
17871 if (SWIG_arg_fail(3)) SWIG_fail
;
17874 arg4
= (int)(SWIG_As_int(obj3
));
17875 if (SWIG_arg_fail(4)) SWIG_fail
;
17878 arg5
= (int)(SWIG_As_int(obj4
));
17879 if (SWIG_arg_fail(5)) SWIG_fail
;
17883 arg6
= (int)(SWIG_As_int(obj5
));
17884 if (SWIG_arg_fail(6)) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 Py_INCREF(Py_None
); resultobj
= Py_None
;
17901 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 PyObject
* obj2
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self",(char *) "width",(char *) "height", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17915 if (SWIG_arg_fail(1)) SWIG_fail
;
17917 arg2
= (int)(SWIG_As_int(obj1
));
17918 if (SWIG_arg_fail(2)) SWIG_fail
;
17921 arg3
= (int)(SWIG_As_int(obj2
));
17922 if (SWIG_arg_fail(3)) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 Py_INCREF(Py_None
); resultobj
= Py_None
;
17938 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 PyObject
* obj1
= 0 ;
17945 PyObject
* obj2
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "x",(char *) "y", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17952 if (SWIG_arg_fail(1)) SWIG_fail
;
17954 arg2
= (int)(SWIG_As_int(obj1
));
17955 if (SWIG_arg_fail(2)) SWIG_fail
;
17958 arg3
= (int)(SWIG_As_int(obj2
));
17959 if (SWIG_arg_fail(3)) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 Py_INCREF(Py_None
); resultobj
= Py_None
;
17975 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17978 int *arg2
= (int *) 0 ;
17979 int *arg3
= (int *) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self", NULL
17989 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17990 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17993 if (SWIG_arg_fail(1)) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 Py_INCREF(Py_None
); resultobj
= Py_None
;
18002 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18003 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18004 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18005 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18012 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18015 int *arg2
= (int *) 0 ;
18016 int *arg3
= (int *) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18027 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 Py_INCREF(Py_None
); resultobj
= Py_None
;
18039 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18040 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18041 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18042 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18049 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18052 int *arg2
= (int *) 0 ;
18053 int *arg3
= (int *) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self", NULL
18063 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18064 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 Py_INCREF(Py_None
); resultobj
= Py_None
;
18076 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18077 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18078 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18079 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18086 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 wxSize
* resultptr
;
18107 resultptr
= new wxSize((wxSize
&)(result
));
18108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18116 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 wxSize
* resultptr
;
18137 resultptr
= new wxSize((wxSize
&)(result
));
18138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18146 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->base_InitDialog();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (bool)(arg1
)->base_TransferDataToWindow();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18199 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18203 PyObject
* obj0
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18210 if (SWIG_arg_fail(1)) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18227 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18238 if (SWIG_arg_fail(1)) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 result
= (bool)(arg1
)->base_Validate();
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18255 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
;
18257 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18266 if (SWIG_arg_fail(1)) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18283 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18294 if (SWIG_arg_fail(1)) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18311 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18322 if (SWIG_arg_fail(1)) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 wxSize
* resultptr
;
18332 resultptr
= new wxSize((wxSize
&)(result
));
18333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18341 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18344 wxWindow
*arg2
= (wxWindow
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "child", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18353 if (SWIG_arg_fail(1)) SWIG_fail
;
18354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18355 if (SWIG_arg_fail(2)) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 (arg1
)->base_AddChild(arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 Py_INCREF(Py_None
); resultobj
= Py_None
;
18370 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18373 wxWindow
*arg2
= (wxWindow
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "child", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18382 if (SWIG_arg_fail(1)) SWIG_fail
;
18383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18384 if (SWIG_arg_fail(2)) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 (arg1
)->base_RemoveChild(arg2
);
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 Py_INCREF(Py_None
); resultobj
= Py_None
;
18399 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18403 PyObject
* obj0
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18427 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18430 wxVisualAttributes result
;
18431 PyObject
* obj0
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18438 if (SWIG_arg_fail(1)) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (arg1
)->base_GetDefaultAttributes();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18447 wxVisualAttributes
* resultptr
;
18448 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18457 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18460 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18462 return Py_BuildValue((char *)"");
18464 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxWindow
*arg1
= (wxWindow
*) 0 ;
18467 int arg2
= (int) (int)-1 ;
18468 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18469 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18470 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18471 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18472 long arg5
= (long) 0 ;
18473 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18474 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18478 bool temp6
= false ;
18479 PyObject
* obj0
= 0 ;
18480 PyObject
* obj1
= 0 ;
18481 PyObject
* obj2
= 0 ;
18482 PyObject
* obj3
= 0 ;
18483 PyObject
* obj4
= 0 ;
18484 PyObject
* obj5
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18491 if (SWIG_arg_fail(1)) SWIG_fail
;
18494 arg2
= (int const)(SWIG_As_int(obj1
));
18495 if (SWIG_arg_fail(2)) SWIG_fail
;
18501 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18507 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18512 arg5
= (long)(SWIG_As_long(obj4
));
18513 if (SWIG_arg_fail(5)) SWIG_fail
;
18518 arg6
= wxString_in_helper(obj5
);
18519 if (arg6
== NULL
) SWIG_fail
;
18524 if (!wxPyCheckForApp()) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18546 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18549 char *kwnames
[] = {
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18555 if (!wxPyCheckForApp()) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 result
= (wxPyPanel
*)new wxPyPanel();
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18569 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18572 PyObject
*arg2
= (PyObject
*) 0 ;
18573 PyObject
*arg3
= (PyObject
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 PyObject
* obj2
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self",(char *) "self",(char *) "_class", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 Py_INCREF(Py_None
); resultobj
= Py_None
;
18600 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self",(char *) "size", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18613 if (SWIG_arg_fail(1)) SWIG_fail
;
18616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 Py_INCREF(Py_None
); resultobj
= Py_None
;
18632 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18635 wxDC
*arg2
= (wxDC
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 PyObject
* obj1
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self",(char *) "dc", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18647 if (SWIG_arg_fail(2)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18664 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 PyObject
* obj2
= 0 ;
18674 PyObject
* obj3
= 0 ;
18675 PyObject
* obj4
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18682 if (SWIG_arg_fail(1)) SWIG_fail
;
18684 arg2
= (int)(SWIG_As_int(obj1
));
18685 if (SWIG_arg_fail(2)) SWIG_fail
;
18688 arg3
= (int)(SWIG_As_int(obj2
));
18689 if (SWIG_arg_fail(3)) SWIG_fail
;
18692 arg4
= (int)(SWIG_As_int(obj3
));
18693 if (SWIG_arg_fail(4)) SWIG_fail
;
18696 arg5
= (int)(SWIG_As_int(obj4
));
18697 if (SWIG_arg_fail(5)) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 Py_INCREF(Py_None
); resultobj
= Py_None
;
18713 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18720 int arg6
= (int) wxSIZE_AUTO
;
18721 PyObject
* obj0
= 0 ;
18722 PyObject
* obj1
= 0 ;
18723 PyObject
* obj2
= 0 ;
18724 PyObject
* obj3
= 0 ;
18725 PyObject
* obj4
= 0 ;
18726 PyObject
* obj5
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18733 if (SWIG_arg_fail(1)) SWIG_fail
;
18735 arg2
= (int)(SWIG_As_int(obj1
));
18736 if (SWIG_arg_fail(2)) SWIG_fail
;
18739 arg3
= (int)(SWIG_As_int(obj2
));
18740 if (SWIG_arg_fail(3)) SWIG_fail
;
18743 arg4
= (int)(SWIG_As_int(obj3
));
18744 if (SWIG_arg_fail(4)) SWIG_fail
;
18747 arg5
= (int)(SWIG_As_int(obj4
));
18748 if (SWIG_arg_fail(5)) SWIG_fail
;
18752 arg6
= (int)(SWIG_As_int(obj5
));
18753 if (SWIG_arg_fail(6)) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 Py_INCREF(Py_None
); resultobj
= Py_None
;
18770 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 PyObject
* obj2
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self",(char *) "width",(char *) "height", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18784 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 arg2
= (int)(SWIG_As_int(obj1
));
18787 if (SWIG_arg_fail(2)) SWIG_fail
;
18790 arg3
= (int)(SWIG_As_int(obj2
));
18791 if (SWIG_arg_fail(3)) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 Py_INCREF(Py_None
); resultobj
= Py_None
;
18807 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(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 *) "x",(char *) "y", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",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_DoSetVirtualSize(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_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18847 int *arg2
= (int *) 0 ;
18848 int *arg3
= (int *) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self", NULL
18858 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18859 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18871 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18872 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18873 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18874 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18881 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(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_DoGetClientSize",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_DoGetClientSize(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_DoGetPosition(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_DoGetPosition",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_DoGetPosition(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_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18966 if (SWIG_arg_fail(1)) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18975 wxSize
* resultptr
;
18976 resultptr
= new wxSize((wxSize
&)(result
));
18977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18985 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18996 if (SWIG_arg_fail(1)) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 wxSize
* resultptr
;
19006 resultptr
= new wxSize((wxSize
&)(result
));
19007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19015 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19025 if (SWIG_arg_fail(1)) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 (arg1
)->base_InitDialog();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 Py_INCREF(Py_None
); resultobj
= Py_None
;
19040 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19051 if (SWIG_arg_fail(1)) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (bool)(arg1
)->base_TransferDataToWindow();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19068 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19096 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19107 if (SWIG_arg_fail(1)) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (bool)(arg1
)->base_Validate();
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19124 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19135 if (SWIG_arg_fail(1)) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19152 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19163 if (SWIG_arg_fail(1)) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19180 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19191 if (SWIG_arg_fail(1)) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 wxSize
* resultptr
;
19201 resultptr
= new wxSize((wxSize
&)(result
));
19202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19210 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19213 wxWindow
*arg2
= (wxWindow
*) 0 ;
19214 PyObject
* obj0
= 0 ;
19215 PyObject
* obj1
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self",(char *) "child", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail
;
19223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19224 if (SWIG_arg_fail(2)) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 (arg1
)->base_AddChild(arg2
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 Py_INCREF(Py_None
); resultobj
= Py_None
;
19239 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19242 wxWindow
*arg2
= (wxWindow
*) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "self",(char *) "child", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19251 if (SWIG_arg_fail(1)) SWIG_fail
;
19252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19253 if (SWIG_arg_fail(2)) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 (arg1
)->base_RemoveChild(arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 Py_INCREF(Py_None
); resultobj
= Py_None
;
19268 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19279 if (SWIG_arg_fail(1)) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19296 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19299 wxVisualAttributes result
;
19300 PyObject
* obj0
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19307 if (SWIG_arg_fail(1)) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (arg1
)->base_GetDefaultAttributes();
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19316 wxVisualAttributes
* resultptr
;
19317 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19326 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19329 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19331 return Py_BuildValue((char *)"");
19333 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxWindow
*arg1
= (wxWindow
*) 0 ;
19336 int arg2
= (int) (int)-1 ;
19337 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19338 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19339 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19340 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19341 long arg5
= (long) 0 ;
19342 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19343 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19344 wxPyScrolledWindow
*result
;
19347 bool temp6
= false ;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 PyObject
* obj2
= 0 ;
19351 PyObject
* obj3
= 0 ;
19352 PyObject
* obj4
= 0 ;
19353 PyObject
* obj5
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19360 if (SWIG_arg_fail(1)) SWIG_fail
;
19363 arg2
= (int const)(SWIG_As_int(obj1
));
19364 if (SWIG_arg_fail(2)) SWIG_fail
;
19370 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19376 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19381 arg5
= (long)(SWIG_As_long(obj4
));
19382 if (SWIG_arg_fail(5)) SWIG_fail
;
19387 arg6
= wxString_in_helper(obj5
);
19388 if (arg6
== NULL
) SWIG_fail
;
19393 if (!wxPyCheckForApp()) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19415 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxPyScrolledWindow
*result
;
19418 char *kwnames
[] = {
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19424 if (!wxPyCheckForApp()) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19438 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19441 PyObject
*arg2
= (PyObject
*) 0 ;
19442 PyObject
*arg3
= (PyObject
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 PyObject
* obj2
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "self",(char *) "self",(char *) "_class", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19452 if (SWIG_arg_fail(1)) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 Py_INCREF(Py_None
); resultobj
= Py_None
;
19469 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "self",(char *) "size", NULL
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19482 if (SWIG_arg_fail(1)) SWIG_fail
;
19485 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19504 wxDC
*arg2
= (wxDC
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "dc", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19514 if (SWIG_arg_fail(1)) SWIG_fail
;
19515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19516 if (SWIG_arg_fail(2)) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19533 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 PyObject
* obj2
= 0 ;
19543 PyObject
* obj3
= 0 ;
19544 PyObject
* obj4
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19551 if (SWIG_arg_fail(1)) SWIG_fail
;
19553 arg2
= (int)(SWIG_As_int(obj1
));
19554 if (SWIG_arg_fail(2)) SWIG_fail
;
19557 arg3
= (int)(SWIG_As_int(obj2
));
19558 if (SWIG_arg_fail(3)) SWIG_fail
;
19561 arg4
= (int)(SWIG_As_int(obj3
));
19562 if (SWIG_arg_fail(4)) SWIG_fail
;
19565 arg5
= (int)(SWIG_As_int(obj4
));
19566 if (SWIG_arg_fail(5)) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 Py_INCREF(Py_None
); resultobj
= Py_None
;
19582 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19589 int arg6
= (int) wxSIZE_AUTO
;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 PyObject
* obj2
= 0 ;
19593 PyObject
* obj3
= 0 ;
19594 PyObject
* obj4
= 0 ;
19595 PyObject
* obj5
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19602 if (SWIG_arg_fail(1)) SWIG_fail
;
19604 arg2
= (int)(SWIG_As_int(obj1
));
19605 if (SWIG_arg_fail(2)) SWIG_fail
;
19608 arg3
= (int)(SWIG_As_int(obj2
));
19609 if (SWIG_arg_fail(3)) SWIG_fail
;
19612 arg4
= (int)(SWIG_As_int(obj3
));
19613 if (SWIG_arg_fail(4)) SWIG_fail
;
19616 arg5
= (int)(SWIG_As_int(obj4
));
19617 if (SWIG_arg_fail(5)) SWIG_fail
;
19621 arg6
= (int)(SWIG_As_int(obj5
));
19622 if (SWIG_arg_fail(6)) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 Py_INCREF(Py_None
); resultobj
= Py_None
;
19639 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 PyObject
* obj2
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "self",(char *) "width",(char *) "height", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19653 if (SWIG_arg_fail(1)) SWIG_fail
;
19655 arg2
= (int)(SWIG_As_int(obj1
));
19656 if (SWIG_arg_fail(2)) SWIG_fail
;
19659 arg3
= (int)(SWIG_As_int(obj2
));
19660 if (SWIG_arg_fail(3)) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 Py_INCREF(Py_None
); resultobj
= Py_None
;
19676 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 PyObject
* obj2
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "x",(char *) "y", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19690 if (SWIG_arg_fail(1)) SWIG_fail
;
19692 arg2
= (int)(SWIG_As_int(obj1
));
19693 if (SWIG_arg_fail(2)) SWIG_fail
;
19696 arg3
= (int)(SWIG_As_int(obj2
));
19697 if (SWIG_arg_fail(3)) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 Py_INCREF(Py_None
); resultobj
= Py_None
;
19713 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19716 int *arg2
= (int *) 0 ;
19717 int *arg3
= (int *) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self", NULL
19727 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19728 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19731 if (SWIG_arg_fail(1)) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 Py_INCREF(Py_None
); resultobj
= Py_None
;
19740 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19741 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19742 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19743 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19750 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19753 int *arg2
= (int *) 0 ;
19754 int *arg3
= (int *) 0 ;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self", NULL
19764 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19765 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19768 if (SWIG_arg_fail(1)) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19778 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19779 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19780 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19787 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19790 int *arg2
= (int *) 0 ;
19791 int *arg3
= (int *) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self", NULL
19801 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19802 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19805 if (SWIG_arg_fail(1)) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 Py_INCREF(Py_None
); resultobj
= Py_None
;
19814 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19815 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19816 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19817 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19824 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19828 PyObject
* obj0
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19835 if (SWIG_arg_fail(1)) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19844 wxSize
* resultptr
;
19845 resultptr
= new wxSize((wxSize
&)(result
));
19846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19854 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19865 if (SWIG_arg_fail(1)) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19874 wxSize
* resultptr
;
19875 resultptr
= new wxSize((wxSize
&)(result
));
19876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19884 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->base_InitDialog();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 Py_INCREF(Py_None
); resultobj
= Py_None
;
19909 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (bool)(arg1
)->base_TransferDataToWindow();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19937 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19948 if (SWIG_arg_fail(1)) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19965 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
;
19967 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "self", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19976 if (SWIG_arg_fail(1)) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 result
= (bool)(arg1
)->base_Validate();
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19993 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20004 if (SWIG_arg_fail(1)) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20021 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20025 PyObject
* obj0
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20032 if (SWIG_arg_fail(1)) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20049 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20060 if (SWIG_arg_fail(1)) SWIG_fail
;
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20069 wxSize
* resultptr
;
20070 resultptr
= new wxSize((wxSize
&)(result
));
20071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20079 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20082 wxWindow
*arg2
= (wxWindow
*) 0 ;
20083 PyObject
* obj0
= 0 ;
20084 PyObject
* obj1
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "self",(char *) "child", NULL
20089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20091 if (SWIG_arg_fail(1)) SWIG_fail
;
20092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20093 if (SWIG_arg_fail(2)) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 (arg1
)->base_AddChild(arg2
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 Py_INCREF(Py_None
); resultobj
= Py_None
;
20108 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20111 wxWindow
*arg2
= (wxWindow
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 PyObject
* obj1
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "child", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20122 if (SWIG_arg_fail(2)) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->base_RemoveChild(arg2
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20148 if (SWIG_arg_fail(1)) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20165 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20168 wxVisualAttributes result
;
20169 PyObject
* obj0
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20176 if (SWIG_arg_fail(1)) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (arg1
)->base_GetDefaultAttributes();
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 wxVisualAttributes
* resultptr
;
20186 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20195 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20198 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20200 return Py_BuildValue((char *)"");
20202 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20203 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20208 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20213 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20215 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20222 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20223 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20228 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20233 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20235 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20242 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20243 PyObject
*resultobj
;
20244 wxPrintData
*result
;
20246 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (wxPrintData
*)new wxPrintData();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20261 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20262 PyObject
*resultobj
;
20263 wxPrintData
*arg1
= 0 ;
20264 wxPrintData
*result
;
20265 PyObject
* obj0
= 0 ;
20267 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail
;
20271 if (arg1
== NULL
) {
20272 SWIG_null_ref("wxPrintData");
20274 if (SWIG_arg_fail(1)) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20290 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20295 argc
= PyObject_Length(args
);
20296 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20297 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20300 return _wrap_new_PrintData__SWIG_0(self
,args
);
20306 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20314 return _wrap_new_PrintData__SWIG_1(self
,args
);
20318 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20323 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20326 PyObject
* obj0
= 0 ;
20327 char *kwnames
[] = {
20328 (char *) "self", NULL
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20333 if (SWIG_arg_fail(1)) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 Py_INCREF(Py_None
); resultobj
= Py_None
;
20348 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20359 if (SWIG_arg_fail(1)) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= (int)(arg1
)->GetNoCopies();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_From_int((int)(result
));
20376 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20387 if (SWIG_arg_fail(1)) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (bool)(arg1
)->GetCollate();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20404 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20415 if (SWIG_arg_fail(1)) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 result
= (int)(arg1
)->GetOrientation();
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_From_int((int)(result
));
20432 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20443 if (SWIG_arg_fail(1)) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 result
= (bool)(arg1
)->Ok();
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20460 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20476 result
= (wxString
*) &_result_ref
;
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20486 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20495 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "self", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20506 if (SWIG_arg_fail(1)) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (bool)(arg1
)->GetColour();
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20523 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20526 wxDuplexMode result
;
20527 PyObject
* obj0
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_From_int((result
));
20549 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20552 wxPaperSize result
;
20553 PyObject
* obj0
= 0 ;
20554 char *kwnames
[] = {
20555 (char *) "self", NULL
20558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20560 if (SWIG_arg_fail(1)) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= SWIG_From_int((result
));
20575 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20591 result
= (wxSize
*) &_result_ref
;
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20604 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20615 if (SWIG_arg_fail(1)) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (int)(arg1
)->GetQuality();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= SWIG_From_int((int)(result
));
20632 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20636 PyObject
* obj0
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20643 if (SWIG_arg_fail(1)) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (wxPrintBin
)(arg1
)->GetBin();
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_From_int((result
));
20658 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20661 wxPrintMode result
;
20662 PyObject
* obj0
= 0 ;
20663 char *kwnames
[] = {
20664 (char *) "self", NULL
20667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20669 if (SWIG_arg_fail(1)) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_From_int((result
));
20684 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "self",(char *) "v", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20696 if (SWIG_arg_fail(1)) SWIG_fail
;
20698 arg2
= (int)(SWIG_As_int(obj1
));
20699 if (SWIG_arg_fail(2)) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 (arg1
)->SetNoCopies(arg2
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 Py_INCREF(Py_None
); resultobj
= Py_None
;
20715 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 PyObject
* obj1
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self",(char *) "flag", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20727 if (SWIG_arg_fail(1)) SWIG_fail
;
20729 arg2
= (bool)(SWIG_As_bool(obj1
));
20730 if (SWIG_arg_fail(2)) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 (arg1
)->SetCollate(arg2
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 Py_INCREF(Py_None
); resultobj
= Py_None
;
20746 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 PyObject
* obj1
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self",(char *) "orient", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20758 if (SWIG_arg_fail(1)) SWIG_fail
;
20760 arg2
= (int)(SWIG_As_int(obj1
));
20761 if (SWIG_arg_fail(2)) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 (arg1
)->SetOrientation(arg2
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 Py_INCREF(Py_None
); resultobj
= Py_None
;
20777 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20780 wxString
*arg2
= 0 ;
20781 bool temp2
= false ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self",(char *) "name", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20790 if (SWIG_arg_fail(1)) SWIG_fail
;
20792 arg2
= wxString_in_helper(obj1
);
20793 if (arg2
== NULL
) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 Py_INCREF(Py_None
); resultobj
= Py_None
;
20818 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 PyObject
* obj1
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self",(char *) "colour", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20830 if (SWIG_arg_fail(1)) SWIG_fail
;
20832 arg2
= (bool)(SWIG_As_bool(obj1
));
20833 if (SWIG_arg_fail(2)) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 (arg1
)->SetColour(arg2
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 Py_INCREF(Py_None
); resultobj
= Py_None
;
20849 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20852 wxDuplexMode arg2
;
20853 PyObject
* obj0
= 0 ;
20854 PyObject
* obj1
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self",(char *) "duplex", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20861 if (SWIG_arg_fail(1)) SWIG_fail
;
20863 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20864 if (SWIG_arg_fail(2)) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 Py_INCREF(Py_None
); resultobj
= Py_None
;
20880 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self",(char *) "sizeId", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20892 if (SWIG_arg_fail(1)) SWIG_fail
;
20894 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20895 if (SWIG_arg_fail(2)) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 Py_INCREF(Py_None
); resultobj
= Py_None
;
20911 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self",(char *) "sz", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20924 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 Py_INCREF(Py_None
); resultobj
= Py_None
;
20943 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20945 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20947 PyObject
* obj0
= 0 ;
20948 PyObject
* obj1
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self",(char *) "quality", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20955 if (SWIG_arg_fail(1)) SWIG_fail
;
20957 arg2
= (int)(SWIG_As_int(obj1
));
20958 if (SWIG_arg_fail(2)) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 (arg1
)->SetQuality(arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 Py_INCREF(Py_None
); resultobj
= Py_None
;
20974 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
;
20976 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self",(char *) "bin", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail
;
20988 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20989 if (SWIG_arg_fail(2)) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 (arg1
)->SetBin((wxPrintBin
)arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 Py_INCREF(Py_None
); resultobj
= Py_None
;
21005 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21009 PyObject
* obj0
= 0 ;
21010 PyObject
* obj1
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "printMode", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21017 if (SWIG_arg_fail(1)) SWIG_fail
;
21019 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21020 if (SWIG_arg_fail(2)) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 Py_INCREF(Py_None
); resultobj
= Py_None
;
21036 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21040 PyObject
* obj0
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21068 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21071 wxString
*arg2
= 0 ;
21072 bool temp2
= false ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self",(char *) "filename", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail
;
21083 arg2
= wxString_in_helper(obj1
);
21084 if (arg2
== NULL
) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 (arg1
)->SetFilename((wxString
const &)*arg2
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 Py_INCREF(Py_None
); resultobj
= Py_None
;
21109 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= result
;
21135 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21138 PyObject
*arg2
= (PyObject
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 PyObject
* obj1
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self",(char *) "data", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21147 if (SWIG_arg_fail(1)) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 wxPrintData_SetPrivData(arg1
,arg2
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 Py_INCREF(Py_None
); resultobj
= Py_None
;
21163 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21174 if (SWIG_arg_fail(1)) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21179 result
= (wxString
*) &_result_ref
;
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21198 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 char *kwnames
[] = {
21204 (char *) "self", NULL
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21209 if (SWIG_arg_fail(1)) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21214 result
= (wxString
*) &_result_ref
;
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21224 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21233 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21237 PyObject
* obj0
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21244 if (SWIG_arg_fail(1)) SWIG_fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21249 result
= (wxString
*) &_result_ref
;
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21268 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21272 PyObject
* obj0
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21279 if (SWIG_arg_fail(1)) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21284 result
= (wxString
*) &_result_ref
;
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21294 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21303 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 char *kwnames
[] = {
21309 (char *) "self", NULL
21312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21314 if (SWIG_arg_fail(1)) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 result
= (double)(arg1
)->GetPrinterScaleX();
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= SWIG_From_double((double)(result
));
21331 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21335 PyObject
* obj0
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21342 if (SWIG_arg_fail(1)) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 result
= (double)(arg1
)->GetPrinterScaleY();
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_From_double((double)(result
));
21359 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21370 if (SWIG_arg_fail(1)) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (long)(arg1
)->GetPrinterTranslateX();
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21379 resultobj
= SWIG_From_long((long)(result
));
21387 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21398 if (SWIG_arg_fail(1)) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (long)(arg1
)->GetPrinterTranslateY();
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= SWIG_From_long((long)(result
));
21415 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21418 wxString
*arg2
= 0 ;
21419 bool temp2
= false ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "command", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail
;
21430 arg2
= wxString_in_helper(obj1
);
21431 if (arg2
== NULL
) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21459 wxString
*arg2
= 0 ;
21460 bool temp2
= false ;
21461 PyObject
* obj0
= 0 ;
21462 PyObject
* obj1
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self",(char *) "options", NULL
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21469 if (SWIG_arg_fail(1)) SWIG_fail
;
21471 arg2
= wxString_in_helper(obj1
);
21472 if (arg2
== NULL
) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 Py_INCREF(Py_None
); resultobj
= Py_None
;
21497 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21500 wxString
*arg2
= 0 ;
21501 bool temp2
= false ;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self",(char *) "command", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21510 if (SWIG_arg_fail(1)) SWIG_fail
;
21512 arg2
= wxString_in_helper(obj1
);
21513 if (arg2
== NULL
) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 Py_INCREF(Py_None
); resultobj
= Py_None
;
21538 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21541 wxString
*arg2
= 0 ;
21542 bool temp2
= false ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "path", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21551 if (SWIG_arg_fail(1)) SWIG_fail
;
21553 arg2
= wxString_in_helper(obj1
);
21554 if (arg2
== NULL
) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 Py_INCREF(Py_None
); resultobj
= Py_None
;
21579 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "x", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 arg2
= (double)(SWIG_As_double(obj1
));
21594 if (SWIG_arg_fail(2)) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 (arg1
)->SetPrinterScaleX(arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 Py_INCREF(Py_None
); resultobj
= Py_None
;
21610 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 char *kwnames
[] = {
21617 (char *) "self",(char *) "y", NULL
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21622 if (SWIG_arg_fail(1)) SWIG_fail
;
21624 arg2
= (double)(SWIG_As_double(obj1
));
21625 if (SWIG_arg_fail(2)) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 (arg1
)->SetPrinterScaleY(arg2
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 PyObject
* obj2
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "x",(char *) "y", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail
;
21657 arg2
= (double)(SWIG_As_double(obj1
));
21658 if (SWIG_arg_fail(2)) SWIG_fail
;
21661 arg3
= (double)(SWIG_As_double(obj2
));
21662 if (SWIG_arg_fail(3)) SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 Py_INCREF(Py_None
); resultobj
= Py_None
;
21678 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "x", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail
;
21692 arg2
= (long)(SWIG_As_long(obj1
));
21693 if (SWIG_arg_fail(2)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->SetPrinterTranslateX(arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21709 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "y", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21721 if (SWIG_arg_fail(1)) SWIG_fail
;
21723 arg2
= (long)(SWIG_As_long(obj1
));
21724 if (SWIG_arg_fail(2)) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 (arg1
)->SetPrinterTranslateY(arg2
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 Py_INCREF(Py_None
); resultobj
= Py_None
;
21740 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 PyObject
* obj2
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "self",(char *) "x",(char *) "y", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21754 if (SWIG_arg_fail(1)) SWIG_fail
;
21756 arg2
= (long)(SWIG_As_long(obj1
));
21757 if (SWIG_arg_fail(2)) SWIG_fail
;
21760 arg3
= (long)(SWIG_As_long(obj2
));
21761 if (SWIG_arg_fail(3)) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 Py_INCREF(Py_None
); resultobj
= Py_None
;
21777 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21780 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21782 return Py_BuildValue((char *)"");
21784 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21785 PyObject
*resultobj
;
21786 wxPageSetupDialogData
*result
;
21788 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21803 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21804 PyObject
*resultobj
;
21805 wxPageSetupDialogData
*arg1
= 0 ;
21806 wxPageSetupDialogData
*result
;
21807 PyObject
* obj0
= 0 ;
21809 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21812 if (SWIG_arg_fail(1)) SWIG_fail
;
21813 if (arg1
== NULL
) {
21814 SWIG_null_ref("wxPageSetupDialogData");
21816 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21832 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21833 PyObject
*resultobj
;
21834 wxPrintData
*arg1
= 0 ;
21835 wxPageSetupDialogData
*result
;
21836 PyObject
* obj0
= 0 ;
21838 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21841 if (SWIG_arg_fail(1)) SWIG_fail
;
21842 if (arg1
== NULL
) {
21843 SWIG_null_ref("wxPrintData");
21845 if (SWIG_arg_fail(1)) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21861 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21866 argc
= PyObject_Length(args
);
21867 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21868 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21871 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21877 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21885 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21892 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21900 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21904 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21909 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21919 if (SWIG_arg_fail(1)) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 Py_INCREF(Py_None
); resultobj
= Py_None
;
21934 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "flag", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21946 if (SWIG_arg_fail(1)) SWIG_fail
;
21948 arg2
= (bool)(SWIG_As_bool(obj1
));
21949 if (SWIG_arg_fail(2)) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 (arg1
)->EnableHelp(arg2
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 Py_INCREF(Py_None
); resultobj
= Py_None
;
21965 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "flag", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21977 if (SWIG_arg_fail(1)) SWIG_fail
;
21979 arg2
= (bool)(SWIG_As_bool(obj1
));
21980 if (SWIG_arg_fail(2)) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 (arg1
)->EnableMargins(arg2
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 Py_INCREF(Py_None
); resultobj
= Py_None
;
21996 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22000 PyObject
* obj0
= 0 ;
22001 PyObject
* obj1
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self",(char *) "flag", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22008 if (SWIG_arg_fail(1)) SWIG_fail
;
22010 arg2
= (bool)(SWIG_As_bool(obj1
));
22011 if (SWIG_arg_fail(2)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->EnableOrientation(arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22027 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self",(char *) "flag", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22039 if (SWIG_arg_fail(1)) SWIG_fail
;
22041 arg2
= (bool)(SWIG_As_bool(obj1
));
22042 if (SWIG_arg_fail(2)) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 (arg1
)->EnablePaper(arg2
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 Py_INCREF(Py_None
); resultobj
= Py_None
;
22058 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 char *kwnames
[] = {
22065 (char *) "self",(char *) "flag", NULL
22068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22070 if (SWIG_arg_fail(1)) SWIG_fail
;
22072 arg2
= (bool)(SWIG_As_bool(obj1
));
22073 if (SWIG_arg_fail(2)) SWIG_fail
;
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 (arg1
)->EnablePrinter(arg2
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 Py_INCREF(Py_None
); resultobj
= Py_None
;
22089 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
;
22091 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22093 PyObject
* obj0
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self", NULL
22098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22100 if (SWIG_arg_fail(1)) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 result
= (bool)(arg1
)->GetDefaultMinMargins();
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22117 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
;
22119 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22121 PyObject
* obj0
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22128 if (SWIG_arg_fail(1)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (bool)(arg1
)->GetEnableMargins();
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22145 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (bool)(arg1
)->GetEnableOrientation();
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22173 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22184 if (SWIG_arg_fail(1)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (bool)(arg1
)->GetEnablePaper();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22201 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22212 if (SWIG_arg_fail(1)) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (bool)(arg1
)->GetEnablePrinter();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22229 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (bool)(arg1
)->GetEnableHelp();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22257 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (bool)(arg1
)->GetDefaultInfo();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22285 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (arg1
)->GetMarginTopLeft();
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 wxPoint
* resultptr
;
22306 resultptr
= new wxPoint((wxPoint
&)(result
));
22307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22315 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22326 if (SWIG_arg_fail(1)) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= (arg1
)->GetMarginBottomRight();
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 wxPoint
* resultptr
;
22336 resultptr
= new wxPoint((wxPoint
&)(result
));
22337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22345 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22349 PyObject
* obj0
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22356 if (SWIG_arg_fail(1)) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 result
= (arg1
)->GetMinMarginTopLeft();
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22365 wxPoint
* resultptr
;
22366 resultptr
= new wxPoint((wxPoint
&)(result
));
22367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22375 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
;
22377 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22386 if (SWIG_arg_fail(1)) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (arg1
)->GetMinMarginBottomRight();
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22395 wxPoint
* resultptr
;
22396 resultptr
= new wxPoint((wxPoint
&)(result
));
22397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22405 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22408 wxPaperSize result
;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22416 if (SWIG_arg_fail(1)) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_From_int((result
));
22431 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22442 if (SWIG_arg_fail(1)) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (arg1
)->GetPaperSize();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22451 wxSize
* resultptr
;
22452 resultptr
= new wxSize((wxSize
&)(result
));
22453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22461 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22464 wxPrintData
*result
;
22465 PyObject
* obj0
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22472 if (SWIG_arg_fail(1)) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22477 result
= (wxPrintData
*) &_result_ref
;
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22490 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (bool)(arg1
)->Ok();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22518 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self",(char *) "flag", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22530 if (SWIG_arg_fail(1)) SWIG_fail
;
22532 arg2
= (bool)(SWIG_As_bool(obj1
));
22533 if (SWIG_arg_fail(2)) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 (arg1
)->SetDefaultInfo(arg2
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 Py_INCREF(Py_None
); resultobj
= Py_None
;
22549 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self",(char *) "flag", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22561 if (SWIG_arg_fail(1)) SWIG_fail
;
22563 arg2
= (bool)(SWIG_As_bool(obj1
));
22564 if (SWIG_arg_fail(2)) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 (arg1
)->SetDefaultMinMargins(arg2
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 Py_INCREF(Py_None
); resultobj
= Py_None
;
22580 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22583 wxPoint
*arg2
= 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "pt", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail
;
22596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 Py_INCREF(Py_None
); resultobj
= Py_None
;
22612 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22615 wxPoint
*arg2
= 0 ;
22617 PyObject
* obj0
= 0 ;
22618 PyObject
* obj1
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self",(char *) "pt", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22625 if (SWIG_arg_fail(1)) SWIG_fail
;
22628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 Py_INCREF(Py_None
); resultobj
= Py_None
;
22644 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22647 wxPoint
*arg2
= 0 ;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self",(char *) "pt", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22657 if (SWIG_arg_fail(1)) SWIG_fail
;
22660 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 Py_INCREF(Py_None
); resultobj
= Py_None
;
22676 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
;
22678 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22679 wxPoint
*arg2
= 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self",(char *) "pt", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22689 if (SWIG_arg_fail(1)) SWIG_fail
;
22692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 Py_INCREF(Py_None
); resultobj
= Py_None
;
22708 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self",(char *) "id", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail
;
22722 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22723 if (SWIG_arg_fail(2)) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 Py_INCREF(Py_None
); resultobj
= Py_None
;
22739 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22744 PyObject
* obj0
= 0 ;
22745 PyObject
* obj1
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self",(char *) "size", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22752 if (SWIG_arg_fail(1)) SWIG_fail
;
22755 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 Py_INCREF(Py_None
); resultobj
= Py_None
;
22771 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22774 wxPrintData
*arg2
= 0 ;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self",(char *) "printData", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22783 if (SWIG_arg_fail(1)) SWIG_fail
;
22785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22786 if (SWIG_arg_fail(2)) SWIG_fail
;
22787 if (arg2
== NULL
) {
22788 SWIG_null_ref("wxPrintData");
22790 if (SWIG_arg_fail(2)) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22816 if (SWIG_arg_fail(1)) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 (arg1
)->CalculateIdFromPaperSize();
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 Py_INCREF(Py_None
); resultobj
= Py_None
;
22831 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22841 if (SWIG_arg_fail(1)) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 (arg1
)->CalculatePaperSizeFromId();
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 Py_INCREF(Py_None
); resultobj
= Py_None
;
22856 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22859 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22861 return Py_BuildValue((char *)"");
22863 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxWindow
*arg1
= (wxWindow
*) 0 ;
22866 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22867 wxPageSetupDialog
*result
;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "parent",(char *) "data", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22876 if (SWIG_arg_fail(1)) SWIG_fail
;
22878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22879 if (SWIG_arg_fail(2)) SWIG_fail
;
22882 if (!wxPyCheckForApp()) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22896 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22899 wxPageSetupDialogData
*result
;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22912 result
= (wxPageSetupDialogData
*) &_result_ref
;
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22925 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22928 wxPageSetupDialogData
*result
;
22929 PyObject
* obj0
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22936 if (SWIG_arg_fail(1)) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22941 result
= (wxPageSetupDialogData
*) &_result_ref
;
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22954 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 result
= (int)(arg1
)->ShowModal();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= SWIG_From_int((int)(result
));
22982 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22985 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22987 return Py_BuildValue((char *)"");
22989 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22990 PyObject
*resultobj
;
22991 wxPrintDialogData
*result
;
22993 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23008 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23009 PyObject
*resultobj
;
23010 wxPrintData
*arg1
= 0 ;
23011 wxPrintDialogData
*result
;
23012 PyObject
* obj0
= 0 ;
23014 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23017 if (SWIG_arg_fail(1)) SWIG_fail
;
23018 if (arg1
== NULL
) {
23019 SWIG_null_ref("wxPrintData");
23021 if (SWIG_arg_fail(1)) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23037 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23038 PyObject
*resultobj
;
23039 wxPrintDialogData
*arg1
= 0 ;
23040 wxPrintDialogData
*result
;
23041 PyObject
* obj0
= 0 ;
23043 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail
;
23047 if (arg1
== NULL
) {
23048 SWIG_null_ref("wxPrintDialogData");
23050 if (SWIG_arg_fail(1)) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23066 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23071 argc
= PyObject_Length(args
);
23072 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23073 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23076 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23082 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23090 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23097 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23105 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23109 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23114 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23115 PyObject
*resultobj
;
23116 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23117 PyObject
* obj0
= 0 ;
23118 char *kwnames
[] = {
23119 (char *) "self", NULL
23122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23124 if (SWIG_arg_fail(1)) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 Py_INCREF(Py_None
); resultobj
= Py_None
;
23139 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23150 if (SWIG_arg_fail(1)) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_From_int((int)(result
));
23167 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
;
23169 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23171 PyObject
* obj0
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "self", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23178 if (SWIG_arg_fail(1)) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_From_int((int)(result
));
23195 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
;
23197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_From_int((int)(result
));
23223 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_From_int((int)(result
));
23251 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_From_int((int)(result
));
23279 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(1)) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23307 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23335 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23339 PyObject
* obj0
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23363 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23374 if (SWIG_arg_fail(1)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23391 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23419 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self",(char *) "flag", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23431 if (SWIG_arg_fail(1)) SWIG_fail
;
23433 arg2
= (bool)(SWIG_As_bool(obj1
));
23434 if (SWIG_arg_fail(2)) SWIG_fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 (arg1
)->SetSetupDialog(arg2
);
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 Py_INCREF(Py_None
); resultobj
= Py_None
;
23450 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self",(char *) "v", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23462 if (SWIG_arg_fail(1)) SWIG_fail
;
23464 arg2
= (int)(SWIG_As_int(obj1
));
23465 if (SWIG_arg_fail(2)) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 (arg1
)->SetFromPage(arg2
);
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 Py_INCREF(Py_None
); resultobj
= Py_None
;
23481 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self",(char *) "v", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23493 if (SWIG_arg_fail(1)) SWIG_fail
;
23495 arg2
= (int)(SWIG_As_int(obj1
));
23496 if (SWIG_arg_fail(2)) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 (arg1
)->SetToPage(arg2
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 Py_INCREF(Py_None
); resultobj
= Py_None
;
23512 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23516 PyObject
* obj0
= 0 ;
23517 PyObject
* obj1
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self",(char *) "v", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail
;
23526 arg2
= (int)(SWIG_As_int(obj1
));
23527 if (SWIG_arg_fail(2)) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 (arg1
)->SetMinPage(arg2
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 Py_INCREF(Py_None
); resultobj
= Py_None
;
23543 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char *kwnames
[] = {
23550 (char *) "self",(char *) "v", NULL
23553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23555 if (SWIG_arg_fail(1)) SWIG_fail
;
23557 arg2
= (int)(SWIG_As_int(obj1
));
23558 if (SWIG_arg_fail(2)) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 (arg1
)->SetMaxPage(arg2
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 Py_INCREF(Py_None
); resultobj
= Py_None
;
23574 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
;
23576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self",(char *) "v", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail
;
23588 arg2
= (int)(SWIG_As_int(obj1
));
23589 if (SWIG_arg_fail(2)) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 (arg1
)->SetNoCopies(arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 Py_INCREF(Py_None
); resultobj
= Py_None
;
23605 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23609 PyObject
* obj0
= 0 ;
23610 PyObject
* obj1
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "self",(char *) "flag", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23617 if (SWIG_arg_fail(1)) SWIG_fail
;
23619 arg2
= (bool)(SWIG_As_bool(obj1
));
23620 if (SWIG_arg_fail(2)) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 (arg1
)->SetAllPages(arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 Py_INCREF(Py_None
); resultobj
= Py_None
;
23636 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23638 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self",(char *) "flag", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23648 if (SWIG_arg_fail(1)) SWIG_fail
;
23650 arg2
= (bool)(SWIG_As_bool(obj1
));
23651 if (SWIG_arg_fail(2)) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 (arg1
)->SetSelection(arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 Py_INCREF(Py_None
); resultobj
= Py_None
;
23667 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23671 PyObject
* obj0
= 0 ;
23672 PyObject
* obj1
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self",(char *) "flag", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23679 if (SWIG_arg_fail(1)) SWIG_fail
;
23681 arg2
= (bool)(SWIG_As_bool(obj1
));
23682 if (SWIG_arg_fail(2)) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 (arg1
)->SetCollate(arg2
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 Py_INCREF(Py_None
); resultobj
= Py_None
;
23698 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
;
23700 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self",(char *) "flag", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23710 if (SWIG_arg_fail(1)) SWIG_fail
;
23712 arg2
= (bool)(SWIG_As_bool(obj1
));
23713 if (SWIG_arg_fail(2)) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 (arg1
)->SetPrintToFile(arg2
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 Py_INCREF(Py_None
); resultobj
= Py_None
;
23729 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 PyObject
* obj1
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self",(char *) "flag", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23741 if (SWIG_arg_fail(1)) SWIG_fail
;
23743 arg2
= (bool)(SWIG_As_bool(obj1
));
23744 if (SWIG_arg_fail(2)) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 (arg1
)->EnablePrintToFile(arg2
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 Py_INCREF(Py_None
); resultobj
= Py_None
;
23760 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "flag", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23772 if (SWIG_arg_fail(1)) SWIG_fail
;
23774 arg2
= (bool)(SWIG_As_bool(obj1
));
23775 if (SWIG_arg_fail(2)) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 (arg1
)->EnableSelection(arg2
);
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 Py_INCREF(Py_None
); resultobj
= Py_None
;
23791 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self",(char *) "flag", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23803 if (SWIG_arg_fail(1)) SWIG_fail
;
23805 arg2
= (bool)(SWIG_As_bool(obj1
));
23806 if (SWIG_arg_fail(2)) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 (arg1
)->EnablePageNumbers(arg2
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 Py_INCREF(Py_None
); resultobj
= Py_None
;
23822 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23826 PyObject
* obj0
= 0 ;
23827 PyObject
* obj1
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self",(char *) "flag", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23834 if (SWIG_arg_fail(1)) SWIG_fail
;
23836 arg2
= (bool)(SWIG_As_bool(obj1
));
23837 if (SWIG_arg_fail(2)) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 (arg1
)->EnableHelp(arg2
);
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 Py_INCREF(Py_None
); resultobj
= Py_None
;
23853 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
;
23855 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23857 PyObject
* obj0
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "self", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23864 if (SWIG_arg_fail(1)) SWIG_fail
;
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23869 wxPyEndAllowThreads(__tstate
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23881 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "self", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23892 if (SWIG_arg_fail(1)) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23909 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23920 if (SWIG_arg_fail(1)) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23937 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23948 if (SWIG_arg_fail(1)) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23965 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23976 if (SWIG_arg_fail(1)) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23993 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23996 wxPrintData
*result
;
23997 PyObject
* obj0
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24004 if (SWIG_arg_fail(1)) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24009 result
= (wxPrintData
*) &_result_ref
;
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24022 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24025 wxPrintData
*arg2
= 0 ;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self",(char *) "printData", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24034 if (SWIG_arg_fail(1)) SWIG_fail
;
24036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24037 if (SWIG_arg_fail(2)) SWIG_fail
;
24038 if (arg2
== NULL
) {
24039 SWIG_null_ref("wxPrintData");
24041 if (SWIG_arg_fail(2)) SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 Py_INCREF(Py_None
); resultobj
= Py_None
;
24057 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24060 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24062 return Py_BuildValue((char *)"");
24064 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxWindow
*arg1
= (wxWindow
*) 0 ;
24067 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24068 wxPrintDialog
*result
;
24069 PyObject
* obj0
= 0 ;
24070 PyObject
* obj1
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "parent",(char *) "data", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24077 if (SWIG_arg_fail(1)) SWIG_fail
;
24079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24080 if (SWIG_arg_fail(2)) SWIG_fail
;
24083 if (!wxPyCheckForApp()) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24097 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (int)(arg1
)->ShowModal();
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_From_int((int)(result
));
24125 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24128 wxPrintDialogData
*result
;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24141 result
= (wxPrintDialogData
*) &_result_ref
;
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24154 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24157 wxPrintData
*result
;
24158 PyObject
* obj0
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24165 if (SWIG_arg_fail(1)) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24170 result
= (wxPrintData
*) &_result_ref
;
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24183 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24194 if (SWIG_arg_fail(1)) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (wxDC
*)(arg1
)->GetPrintDC();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= wxPyMake_wxObject(result
, 1);
24211 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24214 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24216 return Py_BuildValue((char *)"");
24218 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24222 PyObject
* obj0
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "data", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24230 if (SWIG_arg_fail(1)) SWIG_fail
;
24233 if (!wxPyCheckForApp()) SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (wxPrinter
*)new wxPrinter(arg1
);
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24247 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24257 if (SWIG_arg_fail(1)) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 Py_INCREF(Py_None
); resultobj
= Py_None
;
24272 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24275 wxWindow
*arg2
= (wxWindow
*) 0 ;
24276 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 PyObject
* obj2
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "parent",(char *) "printout", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24287 if (SWIG_arg_fail(1)) SWIG_fail
;
24288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24289 if (SWIG_arg_fail(2)) SWIG_fail
;
24290 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24291 if (SWIG_arg_fail(3)) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= wxPyMake_wxObject(result
, 0);
24308 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24311 wxWindow
*arg2
= (wxWindow
*) 0 ;
24312 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24313 wxString
*arg4
= 0 ;
24314 bool temp4
= false ;
24315 PyObject
* obj0
= 0 ;
24316 PyObject
* obj1
= 0 ;
24317 PyObject
* obj2
= 0 ;
24318 PyObject
* obj3
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24325 if (SWIG_arg_fail(1)) SWIG_fail
;
24326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24327 if (SWIG_arg_fail(2)) SWIG_fail
;
24328 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24329 if (SWIG_arg_fail(3)) SWIG_fail
;
24331 arg4
= wxString_in_helper(obj3
);
24332 if (arg4
== NULL
) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24342 Py_INCREF(Py_None
); resultobj
= Py_None
;
24357 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24360 wxWindow
*arg2
= (wxWindow
*) 0 ;
24362 PyObject
* obj0
= 0 ;
24363 PyObject
* obj1
= 0 ;
24364 char *kwnames
[] = {
24365 (char *) "self",(char *) "parent", NULL
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24370 if (SWIG_arg_fail(1)) SWIG_fail
;
24371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24372 if (SWIG_arg_fail(2)) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= (bool)(arg1
)->Setup(arg2
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24389 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24392 wxWindow
*arg2
= (wxWindow
*) 0 ;
24393 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24394 bool arg4
= (bool) true ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 PyObject
* obj2
= 0 ;
24399 PyObject
* obj3
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail
;
24407 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24408 if (SWIG_arg_fail(2)) SWIG_fail
;
24409 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24410 if (SWIG_arg_fail(3)) SWIG_fail
;
24413 arg4
= (bool)(SWIG_As_bool(obj3
));
24414 if (SWIG_arg_fail(4)) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24433 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24436 wxWindow
*arg2
= (wxWindow
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "parent", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24446 if (SWIG_arg_fail(1)) SWIG_fail
;
24447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24448 if (SWIG_arg_fail(2)) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= wxPyMake_wxObject(result
, 0);
24465 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24467 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24468 wxPrintDialogData
*result
;
24469 PyObject
* obj0
= 0 ;
24470 char *kwnames
[] = {
24471 (char *) "self", NULL
24474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24476 if (SWIG_arg_fail(1)) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24481 result
= (wxPrintDialogData
*) &_result_ref
;
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24494 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
;
24496 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24498 PyObject
* obj0
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24505 if (SWIG_arg_fail(1)) SWIG_fail
;
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 result
= (bool)(arg1
)->GetAbort();
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24522 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 wxPrinterError result
;
24525 char *kwnames
[] = {
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (wxPrinterError
)wxPrinter::GetLastError();
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= SWIG_From_int((result
));
24544 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24547 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24549 return Py_BuildValue((char *)"");
24551 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24554 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24555 wxPyPrintout
*result
;
24556 bool temp1
= false ;
24557 PyObject
* obj0
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "title", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24565 arg1
= wxString_in_helper(obj0
);
24566 if (arg1
== NULL
) SWIG_fail
;
24571 if (!wxPyCheckForApp()) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= wxPyMake_wxObject(result
, 1);
24595 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
;
24597 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24598 PyObject
*arg2
= (PyObject
*) 0 ;
24599 PyObject
*arg3
= (PyObject
*) 0 ;
24600 PyObject
* obj0
= 0 ;
24601 PyObject
* obj1
= 0 ;
24602 PyObject
* obj2
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self",(char *) "self",(char *) "_class", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24609 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 Py_INCREF(Py_None
); resultobj
= Py_None
;
24626 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
;
24628 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail
;
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24658 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24662 PyObject
* obj0
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24669 if (SWIG_arg_fail(1)) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (wxDC
*)(arg1
)->GetDC();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= wxPyMake_wxObject(result
, 0);
24686 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24689 wxDC
*arg2
= (wxDC
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "dc", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24698 if (SWIG_arg_fail(1)) SWIG_fail
;
24699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24700 if (SWIG_arg_fail(2)) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->SetDC(arg2
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 Py_INCREF(Py_None
); resultobj
= Py_None
;
24715 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 PyObject
* obj2
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self",(char *) "w",(char *) "h", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24729 if (SWIG_arg_fail(1)) SWIG_fail
;
24731 arg2
= (int)(SWIG_As_int(obj1
));
24732 if (SWIG_arg_fail(2)) SWIG_fail
;
24735 arg3
= (int)(SWIG_As_int(obj2
));
24736 if (SWIG_arg_fail(3)) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24745 Py_INCREF(Py_None
); resultobj
= Py_None
;
24752 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
;
24754 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24755 int *arg2
= (int *) 0 ;
24756 int *arg3
= (int *) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self", NULL
24766 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24767 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24770 if (SWIG_arg_fail(1)) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 Py_INCREF(Py_None
); resultobj
= Py_None
;
24779 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24780 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24781 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24782 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24789 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 PyObject
* obj2
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self",(char *) "w",(char *) "h", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail
;
24805 arg2
= (int)(SWIG_As_int(obj1
));
24806 if (SWIG_arg_fail(2)) SWIG_fail
;
24809 arg3
= (int)(SWIG_As_int(obj2
));
24810 if (SWIG_arg_fail(3)) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 Py_INCREF(Py_None
); resultobj
= Py_None
;
24826 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24829 int *arg2
= (int *) 0 ;
24830 int *arg3
= (int *) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24841 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 Py_INCREF(Py_None
); resultobj
= Py_None
;
24853 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24854 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24855 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24856 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24863 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24865 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24868 PyObject
* obj0
= 0 ;
24869 PyObject
* obj1
= 0 ;
24870 PyObject
* obj2
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self",(char *) "x",(char *) "y", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24877 if (SWIG_arg_fail(1)) SWIG_fail
;
24879 arg2
= (int)(SWIG_As_int(obj1
));
24880 if (SWIG_arg_fail(2)) SWIG_fail
;
24883 arg3
= (int)(SWIG_As_int(obj2
));
24884 if (SWIG_arg_fail(3)) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 (arg1
)->SetPPIScreen(arg2
,arg3
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 Py_INCREF(Py_None
); resultobj
= Py_None
;
24900 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24902 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24903 int *arg2
= (int *) 0 ;
24904 int *arg3
= (int *) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self", NULL
24914 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24915 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(1)) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->GetPPIScreen(arg2
,arg3
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 Py_INCREF(Py_None
); resultobj
= Py_None
;
24927 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24928 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24929 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24930 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24937 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 PyObject
* obj2
= 0 ;
24945 char *kwnames
[] = {
24946 (char *) "self",(char *) "x",(char *) "y", NULL
24949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24951 if (SWIG_arg_fail(1)) SWIG_fail
;
24953 arg2
= (int)(SWIG_As_int(obj1
));
24954 if (SWIG_arg_fail(2)) SWIG_fail
;
24957 arg3
= (int)(SWIG_As_int(obj2
));
24958 if (SWIG_arg_fail(3)) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 Py_INCREF(Py_None
); resultobj
= Py_None
;
24974 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24977 int *arg2
= (int *) 0 ;
24978 int *arg3
= (int *) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self", NULL
24988 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24989 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25000 Py_INCREF(Py_None
); resultobj
= Py_None
;
25001 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25002 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25003 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25004 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25011 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25015 PyObject
* obj0
= 0 ;
25016 char *kwnames
[] = {
25017 (char *) "self", NULL
25020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25022 if (SWIG_arg_fail(1)) SWIG_fail
;
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (bool)(arg1
)->IsPreview();
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25039 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25043 PyObject
* obj0
= 0 ;
25044 PyObject
* obj1
= 0 ;
25045 char *kwnames
[] = {
25046 (char *) "self",(char *) "p", NULL
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25051 if (SWIG_arg_fail(1)) SWIG_fail
;
25053 arg2
= (bool)(SWIG_As_bool(obj1
));
25054 if (SWIG_arg_fail(2)) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 (arg1
)->SetIsPreview(arg2
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 PyObject
* obj2
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25085 if (SWIG_arg_fail(1)) SWIG_fail
;
25087 arg2
= (int)(SWIG_As_int(obj1
));
25088 if (SWIG_arg_fail(2)) SWIG_fail
;
25091 arg3
= (int)(SWIG_As_int(obj2
));
25092 if (SWIG_arg_fail(3)) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25110 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25113 PyObject
* obj0
= 0 ;
25114 char *kwnames
[] = {
25115 (char *) "self", NULL
25118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25120 if (SWIG_arg_fail(1)) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 (arg1
)->base_OnEndDocument();
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 Py_INCREF(Py_None
); resultobj
= Py_None
;
25135 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25138 PyObject
* obj0
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25145 if (SWIG_arg_fail(1)) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->base_OnBeginPrinting();
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 Py_INCREF(Py_None
); resultobj
= Py_None
;
25160 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 char *kwnames
[] = {
25165 (char *) "self", NULL
25168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25170 if (SWIG_arg_fail(1)) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->base_OnEndPrinting();
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25188 PyObject
* obj0
= 0 ;
25189 char *kwnames
[] = {
25190 (char *) "self", NULL
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25195 if (SWIG_arg_fail(1)) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 (arg1
)->base_OnPreparePrinting();
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 Py_INCREF(Py_None
); resultobj
= Py_None
;
25210 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self",(char *) "page", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 arg2
= (int)(SWIG_As_int(obj1
));
25226 if (SWIG_arg_fail(2)) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (bool)(arg1
)->base_HasPage(arg2
);
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25244 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25247 int *arg2
= (int *) 0 ;
25248 int *arg3
= (int *) 0 ;
25249 int *arg4
= (int *) 0 ;
25250 int *arg5
= (int *) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "self", NULL
25264 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25265 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25266 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25267 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25270 if (SWIG_arg_fail(1)) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 Py_INCREF(Py_None
); resultobj
= Py_None
;
25279 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25280 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25281 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25282 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25283 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25284 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25285 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25286 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25293 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25296 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25298 return Py_BuildValue((char *)"");
25300 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25303 wxWindow
*arg2
= (wxWindow
*) 0 ;
25304 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25305 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25306 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25307 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25308 long arg5
= (long) 0 ;
25309 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25310 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25311 wxPreviewCanvas
*result
;
25314 bool temp6
= false ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 PyObject
* obj2
= 0 ;
25318 PyObject
* obj3
= 0 ;
25319 PyObject
* obj4
= 0 ;
25320 PyObject
* obj5
= 0 ;
25321 char *kwnames
[] = {
25322 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25327 if (SWIG_arg_fail(1)) SWIG_fail
;
25328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25329 if (SWIG_arg_fail(2)) SWIG_fail
;
25333 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25339 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25344 arg5
= (long)(SWIG_As_long(obj4
));
25345 if (SWIG_arg_fail(5)) SWIG_fail
;
25350 arg6
= wxString_in_helper(obj5
);
25351 if (arg6
== NULL
) SWIG_fail
;
25356 if (!wxPyCheckForApp()) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25378 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25381 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25383 return Py_BuildValue((char *)"");
25385 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
;
25387 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25388 wxFrame
*arg2
= (wxFrame
*) 0 ;
25389 wxString
*arg3
= 0 ;
25390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25394 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25395 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25396 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25397 wxPreviewFrame
*result
;
25398 bool temp3
= false ;
25401 bool temp7
= 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 PyObject
* obj6
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail
;
25416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25417 if (SWIG_arg_fail(2)) SWIG_fail
;
25419 arg3
= wxString_in_helper(obj2
);
25420 if (arg3
== NULL
) SWIG_fail
;
25426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25437 arg6
= (long)(SWIG_As_long(obj5
));
25438 if (SWIG_arg_fail(6)) SWIG_fail
;
25443 arg7
= wxString_in_helper(obj6
);
25444 if (arg7
== NULL
) SWIG_fail
;
25449 if (!wxPyCheckForApp()) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25479 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
;
25481 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25489 if (SWIG_arg_fail(1)) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 (arg1
)->Initialize();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 Py_INCREF(Py_None
); resultobj
= Py_None
;
25504 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25514 if (SWIG_arg_fail(1)) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 (arg1
)->CreateControlBar();
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 Py_INCREF(Py_None
); resultobj
= Py_None
;
25529 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25532 PyObject
* obj0
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25539 if (SWIG_arg_fail(1)) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 (arg1
)->CreateCanvas();
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 Py_INCREF(Py_None
); resultobj
= Py_None
;
25554 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25557 wxPreviewControlBar
*result
;
25558 PyObject
* obj0
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "self", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25565 if (SWIG_arg_fail(1)) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25580 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25583 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25585 return Py_BuildValue((char *)"");
25587 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25591 wxWindow
*arg3
= (wxWindow
*) 0 ;
25592 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25593 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25594 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25595 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25596 long arg6
= (long) wxTAB_TRAVERSAL
;
25597 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25598 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25599 wxPreviewControlBar
*result
;
25602 bool temp7
= false ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 PyObject
* obj2
= 0 ;
25606 PyObject
* obj3
= 0 ;
25607 PyObject
* obj4
= 0 ;
25608 PyObject
* obj5
= 0 ;
25609 PyObject
* obj6
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail
;
25618 arg2
= (long)(SWIG_As_long(obj1
));
25619 if (SWIG_arg_fail(2)) SWIG_fail
;
25621 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25622 if (SWIG_arg_fail(3)) SWIG_fail
;
25626 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25632 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25637 arg6
= (long)(SWIG_As_long(obj5
));
25638 if (SWIG_arg_fail(6)) SWIG_fail
;
25643 arg7
= wxString_in_helper(obj6
);
25644 if (arg7
== NULL
) SWIG_fail
;
25649 if (!wxPyCheckForApp()) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25671 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25682 if (SWIG_arg_fail(1)) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (int)(arg1
)->GetZoomControl();
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_From_int((int)(result
));
25699 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25703 PyObject
* obj0
= 0 ;
25704 PyObject
* obj1
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self",(char *) "zoom", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25711 if (SWIG_arg_fail(1)) SWIG_fail
;
25713 arg2
= (int)(SWIG_As_int(obj1
));
25714 if (SWIG_arg_fail(2)) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 (arg1
)->SetZoomControl(arg2
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 Py_INCREF(Py_None
); resultobj
= Py_None
;
25730 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25733 wxPrintPreview
*result
;
25734 PyObject
* obj0
= 0 ;
25735 char *kwnames
[] = {
25736 (char *) "self", NULL
25739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25741 if (SWIG_arg_fail(1)) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25756 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
;
25758 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25759 PyObject
* obj0
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25766 if (SWIG_arg_fail(1)) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 Py_INCREF(Py_None
); resultobj
= Py_None
;
25781 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25784 PyObject
* obj0
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 (arg1
)->OnPrevious();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 Py_INCREF(Py_None
); resultobj
= Py_None
;
25806 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25816 if (SWIG_arg_fail(1)) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 Py_INCREF(Py_None
); resultobj
= Py_None
;
25831 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
;
25833 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25834 PyObject
* obj0
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self", NULL
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25841 if (SWIG_arg_fail(1)) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 Py_INCREF(Py_None
); resultobj
= Py_None
;
25856 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25866 if (SWIG_arg_fail(1)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25884 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25886 return Py_BuildValue((char *)"");
25888 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25889 PyObject
*resultobj
;
25890 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25891 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25892 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25893 wxPrintPreview
*result
;
25894 PyObject
* obj0
= 0 ;
25895 PyObject
* obj1
= 0 ;
25896 PyObject
* obj2
= 0 ;
25898 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25900 if (SWIG_arg_fail(1)) SWIG_fail
;
25901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25902 if (SWIG_arg_fail(2)) SWIG_fail
;
25904 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25905 if (SWIG_arg_fail(3)) SWIG_fail
;
25908 if (!wxPyCheckForApp()) SWIG_fail
;
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25910 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25922 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25923 PyObject
*resultobj
;
25924 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25925 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25926 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25927 wxPrintPreview
*result
;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 PyObject
* obj2
= 0 ;
25932 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25934 if (SWIG_arg_fail(1)) SWIG_fail
;
25935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25936 if (SWIG_arg_fail(2)) SWIG_fail
;
25937 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25938 if (SWIG_arg_fail(3)) SWIG_fail
;
25940 if (!wxPyCheckForApp()) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25954 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25959 argc
= PyObject_Length(args
);
25960 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25961 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25963 if ((argc
>= 2) && (argc
<= 3)) {
25967 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25977 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25986 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25990 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25998 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26007 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26017 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26027 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26035 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26041 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26046 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self",(char *) "pageNum", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail
;
26061 arg2
= (int)(SWIG_As_int(obj1
));
26062 if (SWIG_arg_fail(2)) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26080 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26084 PyObject
* obj0
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26091 if (SWIG_arg_fail(1)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (int)(arg1
)->GetCurrentPage();
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= SWIG_From_int((int)(result
));
26108 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26110 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26111 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self",(char *) "printout", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26120 if (SWIG_arg_fail(1)) SWIG_fail
;
26121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26122 if (SWIG_arg_fail(2)) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 (arg1
)->SetPrintout(arg2
);
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 Py_INCREF(Py_None
); resultobj
= Py_None
;
26137 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26140 wxPyPrintout
*result
;
26141 PyObject
* obj0
= 0 ;
26142 char *kwnames
[] = {
26143 (char *) "self", NULL
26146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26148 if (SWIG_arg_fail(1)) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= wxPyMake_wxObject(result
, 0);
26165 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
;
26167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26168 wxPyPrintout
*result
;
26169 PyObject
* obj0
= 0 ;
26170 char *kwnames
[] = {
26171 (char *) "self", NULL
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26176 if (SWIG_arg_fail(1)) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= wxPyMake_wxObject(result
, 0);
26193 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26196 wxFrame
*arg2
= (wxFrame
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self",(char *) "frame", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26205 if (SWIG_arg_fail(1)) SWIG_fail
;
26206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26207 if (SWIG_arg_fail(2)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->SetFrame(arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26225 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 char *kwnames
[] = {
26229 (char *) "self",(char *) "canvas", NULL
26232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26234 if (SWIG_arg_fail(1)) SWIG_fail
;
26235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26236 if (SWIG_arg_fail(2)) SWIG_fail
;
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 (arg1
)->SetCanvas(arg2
);
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 Py_INCREF(Py_None
); resultobj
= Py_None
;
26251 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26252 PyObject
*resultobj
;
26253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26255 PyObject
* obj0
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail
;
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 result
= (wxFrame
*)(arg1
)->GetFrame();
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= wxPyMake_wxObject(result
, 0);
26279 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26282 wxPreviewCanvas
*result
;
26283 PyObject
* obj0
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26290 if (SWIG_arg_fail(1)) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26305 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
;
26307 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26308 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 PyObject
* obj2
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail
;
26321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(2)) SWIG_fail
;
26324 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26325 if (SWIG_arg_fail(3)) SWIG_fail
;
26326 if (arg3
== NULL
) {
26327 SWIG_null_ref("wxDC");
26329 if (SWIG_arg_fail(3)) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26347 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26349 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26350 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26353 PyObject
* obj0
= 0 ;
26354 PyObject
* obj1
= 0 ;
26355 PyObject
* obj2
= 0 ;
26356 char *kwnames
[] = {
26357 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26362 if (SWIG_arg_fail(1)) SWIG_fail
;
26363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26364 if (SWIG_arg_fail(2)) SWIG_fail
;
26366 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26367 if (SWIG_arg_fail(3)) SWIG_fail
;
26368 if (arg3
== NULL
) {
26369 SWIG_null_ref("wxDC");
26371 if (SWIG_arg_fail(3)) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26389 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "pageNum", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26402 if (SWIG_arg_fail(1)) SWIG_fail
;
26404 arg2
= (int)(SWIG_As_int(obj1
));
26405 if (SWIG_arg_fail(2)) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= (bool)(arg1
)->RenderPage(arg2
);
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26423 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26426 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self",(char *) "canvas", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26435 if (SWIG_arg_fail(1)) SWIG_fail
;
26436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26437 if (SWIG_arg_fail(2)) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 (arg1
)->AdjustScrollbars(arg2
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 Py_INCREF(Py_None
); resultobj
= Py_None
;
26452 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26455 wxPrintDialogData
*result
;
26456 PyObject
* obj0
= 0 ;
26457 char *kwnames
[] = {
26458 (char *) "self", NULL
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26468 result
= (wxPrintDialogData
*) &_result_ref
;
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26481 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26485 PyObject
* obj0
= 0 ;
26486 PyObject
* obj1
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self",(char *) "percent", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26493 if (SWIG_arg_fail(1)) SWIG_fail
;
26495 arg2
= (int)(SWIG_As_int(obj1
));
26496 if (SWIG_arg_fail(2)) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 (arg1
)->SetZoom(arg2
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 Py_INCREF(Py_None
); resultobj
= Py_None
;
26512 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26513 PyObject
*resultobj
;
26514 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26516 PyObject
* obj0
= 0 ;
26517 char *kwnames
[] = {
26518 (char *) "self", NULL
26521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26523 if (SWIG_arg_fail(1)) SWIG_fail
;
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 result
= (int)(arg1
)->GetZoom();
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= SWIG_From_int((int)(result
));
26540 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 char *kwnames
[] = {
26546 (char *) "self", NULL
26549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26551 if (SWIG_arg_fail(1)) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (int)(arg1
)->GetMaxPage();
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= SWIG_From_int((int)(result
));
26568 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26579 if (SWIG_arg_fail(1)) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 result
= (int)(arg1
)->GetMinPage();
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_From_int((int)(result
));
26596 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26600 PyObject
* obj0
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26607 if (SWIG_arg_fail(1)) SWIG_fail
;
26609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26610 result
= (bool)(arg1
)->Ok();
26612 wxPyEndAllowThreads(__tstate
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26624 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
;
26626 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26628 PyObject
* obj0
= 0 ;
26629 PyObject
* obj1
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "self",(char *) "ok", NULL
26634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26636 if (SWIG_arg_fail(1)) SWIG_fail
;
26638 arg2
= (bool)(SWIG_As_bool(obj1
));
26639 if (SWIG_arg_fail(2)) SWIG_fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 (arg1
)->SetOk(arg2
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 Py_INCREF(Py_None
); resultobj
= Py_None
;
26655 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "interactive", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26668 if (SWIG_arg_fail(1)) SWIG_fail
;
26670 arg2
= (bool)(SWIG_As_bool(obj1
));
26671 if (SWIG_arg_fail(2)) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= (bool)(arg1
)->Print(arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26689 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26692 PyObject
* obj0
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26699 if (SWIG_arg_fail(1)) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 (arg1
)->DetermineScaling();
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 Py_INCREF(Py_None
); resultobj
= Py_None
;
26714 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26717 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26719 return Py_BuildValue((char *)"");
26721 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26722 PyObject
*resultobj
;
26723 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26724 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26725 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26726 wxPyPrintPreview
*result
;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 PyObject
* obj2
= 0 ;
26731 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26733 if (SWIG_arg_fail(1)) SWIG_fail
;
26734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26735 if (SWIG_arg_fail(2)) SWIG_fail
;
26737 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26738 if (SWIG_arg_fail(3)) SWIG_fail
;
26741 if (!wxPyCheckForApp()) SWIG_fail
;
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26755 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26756 PyObject
*resultobj
;
26757 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26758 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26759 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26760 wxPyPrintPreview
*result
;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26765 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26767 if (SWIG_arg_fail(1)) SWIG_fail
;
26768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26769 if (SWIG_arg_fail(2)) SWIG_fail
;
26770 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26771 if (SWIG_arg_fail(3)) SWIG_fail
;
26773 if (!wxPyCheckForApp()) SWIG_fail
;
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26787 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26792 argc
= PyObject_Length(args
);
26793 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26794 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26796 if ((argc
>= 2) && (argc
<= 3)) {
26800 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26810 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26819 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26823 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26831 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26840 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26850 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26860 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26868 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26874 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26879 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
;
26881 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26882 PyObject
*arg2
= (PyObject
*) 0 ;
26883 PyObject
*arg3
= (PyObject
*) 0 ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 PyObject
* obj2
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self",(char *) "self",(char *) "_class", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26893 if (SWIG_arg_fail(1)) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 Py_INCREF(Py_None
); resultobj
= Py_None
;
26910 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
;
26912 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "self",(char *) "pageNum", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail
;
26925 arg2
= (int)(SWIG_As_int(obj1
));
26926 if (SWIG_arg_fail(2)) SWIG_fail
;
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26930 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26944 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26947 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 PyObject
* obj2
= 0 ;
26953 char *kwnames
[] = {
26954 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26959 if (SWIG_arg_fail(1)) SWIG_fail
;
26960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26961 if (SWIG_arg_fail(2)) SWIG_fail
;
26963 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(3)) SWIG_fail
;
26965 if (arg3
== NULL
) {
26966 SWIG_null_ref("wxDC");
26968 if (SWIG_arg_fail(3)) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26986 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
;
26988 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26989 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 PyObject
* obj2
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27001 if (SWIG_arg_fail(1)) SWIG_fail
;
27002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27003 if (SWIG_arg_fail(2)) SWIG_fail
;
27005 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27006 if (SWIG_arg_fail(3)) SWIG_fail
;
27007 if (arg3
== NULL
) {
27008 SWIG_null_ref("wxDC");
27010 if (SWIG_arg_fail(3)) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27028 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 PyObject
* obj1
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "pageNum", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27041 if (SWIG_arg_fail(1)) SWIG_fail
;
27043 arg2
= (int)(SWIG_As_int(obj1
));
27044 if (SWIG_arg_fail(2)) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27062 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27066 PyObject
* obj0
= 0 ;
27067 PyObject
* obj1
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self",(char *) "percent", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27074 if (SWIG_arg_fail(1)) SWIG_fail
;
27076 arg2
= (int)(SWIG_As_int(obj1
));
27077 if (SWIG_arg_fail(2)) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 (arg1
)->base_SetZoom(arg2
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 Py_INCREF(Py_None
); resultobj
= Py_None
;
27093 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
;
27095 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27098 PyObject
* obj0
= 0 ;
27099 PyObject
* obj1
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self",(char *) "interactive", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27106 if (SWIG_arg_fail(1)) SWIG_fail
;
27108 arg2
= (bool)(SWIG_As_bool(obj1
));
27109 if (SWIG_arg_fail(2)) SWIG_fail
;
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 result
= (bool)(arg1
)->base_Print(arg2
);
27115 wxPyEndAllowThreads(__tstate
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27127 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27130 PyObject
* obj0
= 0 ;
27131 char *kwnames
[] = {
27132 (char *) "self", NULL
27135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27137 if (SWIG_arg_fail(1)) SWIG_fail
;
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 (arg1
)->base_DetermineScaling();
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 Py_INCREF(Py_None
); resultobj
= Py_None
;
27152 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27155 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27157 return Py_BuildValue((char *)"");
27159 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27162 wxFrame
*arg2
= (wxFrame
*) 0 ;
27163 wxString
*arg3
= 0 ;
27164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27168 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27169 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27171 wxPyPreviewFrame
*result
;
27172 bool temp3
= false ;
27175 bool temp7
= false ;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj1
= 0 ;
27178 PyObject
* obj2
= 0 ;
27179 PyObject
* obj3
= 0 ;
27180 PyObject
* obj4
= 0 ;
27181 PyObject
* obj5
= 0 ;
27182 PyObject
* obj6
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail
;
27190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27191 if (SWIG_arg_fail(2)) SWIG_fail
;
27193 arg3
= wxString_in_helper(obj2
);
27194 if (arg3
== NULL
) SWIG_fail
;
27200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27211 arg6
= (long)(SWIG_As_long(obj5
));
27212 if (SWIG_arg_fail(6)) SWIG_fail
;
27217 arg7
= wxString_in_helper(obj6
);
27218 if (arg7
== NULL
) SWIG_fail
;
27223 if (!wxPyCheckForApp()) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27253 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27256 PyObject
*arg2
= (PyObject
*) 0 ;
27257 PyObject
*arg3
= (PyObject
*) 0 ;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 PyObject
* obj2
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "self",(char *) "self",(char *) "_class", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27267 if (SWIG_arg_fail(1)) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 Py_INCREF(Py_None
); resultobj
= Py_None
;
27284 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27287 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27288 PyObject
* obj0
= 0 ;
27289 PyObject
* obj1
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "canvas", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27296 if (SWIG_arg_fail(1)) SWIG_fail
;
27297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27298 if (SWIG_arg_fail(2)) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 (arg1
)->SetPreviewCanvas(arg2
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 Py_INCREF(Py_None
); resultobj
= Py_None
;
27313 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27316 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27317 PyObject
* obj0
= 0 ;
27318 PyObject
* obj1
= 0 ;
27319 char *kwnames
[] = {
27320 (char *) "self",(char *) "bar", NULL
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27325 if (SWIG_arg_fail(1)) SWIG_fail
;
27326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27327 if (SWIG_arg_fail(2)) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 (arg1
)->SetControlBar(arg2
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 Py_INCREF(Py_None
); resultobj
= Py_None
;
27342 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
;
27344 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27345 PyObject
* obj0
= 0 ;
27346 char *kwnames
[] = {
27347 (char *) "self", NULL
27350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27352 if (SWIG_arg_fail(1)) SWIG_fail
;
27354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27355 (arg1
)->base_Initialize();
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 Py_INCREF(Py_None
); resultobj
= Py_None
;
27367 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27370 PyObject
* obj0
= 0 ;
27371 char *kwnames
[] = {
27372 (char *) "self", NULL
27375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27377 if (SWIG_arg_fail(1)) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 (arg1
)->base_CreateCanvas();
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 Py_INCREF(Py_None
); resultobj
= Py_None
;
27392 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
;
27394 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27395 PyObject
* obj0
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27402 if (SWIG_arg_fail(1)) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 (arg1
)->base_CreateControlBar();
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 Py_INCREF(Py_None
); resultobj
= Py_None
;
27417 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27420 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27422 return Py_BuildValue((char *)"");
27424 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27428 wxWindow
*arg3
= (wxWindow
*) 0 ;
27429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27433 long arg6
= (long) 0 ;
27434 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27435 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27436 wxPyPreviewControlBar
*result
;
27439 bool temp7
= false ;
27440 PyObject
* obj0
= 0 ;
27441 PyObject
* obj1
= 0 ;
27442 PyObject
* obj2
= 0 ;
27443 PyObject
* obj3
= 0 ;
27444 PyObject
* obj4
= 0 ;
27445 PyObject
* obj5
= 0 ;
27446 PyObject
* obj6
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27453 if (SWIG_arg_fail(1)) SWIG_fail
;
27455 arg2
= (long)(SWIG_As_long(obj1
));
27456 if (SWIG_arg_fail(2)) SWIG_fail
;
27458 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27459 if (SWIG_arg_fail(3)) SWIG_fail
;
27463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27474 arg6
= (long)(SWIG_As_long(obj5
));
27475 if (SWIG_arg_fail(6)) SWIG_fail
;
27480 arg7
= wxString_in_helper(obj6
);
27481 if (arg7
== NULL
) SWIG_fail
;
27486 if (!wxPyCheckForApp()) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27508 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27511 PyObject
*arg2
= (PyObject
*) 0 ;
27512 PyObject
*arg3
= (PyObject
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 PyObject
* obj1
= 0 ;
27515 PyObject
* obj2
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self",(char *) "self",(char *) "_class", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27522 if (SWIG_arg_fail(1)) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 Py_INCREF(Py_None
); resultobj
= Py_None
;
27539 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27542 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27543 PyObject
* obj0
= 0 ;
27544 PyObject
* obj1
= 0 ;
27545 char *kwnames
[] = {
27546 (char *) "self",(char *) "preview", NULL
27549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27551 if (SWIG_arg_fail(1)) SWIG_fail
;
27552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27553 if (SWIG_arg_fail(2)) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->SetPrintPreview(arg2
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27578 if (SWIG_arg_fail(1)) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->base_CreateButtons();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 Py_INCREF(Py_None
); resultobj
= Py_None
;
27593 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "zoom", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27605 if (SWIG_arg_fail(1)) SWIG_fail
;
27607 arg2
= (int)(SWIG_As_int(obj1
));
27608 if (SWIG_arg_fail(2)) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 (arg1
)->base_SetZoomControl(arg2
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 Py_INCREF(Py_None
); resultobj
= Py_None
;
27624 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27627 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27629 return Py_BuildValue((char *)"");
27631 static PyMethodDef SwigMethods
[] = {
27632 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27640 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27655 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27656 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27665 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27683 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27707 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27720 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27724 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27728 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27733 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27750 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27780 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27787 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27810 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27818 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27830 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27836 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27845 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27851 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27854 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27857 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27861 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27881 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27907 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27915 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27924 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27926 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27935 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27938 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27945 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27963 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27967 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27972 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27976 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27978 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27994 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27997 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27999 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28003 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28012 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28021 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28027 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28039 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28046 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28050 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28076 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28102 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28128 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28129 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28176 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28177 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28210 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28215 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28216 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28249 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28255 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28266 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28289 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28291 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28297 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28307 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28308 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28331 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28332 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28341 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28349 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28355 { NULL
, NULL
, 0, NULL
}
28359 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28361 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28362 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28364 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28365 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28367 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28368 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28370 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28371 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28373 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28374 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28376 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28377 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28379 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28380 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28382 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28383 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28385 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28386 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28388 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28391 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28392 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28394 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28395 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28397 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28400 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28401 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28403 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28404 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28406 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28407 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28409 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28410 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28412 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28413 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28415 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28416 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28418 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28419 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28421 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28422 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28424 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28425 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28427 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28430 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28431 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28433 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28434 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28436 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28437 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28439 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28440 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28442 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28443 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28445 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28446 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28448 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28449 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28451 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28452 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28454 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28455 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28457 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28460 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28463 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28464 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28466 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28467 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28469 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28470 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28472 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28473 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28475 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28476 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28478 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28479 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28481 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28482 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28484 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28485 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28487 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28488 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28490 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28491 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28493 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28494 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28496 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28499 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28502 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28505 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28506 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28508 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28509 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28511 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28512 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28514 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28515 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28517 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28520 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28523 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28526 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28529 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28532 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28535 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28538 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28541 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28542 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28544 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28545 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28547 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28550 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28553 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28556 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28557 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28559 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28560 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28562 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28563 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28565 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28566 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28568 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28569 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28571 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28572 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28574 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28577 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28578 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28580 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28581 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28583 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28586 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28587 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28589 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28592 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28595 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28598 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28599 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28601 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28604 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28605 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28607 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28610 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28613 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28616 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28619 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28622 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28623 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28625 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28628 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28631 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28634 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28637 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28640 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28643 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28644 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28646 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28647 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28649 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28650 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28652 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28653 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28655 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28656 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28658 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28659 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28661 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28662 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28664 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28665 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28667 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28668 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28670 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28671 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28673 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28674 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28676 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28679 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28682 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28683 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28685 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28686 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28688 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28689 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28691 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28692 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28694 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28695 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28697 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28698 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28700 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28701 return (void *)((wxObject
*) ((wxSizer
*) x
));
28703 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28704 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28706 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28709 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28712 static void *_p_wxEventTo_p_wxObject(void *x
) {
28713 return (void *)((wxObject
*) ((wxEvent
*) x
));
28715 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28716 return (void *)((wxObject
*) ((wxFontData
*) x
));
28718 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28719 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28721 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28722 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28724 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28725 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28727 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28728 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28730 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28731 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28733 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28734 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28736 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28739 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28740 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28742 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28743 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28745 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28746 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28748 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28749 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28751 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28752 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28754 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28755 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28757 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28760 static void *_p_wxControlTo_p_wxObject(void *x
) {
28761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28763 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28764 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28766 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28769 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28770 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28772 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28773 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28775 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28776 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28778 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28781 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28782 return (void *)((wxObject
*) ((wxColourData
*) x
));
28784 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28785 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28787 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28790 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28793 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28796 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28799 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28802 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28805 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28808 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28811 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28814 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28817 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28820 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28821 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28823 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28824 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28826 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28827 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28829 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28832 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28833 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28835 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28838 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28839 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28841 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28842 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28844 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28845 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28847 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28848 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28850 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28851 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28853 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28854 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28856 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28857 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28859 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28860 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28862 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28865 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28866 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28868 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28869 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28871 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28874 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28875 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28877 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28878 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28880 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28881 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28883 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28886 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28887 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28889 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28890 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28892 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28893 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28895 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28896 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28898 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28901 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28904 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28905 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28907 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28908 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28910 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28913 static void *_p_wxImageTo_p_wxObject(void *x
) {
28914 return (void *)((wxObject
*) ((wxImage
*) x
));
28916 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28919 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28920 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28922 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28923 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28925 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28926 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28928 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28931 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28934 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28937 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28938 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28940 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28941 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28943 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28944 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28946 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28947 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28949 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28952 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28955 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28958 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28961 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28964 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28967 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28970 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28973 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28976 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28979 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28982 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28985 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28988 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28989 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28991 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28992 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28994 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28995 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28997 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
29000 static void *_p_wxDialogTo_p_wxObject(void *x
) {
29001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
29003 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
29004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29006 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29009 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29012 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29013 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29015 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29016 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29018 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29019 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29021 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29024 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29025 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29027 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29028 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29030 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29033 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29036 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29039 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29042 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29045 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29048 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29051 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29054 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29057 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29060 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29063 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29064 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29066 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29067 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29069 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29072 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29073 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29075 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29076 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29078 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29079 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29081 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29082 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29084 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29085 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29087 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29088 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29090 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29091 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29093 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29094 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29096 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29097 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29099 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29100 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29102 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29103 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29105 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29106 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29108 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
29109 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
29111 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29112 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29114 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29115 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29117 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29118 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29120 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29121 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29123 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29124 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29126 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29127 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29129 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29130 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29132 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29133 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29135 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29136 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29138 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29139 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29141 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29142 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29144 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29145 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29147 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29148 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29150 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29151 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29153 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29154 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29156 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29157 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29159 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29160 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29162 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29163 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29165 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29166 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29168 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29169 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29171 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29174 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29175 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29177 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29178 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29180 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29181 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29183 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29184 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29186 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29187 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29189 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29190 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29192 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29193 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29195 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29196 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29198 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29199 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29201 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29202 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29204 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29205 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29207 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29208 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29210 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29211 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29213 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29214 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29216 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29217 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29219 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29220 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29222 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29223 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29225 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29226 return (void *)((wxWindow
*) ((wxControl
*) x
));
29228 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29229 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29231 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29232 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29234 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29235 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29237 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29238 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29240 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29241 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29243 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29244 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29246 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29247 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29249 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29250 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29252 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29253 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29255 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29256 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29258 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29259 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29261 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29264 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29267 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29270 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29271 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29273 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29274 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29276 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29277 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29279 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29280 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29282 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29283 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29285 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29286 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29288 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29289 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29291 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29292 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29294 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29295 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29297 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29298 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29300 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29301 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29303 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29304 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29306 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29307 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29309 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29310 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29312 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29313 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29315 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29316 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29318 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29319 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29321 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29322 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29324 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29325 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29327 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29328 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29330 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29331 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29333 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29334 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29336 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29337 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29339 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29340 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29342 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29343 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29345 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29346 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29348 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29349 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29351 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29352 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29354 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29355 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29357 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29358 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29360 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29361 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29363 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29364 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29366 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29367 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29369 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29370 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29372 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29373 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29375 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29376 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29378 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29379 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 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}};
29469 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}};
29470 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}};
29471 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}};
29472 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}};
29473 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}};
29474 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}};
29475 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}};
29476 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}};
29477 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}};
29479 static swig_type_info
*swig_types_initial
[] = {
29480 _swigt__p_wxQueryLayoutInfoEvent
,
29481 _swigt__p_wxPreviewFrame
,
29482 _swigt__p_wxPyPreviewFrame
,
29483 _swigt__p_wxPyPanel
,
29485 _swigt__p_wxFontData
,
29487 _swigt__p_wxPrintData
,
29488 _swigt__p_wxTaskBarIcon
,
29489 _swigt__p_wxPyTaskBarIcon
,
29490 _swigt__p_wxIconBundle
,
29491 _swigt__p_wxLayoutAlgorithm
,
29492 _swigt__p_wxFindDialogEvent
,
29493 _swigt__p_wxPreviewCanvas
,
29495 _swigt__p_wxSplitterEvent
,
29496 _swigt__p_wxRegion
,
29498 _swigt__std__ptrdiff_t
,
29499 _swigt__p_wxFindReplaceData
,
29504 _swigt__p_wxVisualAttributes
,
29505 _swigt__p_wxMDIChildFrame
,
29506 _swigt__p_wxColourData
,
29507 _swigt__p_wxNotifyEvent
,
29508 _swigt__p_wxPyWindow
,
29509 _swigt__p_form_ops_t
,
29510 _swigt__p_wxSplashScreen
,
29511 _swigt__p_wxPasswordEntryDialog
,
29512 _swigt__p_wxSingleChoiceDialog
,
29513 _swigt__p_wxMultiChoiceDialog
,
29514 _swigt__p_wxFileDialog
,
29515 _swigt__p_wxTextEntryDialog
,
29516 _swigt__p_wxMessageDialog
,
29517 _swigt__p_wxProgressDialog
,
29518 _swigt__p_wxFindReplaceDialog
,
29519 _swigt__p_wxPrinter
,
29520 _swigt__p_wxArrayInt
,
29521 _swigt__p_wxDuplexMode
,
29522 _swigt__p_wxEvtHandler
,
29523 _swigt__p_wxCalculateLayoutEvent
,
29524 _swigt__p_wxPyHtmlListBox
,
29525 _swigt__p_wxPyVListBox
,
29527 _swigt__p_wxStdDialogButtonSizer
,
29529 _swigt__p_wxMiniFrame
,
29531 _swigt__p_wxPyPrintout
,
29532 _swigt__p_wxTaskBarIconEvent
,
29533 _swigt__p_wxScrollWinEvent
,
29534 _swigt__p_wxPaperSize
,
29535 _swigt__p_wxStatusBar
,
29536 _swigt__p_wxMDIParentFrame
,
29538 _swigt__p_wxObject
,
29539 _swigt__p_unsigned_long
,
29540 _swigt__p_wxTipWindow
,
29541 _swigt__p_wxPyPopupTransientWindow
,
29542 _swigt__p_wxSashLayoutWindow
,
29543 _swigt__p_wxSplitterWindow
,
29544 _swigt__p_wxSplashScreenWindow
,
29545 _swigt__p_wxPyVScrolledWindow
,
29546 _swigt__p_wxPopupWindow
,
29547 _swigt__p_wxSashWindow
,
29548 _swigt__p_wxTopLevelWindow
,
29549 _swigt__p_wxWindow
,
29550 _swigt__p_wxScrolledWindow
,
29551 _swigt__p_wxMenuBar
,
29552 _swigt__p_wxMDIClientWindow
,
29553 _swigt__p_wxPyScrolledWindow
,
29554 _swigt__p_wxPrintPreview
,
29555 _swigt__p_wxSashEvent
,
29556 _swigt__p_wxString
,
29557 _swigt__p_wxPyPrintPreview
,
29558 _swigt__p_wxDirDialog
,
29559 _swigt__p_wxColourDialog
,
29560 _swigt__p_wxDialog
,
29562 _swigt__p_wxFontDialog
,
29563 _swigt__p_wxPageSetupDialog
,
29564 _swigt__p_wxPrintDialog
,
29565 _swigt__p_wxFileSystem
,
29566 _swigt__p_wxBitmap
,
29567 _swigt__unsigned_int
,
29568 _swigt__p_unsigned_int
,
29569 _swigt__p_unsigned_char
,
29570 _swigt__p_wxCommandEvent
,
29571 _swigt__p_wxPreviewControlBar
,
29572 _swigt__p_wxPyPreviewControlBar
,
29573 _swigt__p_wxColour
,
29574 _swigt__p_wxToolBar
,
29575 _swigt__p_wxPageSetupDialogData
,
29576 _swigt__p_wxPrintDialogData
,
29581 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29583 static swig_const_info swig_const_table
[] = {
29584 {0, 0, 0, 0.0, 0, 0}};
29595 /* Python-specific SWIG API */
29596 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29597 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29598 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29600 /* -----------------------------------------------------------------------------
29601 * global variable support code.
29602 * ----------------------------------------------------------------------------- */
29604 typedef struct swig_globalvar
{
29605 char *name
; /* Name of global variable */
29606 PyObject
*(*get_attr
)(); /* Return the current value */
29607 int (*set_attr
)(PyObject
*); /* Set the value */
29608 struct swig_globalvar
*next
;
29611 typedef struct swig_varlinkobject
{
29613 swig_globalvar
*vars
;
29614 } swig_varlinkobject
;
29617 swig_varlink_repr(swig_varlinkobject
*v
) {
29619 return PyString_FromString("<Swig global variables>");
29623 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29624 swig_globalvar
*var
;
29626 fprintf(fp
,"Swig global variables { ");
29627 for (var
= v
->vars
; var
; var
=var
->next
) {
29628 fprintf(fp
,"%s", var
->name
);
29629 if (var
->next
) fprintf(fp
,", ");
29631 fprintf(fp
," }\n");
29636 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29637 swig_globalvar
*var
= v
->vars
;
29639 if (strcmp(var
->name
,n
) == 0) {
29640 return (*var
->get_attr
)();
29644 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29649 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29650 swig_globalvar
*var
= v
->vars
;
29652 if (strcmp(var
->name
,n
) == 0) {
29653 return (*var
->set_attr
)(p
);
29657 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29661 static PyTypeObject varlinktype
= {
29662 PyObject_HEAD_INIT(0)
29663 0, /* Number of items in variable part (ob_size) */
29664 (char *)"swigvarlink", /* Type name (tp_name) */
29665 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29666 0, /* Itemsize (tp_itemsize) */
29667 0, /* Deallocator (tp_dealloc) */
29668 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29669 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29670 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29671 0, /* tp_compare */
29672 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29673 0, /* tp_as_number */
29674 0, /* tp_as_sequence */
29675 0, /* tp_as_mapping */
29679 0, /* tp_getattro */
29680 0, /* tp_setattro */
29681 0, /* tp_as_buffer */
29684 #if PY_VERSION_HEX >= 0x02000000
29685 0, /* tp_traverse */
29688 #if PY_VERSION_HEX >= 0x02010000
29689 0, /* tp_richcompare */
29690 0, /* tp_weaklistoffset */
29692 #if PY_VERSION_HEX >= 0x02020000
29693 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29695 #if PY_VERSION_HEX >= 0x02030000
29698 #ifdef COUNT_ALLOCS
29699 0,0,0,0 /* tp_alloc -> tp_next */
29703 /* Create a variable linking object for use later */
29705 SWIG_Python_newvarlink(void) {
29706 swig_varlinkobject
*result
= 0;
29707 result
= PyMem_NEW(swig_varlinkobject
,1);
29708 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29709 result
->ob_type
= &varlinktype
;
29711 result
->ob_refcnt
= 0;
29712 Py_XINCREF((PyObject
*) result
);
29713 return ((PyObject
*) result
);
29717 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29718 swig_varlinkobject
*v
;
29719 swig_globalvar
*gv
;
29720 v
= (swig_varlinkobject
*) p
;
29721 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29722 gv
->name
= (char *) malloc(strlen(name
)+1);
29723 strcpy(gv
->name
,name
);
29724 gv
->get_attr
= get_attr
;
29725 gv
->set_attr
= set_attr
;
29726 gv
->next
= v
->vars
;
29730 /* -----------------------------------------------------------------------------
29731 * constants/methods manipulation
29732 * ----------------------------------------------------------------------------- */
29734 /* Install Constants */
29736 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29739 for (i
= 0; constants
[i
].type
; i
++) {
29740 switch(constants
[i
].type
) {
29742 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29744 case SWIG_PY_FLOAT
:
29745 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29747 case SWIG_PY_STRING
:
29748 if (constants
[i
].pvalue
) {
29749 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29751 Py_INCREF(Py_None
);
29755 case SWIG_PY_POINTER
:
29756 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29758 case SWIG_PY_BINARY
:
29759 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29766 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29772 /* -----------------------------------------------------------------------------*/
29773 /* Fix SwigMethods to carry the callback ptrs when needed */
29774 /* -----------------------------------------------------------------------------*/
29777 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29778 swig_const_info
*const_table
,
29779 swig_type_info
**types
,
29780 swig_type_info
**types_initial
) {
29782 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29783 char *c
= methods
[i
].ml_doc
;
29784 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29786 swig_const_info
*ci
= 0;
29787 char *name
= c
+ 10;
29788 for (j
= 0; const_table
[j
].type
; j
++) {
29789 if (strncmp(const_table
[j
].name
, name
,
29790 strlen(const_table
[j
].name
)) == 0) {
29791 ci
= &(const_table
[j
]);
29796 size_t shift
= (ci
->ptype
) - types
;
29797 swig_type_info
*ty
= types_initial
[shift
];
29798 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29799 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29800 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29802 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29803 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29805 strncpy(buff
, "swig_ptr: ", 10);
29807 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29808 methods
[i
].ml_doc
= ndoc
;
29814 /* -----------------------------------------------------------------------------*
29815 * Initialize type list
29816 * -----------------------------------------------------------------------------*/
29818 #if PY_MAJOR_VERSION < 2
29819 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29820 is copied out of Python/modsupport.c in python version 2.3.4 */
29822 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29825 if (!PyModule_Check(m
)) {
29826 PyErr_SetString(PyExc_TypeError
,
29827 "PyModule_AddObject() needs module as first arg");
29831 PyErr_SetString(PyExc_TypeError
,
29832 "PyModule_AddObject() needs non-NULL value");
29836 dict
= PyModule_GetDict(m
);
29837 if (dict
== NULL
) {
29838 /* Internal error -- modules must have a dict! */
29839 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29840 PyModule_GetName(m
));
29843 if (PyDict_SetItemString(dict
, name
, o
))
29850 static swig_type_info
**
29851 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29852 static PyMethodDef swig_empty_runtime_method_table
[] = {
29854 NULL
, NULL
, 0, NULL
29858 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29859 swig_empty_runtime_method_table
);
29860 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29861 if (pointer
&& module) {
29862 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29864 return type_list_handle
;
29867 static swig_type_info
**
29868 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29869 swig_type_info
**type_pointer
;
29871 /* first check if module already created */
29872 type_pointer
= SWIG_Python_GetTypeListHandle();
29873 if (type_pointer
) {
29874 return type_pointer
;
29876 /* create a new module and variable */
29877 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29885 /* -----------------------------------------------------------------------------*
29886 * Partial Init method
29887 * -----------------------------------------------------------------------------*/
29889 #ifdef SWIG_LINK_RUNTIME
29893 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29899 SWIGEXPORT(void) SWIG_init(void) {
29900 static PyObject
*SWIG_globals
= 0;
29901 static int typeinit
= 0;
29904 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29906 /* Fix SwigMethods to carry the callback ptrs when needed */
29907 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29909 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29910 d
= PyModule_GetDict(m
);
29913 #ifdef SWIG_LINK_RUNTIME
29914 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29916 # ifndef SWIG_STATIC_RUNTIME
29917 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29920 for (i
= 0; swig_types_initial
[i
]; i
++) {
29921 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29925 SWIG_InstallConstants(d
,swig_const_table
);
29927 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29928 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29929 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29930 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29931 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29933 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29936 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29939 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29942 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29945 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29948 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29951 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29954 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29957 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29960 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29963 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29966 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29969 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29972 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29975 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29978 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29981 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29984 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29987 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29990 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29993 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29996 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29999 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
30002 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
30005 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
30008 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
30011 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
30014 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
30017 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
30020 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
30023 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
30026 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
30029 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
30032 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
30035 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
30038 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
30041 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
30044 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
30047 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
30050 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
30053 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
30056 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
30059 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30062 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30065 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30067 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30069 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30072 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30075 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30078 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30081 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30084 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30087 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30090 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30093 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30096 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30099 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30102 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30105 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30108 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30110 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30111 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30112 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30113 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30114 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30115 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30117 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30120 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30123 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30126 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30129 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30132 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30135 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30138 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30141 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30144 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30147 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30150 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30153 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30156 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30159 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30161 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30163 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30166 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30169 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30172 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30175 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30178 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30181 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30184 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30187 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30190 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30193 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30195 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30196 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30197 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30199 // Map renamed classes back to their common name for OOR
30200 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30201 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30202 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30204 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30205 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30206 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30207 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30208 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30209 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30210 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30211 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30212 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30213 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30214 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30215 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30216 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30218 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30221 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30223 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30225 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30228 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30231 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30234 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30237 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30240 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30243 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30245 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30246 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30247 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30248 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30249 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30251 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30254 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30257 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30260 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30263 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30266 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30269 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30272 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30275 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30277 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30278 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30280 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30283 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30286 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30289 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30292 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30295 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30298 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30301 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30304 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30307 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30310 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30313 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30316 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30319 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30322 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30325 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30328 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30331 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30334 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30337 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30340 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30343 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30346 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30349 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30352 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30355 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30358 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30361 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30364 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30367 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30370 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30373 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30376 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30379 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30382 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30385 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30388 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30391 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30394 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30397 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");