1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxFontData swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxPrintData swig_types[7]
1349 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1352 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357 #define SWIGTYPE_p_wxRegion swig_types[16]
1358 #define SWIGTYPE_ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367 #define SWIGTYPE_p_wxColourData swig_types[26]
1368 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1370 #define SWIGTYPE_p_form_ops_t swig_types[29]
1371 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1376 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380 #define SWIGTYPE_p_wxPrinter swig_types[39]
1381 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1382 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387 #define SWIGTYPE_p_wxRect swig_types[46]
1388 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389 #define SWIGTYPE_p_char swig_types[48]
1390 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391 #define SWIGTYPE_p_wxFrame swig_types[50]
1392 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1396 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1397 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398 #define SWIGTYPE_p_wxPoint swig_types[57]
1399 #define SWIGTYPE_p_wxObject swig_types[58]
1400 #define SWIGTYPE_p_unsigned_long swig_types[59]
1401 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1402 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1404 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1405 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1407 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1409 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410 #define SWIGTYPE_p_wxWindow swig_types[69]
1411 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1413 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1420 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1421 #define SWIGTYPE_p_wxDialog swig_types[80]
1422 #define SWIGTYPE_p_wxPanel swig_types[81]
1423 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1427 #define SWIGTYPE_p_wxBitmap swig_types[86]
1428 #define SWIGTYPE_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_int swig_types[88]
1430 #define SWIGTYPE_p_unsigned_char swig_types[89]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxToolBar swig_types[94]
1436 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438 static swig_type_info
*swig_types
[98];
1440 /* -------- TYPES TABLE (END) -------- */
1443 /*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_windows_
1448 #define SWIG_name "_windows_"
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyEmptyString(wxEmptyString
);
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1463 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1466 if (value
< min_value
) {
1468 PyErr_Format(PyExc_OverflowError
,
1469 "value %ld is less than '%s' minimum %ld",
1470 value
, errmsg
, min_value
);
1473 } else if (value
> max_value
) {
1475 PyErr_Format(PyExc_OverflowError
,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value
, errmsg
, max_value
);
1486 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1488 if (PyNumber_Check(obj
)) {
1489 if (val
) *val
= PyInt_AsLong(obj
);
1493 SWIG_type_error("number", obj
);
1499 #if INT_MAX != LONG_MAX
1501 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1503 const char* errmsg
= val
? "int" : (char*)0;
1505 if (SWIG_AsVal_long(obj
, &v
)) {
1506 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1507 if (val
) *val
= (int)(v
);
1516 SWIG_type_error(errmsg
, obj
);
1522 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1524 return SWIG_AsVal_long(obj
,(long*)val
);
1530 SWIG_As_int(PyObject
* obj
)
1533 if (!SWIG_AsVal_int(obj
, &v
)) {
1535 this is needed to make valgrind/purify happier.
1537 memset((void*)&v
, 0, sizeof(int));
1543 SWIGINTERNSHORT
long
1544 SWIG_As_long(PyObject
* obj
)
1547 if (!SWIG_AsVal_long(obj
, &v
)) {
1549 this is needed to make valgrind/purify happier.
1551 memset((void*)&v
, 0, sizeof(long));
1558 SWIG_Check_int(PyObject
* obj
)
1560 return SWIG_AsVal_int(obj
, (int*)0);
1565 SWIG_Check_long(PyObject
* obj
)
1567 return SWIG_AsVal_long(obj
, (long*)0);
1572 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1574 if (obj
== Py_True
) {
1575 if (val
) *val
= true;
1578 if (obj
== Py_False
) {
1579 if (val
) *val
= false;
1583 if (SWIG_AsVal_int(obj
, &res
)) {
1584 if (val
) *val
= res
? true : false;
1590 SWIG_type_error("bool", obj
);
1596 SWIGINTERNSHORT
bool
1597 SWIG_As_bool(PyObject
* obj
)
1600 if (!SWIG_AsVal_bool(obj
, &v
)) {
1602 this is needed to make valgrind/purify happier.
1604 memset((void*)&v
, 0, sizeof(bool));
1611 SWIG_Check_bool(PyObject
* obj
)
1613 return SWIG_AsVal_bool(obj
, (bool*)0);
1617 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1618 #define SWIG_From_int PyInt_FromLong
1622 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1628 } else if (target
== Py_None
) {
1632 if (!PyTuple_Check(target
)) {
1634 target
= PyTuple_New(1);
1635 PyTuple_SetItem(target
, 0, o2
);
1637 o3
= PyTuple_New(1);
1638 PyTuple_SetItem(o3
, 0, o
);
1641 target
= PySequence_Concat(o2
, o3
);
1651 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1653 if (PyNumber_Check(obj
)) {
1654 if (val
) *val
= PyFloat_AsDouble(obj
);
1658 SWIG_type_error("number", obj
);
1664 SWIGINTERNSHORT
double
1665 SWIG_As_double(PyObject
* obj
)
1668 if (!SWIG_AsVal_double(obj
, &v
)) {
1670 this is needed to make valgrind/purify happier.
1672 memset((void*)&v
, 0, sizeof(double));
1679 SWIG_Check_double(PyObject
* obj
)
1681 return SWIG_AsVal_double(obj
, (double*)0);
1685 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1686 #define SWIG_From_double PyFloat_FromDouble
1689 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1690 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1691 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1692 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1693 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1694 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1696 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1697 #define SWIG_From_long PyInt_FromLong
1702 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1704 self
->GetFieldRect(i
, r
);
1707 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1708 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1709 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1711 #include <wx/popupwin.h>
1714 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1717 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1718 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1719 : wxPopupTransientWindow(parent
, style
) {}
1721 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1722 DEC_PYCALLBACK__(OnDismiss
);
1723 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1728 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1729 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1730 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1733 #include <wx/tipwin.h>
1735 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1736 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1739 #include <wx/tipwin.h>
1742 #include <wx/vscroll.h>
1745 class wxPyVScrolledWindow
: public wxVScrolledWindow
1747 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1749 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1751 wxPyVScrolledWindow(wxWindow
*parent
,
1752 wxWindowID id
= wxID_ANY
,
1753 const wxPoint
& pos
= wxDefaultPosition
,
1754 const wxSize
& size
= wxDefaultSize
,
1756 const wxString
& name
= wxPyPanelNameStr
)
1757 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1760 // Overridable virtuals
1762 // this function must be overridden in the derived class and it should
1763 // return the height of the given line in pixels
1764 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1767 // this function doesn't have to be overridden but it may be useful to do
1768 // it if calculating the lines heights is a relatively expensive operation
1769 // as it gives the user code a possibility to calculate several of them at
1772 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1773 // shouldn't rely on the latter being called for all lines in the interval
1774 // specified here. It is also possible that OnGetLineHeight() will be
1775 // called for the lines outside of this interval, so this is really just a
1776 // hint, not a promise.
1778 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1780 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1783 // when the number of lines changes, we try to estimate the total height
1784 // of all lines which is a rather expensive operation in terms of lines
1785 // access, so if the user code may estimate the average height
1786 // better/faster than we do, it should override this function to implement
1789 // this function should return the best guess for the total height it may
1791 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1794 // Also expose some other interesting protected methods
1797 // find the index of the line we need to show at the top of the window such
1798 // that the last (fully or partially) visible line is the given one
1799 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1800 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1802 // get the total height of the lines between lineMin (inclusive) and
1803 // lineMax (exclusive)
1804 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1805 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1811 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1813 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1814 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1815 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1819 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1822 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1823 SWIG_type_error("unsigned number", obj
);
1826 *val
= (unsigned long)v
;
1831 SWIGINTERNSHORT
unsigned long
1832 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1835 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1837 this is needed to make valgrind/purify happier.
1839 memset((void*)&v
, 0, sizeof(unsigned long));
1846 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1848 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1852 SWIGINTERNSHORT PyObject
*
1853 SWIG_From_unsigned_SS_long(unsigned long value
)
1855 return (value
> LONG_MAX
) ?
1856 PyLong_FromUnsignedLong(value
)
1857 : PyInt_FromLong((long)(value
));
1861 #include <wx/vlbox.h>
1863 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1865 class wxPyVListBox
: public wxVListBox
1867 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1869 wxPyVListBox() : wxVListBox() {}
1871 wxPyVListBox(wxWindow
*parent
,
1872 wxWindowID id
= wxID_ANY
,
1873 const wxPoint
& pos
= wxDefaultPosition
,
1874 const wxSize
& size
= wxDefaultSize
,
1876 const wxString
& name
= wxPyVListBoxNameStr
)
1877 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1880 // Overridable virtuals
1882 // the derived class must implement this function to actually draw the item
1883 // with the given index on the provided DC
1884 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1885 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1888 // the derived class must implement this method to return the height of the
1890 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1894 // this method may be used to draw separators between the lines; note that
1895 // the rectangle may be modified, typically to deflate it a bit before
1896 // passing to OnDrawItem()
1898 // the base class version doesn't do anything
1899 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1900 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1903 // this method is used to draw the items background and, maybe, a border
1906 // the base class version implements a reasonable default behaviour which
1907 // consists in drawing the selected item with the standard background
1908 // colour and drawing a border around the item if it is either selected or
1910 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1911 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1917 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1919 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1920 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1921 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1922 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1925 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1926 unsigned long cookie
= 0;
1927 int selected
= self
->GetFirstSelected(cookie
);
1928 bool blocked
= wxPyBeginBlockThreads();
1929 PyObject
* tup
= PyTuple_New(2);
1930 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1931 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1932 wxPyEndBlockThreads(blocked
);
1935 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1936 int selected
= self
->GetNextSelected(cookie
);
1937 bool blocked
= wxPyBeginBlockThreads();
1938 PyObject
* tup
= PyTuple_New(2);
1939 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1940 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1941 wxPyEndBlockThreads(blocked
);
1945 #include <wx/htmllbox.h>
1948 class wxPyHtmlListBox
: public wxHtmlListBox
1950 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1952 wxPyHtmlListBox() : wxHtmlListBox() {}
1954 wxPyHtmlListBox(wxWindow
*parent
,
1955 wxWindowID id
= wxID_ANY
,
1956 const wxPoint
& pos
= wxDefaultPosition
,
1957 const wxSize
& size
= wxDefaultSize
,
1959 const wxString
& name
= wxPyVListBoxNameStr
)
1960 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1963 // Overridable virtuals
1965 // this method must be implemented in the derived class and should return
1966 // the body (i.e. without <html>) of the HTML for the given item
1967 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1969 // this function may be overridden to decorate HTML returned by OnGetItem()
1970 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1973 // // this method allows to customize the selection appearance: it may be used
1974 // // to specify the colour of the text which normally has the given colour
1975 // // colFg when it is inside the selection
1977 // // by default, the original colour is not used at all and all text has the
1978 // // same (default for this system) colour inside selection
1979 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1981 // // this is the same as GetSelectedTextColour() but allows to customize the
1982 // // background colour -- this is even more rarely used as you can change it
1983 // // globally using SetSelectionBackground()
1984 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1991 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1993 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1994 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2000 #ifndef wxHAS_TASK_BAR_ICON
2001 // implement dummy classes for platforms that don't have it
2003 class wxTaskBarIcon
: public wxEvtHandler
2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2010 class wxTaskBarIconEvent
: public wxEvent
2013 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2014 { wxPyRaiseNotImplemented(); }
2015 virtual wxEvent
* Clone() const { return NULL
; }
2016 bool IsOk() const { return false; }
2017 bool IsIconInstalled() const { return false; }
2018 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2019 bool RemoveIcon() { return false; }
2020 bool PopupMenu(wxMenu
*menu
) { return false; }
2024 wxEVT_TASKBAR_MOVE
= 0,
2025 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2026 wxEVT_TASKBAR_LEFT_UP
= 0,
2027 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2028 wxEVT_TASKBAR_RIGHT_UP
= 0,
2029 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2030 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2035 // Otherwise make a class that can virtualize CreatePopupMenu
2036 class wxPyTaskBarIcon
: public wxTaskBarIcon
2038 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2040 wxPyTaskBarIcon() : wxTaskBarIcon()
2043 wxMenu
* CreatePopupMenu() {
2044 wxMenu
*rval
= NULL
;
2046 bool blocked
= wxPyBeginBlockThreads();
2047 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2050 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2052 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2057 wxPyEndBlockThreads(blocked
);
2059 rval
= wxTaskBarIcon::CreatePopupMenu();
2066 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2070 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2074 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2075 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2076 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2077 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2078 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2079 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2080 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2082 self
->GetFilenames(arr
);
2083 return wxArrayString2PyList_helper(arr
);
2085 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2087 self
->GetPaths(arr
);
2088 return wxArrayString2PyList_helper(arr
);
2090 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2091 return wxArrayInt2PyList_helper(self
->GetSelections());
2093 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
){
2094 return new wxSingleChoiceDialog(parent
, message
, caption
,
2095 choices
, choices_array
, NULL
, style
, pos
);
2097 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2101 // C++ version of Python aware wxWindow
2102 class wxPyWindow
: public wxWindow
2104 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2106 wxPyWindow() : wxWindow() {}
2107 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2108 const wxPoint
& pos
= wxDefaultPosition
,
2109 const wxSize
& size
= wxDefaultSize
,
2111 const wxString
& name
= wxPyPanelNameStr
)
2112 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2114 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2116 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2117 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2125 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2126 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2128 DEC_PYCALLBACK__(InitDialog
);
2129 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2130 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2131 DEC_PYCALLBACK_BOOL_(Validate
);
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2135 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2137 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2141 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2144 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2149 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2151 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2152 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2153 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2154 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2160 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2161 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2163 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2164 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2165 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2166 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2169 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2170 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2175 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2176 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2177 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2179 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2181 // C++ version of Python aware wxPanel
2182 class wxPyPanel
: public wxPanel
2184 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2186 wxPyPanel() : wxPanel() {}
2187 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2188 const wxPoint
& pos
= wxDefaultPosition
,
2189 const wxSize
& size
= wxDefaultSize
,
2191 const wxString
& name
= wxPyPanelNameStr
)
2192 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2194 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2197 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2198 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2199 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2200 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2203 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2204 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2206 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2207 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2209 DEC_PYCALLBACK__(InitDialog
);
2210 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2211 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2212 DEC_PYCALLBACK_BOOL_(Validate
);
2214 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2215 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2216 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2218 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2219 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2221 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2222 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2223 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2225 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2230 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2232 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2233 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2234 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2235 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2237 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2238 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2239 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2241 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2242 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2244 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2245 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2246 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2247 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2250 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2251 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2253 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2254 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2256 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2257 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2258 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2260 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2262 // C++ version of Python aware wxScrolledWindow
2263 class wxPyScrolledWindow
: public wxScrolledWindow
2265 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2267 wxPyScrolledWindow() : wxScrolledWindow() {}
2268 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2269 const wxPoint
& pos
= wxDefaultPosition
,
2270 const wxSize
& size
= wxDefaultSize
,
2272 const wxString
& name
= wxPyPanelNameStr
)
2273 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2275 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2278 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2289 DEC_PYCALLBACK__(InitDialog
);
2290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2292 DEC_PYCALLBACK_BOOL_(Validate
);
2294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2296 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2302 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2310 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2312 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2313 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2314 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2315 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2317 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2321 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2322 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2324 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2325 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2326 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2327 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2330 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2331 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2333 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2336 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2337 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2338 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2340 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2343 #include "wx/wxPython/printfw.h"
2346 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2347 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2348 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2350 bool blocked
= wxPyBeginBlockThreads();
2351 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2352 self
->GetPrivDataLen());
2353 wxPyEndBlockThreads(blocked
);
2356 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2357 if (! PyString_Check(data
)) {
2358 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2359 "Expected string object"));
2363 bool blocked
= wxPyBeginBlockThreads();
2364 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2365 wxPyEndBlockThreads(blocked
);
2369 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2371 // Since this one would be tough and ugly to do with the Macros...
2372 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2373 bool hadErr
= false;
2376 bool blocked
= wxPyBeginBlockThreads();
2377 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2378 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2379 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2382 val
= PyTuple_GetItem(result
, 0);
2383 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2386 val
= PyTuple_GetItem(result
, 1);
2387 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2390 val
= PyTuple_GetItem(result
, 2);
2391 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2394 val
= PyTuple_GetItem(result
, 3);
2395 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2402 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2407 wxPyEndBlockThreads(blocked
);
2409 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2412 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2413 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2417 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2418 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2419 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2420 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2421 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2422 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2423 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2429 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2430 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2431 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2434 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2435 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2438 bool blocked = wxPyBeginBlockThreads(); \
2439 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2440 PyObject* win = wxPyMake_wxObject(a,false); \
2441 PyObject* dc = wxPyMake_wxObject(&b,false); \
2442 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2446 wxPyEndBlockThreads(blocked); \
2448 rval = PCLASS::CBNAME(a, b); \
2451 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2452 return PCLASS::CBNAME(a, b); \
2458 class wxPyPrintPreview
: public wxPrintPreview
2460 DECLARE_CLASS(wxPyPrintPreview
)
2462 wxPyPrintPreview(wxPyPrintout
* printout
,
2463 wxPyPrintout
* printoutForPrinting
,
2464 wxPrintDialogData
* data
=NULL
)
2465 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2467 wxPyPrintPreview(wxPyPrintout
* printout
,
2468 wxPyPrintout
* printoutForPrinting
,
2469 wxPrintData
* data
=NULL
)
2470 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2473 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2474 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2475 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2476 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2477 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2478 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2479 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2484 // Stupid renamed classes... Fix this in 2.5...
2485 #if defined(__WXMSW__)
2486 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2487 #elif defined(__WXMAC__)
2488 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2490 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2493 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2494 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2495 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2496 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2497 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2498 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2499 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2502 class wxPyPreviewFrame
: public wxPreviewFrame
2504 DECLARE_CLASS(wxPyPreviewFrame
);
2506 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2507 const wxString
& title
,
2508 const wxPoint
& pos
= wxDefaultPosition
,
2509 const wxSize
& size
= wxDefaultSize
,
2510 long style
= wxDEFAULT_FRAME_STYLE
,
2511 const wxString
& name
= wxPyFrameNameStr
)
2512 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2515 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2516 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2518 DEC_PYCALLBACK_VOID_(Initialize
);
2519 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2520 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2525 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2527 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2528 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2529 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2532 class wxPyPreviewControlBar
: public wxPreviewControlBar
2534 DECLARE_CLASS(wxPyPreviewControlBar
);
2536 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2539 const wxPoint
& pos
= wxDefaultPosition
,
2540 const wxSize
& size
= wxDefaultSize
,
2542 const wxString
& name
= wxPyPanelNameStr
)
2543 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2546 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2548 DEC_PYCALLBACK_VOID_(CreateButtons
);
2549 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2554 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2555 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2556 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2561 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxWindow
*arg1
= (wxWindow
*) 0 ;
2564 int arg2
= (int) (int)-1 ;
2565 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2566 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2567 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2568 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2569 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2570 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2571 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2575 bool temp6
= false ;
2576 PyObject
* obj0
= 0 ;
2577 PyObject
* obj1
= 0 ;
2578 PyObject
* obj2
= 0 ;
2579 PyObject
* obj3
= 0 ;
2580 PyObject
* obj4
= 0 ;
2581 PyObject
* obj5
= 0 ;
2583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2588 if (SWIG_arg_fail(1)) SWIG_fail
;
2591 arg2
= (int const)(SWIG_As_int(obj1
));
2592 if (SWIG_arg_fail(2)) SWIG_fail
;
2598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2604 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2609 arg5
= (long)(SWIG_As_long(obj4
));
2610 if (SWIG_arg_fail(5)) SWIG_fail
;
2615 arg6
= wxString_in_helper(obj5
);
2616 if (arg6
== NULL
) SWIG_fail
;
2621 if (!wxPyCheckForApp()) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2643 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2652 if (!wxPyCheckForApp()) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (wxPanel
*)new wxPanel();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2666 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxPanel
*arg1
= (wxPanel
*) 0 ;
2669 wxWindow
*arg2
= (wxWindow
*) 0 ;
2670 int arg3
= (int) (int)-1 ;
2671 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2672 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2673 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2674 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2675 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2676 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2677 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2681 bool temp7
= false ;
2682 PyObject
* obj0
= 0 ;
2683 PyObject
* obj1
= 0 ;
2684 PyObject
* obj2
= 0 ;
2685 PyObject
* obj3
= 0 ;
2686 PyObject
* obj4
= 0 ;
2687 PyObject
* obj5
= 0 ;
2688 PyObject
* obj6
= 0 ;
2690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2695 if (SWIG_arg_fail(1)) SWIG_fail
;
2696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2697 if (SWIG_arg_fail(2)) SWIG_fail
;
2700 arg3
= (int const)(SWIG_As_int(obj2
));
2701 if (SWIG_arg_fail(3)) SWIG_fail
;
2707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2718 arg6
= (long)(SWIG_As_long(obj5
));
2719 if (SWIG_arg_fail(6)) SWIG_fail
;
2724 arg7
= wxString_in_helper(obj6
);
2725 if (arg7
== NULL
) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2753 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxPanel
*arg1
= (wxPanel
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "self", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2763 if (SWIG_arg_fail(1)) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 (arg1
)->InitDialog();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 Py_INCREF(Py_None
); resultobj
= Py_None
;
2778 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
*resultobj
;
2780 wxPanel
*arg1
= (wxPanel
*) 0 ;
2781 PyObject
* obj0
= 0 ;
2783 (char *) "self", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2788 if (SWIG_arg_fail(1)) SWIG_fail
;
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2796 Py_INCREF(Py_None
); resultobj
= Py_None
;
2803 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
*resultobj
;
2805 wxPanel
*arg1
= (wxPanel
*) 0 ;
2806 PyObject
* obj0
= 0 ;
2808 (char *) "self", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2813 if (SWIG_arg_fail(1)) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 (arg1
)->SetFocusIgnoringChildren();
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2828 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2831 wxVisualAttributes result
;
2832 PyObject
* obj0
= 0 ;
2834 (char *) "variant", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2840 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2841 if (SWIG_arg_fail(1)) SWIG_fail
;
2845 if (!wxPyCheckForApp()) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2853 wxVisualAttributes
* resultptr
;
2854 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2863 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2866 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2868 return Py_BuildValue((char *)"");
2870 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxWindow
*arg1
= (wxWindow
*) 0 ;
2873 int arg2
= (int) (int)-1 ;
2874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2878 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2879 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2881 wxScrolledWindow
*result
;
2884 bool temp6
= false ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2887 PyObject
* obj2
= 0 ;
2888 PyObject
* obj3
= 0 ;
2889 PyObject
* obj4
= 0 ;
2890 PyObject
* obj5
= 0 ;
2892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2897 if (SWIG_arg_fail(1)) SWIG_fail
;
2900 arg2
= (int const)(SWIG_As_int(obj1
));
2901 if (SWIG_arg_fail(2)) SWIG_fail
;
2907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2913 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2918 arg5
= (long)(SWIG_As_long(obj4
));
2919 if (SWIG_arg_fail(5)) SWIG_fail
;
2924 arg6
= wxString_in_helper(obj5
);
2925 if (arg6
== NULL
) SWIG_fail
;
2930 if (!wxPyCheckForApp()) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2952 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxScrolledWindow
*result
;
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2961 if (!wxPyCheckForApp()) SWIG_fail
;
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2975 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2978 wxWindow
*arg2
= (wxWindow
*) 0 ;
2979 int arg3
= (int) (int)-1 ;
2980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2984 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2985 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2990 bool temp7
= false ;
2991 PyObject
* obj0
= 0 ;
2992 PyObject
* obj1
= 0 ;
2993 PyObject
* obj2
= 0 ;
2994 PyObject
* obj3
= 0 ;
2995 PyObject
* obj4
= 0 ;
2996 PyObject
* obj5
= 0 ;
2997 PyObject
* obj6
= 0 ;
2999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3004 if (SWIG_arg_fail(1)) SWIG_fail
;
3005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3006 if (SWIG_arg_fail(2)) SWIG_fail
;
3009 arg3
= (int const)(SWIG_As_int(obj2
));
3010 if (SWIG_arg_fail(3)) SWIG_fail
;
3016 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3022 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3027 arg6
= (long)(SWIG_As_long(obj5
));
3028 if (SWIG_arg_fail(6)) SWIG_fail
;
3033 arg7
= wxString_in_helper(obj6
);
3034 if (arg7
== NULL
) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3062 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3069 int arg6
= (int) 0 ;
3070 int arg7
= (int) 0 ;
3071 bool arg8
= (bool) false ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3074 PyObject
* obj2
= 0 ;
3075 PyObject
* obj3
= 0 ;
3076 PyObject
* obj4
= 0 ;
3077 PyObject
* obj5
= 0 ;
3078 PyObject
* obj6
= 0 ;
3079 PyObject
* obj7
= 0 ;
3081 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail
;
3088 arg2
= (int)(SWIG_As_int(obj1
));
3089 if (SWIG_arg_fail(2)) SWIG_fail
;
3092 arg3
= (int)(SWIG_As_int(obj2
));
3093 if (SWIG_arg_fail(3)) SWIG_fail
;
3096 arg4
= (int)(SWIG_As_int(obj3
));
3097 if (SWIG_arg_fail(4)) SWIG_fail
;
3100 arg5
= (int)(SWIG_As_int(obj4
));
3101 if (SWIG_arg_fail(5)) SWIG_fail
;
3105 arg6
= (int)(SWIG_As_int(obj5
));
3106 if (SWIG_arg_fail(6)) SWIG_fail
;
3111 arg7
= (int)(SWIG_As_int(obj6
));
3112 if (SWIG_arg_fail(7)) SWIG_fail
;
3117 arg8
= (bool)(SWIG_As_bool(obj7
));
3118 if (SWIG_arg_fail(8)) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 Py_INCREF(Py_None
); resultobj
= Py_None
;
3135 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3141 PyObject
* obj1
= 0 ;
3142 PyObject
* obj2
= 0 ;
3144 (char *) "self",(char *) "x",(char *) "y", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3149 if (SWIG_arg_fail(1)) SWIG_fail
;
3151 arg2
= (int)(SWIG_As_int(obj1
));
3152 if (SWIG_arg_fail(2)) SWIG_fail
;
3155 arg3
= (int)(SWIG_As_int(obj2
));
3156 if (SWIG_arg_fail(3)) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 (arg1
)->Scroll(arg2
,arg3
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3180 (char *) "self",(char *) "orient", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3185 if (SWIG_arg_fail(1)) SWIG_fail
;
3187 arg2
= (int)(SWIG_As_int(obj1
));
3188 if (SWIG_arg_fail(2)) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 resultobj
= SWIG_From_int((int)(result
));
3206 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3211 PyObject
* obj0
= 0 ;
3212 PyObject
* obj1
= 0 ;
3213 PyObject
* obj2
= 0 ;
3215 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3220 if (SWIG_arg_fail(1)) SWIG_fail
;
3222 arg2
= (int)(SWIG_As_int(obj1
));
3223 if (SWIG_arg_fail(2)) SWIG_fail
;
3226 arg3
= (int)(SWIG_As_int(obj2
));
3227 if (SWIG_arg_fail(3)) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3236 Py_INCREF(Py_None
); resultobj
= Py_None
;
3243 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3250 PyObject
* obj2
= 0 ;
3252 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3257 if (SWIG_arg_fail(1)) SWIG_fail
;
3259 arg2
= (int)(SWIG_As_int(obj1
));
3260 if (SWIG_arg_fail(2)) SWIG_fail
;
3263 arg3
= (int)(SWIG_As_int(obj2
));
3264 if (SWIG_arg_fail(3)) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 (arg1
)->SetScrollRate(arg2
,arg3
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 Py_INCREF(Py_None
); resultobj
= Py_None
;
3280 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3283 int *arg2
= (int *) 0 ;
3284 int *arg3
= (int *) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3295 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3298 if (SWIG_arg_fail(1)) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3308 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3309 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3310 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3317 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3326 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail
;
3333 arg2
= (bool)(SWIG_As_bool(obj1
));
3334 if (SWIG_arg_fail(2)) SWIG_fail
;
3337 arg3
= (bool)(SWIG_As_bool(obj2
));
3338 if (SWIG_arg_fail(3)) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 (arg1
)->EnableScrolling(arg2
,arg3
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 Py_INCREF(Py_None
); resultobj
= Py_None
;
3354 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3357 int *arg2
= (int *) 0 ;
3358 int *arg3
= (int *) 0 ;
3363 PyObject
* obj0
= 0 ;
3365 (char *) "self", NULL
3368 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3369 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 Py_INCREF(Py_None
); resultobj
= Py_None
;
3381 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3382 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3383 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3384 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3391 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3396 PyObject
* obj0
= 0 ;
3397 PyObject
* obj1
= 0 ;
3398 PyObject
* obj2
= 0 ;
3400 (char *) "self",(char *) "xs",(char *) "ys", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3407 arg2
= (double)(SWIG_As_double(obj1
));
3408 if (SWIG_arg_fail(2)) SWIG_fail
;
3411 arg3
= (double)(SWIG_As_double(obj2
));
3412 if (SWIG_arg_fail(3)) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetScale(arg2
,arg3
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3434 (char *) "self", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3439 if (SWIG_arg_fail(1)) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= SWIG_From_double((double)(result
));
3456 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3467 if (SWIG_arg_fail(1)) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_From_double((double)(result
));
3484 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3485 PyObject
*resultobj
;
3486 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3495 if (SWIG_arg_fail(1)) SWIG_fail
;
3498 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 wxPoint
* resultptr
;
3509 resultptr
= new wxPoint((wxPoint
&)(result
));
3510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3518 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3519 PyObject
*resultobj
;
3520 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3523 int *arg4
= (int *) 0 ;
3524 int *arg5
= (int *) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3531 PyObject
* obj2
= 0 ;
3533 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3534 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3535 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3537 if (SWIG_arg_fail(1)) SWIG_fail
;
3539 arg2
= (int)(SWIG_As_int(obj1
));
3540 if (SWIG_arg_fail(2)) SWIG_fail
;
3543 arg3
= (int)(SWIG_As_int(obj2
));
3544 if (SWIG_arg_fail(3)) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3555 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3556 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3557 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3564 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3569 argc
= PyObject_Length(args
);
3570 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3571 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3577 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3586 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3589 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3597 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3605 _v
= SWIG_Check_int(argv
[1]);
3607 _v
= SWIG_Check_int(argv
[2]);
3609 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3615 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3620 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3621 PyObject
*resultobj
;
3622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3629 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3631 if (SWIG_arg_fail(1)) SWIG_fail
;
3634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 wxPoint
* resultptr
;
3645 resultptr
= new wxPoint((wxPoint
&)(result
));
3646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3654 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3655 PyObject
*resultobj
;
3656 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3659 int *arg4
= (int *) 0 ;
3660 int *arg5
= (int *) 0 ;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3667 PyObject
* obj2
= 0 ;
3669 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3670 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3671 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3673 if (SWIG_arg_fail(1)) SWIG_fail
;
3675 arg2
= (int)(SWIG_As_int(obj1
));
3676 if (SWIG_arg_fail(2)) SWIG_fail
;
3679 arg3
= (int)(SWIG_As_int(obj2
));
3680 if (SWIG_arg_fail(3)) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3689 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3691 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3692 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3693 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3700 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3705 argc
= PyObject_Length(args
);
3706 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3707 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3713 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3722 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3725 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3733 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3741 _v
= SWIG_Check_int(argv
[1]);
3743 _v
= SWIG_Check_int(argv
[2]);
3745 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3751 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3756 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3761 (char *) "self", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3766 if (SWIG_arg_fail(1)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 (arg1
)->AdjustScrollbars();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 Py_INCREF(Py_None
); resultobj
= Py_None
;
3781 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3783 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3784 wxScrollWinEvent
*arg2
= 0 ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3789 (char *) "self",(char *) "event", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3794 if (SWIG_arg_fail(1)) SWIG_fail
;
3796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(2)) SWIG_fail
;
3799 SWIG_null_ref("wxScrollWinEvent");
3801 if (SWIG_arg_fail(2)) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3811 resultobj
= SWIG_From_int((int)(result
));
3819 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3822 wxWindow
*arg2
= (wxWindow
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3824 PyObject
* obj1
= 0 ;
3826 (char *) "self",(char *) "target", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3831 if (SWIG_arg_fail(1)) SWIG_fail
;
3832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3833 if (SWIG_arg_fail(2)) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 (arg1
)->SetTargetWindow(arg2
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3854 (char *) "self", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3859 if (SWIG_arg_fail(1)) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= wxPyMake_wxObject(result
, 0);
3876 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3882 PyObject
* obj1
= 0 ;
3884 (char *) "self",(char *) "rect", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3889 if (SWIG_arg_fail(1)) SWIG_fail
;
3892 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 Py_INCREF(Py_None
); resultobj
= Py_None
;
3908 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3914 (char *) "self", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3919 if (SWIG_arg_fail(1)) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3929 resultptr
= new wxRect((wxRect
&)(result
));
3930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3938 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3942 PyObject
* obj0
= 0 ;
3943 PyObject
* obj1
= 0 ;
3945 (char *) "self",(char *) "dc", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3950 if (SWIG_arg_fail(1)) SWIG_fail
;
3952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3953 if (SWIG_arg_fail(2)) SWIG_fail
;
3955 SWIG_null_ref("wxDC");
3957 if (SWIG_arg_fail(2)) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 (arg1
)->DoPrepareDC(*arg2
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3976 wxVisualAttributes result
;
3977 PyObject
* obj0
= 0 ;
3979 (char *) "variant", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3985 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3986 if (SWIG_arg_fail(1)) SWIG_fail
;
3990 if (!wxPyCheckForApp()) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 wxVisualAttributes
* resultptr
;
3999 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4008 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4011 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4013 return Py_BuildValue((char *)"");
4015 static int _wrap_FrameNameStr_set(PyObject
*) {
4016 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4021 static PyObject
*_wrap_FrameNameStr_get(void) {
4026 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4028 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4035 static int _wrap_DialogNameStr_set(PyObject
*) {
4036 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4041 static PyObject
*_wrap_DialogNameStr_get(void) {
4046 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4048 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4055 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4056 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4061 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4066 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4068 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4075 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4076 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4081 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4086 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4088 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4095 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4098 bool arg2
= (bool) true ;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4102 (char *) "self",(char *) "maximize", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4107 if (SWIG_arg_fail(1)) SWIG_fail
;
4110 arg2
= (bool)(SWIG_As_bool(obj1
));
4111 if (SWIG_arg_fail(2)) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 (arg1
)->Maximize(arg2
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 Py_INCREF(Py_None
); resultobj
= Py_None
;
4128 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4133 (char *) "self", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4138 if (SWIG_arg_fail(1)) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 Py_INCREF(Py_None
); resultobj
= Py_None
;
4153 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4156 bool arg2
= (bool) true ;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4160 (char *) "self",(char *) "iconize", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4165 if (SWIG_arg_fail(1)) SWIG_fail
;
4168 arg2
= (bool)(SWIG_As_bool(obj1
));
4169 if (SWIG_arg_fail(2)) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 (arg1
)->Iconize(arg2
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4192 (char *) "self", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4197 if (SWIG_arg_fail(1)) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4214 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4225 if (SWIG_arg_fail(1)) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4242 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "self", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4253 if (SWIG_arg_fail(1)) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4263 resultptr
= new wxIcon((wxIcon
&)(result
));
4264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4272 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4276 PyObject
* obj0
= 0 ;
4277 PyObject
* obj1
= 0 ;
4279 (char *) "self",(char *) "icon", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4284 if (SWIG_arg_fail(1)) SWIG_fail
;
4286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4287 if (SWIG_arg_fail(2)) SWIG_fail
;
4289 SWIG_null_ref("wxIcon");
4291 if (SWIG_arg_fail(2)) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 Py_INCREF(Py_None
); resultobj
= Py_None
;
4307 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4310 wxIconBundle
*arg2
= 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4314 (char *) "self",(char *) "icons", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail
;
4324 SWIG_null_ref("wxIconBundle");
4326 if (SWIG_arg_fail(2)) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4346 long arg3
= (long) wxFULLSCREEN_ALL
;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4350 PyObject
* obj2
= 0 ;
4352 (char *) "self",(char *) "show",(char *) "style", NULL
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4357 if (SWIG_arg_fail(1)) SWIG_fail
;
4359 arg2
= (bool)(SWIG_As_bool(obj1
));
4360 if (SWIG_arg_fail(2)) SWIG_fail
;
4364 arg3
= (long)(SWIG_As_long(obj2
));
4365 if (SWIG_arg_fail(3)) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4384 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4390 (char *) "self", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4395 if (SWIG_arg_fail(1)) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4412 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4415 wxString
*arg2
= 0 ;
4416 bool temp2
= false ;
4417 PyObject
* obj0
= 0 ;
4418 PyObject
* obj1
= 0 ;
4420 (char *) "self",(char *) "title", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail
;
4427 arg2
= wxString_in_helper(obj1
);
4428 if (arg2
== NULL
) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 (arg1
)->SetTitle((wxString
const &)*arg2
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 Py_INCREF(Py_None
); resultobj
= Py_None
;
4453 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4459 (char *) "self", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4464 if (SWIG_arg_fail(1)) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4485 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4488 wxRegion
*arg2
= 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "region", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4498 if (SWIG_arg_fail(1)) SWIG_fail
;
4500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4501 if (SWIG_arg_fail(2)) SWIG_fail
;
4503 SWIG_null_ref("wxRegion");
4505 if (SWIG_arg_fail(2)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4523 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4526 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4527 PyObject
* obj0
= 0 ;
4528 PyObject
* obj1
= 0 ;
4530 (char *) "self",(char *) "flags", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4535 if (SWIG_arg_fail(1)) SWIG_fail
;
4538 arg2
= (int)(SWIG_As_int(obj1
));
4539 if (SWIG_arg_fail(2)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 (arg1
)->RequestUserAttention(arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 Py_INCREF(Py_None
); resultobj
= Py_None
;
4556 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4560 PyObject
* obj0
= 0 ;
4562 (char *) "self", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= (bool)(arg1
)->IsActive();
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4584 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4591 (char *) "self",(char *) "on", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4596 if (SWIG_arg_fail(1)) SWIG_fail
;
4598 arg2
= (bool)(SWIG_As_bool(obj1
));
4599 if (SWIG_arg_fail(2)) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 Py_INCREF(Py_None
); resultobj
= Py_None
;
4615 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4626 if (SWIG_arg_fail(1)) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4643 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4646 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4648 return Py_BuildValue((char *)"");
4650 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxWindow
*arg1
= (wxWindow
*) 0 ;
4653 int arg2
= (int) (int)-1 ;
4654 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4655 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4660 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4661 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4664 bool temp3
= false ;
4667 bool temp7
= false ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 PyObject
* obj3
= 0 ;
4672 PyObject
* obj4
= 0 ;
4673 PyObject
* obj5
= 0 ;
4674 PyObject
* obj6
= 0 ;
4676 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4681 if (SWIG_arg_fail(1)) SWIG_fail
;
4684 arg2
= (int const)(SWIG_As_int(obj1
));
4685 if (SWIG_arg_fail(2)) SWIG_fail
;
4690 arg3
= wxString_in_helper(obj2
);
4691 if (arg3
== NULL
) SWIG_fail
;
4698 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4704 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4709 arg6
= (long)(SWIG_As_long(obj5
));
4710 if (SWIG_arg_fail(6)) SWIG_fail
;
4715 arg7
= wxString_in_helper(obj6
);
4716 if (arg7
== NULL
) SWIG_fail
;
4721 if (!wxPyCheckForApp()) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4751 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4760 if (!wxPyCheckForApp()) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (wxFrame
*)new wxFrame();
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4774 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxFrame
*arg1
= (wxFrame
*) 0 ;
4777 wxWindow
*arg2
= (wxWindow
*) 0 ;
4778 int arg3
= (int) (int)-1 ;
4779 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4781 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4782 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4783 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4784 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4785 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4786 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4787 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4789 bool temp4
= false ;
4792 bool temp8
= false ;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4795 PyObject
* obj2
= 0 ;
4796 PyObject
* obj3
= 0 ;
4797 PyObject
* obj4
= 0 ;
4798 PyObject
* obj5
= 0 ;
4799 PyObject
* obj6
= 0 ;
4800 PyObject
* obj7
= 0 ;
4802 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4807 if (SWIG_arg_fail(1)) SWIG_fail
;
4808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4809 if (SWIG_arg_fail(2)) SWIG_fail
;
4812 arg3
= (int const)(SWIG_As_int(obj2
));
4813 if (SWIG_arg_fail(3)) SWIG_fail
;
4818 arg4
= wxString_in_helper(obj3
);
4819 if (arg4
== NULL
) SWIG_fail
;
4826 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4832 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4837 arg7
= (long)(SWIG_As_long(obj6
));
4838 if (SWIG_arg_fail(7)) SWIG_fail
;
4843 arg8
= wxString_in_helper(obj7
);
4844 if (arg8
== NULL
) SWIG_fail
;
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4880 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxFrame
*arg1
= (wxFrame
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4891 if (SWIG_arg_fail(1)) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4900 wxPoint
* resultptr
;
4901 resultptr
= new wxPoint((wxPoint
&)(result
));
4902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4910 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxFrame
*arg1
= (wxFrame
*) 0 ;
4913 PyObject
* obj0
= 0 ;
4915 (char *) "self", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4920 if (SWIG_arg_fail(1)) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 (arg1
)->SendSizeEvent();
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxFrame
*arg1
= (wxFrame
*) 0 ;
4938 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4942 (char *) "self",(char *) "menubar", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail
;
4948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4949 if (SWIG_arg_fail(2)) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 (arg1
)->SetMenuBar(arg2
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxFrame
*arg1
= (wxFrame
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4975 if (SWIG_arg_fail(1)) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= wxPyMake_wxObject(result
, 0);
4992 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxFrame
*arg1
= (wxFrame
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
5000 (char *) "self",(char *) "winid", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5005 if (SWIG_arg_fail(1)) SWIG_fail
;
5007 arg2
= (int)(SWIG_As_int(obj1
));
5008 if (SWIG_arg_fail(2)) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5026 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxFrame
*arg1
= (wxFrame
*) 0 ;
5029 int arg2
= (int) 1 ;
5030 long arg3
= (long) wxST_SIZEGRIP
;
5031 int arg4
= (int) 0 ;
5032 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5033 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5034 wxStatusBar
*result
;
5035 bool temp5
= false ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5038 PyObject
* obj2
= 0 ;
5039 PyObject
* obj3
= 0 ;
5040 PyObject
* obj4
= 0 ;
5042 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5047 if (SWIG_arg_fail(1)) SWIG_fail
;
5050 arg2
= (int)(SWIG_As_int(obj1
));
5051 if (SWIG_arg_fail(2)) SWIG_fail
;
5056 arg3
= (long)(SWIG_As_long(obj2
));
5057 if (SWIG_arg_fail(3)) SWIG_fail
;
5062 arg4
= (int)(SWIG_As_int(obj3
));
5063 if (SWIG_arg_fail(4)) SWIG_fail
;
5068 arg5
= wxString_in_helper(obj4
);
5069 if (arg5
== NULL
) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= wxPyMake_wxObject(result
, 0);
5097 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxFrame
*arg1
= (wxFrame
*) 0 ;
5100 wxStatusBar
*result
;
5101 PyObject
* obj0
= 0 ;
5103 (char *) "self", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5108 if (SWIG_arg_fail(1)) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= wxPyMake_wxObject(result
, 0);
5125 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxFrame
*arg1
= (wxFrame
*) 0 ;
5128 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5129 PyObject
* obj0
= 0 ;
5130 PyObject
* obj1
= 0 ;
5132 (char *) "self",(char *) "statBar", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5137 if (SWIG_arg_fail(1)) SWIG_fail
;
5138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5139 if (SWIG_arg_fail(2)) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 (arg1
)->SetStatusBar(arg2
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 Py_INCREF(Py_None
); resultobj
= Py_None
;
5154 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxFrame
*arg1
= (wxFrame
*) 0 ;
5157 wxString
*arg2
= 0 ;
5158 int arg3
= (int) 0 ;
5159 bool temp2
= false ;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5162 PyObject
* obj2
= 0 ;
5164 (char *) "self",(char *) "text",(char *) "number", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5169 if (SWIG_arg_fail(1)) SWIG_fail
;
5171 arg2
= wxString_in_helper(obj1
);
5172 if (arg2
== NULL
) SWIG_fail
;
5177 arg3
= (int)(SWIG_As_int(obj2
));
5178 if (SWIG_arg_fail(3)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5203 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxFrame
*arg1
= (wxFrame
*) 0 ;
5207 int *arg3
= (int *) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5211 (char *) "self",(char *) "widths", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5216 if (SWIG_arg_fail(1)) SWIG_fail
;
5218 arg2
= PyList_Size(obj1
);
5219 arg3
= int_LIST_helper(obj1
);
5220 if (arg3
== NULL
) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 Py_INCREF(Py_None
); resultobj
= Py_None
;
5231 if (arg3
) delete [] arg3
;
5236 if (arg3
) delete [] arg3
;
5242 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxFrame
*arg1
= (wxFrame
*) 0 ;
5245 wxString
*arg2
= 0 ;
5246 int arg3
= (int) 0 ;
5247 bool temp2
= false ;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 PyObject
* obj2
= 0 ;
5252 (char *) "self",(char *) "text",(char *) "number", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5257 if (SWIG_arg_fail(1)) SWIG_fail
;
5259 arg2
= wxString_in_helper(obj1
);
5260 if (arg2
== NULL
) SWIG_fail
;
5265 arg3
= (int)(SWIG_As_int(obj2
));
5266 if (SWIG_arg_fail(3)) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5291 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxFrame
*arg1
= (wxFrame
*) 0 ;
5294 int arg2
= (int) 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5298 (char *) "self",(char *) "number", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5303 if (SWIG_arg_fail(1)) SWIG_fail
;
5306 arg2
= (int)(SWIG_As_int(obj1
));
5307 if (SWIG_arg_fail(2)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->PopStatusText(arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 Py_INCREF(Py_None
); resultobj
= Py_None
;
5324 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxFrame
*arg1
= (wxFrame
*) 0 ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5331 (char *) "self",(char *) "n", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5336 if (SWIG_arg_fail(1)) SWIG_fail
;
5338 arg2
= (int)(SWIG_As_int(obj1
));
5339 if (SWIG_arg_fail(2)) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 (arg1
)->SetStatusBarPane(arg2
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 Py_INCREF(Py_None
); resultobj
= Py_None
;
5355 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
*resultobj
;
5357 wxFrame
*arg1
= (wxFrame
*) 0 ;
5359 PyObject
* obj0
= 0 ;
5361 (char *) "self", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5366 if (SWIG_arg_fail(1)) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_From_int((int)(result
));
5383 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxFrame
*arg1
= (wxFrame
*) 0 ;
5386 long arg2
= (long) -1 ;
5387 int arg3
= (int) -1 ;
5388 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5389 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5391 bool temp4
= false ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5394 PyObject
* obj2
= 0 ;
5395 PyObject
* obj3
= 0 ;
5397 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5402 if (SWIG_arg_fail(1)) SWIG_fail
;
5405 arg2
= (long)(SWIG_As_long(obj1
));
5406 if (SWIG_arg_fail(2)) SWIG_fail
;
5411 arg3
= (int)(SWIG_As_int(obj2
));
5412 if (SWIG_arg_fail(3)) SWIG_fail
;
5417 arg4
= wxString_in_helper(obj3
);
5418 if (arg4
== NULL
) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= wxPyMake_wxObject(result
, 0);
5446 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxFrame
*arg1
= (wxFrame
*) 0 ;
5450 PyObject
* obj0
= 0 ;
5452 (char *) "self", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5457 if (SWIG_arg_fail(1)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= wxPyMake_wxObject(result
, 0);
5474 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxFrame
*arg1
= (wxFrame
*) 0 ;
5477 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "toolbar", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5486 if (SWIG_arg_fail(1)) SWIG_fail
;
5487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5488 if (SWIG_arg_fail(2)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 (arg1
)->SetToolBar(arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxFrame
*arg1
= (wxFrame
*) 0 ;
5506 wxString
*arg2
= 0 ;
5508 bool temp2
= false ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5511 PyObject
* obj2
= 0 ;
5513 (char *) "self",(char *) "text",(char *) "show", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5518 if (SWIG_arg_fail(1)) SWIG_fail
;
5520 arg2
= wxString_in_helper(obj1
);
5521 if (arg2
== NULL
) SWIG_fail
;
5525 arg3
= (bool)(SWIG_As_bool(obj2
));
5526 if (SWIG_arg_fail(3)) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 Py_INCREF(Py_None
); resultobj
= Py_None
;
5550 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxFrame
*arg1
= (wxFrame
*) 0 ;
5553 wxMenu
*arg2
= (wxMenu
*) NULL
;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5557 (char *) "self",(char *) "menu", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5562 if (SWIG_arg_fail(1)) SWIG_fail
;
5564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5565 if (SWIG_arg_fail(2)) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 (arg1
)->DoMenuUpdates(arg2
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5581 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5584 wxVisualAttributes result
;
5585 PyObject
* obj0
= 0 ;
5587 (char *) "variant", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5593 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5594 if (SWIG_arg_fail(1)) SWIG_fail
;
5598 if (!wxPyCheckForApp()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5606 wxVisualAttributes
* resultptr
;
5607 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5616 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5619 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5621 return Py_BuildValue((char *)"");
5623 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxWindow
*arg1
= (wxWindow
*) 0 ;
5626 int arg2
= (int) (int)-1 ;
5627 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5628 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5633 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5634 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5637 bool temp3
= false ;
5640 bool temp7
= false ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5643 PyObject
* obj2
= 0 ;
5644 PyObject
* obj3
= 0 ;
5645 PyObject
* obj4
= 0 ;
5646 PyObject
* obj5
= 0 ;
5647 PyObject
* obj6
= 0 ;
5649 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5654 if (SWIG_arg_fail(1)) SWIG_fail
;
5657 arg2
= (int const)(SWIG_As_int(obj1
));
5658 if (SWIG_arg_fail(2)) SWIG_fail
;
5663 arg3
= wxString_in_helper(obj2
);
5664 if (arg3
== NULL
) SWIG_fail
;
5671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5682 arg6
= (long)(SWIG_As_long(obj5
));
5683 if (SWIG_arg_fail(6)) SWIG_fail
;
5688 arg7
= wxString_in_helper(obj6
);
5689 if (arg7
== NULL
) SWIG_fail
;
5694 if (!wxPyCheckForApp()) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5724 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5733 if (!wxPyCheckForApp()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (wxDialog
*)new wxDialog();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5747 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxDialog
*arg1
= (wxDialog
*) 0 ;
5750 wxWindow
*arg2
= (wxWindow
*) 0 ;
5751 int arg3
= (int) (int)-1 ;
5752 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5753 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5754 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5755 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5756 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5757 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5758 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5759 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5760 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5762 bool temp4
= false ;
5765 bool temp8
= false ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5768 PyObject
* obj2
= 0 ;
5769 PyObject
* obj3
= 0 ;
5770 PyObject
* obj4
= 0 ;
5771 PyObject
* obj5
= 0 ;
5772 PyObject
* obj6
= 0 ;
5773 PyObject
* obj7
= 0 ;
5775 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5780 if (SWIG_arg_fail(1)) SWIG_fail
;
5781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5782 if (SWIG_arg_fail(2)) SWIG_fail
;
5785 arg3
= (int const)(SWIG_As_int(obj2
));
5786 if (SWIG_arg_fail(3)) SWIG_fail
;
5791 arg4
= wxString_in_helper(obj3
);
5792 if (arg4
== NULL
) SWIG_fail
;
5799 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5805 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5810 arg7
= (long)(SWIG_As_long(obj6
));
5811 if (SWIG_arg_fail(7)) SWIG_fail
;
5816 arg8
= wxString_in_helper(obj7
);
5817 if (arg8
== NULL
) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5853 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxDialog
*arg1
= (wxDialog
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5860 (char *) "self",(char *) "returnCode", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5865 if (SWIG_arg_fail(1)) SWIG_fail
;
5867 arg2
= (int)(SWIG_As_int(obj1
));
5868 if (SWIG_arg_fail(2)) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 (arg1
)->SetReturnCode(arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 Py_INCREF(Py_None
); resultobj
= Py_None
;
5884 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxDialog
*arg1
= (wxDialog
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5895 if (SWIG_arg_fail(1)) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_From_int((int)(result
));
5912 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxDialog
*arg1
= (wxDialog
*) 0 ;
5915 wxString
*arg2
= 0 ;
5917 bool temp2
= false ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5921 (char *) "self",(char *) "message", NULL
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5926 if (SWIG_arg_fail(1)) SWIG_fail
;
5928 arg2
= wxString_in_helper(obj1
);
5929 if (arg2
== NULL
) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= wxPyMake_wxSizer(result
, 0);
5956 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxDialog
*arg1
= (wxDialog
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5964 (char *) "self",(char *) "flags", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail
;
5971 arg2
= (long)(SWIG_As_long(obj1
));
5972 if (SWIG_arg_fail(2)) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= wxPyMake_wxSizer(result
, 0);
5990 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxDialog
*arg1
= (wxDialog
*) 0 ;
5994 wxStdDialogButtonSizer
*result
;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5998 (char *) "self",(char *) "flags", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6003 if (SWIG_arg_fail(1)) SWIG_fail
;
6005 arg2
= (long)(SWIG_As_long(obj1
));
6006 if (SWIG_arg_fail(2)) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6022 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxDialog
*arg1
= (wxDialog
*) 0 ;
6026 PyObject
* obj0
= 0 ;
6028 (char *) "self", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6033 if (SWIG_arg_fail(1)) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6050 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxDialog
*arg1
= (wxDialog
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6056 (char *) "self", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6061 if (SWIG_arg_fail(1)) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (int)(arg1
)->ShowModal();
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_From_int((int)(result
));
6078 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxDialog
*arg1
= (wxDialog
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6083 PyObject
* obj1
= 0 ;
6085 (char *) "self",(char *) "retCode", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6090 if (SWIG_arg_fail(1)) SWIG_fail
;
6092 arg2
= (int)(SWIG_As_int(obj1
));
6093 if (SWIG_arg_fail(2)) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 (arg1
)->EndModal(arg2
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 Py_INCREF(Py_None
); resultobj
= Py_None
;
6109 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6112 wxVisualAttributes result
;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "variant", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6121 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6122 if (SWIG_arg_fail(1)) SWIG_fail
;
6126 if (!wxPyCheckForApp()) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 wxVisualAttributes
* resultptr
;
6135 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6144 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6147 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6149 return Py_BuildValue((char *)"");
6151 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxWindow
*arg1
= (wxWindow
*) 0 ;
6154 int arg2
= (int) (int)-1 ;
6155 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6156 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6161 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6162 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6163 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6164 wxMiniFrame
*result
;
6165 bool temp3
= false ;
6168 bool temp7
= false ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6171 PyObject
* obj2
= 0 ;
6172 PyObject
* obj3
= 0 ;
6173 PyObject
* obj4
= 0 ;
6174 PyObject
* obj5
= 0 ;
6175 PyObject
* obj6
= 0 ;
6177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6182 if (SWIG_arg_fail(1)) SWIG_fail
;
6185 arg2
= (int const)(SWIG_As_int(obj1
));
6186 if (SWIG_arg_fail(2)) SWIG_fail
;
6191 arg3
= wxString_in_helper(obj2
);
6192 if (arg3
== NULL
) SWIG_fail
;
6199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6210 arg6
= (long)(SWIG_As_long(obj5
));
6211 if (SWIG_arg_fail(6)) SWIG_fail
;
6216 arg7
= wxString_in_helper(obj6
);
6217 if (arg7
== NULL
) SWIG_fail
;
6222 if (!wxPyCheckForApp()) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6252 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxMiniFrame
*result
;
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6261 if (!wxPyCheckForApp()) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 result
= (wxMiniFrame
*)new wxMiniFrame();
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6275 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6278 wxWindow
*arg2
= (wxWindow
*) 0 ;
6279 int arg3
= (int) (int)-1 ;
6280 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6282 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6283 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6284 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6285 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6286 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6287 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6290 bool temp4
= false ;
6293 bool temp8
= false ;
6294 PyObject
* obj0
= 0 ;
6295 PyObject
* obj1
= 0 ;
6296 PyObject
* obj2
= 0 ;
6297 PyObject
* obj3
= 0 ;
6298 PyObject
* obj4
= 0 ;
6299 PyObject
* obj5
= 0 ;
6300 PyObject
* obj6
= 0 ;
6301 PyObject
* obj7
= 0 ;
6303 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6308 if (SWIG_arg_fail(1)) SWIG_fail
;
6309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6310 if (SWIG_arg_fail(2)) SWIG_fail
;
6313 arg3
= (int const)(SWIG_As_int(obj2
));
6314 if (SWIG_arg_fail(3)) SWIG_fail
;
6319 arg4
= wxString_in_helper(obj3
);
6320 if (arg4
== NULL
) SWIG_fail
;
6327 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6333 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6338 arg7
= (long)(SWIG_As_long(obj6
));
6339 if (SWIG_arg_fail(7)) SWIG_fail
;
6344 arg8
= wxString_in_helper(obj7
);
6345 if (arg8
== NULL
) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6381 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6384 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6386 return Py_BuildValue((char *)"");
6388 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxBitmap
*arg1
= 0 ;
6391 wxWindow
*arg2
= (wxWindow
*) 0 ;
6393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6397 long arg6
= (long) wxNO_BORDER
;
6398 wxSplashScreenWindow
*result
;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6403 PyObject
* obj2
= 0 ;
6404 PyObject
* obj3
= 0 ;
6405 PyObject
* obj4
= 0 ;
6406 PyObject
* obj5
= 0 ;
6408 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6414 if (SWIG_arg_fail(1)) SWIG_fail
;
6416 SWIG_null_ref("wxBitmap");
6418 if (SWIG_arg_fail(1)) SWIG_fail
;
6420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6421 if (SWIG_arg_fail(2)) SWIG_fail
;
6423 arg3
= (int)(SWIG_As_int(obj2
));
6424 if (SWIG_arg_fail(3)) SWIG_fail
;
6429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6440 arg6
= (long)(SWIG_As_long(obj5
));
6441 if (SWIG_arg_fail(6)) SWIG_fail
;
6445 if (!wxPyCheckForApp()) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6459 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6462 wxBitmap
*arg2
= 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6466 (char *) "self",(char *) "bitmap", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6471 if (SWIG_arg_fail(1)) SWIG_fail
;
6473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(2)) SWIG_fail
;
6476 SWIG_null_ref("wxBitmap");
6478 if (SWIG_arg_fail(2)) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 Py_INCREF(Py_None
); resultobj
= Py_None
;
6494 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6500 (char *) "self", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6505 if (SWIG_arg_fail(1)) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6510 result
= (wxBitmap
*) &_result_ref
;
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 wxBitmap
* resultptr
= new wxBitmap(*result
);
6518 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6526 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6529 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6531 return Py_BuildValue((char *)"");
6533 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxBitmap
*arg1
= 0 ;
6538 wxWindow
*arg4
= (wxWindow
*) 0 ;
6539 int arg5
= (int) -1 ;
6540 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6541 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6542 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6543 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6544 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6545 wxSplashScreen
*result
;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6550 PyObject
* obj2
= 0 ;
6551 PyObject
* obj3
= 0 ;
6552 PyObject
* obj4
= 0 ;
6553 PyObject
* obj5
= 0 ;
6554 PyObject
* obj6
= 0 ;
6555 PyObject
* obj7
= 0 ;
6557 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6563 if (SWIG_arg_fail(1)) SWIG_fail
;
6565 SWIG_null_ref("wxBitmap");
6567 if (SWIG_arg_fail(1)) SWIG_fail
;
6570 arg2
= (long)(SWIG_As_long(obj1
));
6571 if (SWIG_arg_fail(2)) SWIG_fail
;
6574 arg3
= (int)(SWIG_As_int(obj2
));
6575 if (SWIG_arg_fail(3)) SWIG_fail
;
6577 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6578 if (SWIG_arg_fail(4)) SWIG_fail
;
6581 arg5
= (int)(SWIG_As_int(obj4
));
6582 if (SWIG_arg_fail(5)) SWIG_fail
;
6588 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6594 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6599 arg8
= (long)(SWIG_As_long(obj7
));
6600 if (SWIG_arg_fail(8)) SWIG_fail
;
6604 if (!wxPyCheckForApp()) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6618 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6624 (char *) "self", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6629 if (SWIG_arg_fail(1)) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= SWIG_From_long((long)(result
));
6646 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6649 wxSplashScreenWindow
*result
;
6650 PyObject
* obj0
= 0 ;
6652 (char *) "self", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6672 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6678 (char *) "self", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_From_int((int)(result
));
6700 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6703 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6705 return Py_BuildValue((char *)"");
6707 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxWindow
*arg1
= (wxWindow
*) 0 ;
6710 int arg2
= (int) -1 ;
6711 long arg3
= (long) wxST_SIZEGRIP
;
6712 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6713 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6714 wxStatusBar
*result
;
6715 bool temp4
= false ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6718 PyObject
* obj2
= 0 ;
6719 PyObject
* obj3
= 0 ;
6721 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6726 if (SWIG_arg_fail(1)) SWIG_fail
;
6729 arg2
= (int)(SWIG_As_int(obj1
));
6730 if (SWIG_arg_fail(2)) SWIG_fail
;
6735 arg3
= (long)(SWIG_As_long(obj2
));
6736 if (SWIG_arg_fail(3)) SWIG_fail
;
6741 arg4
= wxString_in_helper(obj3
);
6742 if (arg4
== NULL
) SWIG_fail
;
6747 if (!wxPyCheckForApp()) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6769 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxStatusBar
*result
;
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6778 if (!wxPyCheckForApp()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (wxStatusBar
*)new wxStatusBar();
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6792 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6795 wxWindow
*arg2
= (wxWindow
*) 0 ;
6796 int arg3
= (int) -1 ;
6797 long arg4
= (long) wxST_SIZEGRIP
;
6798 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6799 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6801 bool temp5
= false ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6804 PyObject
* obj2
= 0 ;
6805 PyObject
* obj3
= 0 ;
6806 PyObject
* obj4
= 0 ;
6808 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6813 if (SWIG_arg_fail(1)) SWIG_fail
;
6814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6815 if (SWIG_arg_fail(2)) SWIG_fail
;
6818 arg3
= (int)(SWIG_As_int(obj2
));
6819 if (SWIG_arg_fail(3)) SWIG_fail
;
6824 arg4
= (long)(SWIG_As_long(obj3
));
6825 if (SWIG_arg_fail(4)) SWIG_fail
;
6830 arg5
= wxString_in_helper(obj4
);
6831 if (arg5
== NULL
) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6859 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6862 int arg2
= (int) 1 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6866 (char *) "self",(char *) "number", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6871 if (SWIG_arg_fail(1)) SWIG_fail
;
6874 arg2
= (int)(SWIG_As_int(obj1
));
6875 if (SWIG_arg_fail(2)) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->SetFieldsCount(arg2
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "self", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6903 if (SWIG_arg_fail(1)) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_From_int((int)(result
));
6920 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6923 wxString
*arg2
= 0 ;
6924 int arg3
= (int) 0 ;
6925 bool temp2
= false ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 PyObject
* obj2
= 0 ;
6930 (char *) "self",(char *) "text",(char *) "number", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6935 if (SWIG_arg_fail(1)) SWIG_fail
;
6937 arg2
= wxString_in_helper(obj1
);
6938 if (arg2
== NULL
) SWIG_fail
;
6943 arg3
= (int)(SWIG_As_int(obj2
));
6944 if (SWIG_arg_fail(3)) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 Py_INCREF(Py_None
); resultobj
= Py_None
;
6969 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6972 int arg2
= (int) 0 ;
6974 PyObject
* obj0
= 0 ;
6975 PyObject
* obj1
= 0 ;
6977 (char *) "self",(char *) "number", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6982 if (SWIG_arg_fail(1)) SWIG_fail
;
6985 arg2
= (int)(SWIG_As_int(obj1
));
6986 if (SWIG_arg_fail(2)) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7009 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7012 wxString
*arg2
= 0 ;
7013 int arg3
= (int) 0 ;
7014 bool temp2
= false ;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7017 PyObject
* obj2
= 0 ;
7019 (char *) "self",(char *) "text",(char *) "number", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7024 if (SWIG_arg_fail(1)) SWIG_fail
;
7026 arg2
= wxString_in_helper(obj1
);
7027 if (arg2
== NULL
) SWIG_fail
;
7032 arg3
= (int)(SWIG_As_int(obj2
));
7033 if (SWIG_arg_fail(3)) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 Py_INCREF(Py_None
); resultobj
= Py_None
;
7058 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7061 int arg2
= (int) 0 ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7065 (char *) "self",(char *) "number", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7070 if (SWIG_arg_fail(1)) SWIG_fail
;
7073 arg2
= (int)(SWIG_As_int(obj1
));
7074 if (SWIG_arg_fail(2)) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->PopStatusText(arg2
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 Py_INCREF(Py_None
); resultobj
= Py_None
;
7091 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7095 int *arg3
= (int *) 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7099 (char *) "self",(char *) "widths", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7104 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 arg2
= PyList_Size(obj1
);
7107 arg3
= int_LIST_helper(obj1
);
7108 if (arg3
== NULL
) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 if (arg3
) delete [] arg3
;
7124 if (arg3
) delete [] arg3
;
7130 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7134 int *arg3
= (int *) 0 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7138 (char *) "self",(char *) "styles", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail
;
7145 arg2
= PyList_Size(obj1
);
7146 arg3
= int_LIST_helper(obj1
);
7147 if (arg3
== NULL
) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 Py_INCREF(Py_None
); resultobj
= Py_None
;
7158 if (arg3
) delete [] arg3
;
7163 if (arg3
) delete [] arg3
;
7169 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7174 PyObject
* obj0
= 0 ;
7175 PyObject
* obj1
= 0 ;
7177 (char *) "self",(char *) "i", NULL
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7182 if (SWIG_arg_fail(1)) SWIG_fail
;
7184 arg2
= (int)(SWIG_As_int(obj1
));
7185 if (SWIG_arg_fail(2)) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7196 resultptr
= new wxRect((wxRect
&)(result
));
7197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7205 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
;
7207 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7212 (char *) "self",(char *) "height", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7217 if (SWIG_arg_fail(1)) SWIG_fail
;
7219 arg2
= (int)(SWIG_As_int(obj1
));
7220 if (SWIG_arg_fail(2)) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 (arg1
)->SetMinHeight(arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 Py_INCREF(Py_None
); resultobj
= Py_None
;
7236 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7242 (char *) "self", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7247 if (SWIG_arg_fail(1)) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_From_int((int)(result
));
7264 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7270 (char *) "self", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_From_int((int)(result
));
7292 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7295 wxVisualAttributes result
;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "variant", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7304 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7305 if (SWIG_arg_fail(1)) SWIG_fail
;
7309 if (!wxPyCheckForApp()) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7317 wxVisualAttributes
* resultptr
;
7318 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7327 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7330 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7332 return Py_BuildValue((char *)"");
7334 static int _wrap_SplitterNameStr_set(PyObject
*) {
7335 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7340 static PyObject
*_wrap_SplitterNameStr_get(void) {
7345 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7347 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7354 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxWindow
*arg1
= (wxWindow
*) 0 ;
7357 int arg2
= (int) -1 ;
7358 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7359 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7360 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7361 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7362 long arg5
= (long) wxSP_3D
;
7363 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7364 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7365 wxSplitterWindow
*result
;
7368 bool temp6
= false ;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7371 PyObject
* obj2
= 0 ;
7372 PyObject
* obj3
= 0 ;
7373 PyObject
* obj4
= 0 ;
7374 PyObject
* obj5
= 0 ;
7376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7381 if (SWIG_arg_fail(1)) SWIG_fail
;
7384 arg2
= (int)(SWIG_As_int(obj1
));
7385 if (SWIG_arg_fail(2)) SWIG_fail
;
7391 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7397 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7402 arg5
= (long)(SWIG_As_long(obj4
));
7403 if (SWIG_arg_fail(5)) SWIG_fail
;
7408 arg6
= wxString_in_helper(obj5
);
7409 if (arg6
== NULL
) SWIG_fail
;
7414 if (!wxPyCheckForApp()) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7436 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxSplitterWindow
*result
;
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7445 if (!wxPyCheckForApp()) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7459 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7462 wxWindow
*arg2
= (wxWindow
*) 0 ;
7463 int arg3
= (int) -1 ;
7464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7468 long arg6
= (long) wxSP_3D
;
7469 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7474 bool temp7
= false ;
7475 PyObject
* obj0
= 0 ;
7476 PyObject
* obj1
= 0 ;
7477 PyObject
* obj2
= 0 ;
7478 PyObject
* obj3
= 0 ;
7479 PyObject
* obj4
= 0 ;
7480 PyObject
* obj5
= 0 ;
7481 PyObject
* obj6
= 0 ;
7483 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7488 if (SWIG_arg_fail(1)) SWIG_fail
;
7489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7490 if (SWIG_arg_fail(2)) SWIG_fail
;
7493 arg3
= (int)(SWIG_As_int(obj2
));
7494 if (SWIG_arg_fail(3)) SWIG_fail
;
7500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7511 arg6
= (long)(SWIG_As_long(obj5
));
7512 if (SWIG_arg_fail(6)) SWIG_fail
;
7517 arg7
= wxString_in_helper(obj6
);
7518 if (arg7
== NULL
) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7546 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7552 (char *) "self", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7557 if (SWIG_arg_fail(1)) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= wxPyMake_wxObject(result
, 0);
7574 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7585 if (SWIG_arg_fail(1)) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= wxPyMake_wxObject(result
, 0);
7602 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7609 (char *) "self",(char *) "mode", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7614 if (SWIG_arg_fail(1)) SWIG_fail
;
7616 arg2
= (int)(SWIG_As_int(obj1
));
7617 if (SWIG_arg_fail(2)) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 (arg1
)->SetSplitMode(arg2
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 Py_INCREF(Py_None
); resultobj
= Py_None
;
7633 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "self", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_From_int((result
));
7659 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7662 wxWindow
*arg2
= (wxWindow
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7666 (char *) "self",(char *) "window", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7671 if (SWIG_arg_fail(1)) SWIG_fail
;
7672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7673 if (SWIG_arg_fail(2)) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 (arg1
)->Initialize(arg2
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 Py_INCREF(Py_None
); resultobj
= Py_None
;
7688 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7690 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7691 wxWindow
*arg2
= (wxWindow
*) 0 ;
7692 wxWindow
*arg3
= (wxWindow
*) 0 ;
7693 int arg4
= (int) 0 ;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7697 PyObject
* obj2
= 0 ;
7698 PyObject
* obj3
= 0 ;
7700 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7705 if (SWIG_arg_fail(1)) SWIG_fail
;
7706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7707 if (SWIG_arg_fail(2)) SWIG_fail
;
7708 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7709 if (SWIG_arg_fail(3)) SWIG_fail
;
7712 arg4
= (int)(SWIG_As_int(obj3
));
7713 if (SWIG_arg_fail(4)) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7732 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7735 wxWindow
*arg2
= (wxWindow
*) 0 ;
7736 wxWindow
*arg3
= (wxWindow
*) 0 ;
7737 int arg4
= (int) 0 ;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7741 PyObject
* obj2
= 0 ;
7742 PyObject
* obj3
= 0 ;
7744 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7749 if (SWIG_arg_fail(1)) SWIG_fail
;
7750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7751 if (SWIG_arg_fail(2)) SWIG_fail
;
7752 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7753 if (SWIG_arg_fail(3)) SWIG_fail
;
7756 arg4
= (int)(SWIG_As_int(obj3
));
7757 if (SWIG_arg_fail(4)) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7776 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7779 wxWindow
*arg2
= (wxWindow
*) NULL
;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7784 (char *) "self",(char *) "toRemove", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7789 if (SWIG_arg_fail(1)) SWIG_fail
;
7791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7792 if (SWIG_arg_fail(2)) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (bool)(arg1
)->Unsplit(arg2
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7810 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7813 wxWindow
*arg2
= (wxWindow
*) 0 ;
7814 wxWindow
*arg3
= (wxWindow
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7817 PyObject
* obj1
= 0 ;
7818 PyObject
* obj2
= 0 ;
7820 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7825 if (SWIG_arg_fail(1)) SWIG_fail
;
7826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(2)) SWIG_fail
;
7828 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7829 if (SWIG_arg_fail(3)) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7846 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 (arg1
)->UpdateSize();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 Py_INCREF(Py_None
); resultobj
= Py_None
;
7871 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7882 if (SWIG_arg_fail(1)) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7899 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7906 (char *) "self",(char *) "width", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7911 if (SWIG_arg_fail(1)) SWIG_fail
;
7913 arg2
= (int)(SWIG_As_int(obj1
));
7914 if (SWIG_arg_fail(2)) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 (arg1
)->SetSashSize(arg2
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 Py_INCREF(Py_None
); resultobj
= Py_None
;
7930 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7934 PyObject
* obj0
= 0 ;
7935 PyObject
* obj1
= 0 ;
7937 (char *) "self",(char *) "width", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7942 if (SWIG_arg_fail(1)) SWIG_fail
;
7944 arg2
= (int)(SWIG_As_int(obj1
));
7945 if (SWIG_arg_fail(2)) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 (arg1
)->SetBorderSize(arg2
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "self", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7972 if (SWIG_arg_fail(1)) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= SWIG_From_int((int)(result
));
7989 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8000 if (SWIG_arg_fail(1)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_From_int((int)(result
));
8017 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8021 bool arg3
= (bool) true ;
8022 PyObject
* obj0
= 0 ;
8023 PyObject
* obj1
= 0 ;
8024 PyObject
* obj2
= 0 ;
8026 (char *) "self",(char *) "position",(char *) "redraw", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8031 if (SWIG_arg_fail(1)) SWIG_fail
;
8033 arg2
= (int)(SWIG_As_int(obj1
));
8034 if (SWIG_arg_fail(2)) SWIG_fail
;
8038 arg3
= (bool)(SWIG_As_bool(obj2
));
8039 if (SWIG_arg_fail(3)) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 (arg1
)->SetSashPosition(arg2
,arg3
);
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 Py_INCREF(Py_None
); resultobj
= Py_None
;
8056 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "self", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8067 if (SWIG_arg_fail(1)) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= SWIG_From_int((int)(result
));
8084 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8091 (char *) "self",(char *) "gravity", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8096 if (SWIG_arg_fail(1)) SWIG_fail
;
8098 arg2
= (double)(SWIG_As_double(obj1
));
8099 if (SWIG_arg_fail(2)) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 (arg1
)->SetSashGravity(arg2
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 Py_INCREF(Py_None
); resultobj
= Py_None
;
8115 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
;
8117 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8119 PyObject
* obj0
= 0 ;
8121 (char *) "self", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= SWIG_From_double((double)(result
));
8143 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8150 (char *) "self",(char *) "min", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 arg2
= (int)(SWIG_As_int(obj1
));
8158 if (SWIG_arg_fail(2)) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 (arg1
)->SetMinimumPaneSize(arg2
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_From_int((int)(result
));
8202 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8207 int arg4
= (int) 5 ;
8209 PyObject
* obj0
= 0 ;
8210 PyObject
* obj1
= 0 ;
8211 PyObject
* obj2
= 0 ;
8212 PyObject
* obj3
= 0 ;
8214 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8219 if (SWIG_arg_fail(1)) SWIG_fail
;
8221 arg2
= (int)(SWIG_As_int(obj1
));
8222 if (SWIG_arg_fail(2)) SWIG_fail
;
8225 arg3
= (int)(SWIG_As_int(obj2
));
8226 if (SWIG_arg_fail(3)) SWIG_fail
;
8230 arg4
= (int)(SWIG_As_int(obj3
));
8231 if (SWIG_arg_fail(4)) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8250 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8255 (char *) "self", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8260 if (SWIG_arg_fail(1)) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->SizeWindows();
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8282 (char *) "self",(char *) "needUpdating", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8287 if (SWIG_arg_fail(1)) SWIG_fail
;
8289 arg2
= (bool)(SWIG_As_bool(obj1
));
8290 if (SWIG_arg_fail(2)) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 (arg1
)->SetNeedUpdating(arg2
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8310 PyObject
* obj0
= 0 ;
8312 (char *) "self", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8317 if (SWIG_arg_fail(1)) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8334 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8337 wxVisualAttributes result
;
8338 PyObject
* obj0
= 0 ;
8340 (char *) "variant", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8346 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8347 if (SWIG_arg_fail(1)) SWIG_fail
;
8351 if (!wxPyCheckForApp()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 wxVisualAttributes
* resultptr
;
8360 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8369 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8372 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8374 return Py_BuildValue((char *)"");
8376 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8379 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8380 wxSplitterEvent
*result
;
8381 PyObject
* obj0
= 0 ;
8382 PyObject
* obj1
= 0 ;
8384 (char *) "type",(char *) "splitter", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8390 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8391 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8396 if (SWIG_arg_fail(2)) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8412 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8419 (char *) "self",(char *) "pos", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail
;
8426 arg2
= (int)(SWIG_As_int(obj1
));
8427 if (SWIG_arg_fail(2)) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 (arg1
)->SetSashPosition(arg2
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 Py_INCREF(Py_None
); resultobj
= Py_None
;
8443 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8447 PyObject
* obj0
= 0 ;
8449 (char *) "self", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8454 if (SWIG_arg_fail(1)) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_From_int((int)(result
));
8471 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8475 PyObject
* obj0
= 0 ;
8477 (char *) "self", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8482 if (SWIG_arg_fail(1)) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= wxPyMake_wxObject(result
, 0);
8499 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8503 PyObject
* obj0
= 0 ;
8505 (char *) "self", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8510 if (SWIG_arg_fail(1)) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= SWIG_From_int((int)(result
));
8527 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8533 (char *) "self", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8538 if (SWIG_arg_fail(1)) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_From_int((int)(result
));
8555 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8558 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8560 return Py_BuildValue((char *)"");
8562 static int _wrap_SashNameStr_set(PyObject
*) {
8563 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8568 static PyObject
*_wrap_SashNameStr_get(void) {
8573 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8575 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8582 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8583 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8588 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8593 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8595 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8602 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxWindow
*arg1
= (wxWindow
*) 0 ;
8605 int arg2
= (int) -1 ;
8606 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8607 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8608 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8609 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8610 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8611 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8612 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8613 wxSashWindow
*result
;
8616 bool temp6
= false ;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8620 PyObject
* obj3
= 0 ;
8621 PyObject
* obj4
= 0 ;
8622 PyObject
* obj5
= 0 ;
8624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail
;
8632 arg2
= (int)(SWIG_As_int(obj1
));
8633 if (SWIG_arg_fail(2)) SWIG_fail
;
8639 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8645 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8650 arg5
= (long)(SWIG_As_long(obj4
));
8651 if (SWIG_arg_fail(5)) SWIG_fail
;
8656 arg6
= wxString_in_helper(obj5
);
8657 if (arg6
== NULL
) SWIG_fail
;
8662 if (!wxPyCheckForApp()) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8684 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxSashWindow
*result
;
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8693 if (!wxPyCheckForApp()) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (wxSashWindow
*)new wxSashWindow();
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8707 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8710 wxWindow
*arg2
= (wxWindow
*) 0 ;
8711 int arg3
= (int) -1 ;
8712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8716 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8717 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8718 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8722 bool temp7
= false ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8725 PyObject
* obj2
= 0 ;
8726 PyObject
* obj3
= 0 ;
8727 PyObject
* obj4
= 0 ;
8728 PyObject
* obj5
= 0 ;
8729 PyObject
* obj6
= 0 ;
8731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8738 if (SWIG_arg_fail(2)) SWIG_fail
;
8741 arg3
= (int)(SWIG_As_int(obj2
));
8742 if (SWIG_arg_fail(3)) SWIG_fail
;
8748 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8754 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8759 arg6
= (long)(SWIG_As_long(obj5
));
8760 if (SWIG_arg_fail(6)) SWIG_fail
;
8765 arg7
= wxString_in_helper(obj6
);
8766 if (arg7
== NULL
) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8794 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8797 wxSashEdgePosition arg2
;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8803 (char *) "self",(char *) "edge",(char *) "sash", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail
;
8810 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8811 if (SWIG_arg_fail(2)) SWIG_fail
;
8814 arg3
= (bool)(SWIG_As_bool(obj2
));
8815 if (SWIG_arg_fail(3)) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8834 wxSashEdgePosition arg2
;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 (char *) "self",(char *) "edge", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8847 if (SWIG_arg_fail(2)) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8865 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8868 wxSashEdgePosition arg2
;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 PyObject
* obj2
= 0 ;
8874 (char *) "self",(char *) "edge",(char *) "border", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail
;
8881 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8882 if (SWIG_arg_fail(2)) SWIG_fail
;
8885 arg3
= (bool)(SWIG_As_bool(obj2
));
8886 if (SWIG_arg_fail(3)) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 Py_INCREF(Py_None
); resultobj
= Py_None
;
8902 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8905 wxSashEdgePosition arg2
;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8910 (char *) "self",(char *) "edge", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8915 if (SWIG_arg_fail(1)) SWIG_fail
;
8917 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8918 if (SWIG_arg_fail(2)) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8936 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8939 wxSashEdgePosition arg2
;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8944 (char *) "self",(char *) "edge", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8949 if (SWIG_arg_fail(1)) SWIG_fail
;
8951 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8952 if (SWIG_arg_fail(2)) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_From_int((int)(result
));
8970 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8977 (char *) "self",(char *) "width", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8982 if (SWIG_arg_fail(1)) SWIG_fail
;
8984 arg2
= (int)(SWIG_As_int(obj1
));
8985 if (SWIG_arg_fail(2)) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->SetDefaultBorderSize(arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9007 (char *) "self", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9012 if (SWIG_arg_fail(1)) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_From_int((int)(result
));
9029 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9033 PyObject
* obj0
= 0 ;
9034 PyObject
* obj1
= 0 ;
9036 (char *) "self",(char *) "width", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9041 if (SWIG_arg_fail(1)) SWIG_fail
;
9043 arg2
= (int)(SWIG_As_int(obj1
));
9044 if (SWIG_arg_fail(2)) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 (arg1
)->SetExtraBorderSize(arg2
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 Py_INCREF(Py_None
); resultobj
= Py_None
;
9060 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9066 (char *) "self", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9071 if (SWIG_arg_fail(1)) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_From_int((int)(result
));
9088 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9095 (char *) "self",(char *) "min", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9102 arg2
= (int)(SWIG_As_int(obj1
));
9103 if (SWIG_arg_fail(2)) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 (arg1
)->SetMinimumSizeX(arg2
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 Py_INCREF(Py_None
); resultobj
= Py_None
;
9119 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9126 (char *) "self",(char *) "min", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9131 if (SWIG_arg_fail(1)) SWIG_fail
;
9133 arg2
= (int)(SWIG_As_int(obj1
));
9134 if (SWIG_arg_fail(2)) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 (arg1
)->SetMinimumSizeY(arg2
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 Py_INCREF(Py_None
); resultobj
= Py_None
;
9150 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= SWIG_From_int((int)(result
));
9178 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= SWIG_From_int((int)(result
));
9206 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9211 PyObject
* obj1
= 0 ;
9213 (char *) "self",(char *) "max", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9218 if (SWIG_arg_fail(1)) SWIG_fail
;
9220 arg2
= (int)(SWIG_As_int(obj1
));
9221 if (SWIG_arg_fail(2)) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 (arg1
)->SetMaximumSizeX(arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 Py_INCREF(Py_None
); resultobj
= Py_None
;
9237 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9244 (char *) "self",(char *) "max", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9249 if (SWIG_arg_fail(1)) SWIG_fail
;
9251 arg2
= (int)(SWIG_As_int(obj1
));
9252 if (SWIG_arg_fail(2)) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 (arg1
)->SetMaximumSizeY(arg2
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 Py_INCREF(Py_None
); resultobj
= Py_None
;
9268 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9272 PyObject
* obj0
= 0 ;
9274 (char *) "self", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9279 if (SWIG_arg_fail(1)) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_From_int((int)(result
));
9296 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9307 if (SWIG_arg_fail(1)) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_From_int((int)(result
));
9324 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9329 int arg4
= (int) 2 ;
9330 wxSashEdgePosition result
;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 PyObject
* obj2
= 0 ;
9334 PyObject
* obj3
= 0 ;
9336 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail
;
9343 arg2
= (int)(SWIG_As_int(obj1
));
9344 if (SWIG_arg_fail(2)) SWIG_fail
;
9347 arg3
= (int)(SWIG_As_int(obj2
));
9348 if (SWIG_arg_fail(3)) SWIG_fail
;
9352 arg4
= (int)(SWIG_As_int(obj3
));
9353 if (SWIG_arg_fail(4)) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_From_int((result
));
9370 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9375 (char *) "self", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9380 if (SWIG_arg_fail(1)) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 (arg1
)->SizeWindows();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 Py_INCREF(Py_None
); resultobj
= Py_None
;
9395 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9398 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9400 return Py_BuildValue((char *)"");
9402 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 int arg1
= (int) 0 ;
9405 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9406 wxSashEvent
*result
;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9410 (char *) "id",(char *) "edge", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9416 arg1
= (int)(SWIG_As_int(obj0
));
9417 if (SWIG_arg_fail(1)) SWIG_fail
;
9422 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9423 if (SWIG_arg_fail(2)) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9440 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9443 wxSashEdgePosition arg2
;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9447 (char *) "self",(char *) "edge", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9452 if (SWIG_arg_fail(1)) SWIG_fail
;
9454 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9455 if (SWIG_arg_fail(2)) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9471 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9474 wxSashEdgePosition result
;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "self", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9482 if (SWIG_arg_fail(1)) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_From_int((result
));
9497 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9505 (char *) "self",(char *) "rect", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9510 if (SWIG_arg_fail(1)) SWIG_fail
;
9513 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9540 if (SWIG_arg_fail(1)) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9550 resultptr
= new wxRect((wxRect
&)(result
));
9551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9559 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9562 wxSashDragStatus arg2
;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9566 (char *) "self",(char *) "status", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9571 if (SWIG_arg_fail(1)) SWIG_fail
;
9573 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9574 if (SWIG_arg_fail(2)) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 Py_INCREF(Py_None
); resultobj
= Py_None
;
9590 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9593 wxSashDragStatus result
;
9594 PyObject
* obj0
= 0 ;
9596 (char *) "self", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9601 if (SWIG_arg_fail(1)) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_From_int((result
));
9616 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9619 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9621 return Py_BuildValue((char *)"");
9623 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 int arg1
= (int) 0 ;
9626 wxQueryLayoutInfoEvent
*result
;
9627 PyObject
* obj0
= 0 ;
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9635 arg1
= (int)(SWIG_As_int(obj0
));
9636 if (SWIG_arg_fail(1)) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9653 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9657 PyObject
* obj0
= 0 ;
9658 PyObject
* obj1
= 0 ;
9660 (char *) "self",(char *) "length", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9665 if (SWIG_arg_fail(1)) SWIG_fail
;
9667 arg2
= (int)(SWIG_As_int(obj1
));
9668 if (SWIG_arg_fail(2)) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 (arg1
)->SetRequestedLength(arg2
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9688 PyObject
* obj0
= 0 ;
9690 (char *) "self", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9695 if (SWIG_arg_fail(1)) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_From_int((int)(result
));
9712 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9719 (char *) "self",(char *) "flags", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9724 if (SWIG_arg_fail(1)) SWIG_fail
;
9726 arg2
= (int)(SWIG_As_int(obj1
));
9727 if (SWIG_arg_fail(2)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->SetFlags(arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 Py_INCREF(Py_None
); resultobj
= Py_None
;
9743 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9747 PyObject
* obj0
= 0 ;
9749 (char *) "self", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9754 if (SWIG_arg_fail(1)) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_From_int((int)(result
));
9771 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9779 (char *) "self",(char *) "size", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9784 if (SWIG_arg_fail(1)) SWIG_fail
;
9787 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->SetSize((wxSize
const &)*arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 Py_INCREF(Py_None
); resultobj
= Py_None
;
9803 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9814 if (SWIG_arg_fail(1)) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9824 resultptr
= new wxSize((wxSize
&)(result
));
9825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9833 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9836 wxLayoutOrientation arg2
;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9840 (char *) "self",(char *) "orient", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9845 if (SWIG_arg_fail(1)) SWIG_fail
;
9847 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9848 if (SWIG_arg_fail(2)) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9867 wxLayoutOrientation result
;
9868 PyObject
* obj0
= 0 ;
9870 (char *) "self", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9875 if (SWIG_arg_fail(1)) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_From_int((result
));
9890 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9893 wxLayoutAlignment arg2
;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9897 (char *) "self",(char *) "align", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9902 if (SWIG_arg_fail(1)) SWIG_fail
;
9904 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9905 if (SWIG_arg_fail(2)) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 Py_INCREF(Py_None
); resultobj
= Py_None
;
9921 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9924 wxLayoutAlignment result
;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9932 if (SWIG_arg_fail(1)) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= SWIG_From_int((result
));
9947 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9950 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9952 return Py_BuildValue((char *)"");
9954 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 int arg1
= (int) 0 ;
9957 wxCalculateLayoutEvent
*result
;
9958 PyObject
* obj0
= 0 ;
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9966 arg1
= (int)(SWIG_As_int(obj0
));
9967 if (SWIG_arg_fail(1)) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9984 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9991 (char *) "self",(char *) "flags", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9996 if (SWIG_arg_fail(1)) SWIG_fail
;
9998 arg2
= (int)(SWIG_As_int(obj1
));
9999 if (SWIG_arg_fail(2)) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 (arg1
)->SetFlags(arg2
);
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10008 Py_INCREF(Py_None
); resultobj
= Py_None
;
10015 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10026 if (SWIG_arg_fail(1)) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_From_int((int)(result
));
10043 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10048 PyObject
* obj0
= 0 ;
10049 PyObject
* obj1
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "self",(char *) "rect", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10056 if (SWIG_arg_fail(1)) SWIG_fail
;
10059 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 (arg1
)->SetRect((wxRect
const &)*arg2
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 Py_INCREF(Py_None
); resultobj
= Py_None
;
10075 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10079 PyObject
* obj0
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10086 if (SWIG_arg_fail(1)) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10095 wxRect
* resultptr
;
10096 resultptr
= new wxRect((wxRect
&)(result
));
10097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10105 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10108 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10110 return Py_BuildValue((char *)"");
10112 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxWindow
*arg1
= (wxWindow
*) 0 ;
10115 int arg2
= (int) -1 ;
10116 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10117 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10118 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10119 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10120 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10121 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10122 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10123 wxSashLayoutWindow
*result
;
10126 bool temp6
= false ;
10127 PyObject
* obj0
= 0 ;
10128 PyObject
* obj1
= 0 ;
10129 PyObject
* obj2
= 0 ;
10130 PyObject
* obj3
= 0 ;
10131 PyObject
* obj4
= 0 ;
10132 PyObject
* obj5
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail
;
10142 arg2
= (int)(SWIG_As_int(obj1
));
10143 if (SWIG_arg_fail(2)) SWIG_fail
;
10149 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10155 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10160 arg5
= (long)(SWIG_As_long(obj4
));
10161 if (SWIG_arg_fail(5)) SWIG_fail
;
10166 arg6
= wxString_in_helper(obj5
);
10167 if (arg6
== NULL
) SWIG_fail
;
10172 if (!wxPyCheckForApp()) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10194 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxSashLayoutWindow
*result
;
10197 char *kwnames
[] = {
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10203 if (!wxPyCheckForApp()) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10217 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10220 wxWindow
*arg2
= (wxWindow
*) 0 ;
10221 int arg3
= (int) -1 ;
10222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10226 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10227 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10228 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10232 bool temp7
= false ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 PyObject
* obj2
= 0 ;
10236 PyObject
* obj3
= 0 ;
10237 PyObject
* obj4
= 0 ;
10238 PyObject
* obj5
= 0 ;
10239 PyObject
* obj6
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10246 if (SWIG_arg_fail(1)) SWIG_fail
;
10247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10248 if (SWIG_arg_fail(2)) SWIG_fail
;
10251 arg3
= (int)(SWIG_As_int(obj2
));
10252 if (SWIG_arg_fail(3)) SWIG_fail
;
10258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10264 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10269 arg6
= (long)(SWIG_As_long(obj5
));
10270 if (SWIG_arg_fail(6)) SWIG_fail
;
10275 arg7
= wxString_in_helper(obj6
);
10276 if (arg7
== NULL
) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10307 wxLayoutAlignment result
;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10315 if (SWIG_arg_fail(1)) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_From_int((result
));
10330 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10333 wxLayoutOrientation result
;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10341 if (SWIG_arg_fail(1)) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_From_int((result
));
10356 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10359 wxLayoutAlignment arg2
;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "alignment", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10368 if (SWIG_arg_fail(1)) SWIG_fail
;
10370 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10371 if (SWIG_arg_fail(2)) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 Py_INCREF(Py_None
); resultobj
= Py_None
;
10387 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self",(char *) "size", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10400 if (SWIG_arg_fail(1)) SWIG_fail
;
10403 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 Py_INCREF(Py_None
); resultobj
= Py_None
;
10419 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10422 wxLayoutOrientation arg2
;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "orientation", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10431 if (SWIG_arg_fail(1)) SWIG_fail
;
10433 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10434 if (SWIG_arg_fail(2)) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10450 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10453 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10455 return Py_BuildValue((char *)"");
10457 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxLayoutAlgorithm
*result
;
10460 char *kwnames
[] = {
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10479 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10482 PyObject
* obj0
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10489 if (SWIG_arg_fail(1)) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 Py_INCREF(Py_None
); resultobj
= Py_None
;
10504 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10507 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10508 wxRect
*arg3
= (wxRect
*) NULL
;
10510 PyObject
* obj0
= 0 ;
10511 PyObject
* obj1
= 0 ;
10512 PyObject
* obj2
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "frame",(char *) "rect", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10519 if (SWIG_arg_fail(1)) SWIG_fail
;
10520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10521 if (SWIG_arg_fail(2)) SWIG_fail
;
10523 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10524 if (SWIG_arg_fail(3)) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10542 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10545 wxFrame
*arg2
= (wxFrame
*) 0 ;
10546 wxWindow
*arg3
= (wxWindow
*) NULL
;
10548 PyObject
* obj0
= 0 ;
10549 PyObject
* obj1
= 0 ;
10550 PyObject
* obj2
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail
;
10558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10559 if (SWIG_arg_fail(2)) SWIG_fail
;
10561 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10562 if (SWIG_arg_fail(3)) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10580 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10583 wxWindow
*arg2
= (wxWindow
*) 0 ;
10584 wxWindow
*arg3
= (wxWindow
*) NULL
;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 PyObject
* obj2
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10595 if (SWIG_arg_fail(1)) SWIG_fail
;
10596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10597 if (SWIG_arg_fail(2)) SWIG_fail
;
10599 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10600 if (SWIG_arg_fail(3)) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10618 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10621 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10623 return Py_BuildValue((char *)"");
10625 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxWindow
*arg1
= (wxWindow
*) 0 ;
10628 int arg2
= (int) wxBORDER_NONE
;
10629 wxPopupWindow
*result
;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "parent",(char *) "flags", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10638 if (SWIG_arg_fail(1)) SWIG_fail
;
10641 arg2
= (int)(SWIG_As_int(obj1
));
10642 if (SWIG_arg_fail(2)) SWIG_fail
;
10646 if (!wxPyCheckForApp()) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10660 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxPopupWindow
*result
;
10663 char *kwnames
[] = {
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10669 if (!wxPyCheckForApp()) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (wxPopupWindow
*)new wxPopupWindow();
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10683 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10686 wxWindow
*arg2
= (wxWindow
*) 0 ;
10687 int arg3
= (int) wxBORDER_NONE
;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self",(char *) "parent",(char *) "flags", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10698 if (SWIG_arg_fail(1)) SWIG_fail
;
10699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(2)) SWIG_fail
;
10703 arg3
= (int)(SWIG_As_int(obj2
));
10704 if (SWIG_arg_fail(3)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10723 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10726 wxPoint
*arg2
= 0 ;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 PyObject
* obj2
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10739 if (SWIG_arg_fail(1)) SWIG_fail
;
10742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10746 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10765 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10767 return Py_BuildValue((char *)"");
10769 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxWindow
*arg1
= (wxWindow
*) 0 ;
10772 int arg2
= (int) wxBORDER_NONE
;
10773 wxPyPopupTransientWindow
*result
;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "parent",(char *) "style", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10782 if (SWIG_arg_fail(1)) SWIG_fail
;
10785 arg2
= (int)(SWIG_As_int(obj1
));
10786 if (SWIG_arg_fail(2)) SWIG_fail
;
10790 if (!wxPyCheckForApp()) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10804 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxPyPopupTransientWindow
*result
;
10807 char *kwnames
[] = {
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10813 if (!wxPyCheckForApp()) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10827 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10830 PyObject
*arg2
= (PyObject
*) 0 ;
10831 PyObject
*arg3
= (PyObject
*) 0 ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 PyObject
* obj2
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self",(char *) "self",(char *) "_class", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10841 if (SWIG_arg_fail(1)) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10861 wxWindow
*arg2
= (wxWindow
*) NULL
;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self",(char *) "focus", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10870 if (SWIG_arg_fail(1)) SWIG_fail
;
10872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10873 if (SWIG_arg_fail(2)) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 (arg1
)->Popup(arg2
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 Py_INCREF(Py_None
); resultobj
= Py_None
;
10889 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10899 if (SWIG_arg_fail(1)) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 Py_INCREF(Py_None
); resultobj
= Py_None
;
10914 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10917 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10919 return Py_BuildValue((char *)"");
10921 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxWindow
*arg1
= (wxWindow
*) 0 ;
10924 wxString
*arg2
= 0 ;
10925 int arg3
= (int) 100 ;
10926 wxRect
*arg4
= (wxRect
*) NULL
;
10927 wxTipWindow
*result
;
10928 bool temp2
= false ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 PyObject
* obj2
= 0 ;
10932 PyObject
* obj3
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail
;
10941 arg2
= wxString_in_helper(obj1
);
10942 if (arg2
== NULL
) SWIG_fail
;
10947 arg3
= (int)(SWIG_As_int(obj2
));
10948 if (SWIG_arg_fail(3)) SWIG_fail
;
10952 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10953 if (SWIG_arg_fail(4)) SWIG_fail
;
10956 if (!wxPyCheckForApp()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10978 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "rectBound", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail
;
10994 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 Py_INCREF(Py_None
); resultobj
= Py_None
;
11010 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11013 PyObject
* obj0
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 Py_INCREF(Py_None
); resultobj
= Py_None
;
11035 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11038 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11040 return Py_BuildValue((char *)"");
11042 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxWindow
*arg1
= (wxWindow
*) 0 ;
11045 int arg2
= (int) wxID_ANY
;
11046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11050 long arg5
= (long) 0 ;
11051 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11053 wxPyVScrolledWindow
*result
;
11056 bool temp6
= false ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 PyObject
* obj2
= 0 ;
11060 PyObject
* obj3
= 0 ;
11061 PyObject
* obj4
= 0 ;
11062 PyObject
* obj5
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11069 if (SWIG_arg_fail(1)) SWIG_fail
;
11072 arg2
= (int)(SWIG_As_int(obj1
));
11073 if (SWIG_arg_fail(2)) SWIG_fail
;
11079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11090 arg5
= (long)(SWIG_As_long(obj4
));
11091 if (SWIG_arg_fail(5)) SWIG_fail
;
11096 arg6
= wxString_in_helper(obj5
);
11097 if (arg6
== NULL
) SWIG_fail
;
11102 if (!wxPyCheckForApp()) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11124 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxPyVScrolledWindow
*result
;
11127 char *kwnames
[] = {
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11133 if (!wxPyCheckForApp()) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11147 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11150 PyObject
*arg2
= (PyObject
*) 0 ;
11151 PyObject
*arg3
= (PyObject
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 PyObject
* obj2
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "self",(char *) "_class", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11161 if (SWIG_arg_fail(1)) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 Py_INCREF(Py_None
); resultobj
= Py_None
;
11178 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11181 wxWindow
*arg2
= (wxWindow
*) 0 ;
11182 int arg3
= (int) wxID_ANY
;
11183 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11184 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11185 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11186 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11187 long arg6
= (long) 0 ;
11188 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11189 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11193 bool temp7
= false ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 PyObject
* obj2
= 0 ;
11197 PyObject
* obj3
= 0 ;
11198 PyObject
* obj4
= 0 ;
11199 PyObject
* obj5
= 0 ;
11200 PyObject
* obj6
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11207 if (SWIG_arg_fail(1)) SWIG_fail
;
11208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11209 if (SWIG_arg_fail(2)) SWIG_fail
;
11212 arg3
= (int)(SWIG_As_int(obj2
));
11213 if (SWIG_arg_fail(3)) SWIG_fail
;
11219 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11225 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11230 arg6
= (long)(SWIG_As_long(obj5
));
11231 if (SWIG_arg_fail(6)) SWIG_fail
;
11236 arg7
= wxString_in_helper(obj6
);
11237 if (arg7
== NULL
) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11265 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 PyObject
* obj1
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self",(char *) "count", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11277 if (SWIG_arg_fail(1)) SWIG_fail
;
11279 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11280 if (SWIG_arg_fail(2)) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 (arg1
)->SetLineCount(arg2
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "line", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail
;
11311 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11312 if (SWIG_arg_fail(2)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11330 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "lines", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail
;
11345 arg2
= (int)(SWIG_As_int(obj1
));
11346 if (SWIG_arg_fail(2)) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (bool)(arg1
)->ScrollLines(arg2
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11364 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self",(char *) "pages", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11377 if (SWIG_arg_fail(1)) SWIG_fail
;
11379 arg2
= (int)(SWIG_As_int(obj1
));
11380 if (SWIG_arg_fail(2)) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= (bool)(arg1
)->ScrollPages(arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11398 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self",(char *) "line", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11410 if (SWIG_arg_fail(1)) SWIG_fail
;
11412 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11413 if (SWIG_arg_fail(2)) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 (arg1
)->RefreshLine(arg2
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 Py_INCREF(Py_None
); resultobj
= Py_None
;
11429 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 PyObject
* obj1
= 0 ;
11436 PyObject
* obj2
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self",(char *) "from",(char *) "to", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11443 if (SWIG_arg_fail(1)) SWIG_fail
;
11445 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11446 if (SWIG_arg_fail(2)) SWIG_fail
;
11449 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11450 if (SWIG_arg_fail(3)) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 (arg1
)->RefreshLines(arg2
,arg3
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 Py_INCREF(Py_None
); resultobj
= Py_None
;
11466 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 PyObject
* obj2
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "x",(char *) "y", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11481 if (SWIG_arg_fail(1)) SWIG_fail
;
11483 arg2
= (int)(SWIG_As_int(obj1
));
11484 if (SWIG_arg_fail(2)) SWIG_fail
;
11487 arg3
= (int)(SWIG_As_int(obj2
));
11488 if (SWIG_arg_fail(3)) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11498 resultobj
= SWIG_From_int((int)(result
));
11506 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11509 wxPoint
*arg2
= 0 ;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self",(char *) "pt", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11520 if (SWIG_arg_fail(1)) SWIG_fail
;
11523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_From_int((int)(result
));
11541 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11551 if (SWIG_arg_fail(1)) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 (arg1
)->RefreshAll();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 Py_INCREF(Py_None
); resultobj
= Py_None
;
11566 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11570 PyObject
* obj0
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11577 if (SWIG_arg_fail(1)) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11594 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11598 PyObject
* obj0
= 0 ;
11599 char *kwnames
[] = {
11600 (char *) "self", NULL
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11605 if (SWIG_arg_fail(1)) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11622 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11650 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self",(char *) "line", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11666 if (SWIG_arg_fail(2)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11684 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11687 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11689 return Py_BuildValue((char *)"");
11691 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11692 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11697 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11702 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11704 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11711 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxWindow
*arg1
= (wxWindow
*) 0 ;
11714 int arg2
= (int) wxID_ANY
;
11715 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11716 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11717 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11718 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11719 long arg5
= (long) 0 ;
11720 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11721 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11722 wxPyVListBox
*result
;
11725 bool temp6
= false ;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 PyObject
* obj2
= 0 ;
11729 PyObject
* obj3
= 0 ;
11730 PyObject
* obj4
= 0 ;
11731 PyObject
* obj5
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11738 if (SWIG_arg_fail(1)) SWIG_fail
;
11741 arg2
= (int)(SWIG_As_int(obj1
));
11742 if (SWIG_arg_fail(2)) SWIG_fail
;
11748 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11754 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11759 arg5
= (long)(SWIG_As_long(obj4
));
11760 if (SWIG_arg_fail(5)) SWIG_fail
;
11765 arg6
= wxString_in_helper(obj5
);
11766 if (arg6
== NULL
) SWIG_fail
;
11771 if (!wxPyCheckForApp()) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11793 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxPyVListBox
*result
;
11796 char *kwnames
[] = {
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11802 if (!wxPyCheckForApp()) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (wxPyVListBox
*)new wxPyVListBox();
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11816 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11819 PyObject
*arg2
= (PyObject
*) 0 ;
11820 PyObject
*arg3
= (PyObject
*) 0 ;
11821 PyObject
* obj0
= 0 ;
11822 PyObject
* obj1
= 0 ;
11823 PyObject
* obj2
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "self",(char *) "_class", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11830 if (SWIG_arg_fail(1)) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 Py_INCREF(Py_None
); resultobj
= Py_None
;
11847 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11850 wxWindow
*arg2
= (wxWindow
*) 0 ;
11851 int arg3
= (int) wxID_ANY
;
11852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11856 long arg6
= (long) 0 ;
11857 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11858 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11862 bool temp7
= false ;
11863 PyObject
* obj0
= 0 ;
11864 PyObject
* obj1
= 0 ;
11865 PyObject
* obj2
= 0 ;
11866 PyObject
* obj3
= 0 ;
11867 PyObject
* obj4
= 0 ;
11868 PyObject
* obj5
= 0 ;
11869 PyObject
* obj6
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11876 if (SWIG_arg_fail(1)) SWIG_fail
;
11877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11878 if (SWIG_arg_fail(2)) SWIG_fail
;
11881 arg3
= (int)(SWIG_As_int(obj2
));
11882 if (SWIG_arg_fail(3)) SWIG_fail
;
11888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11899 arg6
= (long)(SWIG_As_long(obj5
));
11900 if (SWIG_arg_fail(6)) SWIG_fail
;
11905 arg7
= wxString_in_helper(obj6
);
11906 if (arg7
== NULL
) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11934 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11945 if (SWIG_arg_fail(1)) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11962 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 char *kwnames
[] = {
11968 (char *) "self", NULL
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11973 if (SWIG_arg_fail(1)) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11990 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12001 if (SWIG_arg_fail(1)) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_From_int((int)(result
));
12018 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self",(char *) "item", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12031 if (SWIG_arg_fail(1)) SWIG_fail
;
12033 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12034 if (SWIG_arg_fail(2)) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12052 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "item", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12065 if (SWIG_arg_fail(1)) SWIG_fail
;
12067 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12068 if (SWIG_arg_fail(2)) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12086 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12114 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12125 if (SWIG_arg_fail(1)) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= result
;
12140 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12143 unsigned long arg2
;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self",(char *) "cookie", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail
;
12155 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12156 if (SWIG_arg_fail(2)) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= result
;
12172 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12176 PyObject
* obj0
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12183 if (SWIG_arg_fail(1)) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 wxPoint
* resultptr
;
12193 resultptr
= new wxPoint((wxPoint
&)(result
));
12194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12202 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12213 if (SWIG_arg_fail(1)) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12218 result
= (wxColour
*) &_result_ref
;
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12231 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self",(char *) "count", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12243 if (SWIG_arg_fail(1)) SWIG_fail
;
12245 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12246 if (SWIG_arg_fail(2)) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 (arg1
)->SetItemCount(arg2
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 Py_INCREF(Py_None
); resultobj
= Py_None
;
12262 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 Py_INCREF(Py_None
); resultobj
= Py_None
;
12287 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "selection", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12299 if (SWIG_arg_fail(1)) SWIG_fail
;
12301 arg2
= (int)(SWIG_As_int(obj1
));
12302 if (SWIG_arg_fail(2)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 (arg1
)->SetSelection(arg2
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 Py_INCREF(Py_None
); resultobj
= Py_None
;
12318 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12322 bool arg3
= (bool) true ;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 PyObject
* obj2
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "item",(char *) "select", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12333 if (SWIG_arg_fail(1)) SWIG_fail
;
12335 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12336 if (SWIG_arg_fail(2)) SWIG_fail
;
12340 arg3
= (bool)(SWIG_As_bool(obj2
));
12341 if (SWIG_arg_fail(3)) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12360 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 PyObject
* obj2
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "from",(char *) "to", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12375 if (SWIG_arg_fail(1)) SWIG_fail
;
12377 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12378 if (SWIG_arg_fail(2)) SWIG_fail
;
12381 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12382 if (SWIG_arg_fail(3)) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12400 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self",(char *) "item", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail
;
12414 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12415 if (SWIG_arg_fail(2)) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 (arg1
)->Toggle(arg2
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 Py_INCREF(Py_None
); resultobj
= Py_None
;
12431 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12442 if (SWIG_arg_fail(1)) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (bool)(arg1
)->SelectAll();
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12459 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12470 if (SWIG_arg_fail(1)) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (bool)(arg1
)->DeselectAll();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12487 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12490 wxPoint
*arg2
= 0 ;
12492 PyObject
* obj0
= 0 ;
12493 PyObject
* obj1
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self",(char *) "pt", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12500 if (SWIG_arg_fail(1)) SWIG_fail
;
12503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 Py_INCREF(Py_None
); resultobj
= Py_None
;
12519 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 PyObject
* obj2
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self",(char *) "x",(char *) "y", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail
;
12535 arg2
= (int)(SWIG_As_int(obj1
));
12536 if (SWIG_arg_fail(2)) SWIG_fail
;
12539 arg3
= (int)(SWIG_As_int(obj2
));
12540 if (SWIG_arg_fail(3)) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 (arg1
)->SetMargins(arg2
,arg3
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 Py_INCREF(Py_None
); resultobj
= Py_None
;
12556 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12559 wxColour
*arg2
= 0 ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "col", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12569 if (SWIG_arg_fail(1)) SWIG_fail
;
12572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 Py_INCREF(Py_None
); resultobj
= Py_None
;
12588 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12591 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12593 return Py_BuildValue((char *)"");
12595 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxWindow
*arg1
= (wxWindow
*) 0 ;
12598 int arg2
= (int) wxID_ANY
;
12599 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12600 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12601 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12602 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12603 long arg5
= (long) 0 ;
12604 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12605 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12606 wxPyHtmlListBox
*result
;
12609 bool temp6
= false ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 PyObject
* obj2
= 0 ;
12613 PyObject
* obj3
= 0 ;
12614 PyObject
* obj4
= 0 ;
12615 PyObject
* obj5
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12622 if (SWIG_arg_fail(1)) SWIG_fail
;
12625 arg2
= (int)(SWIG_As_int(obj1
));
12626 if (SWIG_arg_fail(2)) SWIG_fail
;
12632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12643 arg5
= (long)(SWIG_As_long(obj4
));
12644 if (SWIG_arg_fail(5)) SWIG_fail
;
12649 arg6
= wxString_in_helper(obj5
);
12650 if (arg6
== NULL
) SWIG_fail
;
12655 if (!wxPyCheckForApp()) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12677 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxPyHtmlListBox
*result
;
12680 char *kwnames
[] = {
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12686 if (!wxPyCheckForApp()) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12700 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12703 PyObject
*arg2
= (PyObject
*) 0 ;
12704 PyObject
*arg3
= (PyObject
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 PyObject
* obj2
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self",(char *) "self",(char *) "_class", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12714 if (SWIG_arg_fail(1)) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 Py_INCREF(Py_None
); resultobj
= Py_None
;
12731 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12734 wxWindow
*arg2
= (wxWindow
*) 0 ;
12735 int arg3
= (int) wxID_ANY
;
12736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12740 long arg6
= (long) 0 ;
12741 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12742 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12746 bool temp7
= false ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 PyObject
* obj3
= 0 ;
12751 PyObject
* obj4
= 0 ;
12752 PyObject
* obj5
= 0 ;
12753 PyObject
* obj6
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail
;
12761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12762 if (SWIG_arg_fail(2)) SWIG_fail
;
12765 arg3
= (int)(SWIG_As_int(obj2
));
12766 if (SWIG_arg_fail(3)) SWIG_fail
;
12772 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12778 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12783 arg6
= (long)(SWIG_As_long(obj5
));
12784 if (SWIG_arg_fail(6)) SWIG_fail
;
12789 arg7
= wxString_in_helper(obj6
);
12790 if (arg7
== NULL
) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12818 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12821 PyObject
* obj0
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12828 if (SWIG_arg_fail(1)) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 (arg1
)->RefreshAll();
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "self",(char *) "count", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12855 if (SWIG_arg_fail(1)) SWIG_fail
;
12857 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12858 if (SWIG_arg_fail(2)) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->SetItemCount(arg2
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 Py_INCREF(Py_None
); resultobj
= Py_None
;
12874 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12877 wxFileSystem
*result
;
12878 PyObject
* obj0
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "self", NULL
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12885 if (SWIG_arg_fail(1)) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12890 result
= (wxFileSystem
*) &_result_ref
;
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12903 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12906 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12908 return Py_BuildValue((char *)"");
12910 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxPyTaskBarIcon
*result
;
12913 char *kwnames
[] = {
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12919 if (!wxPyCheckForApp()) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12933 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12936 PyObject
*arg2
= (PyObject
*) 0 ;
12937 PyObject
*arg3
= (PyObject
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 PyObject
* obj1
= 0 ;
12941 PyObject
* obj2
= 0 ;
12942 PyObject
* obj3
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12949 if (SWIG_arg_fail(1)) SWIG_fail
;
12953 arg4
= (int)(SWIG_As_int(obj3
));
12954 if (SWIG_arg_fail(4)) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 Py_INCREF(Py_None
); resultobj
= Py_None
;
12970 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12980 if (SWIG_arg_fail(1)) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 wxPyTaskBarIcon_Destroy(arg1
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 Py_INCREF(Py_None
); resultobj
= Py_None
;
12995 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13023 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13051 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13058 bool temp3
= false ;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 PyObject
* obj2
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail
;
13070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13071 if (SWIG_arg_fail(2)) SWIG_fail
;
13072 if (arg2
== NULL
) {
13073 SWIG_null_ref("wxIcon");
13075 if (SWIG_arg_fail(2)) SWIG_fail
;
13079 arg3
= wxString_in_helper(obj2
);
13080 if (arg3
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13108 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13119 if (SWIG_arg_fail(1)) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (bool)(arg1
)->RemoveIcon();
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13136 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13139 wxMenu
*arg2
= (wxMenu
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "menu", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13149 if (SWIG_arg_fail(1)) SWIG_fail
;
13150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13151 if (SWIG_arg_fail(2)) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 result
= (bool)(arg1
)->PopupMenu(arg2
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13168 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13171 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13173 return Py_BuildValue((char *)"");
13175 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13178 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13179 wxTaskBarIconEvent
*result
;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "evtType",(char *) "tbIcon", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13188 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13189 if (SWIG_arg_fail(1)) SWIG_fail
;
13191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13192 if (SWIG_arg_fail(2)) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13207 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13210 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13212 return Py_BuildValue((char *)"");
13214 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13215 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13220 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13225 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13227 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13234 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13235 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13240 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13245 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13247 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13254 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13255 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13260 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13265 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13267 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13274 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13275 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13280 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13285 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13287 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13294 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13295 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13300 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13305 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13307 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13314 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13315 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13320 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13325 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13327 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13334 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxColourData
*result
;
13337 char *kwnames
[] = {
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (wxColourData
*)new wxColourData();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13356 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxColourData
*arg1
= (wxColourData
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 Py_INCREF(Py_None
); resultobj
= Py_None
;
13381 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxColourData
*arg1
= (wxColourData
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13392 if (SWIG_arg_fail(1)) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (bool)(arg1
)->GetChooseFull();
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13409 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxColourData
*arg1
= (wxColourData
*) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13420 if (SWIG_arg_fail(1)) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (arg1
)->GetColour();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13429 wxColour
* resultptr
;
13430 resultptr
= new wxColour((wxColour
&)(result
));
13431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13439 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxColourData
*arg1
= (wxColourData
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self",(char *) "i", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13452 if (SWIG_arg_fail(1)) SWIG_fail
;
13454 arg2
= (int)(SWIG_As_int(obj1
));
13455 if (SWIG_arg_fail(2)) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (arg1
)->GetCustomColour(arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13465 wxColour
* resultptr
;
13466 resultptr
= new wxColour((wxColour
&)(result
));
13467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13475 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxColourData
*arg1
= (wxColourData
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self",(char *) "flag", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13487 if (SWIG_arg_fail(1)) SWIG_fail
;
13489 arg2
= (int)(SWIG_As_int(obj1
));
13490 if (SWIG_arg_fail(2)) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 (arg1
)->SetChooseFull(arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 Py_INCREF(Py_None
); resultobj
= Py_None
;
13506 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxColourData
*arg1
= (wxColourData
*) 0 ;
13509 wxColour
*arg2
= 0 ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self",(char *) "colour", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13519 if (SWIG_arg_fail(1)) SWIG_fail
;
13522 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 (arg1
)->SetColour((wxColour
const &)*arg2
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 Py_INCREF(Py_None
); resultobj
= Py_None
;
13538 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxColourData
*arg1
= (wxColourData
*) 0 ;
13542 wxColour
*arg3
= 0 ;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 PyObject
* obj2
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "i",(char *) "colour", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13553 if (SWIG_arg_fail(1)) SWIG_fail
;
13555 arg2
= (int)(SWIG_As_int(obj1
));
13556 if (SWIG_arg_fail(2)) SWIG_fail
;
13560 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 Py_INCREF(Py_None
); resultobj
= Py_None
;
13576 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13579 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13581 return Py_BuildValue((char *)"");
13583 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxWindow
*arg1
= (wxWindow
*) 0 ;
13586 wxColourData
*arg2
= (wxColourData
*) NULL
;
13587 wxColourDialog
*result
;
13588 PyObject
* obj0
= 0 ;
13589 PyObject
* obj1
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "parent",(char *) "data", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13596 if (SWIG_arg_fail(1)) SWIG_fail
;
13598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13599 if (SWIG_arg_fail(2)) SWIG_fail
;
13602 if (!wxPyCheckForApp()) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13616 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13619 wxColourData
*result
;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13627 if (SWIG_arg_fail(1)) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13632 result
= (wxColourData
*) &_result_ref
;
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13645 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13648 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13650 return Py_BuildValue((char *)"");
13652 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxWindow
*arg1
= (wxWindow
*) 0 ;
13655 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13659 long arg4
= (long) 0 ;
13660 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13661 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13662 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13663 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13664 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13665 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13666 wxDirDialog
*result
;
13667 bool temp2
= false ;
13668 bool temp3
= false ;
13671 bool temp7
= false ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 PyObject
* obj2
= 0 ;
13675 PyObject
* obj3
= 0 ;
13676 PyObject
* obj4
= 0 ;
13677 PyObject
* obj5
= 0 ;
13678 PyObject
* obj6
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13685 if (SWIG_arg_fail(1)) SWIG_fail
;
13688 arg2
= wxString_in_helper(obj1
);
13689 if (arg2
== NULL
) SWIG_fail
;
13695 arg3
= wxString_in_helper(obj2
);
13696 if (arg3
== NULL
) SWIG_fail
;
13702 arg4
= (long)(SWIG_As_long(obj3
));
13703 if (SWIG_arg_fail(4)) SWIG_fail
;
13709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13720 arg7
= wxString_in_helper(obj6
);
13721 if (arg7
== NULL
) SWIG_fail
;
13726 if (!wxPyCheckForApp()) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13764 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13775 if (SWIG_arg_fail(1)) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (arg1
)->GetPath();
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13796 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
;
13798 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13800 PyObject
* obj0
= 0 ;
13801 char *kwnames
[] = {
13802 (char *) "self", NULL
13805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13807 if (SWIG_arg_fail(1)) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (arg1
)->GetMessage();
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13828 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13839 if (SWIG_arg_fail(1)) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (long)(arg1
)->GetStyle();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_From_long((long)(result
));
13856 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13859 wxString
*arg2
= 0 ;
13860 bool temp2
= false ;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self",(char *) "message", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13869 if (SWIG_arg_fail(1)) SWIG_fail
;
13871 arg2
= wxString_in_helper(obj1
);
13872 if (arg2
== NULL
) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetMessage((wxString
const &)*arg2
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 Py_INCREF(Py_None
); resultobj
= Py_None
;
13897 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13900 wxString
*arg2
= 0 ;
13901 bool temp2
= false ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self",(char *) "path", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13910 if (SWIG_arg_fail(1)) SWIG_fail
;
13912 arg2
= wxString_in_helper(obj1
);
13913 if (arg2
== NULL
) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 (arg1
)->SetPath((wxString
const &)*arg2
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 Py_INCREF(Py_None
); resultobj
= Py_None
;
13938 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13941 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13943 return Py_BuildValue((char *)"");
13945 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxWindow
*arg1
= (wxWindow
*) 0 ;
13948 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13949 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13950 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13951 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13952 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13953 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13954 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13955 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13956 long arg6
= (long) 0 ;
13957 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13958 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13959 wxFileDialog
*result
;
13960 bool temp2
= false ;
13961 bool temp3
= false ;
13962 bool temp4
= false ;
13963 bool temp5
= false ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 PyObject
* obj2
= 0 ;
13968 PyObject
* obj3
= 0 ;
13969 PyObject
* obj4
= 0 ;
13970 PyObject
* obj5
= 0 ;
13971 PyObject
* obj6
= 0 ;
13972 char *kwnames
[] = {
13973 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13978 if (SWIG_arg_fail(1)) SWIG_fail
;
13981 arg2
= wxString_in_helper(obj1
);
13982 if (arg2
== NULL
) SWIG_fail
;
13988 arg3
= wxString_in_helper(obj2
);
13989 if (arg3
== NULL
) SWIG_fail
;
13995 arg4
= wxString_in_helper(obj3
);
13996 if (arg4
== NULL
) SWIG_fail
;
14002 arg5
= wxString_in_helper(obj4
);
14003 if (arg5
== NULL
) SWIG_fail
;
14009 arg6
= (long)(SWIG_As_long(obj5
));
14010 if (SWIG_arg_fail(6)) SWIG_fail
;
14016 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14020 if (!wxPyCheckForApp()) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14066 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14069 wxString
*arg2
= 0 ;
14070 bool temp2
= false ;
14071 PyObject
* obj0
= 0 ;
14072 PyObject
* obj1
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self",(char *) "message", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14079 if (SWIG_arg_fail(1)) SWIG_fail
;
14081 arg2
= wxString_in_helper(obj1
);
14082 if (arg2
== NULL
) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 (arg1
)->SetMessage((wxString
const &)*arg2
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 Py_INCREF(Py_None
); resultobj
= Py_None
;
14107 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14110 wxString
*arg2
= 0 ;
14111 bool temp2
= false ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "path", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14120 if (SWIG_arg_fail(1)) SWIG_fail
;
14122 arg2
= wxString_in_helper(obj1
);
14123 if (arg2
== NULL
) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 (arg1
)->SetPath((wxString
const &)*arg2
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 Py_INCREF(Py_None
); resultobj
= Py_None
;
14148 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14151 wxString
*arg2
= 0 ;
14152 bool temp2
= false ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "dir", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail
;
14163 arg2
= wxString_in_helper(obj1
);
14164 if (arg2
== NULL
) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 Py_INCREF(Py_None
); resultobj
= Py_None
;
14189 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14192 wxString
*arg2
= 0 ;
14193 bool temp2
= false ;
14194 PyObject
* obj0
= 0 ;
14195 PyObject
* obj1
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self",(char *) "name", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14202 if (SWIG_arg_fail(1)) SWIG_fail
;
14204 arg2
= wxString_in_helper(obj1
);
14205 if (arg2
== NULL
) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 (arg1
)->SetFilename((wxString
const &)*arg2
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 Py_INCREF(Py_None
); resultobj
= Py_None
;
14230 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14233 wxString
*arg2
= 0 ;
14234 bool temp2
= false ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "wildCard", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14243 if (SWIG_arg_fail(1)) SWIG_fail
;
14245 arg2
= wxString_in_helper(obj1
);
14246 if (arg2
== NULL
) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14271 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self",(char *) "style", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14283 if (SWIG_arg_fail(1)) SWIG_fail
;
14285 arg2
= (long)(SWIG_As_long(obj1
));
14286 if (SWIG_arg_fail(2)) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 (arg1
)->SetStyle(arg2
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 Py_INCREF(Py_None
); resultobj
= Py_None
;
14302 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "filterIndex", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14314 if (SWIG_arg_fail(1)) SWIG_fail
;
14316 arg2
= (int)(SWIG_As_int(obj1
));
14317 if (SWIG_arg_fail(2)) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 (arg1
)->SetFilterIndex(arg2
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 Py_INCREF(Py_None
); resultobj
= Py_None
;
14333 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14344 if (SWIG_arg_fail(1)) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14365 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
;
14367 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14376 if (SWIG_arg_fail(1)) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14397 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14408 if (SWIG_arg_fail(1)) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14429 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14440 if (SWIG_arg_fail(1)) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14461 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14472 if (SWIG_arg_fail(1)) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14493 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14504 if (SWIG_arg_fail(1)) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_From_long((long)(result
));
14521 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14532 if (SWIG_arg_fail(1)) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_From_int((int)(result
));
14549 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14560 if (SWIG_arg_fail(1)) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= result
;
14575 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14586 if (SWIG_arg_fail(1)) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= result
;
14601 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14604 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14606 return Py_BuildValue((char *)"");
14608 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxWindow
*arg1
= (wxWindow
*) 0 ;
14611 wxString
*arg2
= 0 ;
14612 wxString
*arg3
= 0 ;
14613 int arg4
= (int) 0 ;
14614 wxString
*arg5
= (wxString
*) NULL
;
14615 long arg6
= (long) wxCHOICEDLG_STYLE
;
14616 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14617 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14618 wxMultiChoiceDialog
*result
;
14619 bool temp2
= false ;
14620 bool temp3
= false ;
14622 PyObject
* obj0
= 0 ;
14623 PyObject
* obj1
= 0 ;
14624 PyObject
* obj2
= 0 ;
14625 PyObject
* obj3
= 0 ;
14626 PyObject
* obj4
= 0 ;
14627 PyObject
* obj5
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14634 if (SWIG_arg_fail(1)) SWIG_fail
;
14636 arg2
= wxString_in_helper(obj1
);
14637 if (arg2
== NULL
) SWIG_fail
;
14641 arg3
= wxString_in_helper(obj2
);
14642 if (arg3
== NULL
) SWIG_fail
;
14647 arg4
= PyList_Size(obj3
);
14648 arg5
= wxString_LIST_helper(obj3
);
14649 if (arg5
== NULL
) SWIG_fail
;
14654 arg6
= (long)(SWIG_As_long(obj4
));
14655 if (SWIG_arg_fail(6)) SWIG_fail
;
14661 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14665 if (!wxPyCheckForApp()) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14682 if (arg5
) delete [] arg5
;
14695 if (arg5
) delete [] arg5
;
14701 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14704 wxArrayInt
*arg2
= 0 ;
14705 bool temp2
= false ;
14706 PyObject
* obj0
= 0 ;
14707 PyObject
* obj1
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self",(char *) "selections", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14714 if (SWIG_arg_fail(1)) SWIG_fail
;
14716 if (! PySequence_Check(obj1
)) {
14717 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14720 arg2
= new wxArrayInt
;
14722 int i
, len
=PySequence_Length(obj1
);
14723 for (i
=0; i
<len
; i
++) {
14724 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14725 PyObject
* number
= PyNumber_Int(item
);
14726 arg2
->Add(PyInt_AS_LONG(number
));
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 if (temp2
) delete arg2
;
14745 if (temp2
) delete arg2
;
14751 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14762 if (SWIG_arg_fail(1)) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= result
;
14777 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14780 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14782 return Py_BuildValue((char *)"");
14784 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxWindow
*arg1
= (wxWindow
*) 0 ;
14787 wxString
*arg2
= 0 ;
14788 wxString
*arg3
= 0 ;
14790 wxString
*arg5
= (wxString
*) 0 ;
14791 long arg6
= (long) wxCHOICEDLG_STYLE
;
14792 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14793 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14794 wxSingleChoiceDialog
*result
;
14795 bool temp2
= false ;
14796 bool temp3
= false ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 PyObject
* obj2
= 0 ;
14801 PyObject
* obj3
= 0 ;
14802 PyObject
* obj4
= 0 ;
14803 PyObject
* obj5
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14810 if (SWIG_arg_fail(1)) SWIG_fail
;
14812 arg2
= wxString_in_helper(obj1
);
14813 if (arg2
== NULL
) SWIG_fail
;
14817 arg3
= wxString_in_helper(obj2
);
14818 if (arg3
== NULL
) SWIG_fail
;
14822 arg4
= PyList_Size(obj3
);
14823 arg5
= wxString_LIST_helper(obj3
);
14824 if (arg5
== NULL
) SWIG_fail
;
14828 arg6
= (long)(SWIG_As_long(obj4
));
14829 if (SWIG_arg_fail(6)) SWIG_fail
;
14835 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14839 if (!wxPyCheckForApp()) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14856 if (arg5
) delete [] arg5
;
14869 if (arg5
) delete [] arg5
;
14875 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14886 if (SWIG_arg_fail(1)) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (int)(arg1
)->GetSelection();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_From_int((int)(result
));
14903 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14914 if (SWIG_arg_fail(1)) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (arg1
)->GetStringSelection();
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14935 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14939 PyObject
* obj0
= 0 ;
14940 PyObject
* obj1
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self",(char *) "sel", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail
;
14949 arg2
= (int)(SWIG_As_int(obj1
));
14950 if (SWIG_arg_fail(2)) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 (arg1
)->SetSelection(arg2
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 Py_INCREF(Py_None
); resultobj
= Py_None
;
14966 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14969 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14971 return Py_BuildValue((char *)"");
14973 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxWindow
*arg1
= (wxWindow
*) 0 ;
14976 wxString
*arg2
= 0 ;
14977 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14979 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14980 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14981 long arg5
= (long) wxTextEntryDialogStyle
;
14982 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14983 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14984 wxTextEntryDialog
*result
;
14985 bool temp2
= false ;
14986 bool temp3
= false ;
14987 bool temp4
= false ;
14989 PyObject
* obj0
= 0 ;
14990 PyObject
* obj1
= 0 ;
14991 PyObject
* obj2
= 0 ;
14992 PyObject
* obj3
= 0 ;
14993 PyObject
* obj4
= 0 ;
14994 PyObject
* obj5
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15001 if (SWIG_arg_fail(1)) SWIG_fail
;
15003 arg2
= wxString_in_helper(obj1
);
15004 if (arg2
== NULL
) SWIG_fail
;
15009 arg3
= wxString_in_helper(obj2
);
15010 if (arg3
== NULL
) SWIG_fail
;
15016 arg4
= wxString_in_helper(obj3
);
15017 if (arg4
== NULL
) SWIG_fail
;
15023 arg5
= (long)(SWIG_As_long(obj4
));
15024 if (SWIG_arg_fail(5)) SWIG_fail
;
15030 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15034 if (!wxPyCheckForApp()) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15072 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15083 if (SWIG_arg_fail(1)) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (arg1
)->GetValue();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15104 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15107 wxString
*arg2
= 0 ;
15108 bool temp2
= false ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self",(char *) "value", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15117 if (SWIG_arg_fail(1)) SWIG_fail
;
15119 arg2
= wxString_in_helper(obj1
);
15120 if (arg2
== NULL
) SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 (arg1
)->SetValue((wxString
const &)*arg2
);
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15148 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15150 return Py_BuildValue((char *)"");
15152 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15153 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15158 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15163 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15165 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15172 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxWindow
*arg1
= (wxWindow
*) 0 ;
15175 wxString
*arg2
= 0 ;
15176 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15177 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15178 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15179 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15180 long arg5
= (long) wxTextEntryDialogStyle
;
15181 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15182 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15183 wxPasswordEntryDialog
*result
;
15184 bool temp2
= false ;
15185 bool temp3
= false ;
15186 bool temp4
= false ;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15190 PyObject
* obj2
= 0 ;
15191 PyObject
* obj3
= 0 ;
15192 PyObject
* obj4
= 0 ;
15193 PyObject
* obj5
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15200 if (SWIG_arg_fail(1)) SWIG_fail
;
15202 arg2
= wxString_in_helper(obj1
);
15203 if (arg2
== NULL
) SWIG_fail
;
15208 arg3
= wxString_in_helper(obj2
);
15209 if (arg3
== NULL
) SWIG_fail
;
15215 arg4
= wxString_in_helper(obj3
);
15216 if (arg4
== NULL
) SWIG_fail
;
15222 arg5
= (long)(SWIG_As_long(obj4
));
15223 if (SWIG_arg_fail(5)) SWIG_fail
;
15229 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15270 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15273 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15275 return Py_BuildValue((char *)"");
15277 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxFontData
*result
;
15280 char *kwnames
[] = {
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (wxFontData
*)new wxFontData();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15299 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxFontData
*arg1
= (wxFontData
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 Py_INCREF(Py_None
); resultobj
= Py_None
;
15324 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxFontData
*arg1
= (wxFontData
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 PyObject
* obj1
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "self",(char *) "enable", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15336 if (SWIG_arg_fail(1)) SWIG_fail
;
15338 arg2
= (bool)(SWIG_As_bool(obj1
));
15339 if (SWIG_arg_fail(2)) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 (arg1
)->EnableEffects(arg2
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 Py_INCREF(Py_None
); resultobj
= Py_None
;
15355 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxFontData
*arg1
= (wxFontData
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15366 if (SWIG_arg_fail(1)) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (bool)(arg1
)->GetAllowSymbols();
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15383 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxFontData
*arg1
= (wxFontData
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (arg1
)->GetColour();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15403 wxColour
* resultptr
;
15404 resultptr
= new wxColour((wxColour
&)(result
));
15405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15413 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxFontData
*arg1
= (wxFontData
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15424 if (SWIG_arg_fail(1)) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (arg1
)->GetChosenFont();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 wxFont
* resultptr
;
15434 resultptr
= new wxFont((wxFont
&)(result
));
15435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15443 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxFontData
*arg1
= (wxFontData
*) 0 ;
15447 PyObject
* obj0
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15454 if (SWIG_arg_fail(1)) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (bool)(arg1
)->GetEnableEffects();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15471 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxFontData
*arg1
= (wxFontData
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15482 if (SWIG_arg_fail(1)) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (arg1
)->GetInitialFont();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15491 wxFont
* resultptr
;
15492 resultptr
= new wxFont((wxFont
&)(result
));
15493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15501 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxFontData
*arg1
= (wxFontData
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15512 if (SWIG_arg_fail(1)) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (bool)(arg1
)->GetShowHelp();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15529 static PyObject
*_wrap_FontData_SetAllowSymbols(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 *) "allowSymbols", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",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 arg2
= (bool)(SWIG_As_bool(obj1
));
15544 if (SWIG_arg_fail(2)) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 (arg1
)->SetAllowSymbols(arg2
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 Py_INCREF(Py_None
); resultobj
= Py_None
;
15560 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxFontData
*arg1
= (wxFontData
*) 0 ;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self",(char *) "font", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15572 if (SWIG_arg_fail(1)) SWIG_fail
;
15574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15575 if (SWIG_arg_fail(2)) SWIG_fail
;
15576 if (arg2
== NULL
) {
15577 SWIG_null_ref("wxFont");
15579 if (SWIG_arg_fail(2)) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 Py_INCREF(Py_None
); resultobj
= Py_None
;
15595 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxFontData
*arg1
= (wxFontData
*) 0 ;
15598 wxColour
*arg2
= 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "colour", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15608 if (SWIG_arg_fail(1)) SWIG_fail
;
15611 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->SetColour((wxColour
const &)*arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxFontData
*arg1
= (wxFontData
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self",(char *) "font", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15639 if (SWIG_arg_fail(1)) SWIG_fail
;
15641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15642 if (SWIG_arg_fail(2)) SWIG_fail
;
15643 if (arg2
== NULL
) {
15644 SWIG_null_ref("wxFont");
15646 if (SWIG_arg_fail(2)) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 Py_INCREF(Py_None
); resultobj
= Py_None
;
15662 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxFontData
*arg1
= (wxFontData
*) 0 ;
15667 PyObject
* obj0
= 0 ;
15668 PyObject
* obj1
= 0 ;
15669 PyObject
* obj2
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self",(char *) "min",(char *) "max", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15676 if (SWIG_arg_fail(1)) SWIG_fail
;
15678 arg2
= (int)(SWIG_As_int(obj1
));
15679 if (SWIG_arg_fail(2)) SWIG_fail
;
15682 arg3
= (int)(SWIG_As_int(obj2
));
15683 if (SWIG_arg_fail(3)) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->SetRange(arg2
,arg3
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 Py_INCREF(Py_None
); resultobj
= Py_None
;
15699 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxFontData
*arg1
= (wxFontData
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "showHelp", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15711 if (SWIG_arg_fail(1)) SWIG_fail
;
15713 arg2
= (bool)(SWIG_As_bool(obj1
));
15714 if (SWIG_arg_fail(2)) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 (arg1
)->SetShowHelp(arg2
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 Py_INCREF(Py_None
); resultobj
= Py_None
;
15730 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15733 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15735 return Py_BuildValue((char *)"");
15737 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxWindow
*arg1
= (wxWindow
*) 0 ;
15740 wxFontData
*arg2
= 0 ;
15741 wxFontDialog
*result
;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "parent",(char *) "data", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15750 if (SWIG_arg_fail(1)) SWIG_fail
;
15752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15753 if (SWIG_arg_fail(2)) SWIG_fail
;
15754 if (arg2
== NULL
) {
15755 SWIG_null_ref("wxFontData");
15757 if (SWIG_arg_fail(2)) SWIG_fail
;
15760 if (!wxPyCheckForApp()) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15774 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15777 wxFontData
*result
;
15778 PyObject
* obj0
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15790 result
= (wxFontData
*) &_result_ref
;
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15803 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15806 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15808 return Py_BuildValue((char *)"");
15810 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxWindow
*arg1
= (wxWindow
*) 0 ;
15813 wxString
*arg2
= 0 ;
15814 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15815 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15816 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15817 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15818 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15819 wxMessageDialog
*result
;
15820 bool temp2
= false ;
15821 bool temp3
= false ;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 PyObject
* obj2
= 0 ;
15826 PyObject
* obj3
= 0 ;
15827 PyObject
* obj4
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15834 if (SWIG_arg_fail(1)) SWIG_fail
;
15836 arg2
= wxString_in_helper(obj1
);
15837 if (arg2
== NULL
) SWIG_fail
;
15842 arg3
= wxString_in_helper(obj2
);
15843 if (arg3
== NULL
) SWIG_fail
;
15849 arg4
= (long)(SWIG_As_long(obj3
));
15850 if (SWIG_arg_fail(4)) SWIG_fail
;
15856 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15860 if (!wxPyCheckForApp()) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15890 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15893 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15895 return Py_BuildValue((char *)"");
15897 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxString
*arg1
= 0 ;
15900 wxString
*arg2
= 0 ;
15901 int arg3
= (int) 100 ;
15902 wxWindow
*arg4
= (wxWindow
*) NULL
;
15903 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15904 wxProgressDialog
*result
;
15905 bool temp1
= false ;
15906 bool temp2
= false ;
15907 PyObject
* obj0
= 0 ;
15908 PyObject
* obj1
= 0 ;
15909 PyObject
* obj2
= 0 ;
15910 PyObject
* obj3
= 0 ;
15911 PyObject
* obj4
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15918 arg1
= wxString_in_helper(obj0
);
15919 if (arg1
== NULL
) SWIG_fail
;
15923 arg2
= wxString_in_helper(obj1
);
15924 if (arg2
== NULL
) SWIG_fail
;
15929 arg3
= (int)(SWIG_As_int(obj2
));
15930 if (SWIG_arg_fail(3)) SWIG_fail
;
15934 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15935 if (SWIG_arg_fail(4)) SWIG_fail
;
15939 arg5
= (int)(SWIG_As_int(obj4
));
15940 if (SWIG_arg_fail(5)) SWIG_fail
;
15944 if (!wxPyCheckForApp()) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15974 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15978 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15979 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15981 bool temp3
= false ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 PyObject
* obj2
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15991 if (SWIG_arg_fail(1)) SWIG_fail
;
15993 arg2
= (int)(SWIG_As_int(obj1
));
15994 if (SWIG_arg_fail(2)) SWIG_fail
;
15998 arg3
= wxString_in_helper(obj2
);
15999 if (arg3
== NULL
) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16037 if (SWIG_arg_fail(1)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 Py_INCREF(Py_None
); resultobj
= Py_None
;
16052 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16055 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16057 return Py_BuildValue((char *)"");
16059 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16062 int arg2
= (int) 0 ;
16063 wxFindDialogEvent
*result
;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "commandType",(char *) "id", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16073 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16074 if (SWIG_arg_fail(1)) SWIG_fail
;
16079 arg2
= (int)(SWIG_As_int(obj1
));
16080 if (SWIG_arg_fail(2)) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16097 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",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
= (int)(arg1
)->GetFlags();
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_From_int((int)(result
));
16125 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16136 if (SWIG_arg_fail(1)) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 wxString
const &_result_ref
= (arg1
)->GetFindString();
16141 result
= (wxString
*) &_result_ref
;
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16160 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16164 PyObject
* obj0
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16171 if (SWIG_arg_fail(1)) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16176 result
= (wxString
*) &_result_ref
;
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16184 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16186 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16195 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16198 wxFindReplaceDialog
*result
;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16206 if (SWIG_arg_fail(1)) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16221 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self",(char *) "flags", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16233 if (SWIG_arg_fail(1)) SWIG_fail
;
16235 arg2
= (int)(SWIG_As_int(obj1
));
16236 if (SWIG_arg_fail(2)) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 (arg1
)->SetFlags(arg2
);
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 Py_INCREF(Py_None
); resultobj
= Py_None
;
16252 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
;
16254 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16255 wxString
*arg2
= 0 ;
16256 bool temp2
= false ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self",(char *) "str", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16265 if (SWIG_arg_fail(1)) SWIG_fail
;
16267 arg2
= wxString_in_helper(obj1
);
16268 if (arg2
== NULL
) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 (arg1
)->SetFindString((wxString
const &)*arg2
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 Py_INCREF(Py_None
); resultobj
= Py_None
;
16293 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16296 wxString
*arg2
= 0 ;
16297 bool temp2
= false ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "str", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16306 if (SWIG_arg_fail(1)) SWIG_fail
;
16308 arg2
= wxString_in_helper(obj1
);
16309 if (arg2
== NULL
) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16337 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16339 return Py_BuildValue((char *)"");
16341 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 int arg1
= (int) 0 ;
16344 wxFindReplaceData
*result
;
16345 PyObject
* obj0
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "flags", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16353 arg1
= (int)(SWIG_As_int(obj0
));
16354 if (SWIG_arg_fail(1)) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16371 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16381 if (SWIG_arg_fail(1)) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16389 Py_INCREF(Py_None
); resultobj
= Py_None
;
16396 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16407 if (SWIG_arg_fail(1)) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 wxString
const &_result_ref
= (arg1
)->GetFindString();
16412 result
= (wxString
*) &_result_ref
;
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16422 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16431 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16442 if (SWIG_arg_fail(1)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16447 result
= (wxString
*) &_result_ref
;
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16457 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16466 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16477 if (SWIG_arg_fail(1)) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (int)(arg1
)->GetFlags();
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= SWIG_From_int((int)(result
));
16494 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self",(char *) "flags", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail
;
16508 arg2
= (int)(SWIG_As_int(obj1
));
16509 if (SWIG_arg_fail(2)) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 (arg1
)->SetFlags(arg2
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16528 wxString
*arg2
= 0 ;
16529 bool temp2
= false ;
16530 PyObject
* obj0
= 0 ;
16531 PyObject
* obj1
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "str", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16538 if (SWIG_arg_fail(1)) SWIG_fail
;
16540 arg2
= wxString_in_helper(obj1
);
16541 if (arg2
== NULL
) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 (arg1
)->SetFindString((wxString
const &)*arg2
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16569 wxString
*arg2
= 0 ;
16570 bool temp2
= false ;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self",(char *) "str", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16579 if (SWIG_arg_fail(1)) SWIG_fail
;
16581 arg2
= wxString_in_helper(obj1
);
16582 if (arg2
== NULL
) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 Py_INCREF(Py_None
); resultobj
= Py_None
;
16607 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16610 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16612 return Py_BuildValue((char *)"");
16614 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxWindow
*arg1
= (wxWindow
*) 0 ;
16617 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16618 wxString
*arg3
= 0 ;
16619 int arg4
= (int) 0 ;
16620 wxFindReplaceDialog
*result
;
16621 bool temp3
= false ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 PyObject
* obj2
= 0 ;
16625 PyObject
* obj3
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16632 if (SWIG_arg_fail(1)) SWIG_fail
;
16633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16634 if (SWIG_arg_fail(2)) SWIG_fail
;
16636 arg3
= wxString_in_helper(obj2
);
16637 if (arg3
== NULL
) SWIG_fail
;
16642 arg4
= (int)(SWIG_As_int(obj3
));
16643 if (SWIG_arg_fail(4)) SWIG_fail
;
16647 if (!wxPyCheckForApp()) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16669 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxFindReplaceDialog
*result
;
16672 char *kwnames
[] = {
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16678 if (!wxPyCheckForApp()) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16692 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16694 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16695 wxWindow
*arg2
= (wxWindow
*) 0 ;
16696 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16697 wxString
*arg4
= 0 ;
16698 int arg5
= (int) 0 ;
16700 bool temp4
= false ;
16701 PyObject
* obj0
= 0 ;
16702 PyObject
* obj1
= 0 ;
16703 PyObject
* obj2
= 0 ;
16704 PyObject
* obj3
= 0 ;
16705 PyObject
* obj4
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16712 if (SWIG_arg_fail(1)) SWIG_fail
;
16713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16714 if (SWIG_arg_fail(2)) SWIG_fail
;
16715 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16716 if (SWIG_arg_fail(3)) SWIG_fail
;
16718 arg4
= wxString_in_helper(obj3
);
16719 if (arg4
== NULL
) SWIG_fail
;
16724 arg5
= (int)(SWIG_As_int(obj4
));
16725 if (SWIG_arg_fail(5)) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16752 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16755 wxFindReplaceData
*result
;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16778 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16781 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "data", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16790 if (SWIG_arg_fail(1)) SWIG_fail
;
16791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16792 if (SWIG_arg_fail(2)) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 (arg1
)->SetData(arg2
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 Py_INCREF(Py_None
); resultobj
= Py_None
;
16807 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16810 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16812 return Py_BuildValue((char *)"");
16814 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxWindow
*arg1
= (wxWindow
*) 0 ;
16817 int arg2
= (int) (int)-1 ;
16818 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16824 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16825 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16826 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16827 wxMDIParentFrame
*result
;
16828 bool temp3
= false ;
16831 bool temp7
= false ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 PyObject
* obj2
= 0 ;
16835 PyObject
* obj3
= 0 ;
16836 PyObject
* obj4
= 0 ;
16837 PyObject
* obj5
= 0 ;
16838 PyObject
* obj6
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16845 if (SWIG_arg_fail(1)) SWIG_fail
;
16848 arg2
= (int const)(SWIG_As_int(obj1
));
16849 if (SWIG_arg_fail(2)) SWIG_fail
;
16854 arg3
= wxString_in_helper(obj2
);
16855 if (arg3
== NULL
) SWIG_fail
;
16862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16873 arg6
= (long)(SWIG_As_long(obj5
));
16874 if (SWIG_arg_fail(6)) SWIG_fail
;
16879 arg7
= wxString_in_helper(obj6
);
16880 if (arg7
== NULL
) SWIG_fail
;
16885 if (!wxPyCheckForApp()) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16915 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxMDIParentFrame
*result
;
16918 char *kwnames
[] = {
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16924 if (!wxPyCheckForApp()) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16938 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16941 wxWindow
*arg2
= (wxWindow
*) 0 ;
16942 int arg3
= (int) (int)-1 ;
16943 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16944 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16949 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16950 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16951 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16953 bool temp4
= false ;
16956 bool temp8
= false ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 PyObject
* obj2
= 0 ;
16960 PyObject
* obj3
= 0 ;
16961 PyObject
* obj4
= 0 ;
16962 PyObject
* obj5
= 0 ;
16963 PyObject
* obj6
= 0 ;
16964 PyObject
* obj7
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail
;
16972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16973 if (SWIG_arg_fail(2)) SWIG_fail
;
16976 arg3
= (int const)(SWIG_As_int(obj2
));
16977 if (SWIG_arg_fail(3)) SWIG_fail
;
16982 arg4
= wxString_in_helper(obj3
);
16983 if (arg4
== NULL
) SWIG_fail
;
16990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17001 arg7
= (long)(SWIG_As_long(obj6
));
17002 if (SWIG_arg_fail(7)) SWIG_fail
;
17007 arg8
= wxString_in_helper(obj7
);
17008 if (arg8
== NULL
) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17044 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17047 PyObject
* obj0
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17054 if (SWIG_arg_fail(1)) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 (arg1
)->ActivateNext();
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17079 if (SWIG_arg_fail(1)) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 (arg1
)->ActivatePrevious();
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 Py_INCREF(Py_None
); resultobj
= Py_None
;
17094 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17097 PyObject
* obj0
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "self", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17104 if (SWIG_arg_fail(1)) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 (arg1
)->ArrangeIcons();
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 Py_INCREF(Py_None
); resultobj
= Py_None
;
17119 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17129 if (SWIG_arg_fail(1)) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 Py_INCREF(Py_None
); resultobj
= Py_None
;
17144 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17147 wxMDIChildFrame
*result
;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17155 if (SWIG_arg_fail(1)) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= wxPyMake_wxObject(result
, 0);
17172 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17175 wxMDIClientWindow
*result
;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17183 if (SWIG_arg_fail(1)) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= wxPyMake_wxObject(result
, 0);
17200 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17211 if (SWIG_arg_fail(1)) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= (wxWindow
*)(arg1
)->GetToolBar();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= wxPyMake_wxObject(result
, 0);
17228 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
17238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17239 if (SWIG_arg_fail(1)) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= wxPyMake_wxObject(result
, 0);
17256 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17259 wxMenu
*arg2
= (wxMenu
*) 0 ;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self",(char *) "menu", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
17267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17268 if (SWIG_arg_fail(1)) SWIG_fail
;
17269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
17270 if (SWIG_arg_fail(2)) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 (arg1
)->SetWindowMenu(arg2
);
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 Py_INCREF(Py_None
); resultobj
= Py_None
;
17285 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17288 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self",(char *) "toolbar", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
17296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17297 if (SWIG_arg_fail(1)) SWIG_fail
;
17298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
17299 if (SWIG_arg_fail(2)) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 (arg1
)->SetToolBar(arg2
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 Py_INCREF(Py_None
); resultobj
= Py_None
;
17314 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
17323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17342 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17344 return Py_BuildValue((char *)"");
17346 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17349 int arg2
= (int) (int)-1 ;
17350 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17351 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17356 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17357 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17359 wxMDIChildFrame
*result
;
17360 bool temp3
= false ;
17363 bool temp7
= false ;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 PyObject
* obj2
= 0 ;
17367 PyObject
* obj3
= 0 ;
17368 PyObject
* obj4
= 0 ;
17369 PyObject
* obj5
= 0 ;
17370 PyObject
* obj6
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17377 if (SWIG_arg_fail(1)) SWIG_fail
;
17380 arg2
= (int const)(SWIG_As_int(obj1
));
17381 if (SWIG_arg_fail(2)) SWIG_fail
;
17386 arg3
= wxString_in_helper(obj2
);
17387 if (arg3
== NULL
) SWIG_fail
;
17394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17405 arg6
= (long)(SWIG_As_long(obj5
));
17406 if (SWIG_arg_fail(6)) SWIG_fail
;
17411 arg7
= wxString_in_helper(obj6
);
17412 if (arg7
== NULL
) SWIG_fail
;
17417 if (!wxPyCheckForApp()) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17447 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxMDIChildFrame
*result
;
17450 char *kwnames
[] = {
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17456 if (!wxPyCheckForApp()) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17470 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17473 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17474 int arg3
= (int) (int)-1 ;
17475 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17481 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17482 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17483 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17485 bool temp4
= false ;
17488 bool temp8
= false ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 PyObject
* obj3
= 0 ;
17493 PyObject
* obj4
= 0 ;
17494 PyObject
* obj5
= 0 ;
17495 PyObject
* obj6
= 0 ;
17496 PyObject
* obj7
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17503 if (SWIG_arg_fail(1)) SWIG_fail
;
17504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17505 if (SWIG_arg_fail(2)) SWIG_fail
;
17508 arg3
= (int const)(SWIG_As_int(obj2
));
17509 if (SWIG_arg_fail(3)) SWIG_fail
;
17514 arg4
= wxString_in_helper(obj3
);
17515 if (arg4
== NULL
) SWIG_fail
;
17522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17528 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17533 arg7
= (long)(SWIG_As_long(obj6
));
17534 if (SWIG_arg_fail(7)) SWIG_fail
;
17539 arg8
= wxString_in_helper(obj7
);
17540 if (arg8
== NULL
) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17576 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
;
17578 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17586 if (SWIG_arg_fail(1)) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 (arg1
)->Activate();
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 Py_INCREF(Py_None
); resultobj
= Py_None
;
17601 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17604 bool arg2
= (bool) true ;
17605 PyObject
* obj0
= 0 ;
17606 PyObject
* obj1
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self",(char *) "maximize", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17613 if (SWIG_arg_fail(1)) SWIG_fail
;
17616 arg2
= (bool)(SWIG_As_bool(obj1
));
17617 if (SWIG_arg_fail(2)) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 (arg1
)->Maximize(arg2
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 Py_INCREF(Py_None
); resultobj
= Py_None
;
17634 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17644 if (SWIG_arg_fail(1)) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 Py_INCREF(Py_None
); resultobj
= Py_None
;
17659 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17662 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17664 return Py_BuildValue((char *)"");
17666 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17669 long arg2
= (long) 0 ;
17670 wxMDIClientWindow
*result
;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "parent",(char *) "style", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17679 if (SWIG_arg_fail(1)) SWIG_fail
;
17682 arg2
= (long)(SWIG_As_long(obj1
));
17683 if (SWIG_arg_fail(2)) SWIG_fail
;
17687 if (!wxPyCheckForApp()) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17701 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxMDIClientWindow
*result
;
17704 char *kwnames
[] = {
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17710 if (!wxPyCheckForApp()) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17724 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17727 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17728 long arg3
= (long) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 PyObject
* obj2
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self",(char *) "parent",(char *) "style", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17739 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17741 if (SWIG_arg_fail(2)) SWIG_fail
;
17744 arg3
= (long)(SWIG_As_long(obj2
));
17745 if (SWIG_arg_fail(3)) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17764 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17767 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17769 return Py_BuildValue((char *)"");
17771 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxWindow
*arg1
= (wxWindow
*) 0 ;
17774 int arg2
= (int) (int)-1 ;
17775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17777 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17778 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17779 long arg5
= (long) 0 ;
17780 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17781 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17782 wxPyWindow
*result
;
17785 bool temp6
= false ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 PyObject
* obj2
= 0 ;
17789 PyObject
* obj3
= 0 ;
17790 PyObject
* obj4
= 0 ;
17791 PyObject
* obj5
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail
;
17801 arg2
= (int const)(SWIG_As_int(obj1
));
17802 if (SWIG_arg_fail(2)) SWIG_fail
;
17808 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17814 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17819 arg5
= (long)(SWIG_As_long(obj4
));
17820 if (SWIG_arg_fail(5)) SWIG_fail
;
17825 arg6
= wxString_in_helper(obj5
);
17826 if (arg6
== NULL
) SWIG_fail
;
17831 if (!wxPyCheckForApp()) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17853 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxPyWindow
*result
;
17856 char *kwnames
[] = {
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17862 if (!wxPyCheckForApp()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (wxPyWindow
*)new wxPyWindow();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17876 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17879 PyObject
*arg2
= (PyObject
*) 0 ;
17880 PyObject
*arg3
= (PyObject
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 PyObject
* obj2
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "self",(char *) "_class", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17890 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17907 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "size", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail
;
17923 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 Py_INCREF(Py_None
); resultobj
= Py_None
;
17939 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 PyObject
* obj2
= 0 ;
17949 PyObject
* obj3
= 0 ;
17950 PyObject
* obj4
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17959 arg2
= (int)(SWIG_As_int(obj1
));
17960 if (SWIG_arg_fail(2)) SWIG_fail
;
17963 arg3
= (int)(SWIG_As_int(obj2
));
17964 if (SWIG_arg_fail(3)) SWIG_fail
;
17967 arg4
= (int)(SWIG_As_int(obj3
));
17968 if (SWIG_arg_fail(4)) SWIG_fail
;
17971 arg5
= (int)(SWIG_As_int(obj4
));
17972 if (SWIG_arg_fail(5)) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 Py_INCREF(Py_None
); resultobj
= Py_None
;
17988 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17995 int arg6
= (int) wxSIZE_AUTO
;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 PyObject
* obj2
= 0 ;
17999 PyObject
* obj3
= 0 ;
18000 PyObject
* obj4
= 0 ;
18001 PyObject
* obj5
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18008 if (SWIG_arg_fail(1)) SWIG_fail
;
18010 arg2
= (int)(SWIG_As_int(obj1
));
18011 if (SWIG_arg_fail(2)) SWIG_fail
;
18014 arg3
= (int)(SWIG_As_int(obj2
));
18015 if (SWIG_arg_fail(3)) SWIG_fail
;
18018 arg4
= (int)(SWIG_As_int(obj3
));
18019 if (SWIG_arg_fail(4)) SWIG_fail
;
18022 arg5
= (int)(SWIG_As_int(obj4
));
18023 if (SWIG_arg_fail(5)) SWIG_fail
;
18027 arg6
= (int)(SWIG_As_int(obj5
));
18028 if (SWIG_arg_fail(6)) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 Py_INCREF(Py_None
); resultobj
= Py_None
;
18045 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 PyObject
* obj2
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "width",(char *) "height", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18059 if (SWIG_arg_fail(1)) SWIG_fail
;
18061 arg2
= (int)(SWIG_As_int(obj1
));
18062 if (SWIG_arg_fail(2)) SWIG_fail
;
18065 arg3
= (int)(SWIG_As_int(obj2
));
18066 if (SWIG_arg_fail(3)) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 Py_INCREF(Py_None
); resultobj
= Py_None
;
18082 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 PyObject
* obj2
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self",(char *) "x",(char *) "y", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18096 if (SWIG_arg_fail(1)) SWIG_fail
;
18098 arg2
= (int)(SWIG_As_int(obj1
));
18099 if (SWIG_arg_fail(2)) SWIG_fail
;
18102 arg3
= (int)(SWIG_As_int(obj2
));
18103 if (SWIG_arg_fail(3)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 Py_INCREF(Py_None
); resultobj
= Py_None
;
18119 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18122 int *arg2
= (int *) 0 ;
18123 int *arg3
= (int *) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self", NULL
18133 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18134 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18137 if (SWIG_arg_fail(1)) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 Py_INCREF(Py_None
); resultobj
= Py_None
;
18146 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18147 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18148 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18149 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18156 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18159 int *arg2
= (int *) 0 ;
18160 int *arg3
= (int *) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self", NULL
18170 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18171 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18174 if (SWIG_arg_fail(1)) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 Py_INCREF(Py_None
); resultobj
= Py_None
;
18183 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18184 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18185 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18186 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18193 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18196 int *arg2
= (int *) 0 ;
18197 int *arg3
= (int *) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self", NULL
18207 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18208 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18211 if (SWIG_arg_fail(1)) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 Py_INCREF(Py_None
); resultobj
= Py_None
;
18220 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18221 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18222 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18223 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18230 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18241 if (SWIG_arg_fail(1)) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 wxSize
* resultptr
;
18251 resultptr
= new wxSize((wxSize
&)(result
));
18252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18260 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18280 wxSize
* resultptr
;
18281 resultptr
= new wxSize((wxSize
&)(result
));
18282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18290 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18300 if (SWIG_arg_fail(1)) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 (arg1
)->base_InitDialog();
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 Py_INCREF(Py_None
); resultobj
= Py_None
;
18315 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18326 if (SWIG_arg_fail(1)) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (bool)(arg1
)->base_TransferDataToWindow();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18343 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18354 if (SWIG_arg_fail(1)) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18371 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18382 if (SWIG_arg_fail(1)) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (bool)(arg1
)->base_Validate();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18399 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(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_AcceptsFocus",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_AcceptsFocus();
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_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",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
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18455 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 wxSize
* resultptr
;
18476 resultptr
= new wxSize((wxSize
&)(result
));
18477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18485 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18488 wxWindow
*arg2
= (wxWindow
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self",(char *) "child", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18497 if (SWIG_arg_fail(1)) SWIG_fail
;
18498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18499 if (SWIG_arg_fail(2)) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 (arg1
)->base_AddChild(arg2
);
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 Py_INCREF(Py_None
); resultobj
= Py_None
;
18514 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18517 wxWindow
*arg2
= (wxWindow
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 PyObject
* obj1
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self",(char *) "child", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail
;
18527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18528 if (SWIG_arg_fail(2)) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->base_RemoveChild(arg2
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 Py_INCREF(Py_None
); resultobj
= Py_None
;
18543 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18571 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18574 wxColour
*arg2
= 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "c", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18584 if (SWIG_arg_fail(1)) SWIG_fail
;
18587 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 Py_INCREF(Py_None
); resultobj
= Py_None
;
18603 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18606 wxVisualAttributes result
;
18607 PyObject
* obj0
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18614 if (SWIG_arg_fail(1)) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (arg1
)->base_GetDefaultAttributes();
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18623 wxVisualAttributes
* resultptr
;
18624 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18633 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18636 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18638 return Py_BuildValue((char *)"");
18640 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxWindow
*arg1
= (wxWindow
*) 0 ;
18643 int arg2
= (int) (int)-1 ;
18644 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18645 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18646 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18647 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18648 long arg5
= (long) 0 ;
18649 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18650 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18654 bool temp6
= false ;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 PyObject
* obj2
= 0 ;
18658 PyObject
* obj3
= 0 ;
18659 PyObject
* obj4
= 0 ;
18660 PyObject
* obj5
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail
;
18670 arg2
= (int const)(SWIG_As_int(obj1
));
18671 if (SWIG_arg_fail(2)) SWIG_fail
;
18677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18683 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18688 arg5
= (long)(SWIG_As_long(obj4
));
18689 if (SWIG_arg_fail(5)) SWIG_fail
;
18694 arg6
= wxString_in_helper(obj5
);
18695 if (arg6
== NULL
) SWIG_fail
;
18700 if (!wxPyCheckForApp()) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18722 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18725 char *kwnames
[] = {
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18731 if (!wxPyCheckForApp()) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (wxPyPanel
*)new wxPyPanel();
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18745 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18748 PyObject
*arg2
= (PyObject
*) 0 ;
18749 PyObject
*arg3
= (PyObject
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 PyObject
* obj1
= 0 ;
18752 PyObject
* obj2
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self",(char *) "self",(char *) "_class", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18759 if (SWIG_arg_fail(1)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 Py_INCREF(Py_None
); resultobj
= Py_None
;
18776 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self",(char *) "size", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail
;
18792 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 Py_INCREF(Py_None
); resultobj
= Py_None
;
18808 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 PyObject
* obj2
= 0 ;
18818 PyObject
* obj3
= 0 ;
18819 PyObject
* obj4
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18826 if (SWIG_arg_fail(1)) SWIG_fail
;
18828 arg2
= (int)(SWIG_As_int(obj1
));
18829 if (SWIG_arg_fail(2)) SWIG_fail
;
18832 arg3
= (int)(SWIG_As_int(obj2
));
18833 if (SWIG_arg_fail(3)) SWIG_fail
;
18836 arg4
= (int)(SWIG_As_int(obj3
));
18837 if (SWIG_arg_fail(4)) SWIG_fail
;
18840 arg5
= (int)(SWIG_As_int(obj4
));
18841 if (SWIG_arg_fail(5)) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 Py_INCREF(Py_None
); resultobj
= Py_None
;
18857 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18864 int arg6
= (int) wxSIZE_AUTO
;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 PyObject
* obj2
= 0 ;
18868 PyObject
* obj3
= 0 ;
18869 PyObject
* obj4
= 0 ;
18870 PyObject
* obj5
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18877 if (SWIG_arg_fail(1)) SWIG_fail
;
18879 arg2
= (int)(SWIG_As_int(obj1
));
18880 if (SWIG_arg_fail(2)) SWIG_fail
;
18883 arg3
= (int)(SWIG_As_int(obj2
));
18884 if (SWIG_arg_fail(3)) SWIG_fail
;
18887 arg4
= (int)(SWIG_As_int(obj3
));
18888 if (SWIG_arg_fail(4)) SWIG_fail
;
18891 arg5
= (int)(SWIG_As_int(obj4
));
18892 if (SWIG_arg_fail(5)) SWIG_fail
;
18896 arg6
= (int)(SWIG_As_int(obj5
));
18897 if (SWIG_arg_fail(6)) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 Py_INCREF(Py_None
); resultobj
= Py_None
;
18914 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 PyObject
* obj1
= 0 ;
18921 PyObject
* obj2
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self",(char *) "width",(char *) "height", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18928 if (SWIG_arg_fail(1)) SWIG_fail
;
18930 arg2
= (int)(SWIG_As_int(obj1
));
18931 if (SWIG_arg_fail(2)) SWIG_fail
;
18934 arg3
= (int)(SWIG_As_int(obj2
));
18935 if (SWIG_arg_fail(3)) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 Py_INCREF(Py_None
); resultobj
= Py_None
;
18951 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 PyObject
* obj2
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "x",(char *) "y", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18965 if (SWIG_arg_fail(1)) SWIG_fail
;
18967 arg2
= (int)(SWIG_As_int(obj1
));
18968 if (SWIG_arg_fail(2)) SWIG_fail
;
18971 arg3
= (int)(SWIG_As_int(obj2
));
18972 if (SWIG_arg_fail(3)) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 Py_INCREF(Py_None
); resultobj
= Py_None
;
18988 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18991 int *arg2
= (int *) 0 ;
18992 int *arg3
= (int *) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self", NULL
19002 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19003 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19006 if (SWIG_arg_fail(1)) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19016 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19017 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19018 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19025 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19028 int *arg2
= (int *) 0 ;
19029 int *arg3
= (int *) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self", NULL
19039 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19040 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19043 if (SWIG_arg_fail(1)) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 Py_INCREF(Py_None
); resultobj
= Py_None
;
19052 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19053 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19054 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19055 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19062 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19065 int *arg2
= (int *) 0 ;
19066 int *arg3
= (int *) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self", NULL
19076 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19077 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19080 if (SWIG_arg_fail(1)) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 Py_INCREF(Py_None
); resultobj
= Py_None
;
19089 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19090 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19091 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19092 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19099 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19110 if (SWIG_arg_fail(1)) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19119 wxSize
* resultptr
;
19120 resultptr
= new wxSize((wxSize
&)(result
));
19121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19129 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19140 if (SWIG_arg_fail(1)) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19149 wxSize
* resultptr
;
19150 resultptr
= new wxSize((wxSize
&)(result
));
19151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19159 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19169 if (SWIG_arg_fail(1)) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 (arg1
)->base_InitDialog();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 Py_INCREF(Py_None
); resultobj
= Py_None
;
19184 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19195 if (SWIG_arg_fail(1)) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 result
= (bool)(arg1
)->base_TransferDataToWindow();
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19212 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19223 if (SWIG_arg_fail(1)) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19240 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19244 PyObject
* obj0
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "self", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19251 if (SWIG_arg_fail(1)) SWIG_fail
;
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 result
= (bool)(arg1
)->base_Validate();
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19268 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(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_AcceptsFocus",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_AcceptsFocus();
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_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",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
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19324 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19335 if (SWIG_arg_fail(1)) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19344 wxSize
* resultptr
;
19345 resultptr
= new wxSize((wxSize
&)(result
));
19346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19354 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19357 wxWindow
*arg2
= (wxWindow
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self",(char *) "child", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19366 if (SWIG_arg_fail(1)) SWIG_fail
;
19367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19368 if (SWIG_arg_fail(2)) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 (arg1
)->base_AddChild(arg2
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 Py_INCREF(Py_None
); resultobj
= Py_None
;
19383 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19386 wxWindow
*arg2
= (wxWindow
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self",(char *) "child", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19395 if (SWIG_arg_fail(1)) SWIG_fail
;
19396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19397 if (SWIG_arg_fail(2)) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->base_RemoveChild(arg2
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 Py_INCREF(Py_None
); resultobj
= Py_None
;
19412 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
;
19414 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19416 PyObject
* obj0
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19423 if (SWIG_arg_fail(1)) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19440 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19443 wxColour
*arg2
= 0 ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self",(char *) "c", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19453 if (SWIG_arg_fail(1)) SWIG_fail
;
19456 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19475 wxVisualAttributes result
;
19476 PyObject
* obj0
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19483 if (SWIG_arg_fail(1)) SWIG_fail
;
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (arg1
)->base_GetDefaultAttributes();
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19492 wxVisualAttributes
* resultptr
;
19493 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19502 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19505 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19507 return Py_BuildValue((char *)"");
19509 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxWindow
*arg1
= (wxWindow
*) 0 ;
19512 int arg2
= (int) (int)-1 ;
19513 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19514 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19515 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19516 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19517 long arg5
= (long) 0 ;
19518 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19519 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19520 wxPyScrolledWindow
*result
;
19523 bool temp6
= false ;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 PyObject
* obj2
= 0 ;
19527 PyObject
* obj3
= 0 ;
19528 PyObject
* obj4
= 0 ;
19529 PyObject
* obj5
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19536 if (SWIG_arg_fail(1)) SWIG_fail
;
19539 arg2
= (int const)(SWIG_As_int(obj1
));
19540 if (SWIG_arg_fail(2)) SWIG_fail
;
19546 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19552 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19557 arg5
= (long)(SWIG_As_long(obj4
));
19558 if (SWIG_arg_fail(5)) SWIG_fail
;
19563 arg6
= wxString_in_helper(obj5
);
19564 if (arg6
== NULL
) SWIG_fail
;
19569 if (!wxPyCheckForApp()) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19591 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxPyScrolledWindow
*result
;
19594 char *kwnames
[] = {
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19600 if (!wxPyCheckForApp()) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19614 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19617 PyObject
*arg2
= (PyObject
*) 0 ;
19618 PyObject
*arg3
= (PyObject
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 PyObject
* obj2
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self",(char *) "self",(char *) "_class", NULL
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19628 if (SWIG_arg_fail(1)) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 Py_INCREF(Py_None
); resultobj
= Py_None
;
19645 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self",(char *) "size", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail
;
19661 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 Py_INCREF(Py_None
); resultobj
= Py_None
;
19677 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 PyObject
* obj2
= 0 ;
19687 PyObject
* obj3
= 0 ;
19688 PyObject
* obj4
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19695 if (SWIG_arg_fail(1)) SWIG_fail
;
19697 arg2
= (int)(SWIG_As_int(obj1
));
19698 if (SWIG_arg_fail(2)) SWIG_fail
;
19701 arg3
= (int)(SWIG_As_int(obj2
));
19702 if (SWIG_arg_fail(3)) SWIG_fail
;
19705 arg4
= (int)(SWIG_As_int(obj3
));
19706 if (SWIG_arg_fail(4)) SWIG_fail
;
19709 arg5
= (int)(SWIG_As_int(obj4
));
19710 if (SWIG_arg_fail(5)) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 Py_INCREF(Py_None
); resultobj
= Py_None
;
19726 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19733 int arg6
= (int) wxSIZE_AUTO
;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 PyObject
* obj3
= 0 ;
19738 PyObject
* obj4
= 0 ;
19739 PyObject
* obj5
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19746 if (SWIG_arg_fail(1)) SWIG_fail
;
19748 arg2
= (int)(SWIG_As_int(obj1
));
19749 if (SWIG_arg_fail(2)) SWIG_fail
;
19752 arg3
= (int)(SWIG_As_int(obj2
));
19753 if (SWIG_arg_fail(3)) SWIG_fail
;
19756 arg4
= (int)(SWIG_As_int(obj3
));
19757 if (SWIG_arg_fail(4)) SWIG_fail
;
19760 arg5
= (int)(SWIG_As_int(obj4
));
19761 if (SWIG_arg_fail(5)) SWIG_fail
;
19765 arg6
= (int)(SWIG_As_int(obj5
));
19766 if (SWIG_arg_fail(6)) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 Py_INCREF(Py_None
); resultobj
= Py_None
;
19783 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 PyObject
* obj2
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self",(char *) "width",(char *) "height", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19797 if (SWIG_arg_fail(1)) SWIG_fail
;
19799 arg2
= (int)(SWIG_As_int(obj1
));
19800 if (SWIG_arg_fail(2)) SWIG_fail
;
19803 arg3
= (int)(SWIG_As_int(obj2
));
19804 if (SWIG_arg_fail(3)) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 Py_INCREF(Py_None
); resultobj
= Py_None
;
19820 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 PyObject
* obj2
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self",(char *) "x",(char *) "y", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19834 if (SWIG_arg_fail(1)) SWIG_fail
;
19836 arg2
= (int)(SWIG_As_int(obj1
));
19837 if (SWIG_arg_fail(2)) SWIG_fail
;
19840 arg3
= (int)(SWIG_As_int(obj2
));
19841 if (SWIG_arg_fail(3)) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 Py_INCREF(Py_None
); resultobj
= Py_None
;
19857 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19860 int *arg2
= (int *) 0 ;
19861 int *arg3
= (int *) 0 ;
19866 PyObject
* obj0
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self", NULL
19871 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19872 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19875 if (SWIG_arg_fail(1)) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 Py_INCREF(Py_None
); resultobj
= Py_None
;
19884 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19885 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19886 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19887 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19894 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19896 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19897 int *arg2
= (int *) 0 ;
19898 int *arg3
= (int *) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self", NULL
19908 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19909 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19912 if (SWIG_arg_fail(1)) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 Py_INCREF(Py_None
); resultobj
= Py_None
;
19921 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19922 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19923 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19924 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19931 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19934 int *arg2
= (int *) 0 ;
19935 int *arg3
= (int *) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self", NULL
19945 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19946 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19949 if (SWIG_arg_fail(1)) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 Py_INCREF(Py_None
); resultobj
= Py_None
;
19958 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19959 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19960 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19961 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19968 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19979 if (SWIG_arg_fail(1)) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19988 wxSize
* resultptr
;
19989 resultptr
= new wxSize((wxSize
&)(result
));
19990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19998 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20009 if (SWIG_arg_fail(1)) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20018 wxSize
* resultptr
;
20019 resultptr
= new wxSize((wxSize
&)(result
));
20020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20028 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
20037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20038 if (SWIG_arg_fail(1)) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 (arg1
)->base_InitDialog();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 Py_INCREF(Py_None
); resultobj
= Py_None
;
20053 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
;
20055 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20057 PyObject
* obj0
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20064 if (SWIG_arg_fail(1)) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 result
= (bool)(arg1
)->base_TransferDataToWindow();
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20081 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20083 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20092 if (SWIG_arg_fail(1)) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (bool)(arg1
)->base_TransferDataFromWindow();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20109 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 result
= (bool)(arg1
)->base_Validate();
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20137 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(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_AcceptsFocus",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_AcceptsFocus();
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_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",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
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20193 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20197 PyObject
* obj0
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "self", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20204 if (SWIG_arg_fail(1)) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20213 wxSize
* resultptr
;
20214 resultptr
= new wxSize((wxSize
&)(result
));
20215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20223 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20226 wxWindow
*arg2
= (wxWindow
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self",(char *) "child", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20235 if (SWIG_arg_fail(1)) SWIG_fail
;
20236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20237 if (SWIG_arg_fail(2)) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 (arg1
)->base_AddChild(arg2
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 Py_INCREF(Py_None
); resultobj
= Py_None
;
20252 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20255 wxWindow
*arg2
= (wxWindow
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 PyObject
* obj1
= 0 ;
20258 char *kwnames
[] = {
20259 (char *) "self",(char *) "child", NULL
20262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20264 if (SWIG_arg_fail(1)) SWIG_fail
;
20265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20266 if (SWIG_arg_fail(2)) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 (arg1
)->base_RemoveChild(arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 Py_INCREF(Py_None
); resultobj
= Py_None
;
20281 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20285 PyObject
* obj0
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20292 if (SWIG_arg_fail(1)) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20309 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20312 wxColour
*arg2
= 0 ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "c", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20322 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 Py_INCREF(Py_None
); resultobj
= Py_None
;
20341 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20344 wxVisualAttributes result
;
20345 PyObject
* obj0
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "self", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20352 if (SWIG_arg_fail(1)) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (arg1
)->base_GetDefaultAttributes();
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20361 wxVisualAttributes
* resultptr
;
20362 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20371 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20374 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20376 return Py_BuildValue((char *)"");
20378 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20379 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20384 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20389 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20391 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20398 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20399 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20404 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20409 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20411 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20418 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20419 PyObject
*resultobj
;
20420 wxPrintData
*result
;
20422 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= (wxPrintData
*)new wxPrintData();
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20437 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20438 PyObject
*resultobj
;
20439 wxPrintData
*arg1
= 0 ;
20440 wxPrintData
*result
;
20441 PyObject
* obj0
= 0 ;
20443 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20446 if (SWIG_arg_fail(1)) SWIG_fail
;
20447 if (arg1
== NULL
) {
20448 SWIG_null_ref("wxPrintData");
20450 if (SWIG_arg_fail(1)) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20466 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20471 argc
= PyObject_Length(args
);
20472 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20473 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20476 return _wrap_new_PrintData__SWIG_0(self
,args
);
20482 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20490 return _wrap_new_PrintData__SWIG_1(self
,args
);
20494 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20499 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
;
20501 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 Py_INCREF(Py_None
); resultobj
= Py_None
;
20524 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20535 if (SWIG_arg_fail(1)) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= (int)(arg1
)->GetNoCopies();
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_From_int((int)(result
));
20552 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20553 PyObject
*resultobj
;
20554 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20556 PyObject
* obj0
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20563 if (SWIG_arg_fail(1)) SWIG_fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (bool)(arg1
)->GetCollate();
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20580 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20591 if (SWIG_arg_fail(1)) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (int)(arg1
)->GetOrientation();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20600 resultobj
= SWIG_From_int((int)(result
));
20608 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20610 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20612 PyObject
* obj0
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20619 if (SWIG_arg_fail(1)) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= (bool)(arg1
)->Ok();
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20636 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20647 if (SWIG_arg_fail(1)) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20652 result
= (wxString
*) &_result_ref
;
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20671 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20682 if (SWIG_arg_fail(1)) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (bool)(arg1
)->GetColour();
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20699 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20702 wxDuplexMode result
;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20710 if (SWIG_arg_fail(1)) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_From_int((result
));
20725 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20728 wxPaperSize result
;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_From_int((result
));
20751 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20762 if (SWIG_arg_fail(1)) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20767 result
= (wxSize
*) &_result_ref
;
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20780 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20791 if (SWIG_arg_fail(1)) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (int)(arg1
)->GetQuality();
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_From_int((int)(result
));
20808 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20819 if (SWIG_arg_fail(1)) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (wxPrintBin
)(arg1
)->GetBin();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= SWIG_From_int((result
));
20834 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20837 wxPrintMode result
;
20838 PyObject
* obj0
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= SWIG_From_int((result
));
20860 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "v", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20872 if (SWIG_arg_fail(1)) SWIG_fail
;
20874 arg2
= (int)(SWIG_As_int(obj1
));
20875 if (SWIG_arg_fail(2)) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 (arg1
)->SetNoCopies(arg2
);
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 Py_INCREF(Py_None
); resultobj
= Py_None
;
20891 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20895 PyObject
* obj0
= 0 ;
20896 PyObject
* obj1
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self",(char *) "flag", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20903 if (SWIG_arg_fail(1)) SWIG_fail
;
20905 arg2
= (bool)(SWIG_As_bool(obj1
));
20906 if (SWIG_arg_fail(2)) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 (arg1
)->SetCollate(arg2
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 Py_INCREF(Py_None
); resultobj
= Py_None
;
20922 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20924 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20926 PyObject
* obj0
= 0 ;
20927 PyObject
* obj1
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self",(char *) "orient", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20934 if (SWIG_arg_fail(1)) SWIG_fail
;
20936 arg2
= (int)(SWIG_As_int(obj1
));
20937 if (SWIG_arg_fail(2)) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 (arg1
)->SetOrientation(arg2
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 Py_INCREF(Py_None
); resultobj
= Py_None
;
20953 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20956 wxString
*arg2
= 0 ;
20957 bool temp2
= false ;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self",(char *) "name", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 arg2
= wxString_in_helper(obj1
);
20969 if (arg2
== NULL
) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20994 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 PyObject
* obj1
= 0 ;
21000 char *kwnames
[] = {
21001 (char *) "self",(char *) "colour", NULL
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21006 if (SWIG_arg_fail(1)) SWIG_fail
;
21008 arg2
= (bool)(SWIG_As_bool(obj1
));
21009 if (SWIG_arg_fail(2)) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 (arg1
)->SetColour(arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 Py_INCREF(Py_None
); resultobj
= Py_None
;
21025 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21028 wxDuplexMode arg2
;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self",(char *) "duplex", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21037 if (SWIG_arg_fail(1)) SWIG_fail
;
21039 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
21040 if (SWIG_arg_fail(2)) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 Py_INCREF(Py_None
); resultobj
= Py_None
;
21056 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self",(char *) "sizeId", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21068 if (SWIG_arg_fail(1)) SWIG_fail
;
21070 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
21071 if (SWIG_arg_fail(2)) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 Py_INCREF(Py_None
); resultobj
= Py_None
;
21087 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21089 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 PyObject
* obj1
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self",(char *) "sz", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21100 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 Py_INCREF(Py_None
); resultobj
= Py_None
;
21119 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21121 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 PyObject
* obj1
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self",(char *) "quality", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21131 if (SWIG_arg_fail(1)) SWIG_fail
;
21133 arg2
= (int)(SWIG_As_int(obj1
));
21134 if (SWIG_arg_fail(2)) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 (arg1
)->SetQuality(arg2
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21143 Py_INCREF(Py_None
); resultobj
= Py_None
;
21150 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21154 PyObject
* obj0
= 0 ;
21155 PyObject
* obj1
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self",(char *) "bin", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21162 if (SWIG_arg_fail(1)) SWIG_fail
;
21164 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
21165 if (SWIG_arg_fail(2)) SWIG_fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 (arg1
)->SetBin((wxPrintBin
)arg2
);
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 Py_INCREF(Py_None
); resultobj
= Py_None
;
21181 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self",(char *) "printMode", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21193 if (SWIG_arg_fail(1)) SWIG_fail
;
21195 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21196 if (SWIG_arg_fail(2)) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 Py_INCREF(Py_None
); resultobj
= Py_None
;
21212 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21216 PyObject
* obj0
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21223 if (SWIG_arg_fail(1)) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21244 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21247 wxString
*arg2
= 0 ;
21248 bool temp2
= false ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self",(char *) "filename", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21257 if (SWIG_arg_fail(1)) SWIG_fail
;
21259 arg2
= wxString_in_helper(obj1
);
21260 if (arg2
== NULL
) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 (arg1
)->SetFilename((wxString
const &)*arg2
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 Py_INCREF(Py_None
); resultobj
= Py_None
;
21285 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
;
21287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21289 PyObject
* obj0
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21296 if (SWIG_arg_fail(1)) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= result
;
21311 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21314 PyObject
*arg2
= (PyObject
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self",(char *) "data", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21323 if (SWIG_arg_fail(1)) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 wxPrintData_SetPrivData(arg1
,arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21350 if (SWIG_arg_fail(1)) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21355 result
= (wxString
*) &_result_ref
;
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21365 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21374 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21385 if (SWIG_arg_fail(1)) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21390 result
= (wxString
*) &_result_ref
;
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21400 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21409 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21420 if (SWIG_arg_fail(1)) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21425 result
= (wxString
*) &_result_ref
;
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21435 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21444 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21455 if (SWIG_arg_fail(1)) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21460 result
= (wxString
*) &_result_ref
;
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21470 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21479 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21483 PyObject
* obj0
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21490 if (SWIG_arg_fail(1)) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= (double)(arg1
)->GetPrinterScaleX();
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_From_double((double)(result
));
21507 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21518 if (SWIG_arg_fail(1)) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (double)(arg1
)->GetPrinterScaleY();
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= SWIG_From_double((double)(result
));
21535 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (long)(arg1
)->GetPrinterTranslateX();
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= SWIG_From_long((long)(result
));
21563 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 char *kwnames
[] = {
21569 (char *) "self", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21574 if (SWIG_arg_fail(1)) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (long)(arg1
)->GetPrinterTranslateY();
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= SWIG_From_long((long)(result
));
21591 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21594 wxString
*arg2
= 0 ;
21595 bool temp2
= false ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self",(char *) "command", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21606 arg2
= wxString_in_helper(obj1
);
21607 if (arg2
== NULL
) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
;
21634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21635 wxString
*arg2
= 0 ;
21636 bool temp2
= false ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self",(char *) "options", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21645 if (SWIG_arg_fail(1)) SWIG_fail
;
21647 arg2
= wxString_in_helper(obj1
);
21648 if (arg2
== NULL
) SWIG_fail
;
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 Py_INCREF(Py_None
); resultobj
= Py_None
;
21673 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21676 wxString
*arg2
= 0 ;
21677 bool temp2
= false ;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "command", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21686 if (SWIG_arg_fail(1)) SWIG_fail
;
21688 arg2
= wxString_in_helper(obj1
);
21689 if (arg2
== NULL
) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21714 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21716 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21717 wxString
*arg2
= 0 ;
21718 bool temp2
= false ;
21719 PyObject
* obj0
= 0 ;
21720 PyObject
* obj1
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self",(char *) "path", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 arg2
= wxString_in_helper(obj1
);
21730 if (arg2
== NULL
) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 Py_INCREF(Py_None
); resultobj
= Py_None
;
21755 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21757 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "x", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail
;
21769 arg2
= (double)(SWIG_As_double(obj1
));
21770 if (SWIG_arg_fail(2)) SWIG_fail
;
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 (arg1
)->SetPrinterScaleX(arg2
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 Py_INCREF(Py_None
); resultobj
= Py_None
;
21786 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "y", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21798 if (SWIG_arg_fail(1)) SWIG_fail
;
21800 arg2
= (double)(SWIG_As_double(obj1
));
21801 if (SWIG_arg_fail(2)) SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 (arg1
)->SetPrinterScaleY(arg2
);
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 Py_INCREF(Py_None
); resultobj
= Py_None
;
21817 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21822 PyObject
* obj0
= 0 ;
21823 PyObject
* obj1
= 0 ;
21824 PyObject
* obj2
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self",(char *) "x",(char *) "y", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21831 if (SWIG_arg_fail(1)) SWIG_fail
;
21833 arg2
= (double)(SWIG_As_double(obj1
));
21834 if (SWIG_arg_fail(2)) SWIG_fail
;
21837 arg3
= (double)(SWIG_As_double(obj2
));
21838 if (SWIG_arg_fail(3)) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 Py_INCREF(Py_None
); resultobj
= Py_None
;
21854 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "x", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21866 if (SWIG_arg_fail(1)) SWIG_fail
;
21868 arg2
= (long)(SWIG_As_long(obj1
));
21869 if (SWIG_arg_fail(2)) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 (arg1
)->SetPrinterTranslateX(arg2
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 Py_INCREF(Py_None
); resultobj
= Py_None
;
21885 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self",(char *) "y", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail
;
21899 arg2
= (long)(SWIG_As_long(obj1
));
21900 if (SWIG_arg_fail(2)) SWIG_fail
;
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 (arg1
)->SetPrinterTranslateY(arg2
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 Py_INCREF(Py_None
); resultobj
= Py_None
;
21916 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 PyObject
* obj2
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self",(char *) "x",(char *) "y", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21930 if (SWIG_arg_fail(1)) SWIG_fail
;
21932 arg2
= (long)(SWIG_As_long(obj1
));
21933 if (SWIG_arg_fail(2)) SWIG_fail
;
21936 arg3
= (long)(SWIG_As_long(obj2
));
21937 if (SWIG_arg_fail(3)) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 Py_INCREF(Py_None
); resultobj
= Py_None
;
21953 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21956 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21958 return Py_BuildValue((char *)"");
21960 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21961 PyObject
*resultobj
;
21962 wxPageSetupDialogData
*result
;
21964 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21979 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21980 PyObject
*resultobj
;
21981 wxPageSetupDialogData
*arg1
= 0 ;
21982 wxPageSetupDialogData
*result
;
21983 PyObject
* obj0
= 0 ;
21985 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21988 if (SWIG_arg_fail(1)) SWIG_fail
;
21989 if (arg1
== NULL
) {
21990 SWIG_null_ref("wxPageSetupDialogData");
21992 if (SWIG_arg_fail(1)) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
22008 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22009 PyObject
*resultobj
;
22010 wxPrintData
*arg1
= 0 ;
22011 wxPageSetupDialogData
*result
;
22012 PyObject
* obj0
= 0 ;
22014 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
22016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22017 if (SWIG_arg_fail(1)) SWIG_fail
;
22018 if (arg1
== NULL
) {
22019 SWIG_null_ref("wxPrintData");
22021 if (SWIG_arg_fail(1)) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
22037 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
22042 argc
= PyObject_Length(args
);
22043 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22044 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22047 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
22053 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
22061 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
22068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22076 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
22080 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
22085 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22088 PyObject
* obj0
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22095 if (SWIG_arg_fail(1)) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 Py_INCREF(Py_None
); resultobj
= Py_None
;
22110 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self",(char *) "flag", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
22121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22122 if (SWIG_arg_fail(1)) SWIG_fail
;
22124 arg2
= (bool)(SWIG_As_bool(obj1
));
22125 if (SWIG_arg_fail(2)) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 (arg1
)->EnableHelp(arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 Py_INCREF(Py_None
); resultobj
= Py_None
;
22141 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "flag", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail
;
22155 arg2
= (bool)(SWIG_As_bool(obj1
));
22156 if (SWIG_arg_fail(2)) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 (arg1
)->EnableMargins(arg2
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 Py_INCREF(Py_None
); resultobj
= Py_None
;
22172 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self",(char *) "flag", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
22187 if (SWIG_arg_fail(2)) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 (arg1
)->EnableOrientation(arg2
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 Py_INCREF(Py_None
); resultobj
= Py_None
;
22203 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
;
22205 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self",(char *) "flag", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22215 if (SWIG_arg_fail(1)) SWIG_fail
;
22217 arg2
= (bool)(SWIG_As_bool(obj1
));
22218 if (SWIG_arg_fail(2)) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 (arg1
)->EnablePaper(arg2
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 Py_INCREF(Py_None
); resultobj
= Py_None
;
22234 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self",(char *) "flag", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22246 if (SWIG_arg_fail(1)) SWIG_fail
;
22248 arg2
= (bool)(SWIG_As_bool(obj1
));
22249 if (SWIG_arg_fail(2)) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 (arg1
)->EnablePrinter(arg2
);
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 Py_INCREF(Py_None
); resultobj
= Py_None
;
22265 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)(arg1
)->GetDefaultMinMargins();
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22293 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22304 if (SWIG_arg_fail(1)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (bool)(arg1
)->GetEnableMargins();
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22321 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22332 if (SWIG_arg_fail(1)) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= (bool)(arg1
)->GetEnableOrientation();
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22349 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22360 if (SWIG_arg_fail(1)) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= (bool)(arg1
)->GetEnablePaper();
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22377 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22378 PyObject
*resultobj
;
22379 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "self", NULL
22386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22388 if (SWIG_arg_fail(1)) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (bool)(arg1
)->GetEnablePrinter();
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22405 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",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
= (bool)(arg1
)->GetEnableHelp();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22433 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (bool)(arg1
)->GetDefaultInfo();
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22461 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22465 PyObject
* obj0
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",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();
22475 result
= (arg1
)->GetMarginTopLeft();
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22481 wxPoint
* resultptr
;
22482 resultptr
= new wxPoint((wxPoint
&)(result
));
22483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22491 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
;
22493 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22502 if (SWIG_arg_fail(1)) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (arg1
)->GetMarginBottomRight();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22511 wxPoint
* resultptr
;
22512 resultptr
= new wxPoint((wxPoint
&)(result
));
22513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22521 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22532 if (SWIG_arg_fail(1)) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (arg1
)->GetMinMarginTopLeft();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 wxPoint
* resultptr
;
22542 resultptr
= new wxPoint((wxPoint
&)(result
));
22543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22551 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22562 if (SWIG_arg_fail(1)) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (arg1
)->GetMinMarginBottomRight();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22571 wxPoint
* resultptr
;
22572 resultptr
= new wxPoint((wxPoint
&)(result
));
22573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22581 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22584 wxPaperSize result
;
22585 PyObject
* obj0
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22592 if (SWIG_arg_fail(1)) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= SWIG_From_int((result
));
22607 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
;
22609 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "self", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22618 if (SWIG_arg_fail(1)) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (arg1
)->GetPaperSize();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22627 wxSize
* resultptr
;
22628 resultptr
= new wxSize((wxSize
&)(result
));
22629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22637 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22640 wxPrintData
*result
;
22641 PyObject
* obj0
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22648 if (SWIG_arg_fail(1)) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22653 result
= (wxPrintData
*) &_result_ref
;
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22666 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22677 if (SWIG_arg_fail(1)) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (bool)(arg1
)->Ok();
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22694 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 PyObject
* obj1
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self",(char *) "flag", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail
;
22708 arg2
= (bool)(SWIG_As_bool(obj1
));
22709 if (SWIG_arg_fail(2)) SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 (arg1
)->SetDefaultInfo(arg2
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 Py_INCREF(Py_None
); resultobj
= Py_None
;
22725 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self",(char *) "flag", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail
;
22739 arg2
= (bool)(SWIG_As_bool(obj1
));
22740 if (SWIG_arg_fail(2)) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 (arg1
)->SetDefaultMinMargins(arg2
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 Py_INCREF(Py_None
); resultobj
= Py_None
;
22756 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22759 wxPoint
*arg2
= 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "pt", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22772 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 Py_INCREF(Py_None
); resultobj
= Py_None
;
22788 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22791 wxPoint
*arg2
= 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self",(char *) "pt", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22801 if (SWIG_arg_fail(1)) SWIG_fail
;
22804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 Py_INCREF(Py_None
); resultobj
= Py_None
;
22820 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22823 wxPoint
*arg2
= 0 ;
22825 PyObject
* obj0
= 0 ;
22826 PyObject
* obj1
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self",(char *) "pt", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22833 if (SWIG_arg_fail(1)) SWIG_fail
;
22836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 Py_INCREF(Py_None
); resultobj
= Py_None
;
22852 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
;
22854 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22855 wxPoint
*arg2
= 0 ;
22857 PyObject
* obj0
= 0 ;
22858 PyObject
* obj1
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "self",(char *) "pt", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22865 if (SWIG_arg_fail(1)) SWIG_fail
;
22868 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "self",(char *) "id", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22896 if (SWIG_arg_fail(1)) SWIG_fail
;
22898 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22899 if (SWIG_arg_fail(2)) SWIG_fail
;
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 Py_INCREF(Py_None
); resultobj
= Py_None
;
22915 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self",(char *) "size", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22928 if (SWIG_arg_fail(1)) SWIG_fail
;
22931 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 Py_INCREF(Py_None
); resultobj
= Py_None
;
22947 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22950 wxPrintData
*arg2
= 0 ;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "printData", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22962 if (SWIG_arg_fail(2)) SWIG_fail
;
22963 if (arg2
== NULL
) {
22964 SWIG_null_ref("wxPrintData");
22966 if (SWIG_arg_fail(2)) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 Py_INCREF(Py_None
); resultobj
= Py_None
;
22982 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22992 if (SWIG_arg_fail(1)) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 (arg1
)->CalculateIdFromPaperSize();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 Py_INCREF(Py_None
); resultobj
= Py_None
;
23007 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
23016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23017 if (SWIG_arg_fail(1)) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->CalculatePaperSizeFromId();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 Py_INCREF(Py_None
); resultobj
= Py_None
;
23032 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
23034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23035 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
23037 return Py_BuildValue((char *)"");
23039 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxWindow
*arg1
= (wxWindow
*) 0 ;
23042 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
23043 wxPageSetupDialog
*result
;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "parent",(char *) "data", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23052 if (SWIG_arg_fail(1)) SWIG_fail
;
23054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23055 if (SWIG_arg_fail(2)) SWIG_fail
;
23058 if (!wxPyCheckForApp()) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
23072 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23075 wxPageSetupDialogData
*result
;
23076 PyObject
* obj0
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
23082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
23088 result
= (wxPageSetupDialogData
*) &_result_ref
;
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23101 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23104 wxPageSetupDialogData
*result
;
23105 PyObject
* obj0
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
23111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23112 if (SWIG_arg_fail(1)) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
23117 result
= (wxPageSetupDialogData
*) &_result_ref
;
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23130 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23141 if (SWIG_arg_fail(1)) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (int)(arg1
)->ShowModal();
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= SWIG_From_int((int)(result
));
23158 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23161 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23163 return Py_BuildValue((char *)"");
23165 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23166 PyObject
*resultobj
;
23167 wxPrintDialogData
*result
;
23169 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23184 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23185 PyObject
*resultobj
;
23186 wxPrintData
*arg1
= 0 ;
23187 wxPrintDialogData
*result
;
23188 PyObject
* obj0
= 0 ;
23190 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23193 if (SWIG_arg_fail(1)) SWIG_fail
;
23194 if (arg1
== NULL
) {
23195 SWIG_null_ref("wxPrintData");
23197 if (SWIG_arg_fail(1)) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23213 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23214 PyObject
*resultobj
;
23215 wxPrintDialogData
*arg1
= 0 ;
23216 wxPrintDialogData
*result
;
23217 PyObject
* obj0
= 0 ;
23219 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23222 if (SWIG_arg_fail(1)) SWIG_fail
;
23223 if (arg1
== NULL
) {
23224 SWIG_null_ref("wxPrintDialogData");
23226 if (SWIG_arg_fail(1)) SWIG_fail
;
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23242 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23247 argc
= PyObject_Length(args
);
23248 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23249 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23252 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23258 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23266 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23273 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23281 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23285 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23290 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23293 PyObject
* obj0
= 0 ;
23294 char *kwnames
[] = {
23295 (char *) "self", NULL
23298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23300 if (SWIG_arg_fail(1)) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23308 Py_INCREF(Py_None
); resultobj
= Py_None
;
23315 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23319 PyObject
* obj0
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23326 if (SWIG_arg_fail(1)) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= SWIG_From_int((int)(result
));
23343 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23354 if (SWIG_arg_fail(1)) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= SWIG_From_int((int)(result
));
23371 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23382 if (SWIG_arg_fail(1)) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= SWIG_From_int((int)(result
));
23399 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23410 if (SWIG_arg_fail(1)) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= SWIG_From_int((int)(result
));
23427 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23438 if (SWIG_arg_fail(1)) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_From_int((int)(result
));
23455 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23466 if (SWIG_arg_fail(1)) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23483 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23487 PyObject
* obj0
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23494 if (SWIG_arg_fail(1)) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23511 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23539 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23567 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23578 if (SWIG_arg_fail(1)) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23595 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23597 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char *kwnames
[] = {
23602 (char *) "self",(char *) "flag", NULL
23605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23607 if (SWIG_arg_fail(1)) SWIG_fail
;
23609 arg2
= (bool)(SWIG_As_bool(obj1
));
23610 if (SWIG_arg_fail(2)) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 (arg1
)->SetSetupDialog(arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 Py_INCREF(Py_None
); resultobj
= Py_None
;
23626 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "v", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23638 if (SWIG_arg_fail(1)) SWIG_fail
;
23640 arg2
= (int)(SWIG_As_int(obj1
));
23641 if (SWIG_arg_fail(2)) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 (arg1
)->SetFromPage(arg2
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 Py_INCREF(Py_None
); resultobj
= Py_None
;
23657 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self",(char *) "v", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail
;
23671 arg2
= (int)(SWIG_As_int(obj1
));
23672 if (SWIG_arg_fail(2)) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 (arg1
)->SetToPage(arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "v", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23700 if (SWIG_arg_fail(1)) SWIG_fail
;
23702 arg2
= (int)(SWIG_As_int(obj1
));
23703 if (SWIG_arg_fail(2)) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 (arg1
)->SetMinPage(arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 Py_INCREF(Py_None
); resultobj
= Py_None
;
23719 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23723 PyObject
* obj0
= 0 ;
23724 PyObject
* obj1
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self",(char *) "v", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23731 if (SWIG_arg_fail(1)) SWIG_fail
;
23733 arg2
= (int)(SWIG_As_int(obj1
));
23734 if (SWIG_arg_fail(2)) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->SetMaxPage(arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 Py_INCREF(Py_None
); resultobj
= Py_None
;
23750 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self",(char *) "v", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23762 if (SWIG_arg_fail(1)) SWIG_fail
;
23764 arg2
= (int)(SWIG_As_int(obj1
));
23765 if (SWIG_arg_fail(2)) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 (arg1
)->SetNoCopies(arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 Py_INCREF(Py_None
); resultobj
= Py_None
;
23781 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self",(char *) "flag", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23793 if (SWIG_arg_fail(1)) SWIG_fail
;
23795 arg2
= (bool)(SWIG_As_bool(obj1
));
23796 if (SWIG_arg_fail(2)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 (arg1
)->SetAllPages(arg2
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 Py_INCREF(Py_None
); resultobj
= Py_None
;
23812 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23816 PyObject
* obj0
= 0 ;
23817 PyObject
* obj1
= 0 ;
23818 char *kwnames
[] = {
23819 (char *) "self",(char *) "flag", NULL
23822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23824 if (SWIG_arg_fail(1)) SWIG_fail
;
23826 arg2
= (bool)(SWIG_As_bool(obj1
));
23827 if (SWIG_arg_fail(2)) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 (arg1
)->SetSelection(arg2
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 Py_INCREF(Py_None
); resultobj
= Py_None
;
23843 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "flag", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23855 if (SWIG_arg_fail(1)) SWIG_fail
;
23857 arg2
= (bool)(SWIG_As_bool(obj1
));
23858 if (SWIG_arg_fail(2)) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 (arg1
)->SetCollate(arg2
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 Py_INCREF(Py_None
); resultobj
= Py_None
;
23874 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23876 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23878 PyObject
* obj0
= 0 ;
23879 PyObject
* obj1
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self",(char *) "flag", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23886 if (SWIG_arg_fail(1)) SWIG_fail
;
23888 arg2
= (bool)(SWIG_As_bool(obj1
));
23889 if (SWIG_arg_fail(2)) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 (arg1
)->SetPrintToFile(arg2
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 Py_INCREF(Py_None
); resultobj
= Py_None
;
23905 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self",(char *) "flag", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail
;
23919 arg2
= (bool)(SWIG_As_bool(obj1
));
23920 if (SWIG_arg_fail(2)) SWIG_fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 (arg1
)->EnablePrintToFile(arg2
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 Py_INCREF(Py_None
); resultobj
= Py_None
;
23936 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23938 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self",(char *) "flag", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
23951 if (SWIG_arg_fail(2)) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 (arg1
)->EnableSelection(arg2
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 Py_INCREF(Py_None
); resultobj
= Py_None
;
23967 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23971 PyObject
* obj0
= 0 ;
23972 PyObject
* obj1
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self",(char *) "flag", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23979 if (SWIG_arg_fail(1)) SWIG_fail
;
23981 arg2
= (bool)(SWIG_As_bool(obj1
));
23982 if (SWIG_arg_fail(2)) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 (arg1
)->EnablePageNumbers(arg2
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 Py_INCREF(Py_None
); resultobj
= Py_None
;
23998 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self",(char *) "flag", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24010 if (SWIG_arg_fail(1)) SWIG_fail
;
24012 arg2
= (bool)(SWIG_As_bool(obj1
));
24013 if (SWIG_arg_fail(2)) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->EnableHelp(arg2
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
24039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24040 if (SWIG_arg_fail(1)) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24057 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24061 PyObject
* obj0
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
24067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24068 if (SWIG_arg_fail(1)) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24085 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 char *kwnames
[] = {
24091 (char *) "self", NULL
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
24095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24096 if (SWIG_arg_fail(1)) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24113 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24117 PyObject
* obj0
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "self", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
24123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24124 if (SWIG_arg_fail(1)) SWIG_fail
;
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24141 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
24151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24152 if (SWIG_arg_fail(1)) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24169 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24172 wxPrintData
*result
;
24173 PyObject
* obj0
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24180 if (SWIG_arg_fail(1)) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24185 result
= (wxPrintData
*) &_result_ref
;
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24198 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24201 wxPrintData
*arg2
= 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self",(char *) "printData", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail
;
24212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24213 if (SWIG_arg_fail(2)) SWIG_fail
;
24214 if (arg2
== NULL
) {
24215 SWIG_null_ref("wxPrintData");
24217 if (SWIG_arg_fail(2)) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 Py_INCREF(Py_None
); resultobj
= Py_None
;
24233 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24236 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24238 return Py_BuildValue((char *)"");
24240 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxWindow
*arg1
= (wxWindow
*) 0 ;
24243 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24244 wxPrintDialog
*result
;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "parent",(char *) "data", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24253 if (SWIG_arg_fail(1)) SWIG_fail
;
24255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24256 if (SWIG_arg_fail(2)) SWIG_fail
;
24259 if (!wxPyCheckForApp()) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24273 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "self", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24284 if (SWIG_arg_fail(1)) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 result
= (int)(arg1
)->ShowModal();
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= SWIG_From_int((int)(result
));
24301 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
;
24303 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24304 wxPrintDialogData
*result
;
24305 PyObject
* obj0
= 0 ;
24306 char *kwnames
[] = {
24307 (char *) "self", NULL
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24312 if (SWIG_arg_fail(1)) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24317 result
= (wxPrintDialogData
*) &_result_ref
;
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24330 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
;
24332 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24333 wxPrintData
*result
;
24334 PyObject
* obj0
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24341 if (SWIG_arg_fail(1)) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24346 result
= (wxPrintData
*) &_result_ref
;
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24359 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
;
24361 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24363 PyObject
* obj0
= 0 ;
24364 char *kwnames
[] = {
24365 (char *) "self", NULL
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24370 if (SWIG_arg_fail(1)) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxDC
*)(arg1
)->GetPrintDC();
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= wxPyMake_wxObject(result
, 1);
24387 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24390 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24392 return Py_BuildValue((char *)"");
24394 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24398 PyObject
* obj0
= 0 ;
24399 char *kwnames
[] = {
24400 (char *) "data", NULL
24403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail
;
24409 if (!wxPyCheckForApp()) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= (wxPrinter
*)new wxPrinter(arg1
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24423 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
;
24425 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24433 if (SWIG_arg_fail(1)) SWIG_fail
;
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 Py_INCREF(Py_None
); resultobj
= Py_None
;
24448 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24451 wxWindow
*arg2
= (wxWindow
*) 0 ;
24452 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 PyObject
* obj2
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "parent",(char *) "printout", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail
;
24464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24465 if (SWIG_arg_fail(2)) SWIG_fail
;
24466 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24467 if (SWIG_arg_fail(3)) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= wxPyMake_wxObject(result
, 0);
24484 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24487 wxWindow
*arg2
= (wxWindow
*) 0 ;
24488 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24489 wxString
*arg4
= 0 ;
24490 bool temp4
= false ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 PyObject
* obj2
= 0 ;
24494 PyObject
* obj3
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24501 if (SWIG_arg_fail(1)) SWIG_fail
;
24502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24503 if (SWIG_arg_fail(2)) SWIG_fail
;
24504 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24505 if (SWIG_arg_fail(3)) SWIG_fail
;
24507 arg4
= wxString_in_helper(obj3
);
24508 if (arg4
== NULL
) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 Py_INCREF(Py_None
); resultobj
= Py_None
;
24533 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
;
24535 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24536 wxWindow
*arg2
= (wxWindow
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "self",(char *) "parent", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail
;
24547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24548 if (SWIG_arg_fail(2)) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= (bool)(arg1
)->Setup(arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24565 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24568 wxWindow
*arg2
= (wxWindow
*) 0 ;
24569 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24570 bool arg4
= (bool) true ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 PyObject
* obj2
= 0 ;
24575 PyObject
* obj3
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24582 if (SWIG_arg_fail(1)) SWIG_fail
;
24583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24584 if (SWIG_arg_fail(2)) SWIG_fail
;
24585 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24586 if (SWIG_arg_fail(3)) SWIG_fail
;
24589 arg4
= (bool)(SWIG_As_bool(obj3
));
24590 if (SWIG_arg_fail(4)) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24609 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24612 wxWindow
*arg2
= (wxWindow
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self",(char *) "parent", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24622 if (SWIG_arg_fail(1)) SWIG_fail
;
24623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24624 if (SWIG_arg_fail(2)) SWIG_fail
;
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= wxPyMake_wxObject(result
, 0);
24641 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24644 wxPrintDialogData
*result
;
24645 PyObject
* obj0
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24657 result
= (wxPrintDialogData
*) &_result_ref
;
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24670 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24681 if (SWIG_arg_fail(1)) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (bool)(arg1
)->GetAbort();
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24698 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxPrinterError result
;
24701 char *kwnames
[] = {
24705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (wxPrinterError
)wxPrinter::GetLastError();
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_From_int((result
));
24720 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24723 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24725 return Py_BuildValue((char *)"");
24727 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24730 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24731 wxPyPrintout
*result
;
24732 bool temp1
= false ;
24733 PyObject
* obj0
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "title", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24741 arg1
= wxString_in_helper(obj0
);
24742 if (arg1
== NULL
) SWIG_fail
;
24747 if (!wxPyCheckForApp()) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= wxPyMake_wxObject(result
, 1);
24771 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24774 PyObject
*arg2
= (PyObject
*) 0 ;
24775 PyObject
*arg3
= (PyObject
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 PyObject
* obj2
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self",(char *) "self",(char *) "_class", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24785 if (SWIG_arg_fail(1)) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 Py_INCREF(Py_None
); resultobj
= Py_None
;
24802 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24834 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (wxDC
*)(arg1
)->GetDC();
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= wxPyMake_wxObject(result
, 0);
24862 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
;
24864 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24865 wxDC
*arg2
= (wxDC
*) 0 ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "dc", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24874 if (SWIG_arg_fail(1)) SWIG_fail
;
24875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24876 if (SWIG_arg_fail(2)) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->SetDC(arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24891 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self",(char *) "w",(char *) "h", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail
;
24907 arg2
= (int)(SWIG_As_int(obj1
));
24908 if (SWIG_arg_fail(2)) SWIG_fail
;
24911 arg3
= (int)(SWIG_As_int(obj2
));
24912 if (SWIG_arg_fail(3)) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24931 int *arg2
= (int *) 0 ;
24932 int *arg3
= (int *) 0 ;
24937 PyObject
* obj0
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self", NULL
24942 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24943 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24946 if (SWIG_arg_fail(1)) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24956 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24957 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24958 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24965 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 PyObject
* obj2
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self",(char *) "w",(char *) "h", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24979 if (SWIG_arg_fail(1)) SWIG_fail
;
24981 arg2
= (int)(SWIG_As_int(obj1
));
24982 if (SWIG_arg_fail(2)) SWIG_fail
;
24985 arg3
= (int)(SWIG_As_int(obj2
));
24986 if (SWIG_arg_fail(3)) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 Py_INCREF(Py_None
); resultobj
= Py_None
;
25002 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
;
25004 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25005 int *arg2
= (int *) 0 ;
25006 int *arg3
= (int *) 0 ;
25011 PyObject
* obj0
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self", NULL
25016 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25017 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
25019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->GetPageSizeMM(arg2
,arg3
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25030 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25031 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25032 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25039 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 PyObject
* obj2
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self",(char *) "x",(char *) "y", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25053 if (SWIG_arg_fail(1)) SWIG_fail
;
25055 arg2
= (int)(SWIG_As_int(obj1
));
25056 if (SWIG_arg_fail(2)) SWIG_fail
;
25059 arg3
= (int)(SWIG_As_int(obj2
));
25060 if (SWIG_arg_fail(3)) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 (arg1
)->SetPPIScreen(arg2
,arg3
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 Py_INCREF(Py_None
); resultobj
= Py_None
;
25076 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25079 int *arg2
= (int *) 0 ;
25080 int *arg3
= (int *) 0 ;
25085 PyObject
* obj0
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "self", NULL
25090 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25091 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
25093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25094 if (SWIG_arg_fail(1)) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 (arg1
)->GetPPIScreen(arg2
,arg3
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 Py_INCREF(Py_None
); resultobj
= Py_None
;
25103 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25104 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25105 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25106 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25113 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25118 PyObject
* obj0
= 0 ;
25119 PyObject
* obj1
= 0 ;
25120 PyObject
* obj2
= 0 ;
25121 char *kwnames
[] = {
25122 (char *) "self",(char *) "x",(char *) "y", NULL
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25127 if (SWIG_arg_fail(1)) SWIG_fail
;
25129 arg2
= (int)(SWIG_As_int(obj1
));
25130 if (SWIG_arg_fail(2)) SWIG_fail
;
25133 arg3
= (int)(SWIG_As_int(obj2
));
25134 if (SWIG_arg_fail(3)) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 (arg1
)->SetPPIPrinter(arg2
,arg3
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 Py_INCREF(Py_None
); resultobj
= Py_None
;
25150 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25153 int *arg2
= (int *) 0 ;
25154 int *arg3
= (int *) 0 ;
25159 PyObject
* obj0
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self", NULL
25164 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25165 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
25167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail
;
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 (arg1
)->GetPPIPrinter(arg2
,arg3
);
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25176 Py_INCREF(Py_None
); resultobj
= Py_None
;
25177 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25178 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25179 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25180 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25187 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
;
25189 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25191 PyObject
* obj0
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 result
= (bool)(arg1
)->IsPreview();
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25215 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25219 PyObject
* obj0
= 0 ;
25220 PyObject
* obj1
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self",(char *) "p", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25227 if (SWIG_arg_fail(1)) SWIG_fail
;
25229 arg2
= (bool)(SWIG_As_bool(obj1
));
25230 if (SWIG_arg_fail(2)) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 (arg1
)->SetIsPreview(arg2
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 Py_INCREF(Py_None
); resultobj
= Py_None
;
25246 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj2
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25261 if (SWIG_arg_fail(1)) SWIG_fail
;
25263 arg2
= (int)(SWIG_As_int(obj1
));
25264 if (SWIG_arg_fail(2)) SWIG_fail
;
25267 arg3
= (int)(SWIG_As_int(obj2
));
25268 if (SWIG_arg_fail(3)) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25286 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25289 PyObject
* obj0
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25296 if (SWIG_arg_fail(1)) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 (arg1
)->base_OnEndDocument();
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 Py_INCREF(Py_None
); resultobj
= Py_None
;
25311 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25314 PyObject
* obj0
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25321 if (SWIG_arg_fail(1)) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 (arg1
)->base_OnBeginPrinting();
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 Py_INCREF(Py_None
); resultobj
= Py_None
;
25336 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25339 PyObject
* obj0
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25346 if (SWIG_arg_fail(1)) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 (arg1
)->base_OnEndPrinting();
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 Py_INCREF(Py_None
); resultobj
= Py_None
;
25361 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25364 PyObject
* obj0
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25371 if (SWIG_arg_fail(1)) SWIG_fail
;
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 (arg1
)->base_OnPreparePrinting();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 Py_INCREF(Py_None
); resultobj
= Py_None
;
25386 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
;
25388 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 PyObject
* obj1
= 0 ;
25393 char *kwnames
[] = {
25394 (char *) "self",(char *) "page", NULL
25397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25399 if (SWIG_arg_fail(1)) SWIG_fail
;
25401 arg2
= (int)(SWIG_As_int(obj1
));
25402 if (SWIG_arg_fail(2)) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 result
= (bool)(arg1
)->base_HasPage(arg2
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25420 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25423 int *arg2
= (int *) 0 ;
25424 int *arg3
= (int *) 0 ;
25425 int *arg4
= (int *) 0 ;
25426 int *arg5
= (int *) 0 ;
25435 PyObject
* obj0
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self", NULL
25440 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25441 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25442 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25443 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25446 if (SWIG_arg_fail(1)) SWIG_fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 Py_INCREF(Py_None
); resultobj
= Py_None
;
25455 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25456 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25457 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25458 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25459 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25460 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25461 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25462 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25469 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25472 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25474 return Py_BuildValue((char *)"");
25476 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25479 wxWindow
*arg2
= (wxWindow
*) 0 ;
25480 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25481 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25482 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25483 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25484 long arg5
= (long) 0 ;
25485 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25486 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25487 wxPreviewCanvas
*result
;
25490 bool temp6
= false ;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 PyObject
* obj2
= 0 ;
25494 PyObject
* obj3
= 0 ;
25495 PyObject
* obj4
= 0 ;
25496 PyObject
* obj5
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25503 if (SWIG_arg_fail(1)) SWIG_fail
;
25504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25505 if (SWIG_arg_fail(2)) SWIG_fail
;
25509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25515 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25520 arg5
= (long)(SWIG_As_long(obj4
));
25521 if (SWIG_arg_fail(5)) SWIG_fail
;
25526 arg6
= wxString_in_helper(obj5
);
25527 if (arg6
== NULL
) SWIG_fail
;
25532 if (!wxPyCheckForApp()) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25554 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25557 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25559 return Py_BuildValue((char *)"");
25561 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25564 wxFrame
*arg2
= (wxFrame
*) 0 ;
25565 wxString
*arg3
= 0 ;
25566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25570 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25571 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25572 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25573 wxPreviewFrame
*result
;
25574 bool temp3
= false ;
25577 bool temp7
= false ;
25578 PyObject
* obj0
= 0 ;
25579 PyObject
* obj1
= 0 ;
25580 PyObject
* obj2
= 0 ;
25581 PyObject
* obj3
= 0 ;
25582 PyObject
* obj4
= 0 ;
25583 PyObject
* obj5
= 0 ;
25584 PyObject
* obj6
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail
;
25592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25593 if (SWIG_arg_fail(2)) SWIG_fail
;
25595 arg3
= wxString_in_helper(obj2
);
25596 if (arg3
== NULL
) SWIG_fail
;
25602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25613 arg6
= (long)(SWIG_As_long(obj5
));
25614 if (SWIG_arg_fail(6)) SWIG_fail
;
25619 arg7
= wxString_in_helper(obj6
);
25620 if (arg7
== NULL
) SWIG_fail
;
25625 if (!wxPyCheckForApp()) SWIG_fail
;
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25655 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25658 PyObject
* obj0
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25665 if (SWIG_arg_fail(1)) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 (arg1
)->Initialize();
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 Py_INCREF(Py_None
); resultobj
= Py_None
;
25680 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25682 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25683 PyObject
* obj0
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25690 if (SWIG_arg_fail(1)) SWIG_fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 (arg1
)->CreateControlBar();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 Py_INCREF(Py_None
); resultobj
= Py_None
;
25705 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25708 PyObject
* obj0
= 0 ;
25709 char *kwnames
[] = {
25710 (char *) "self", NULL
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25715 if (SWIG_arg_fail(1)) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 (arg1
)->CreateCanvas();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 Py_INCREF(Py_None
); resultobj
= Py_None
;
25730 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25733 wxPreviewControlBar
*result
;
25734 PyObject
* obj0
= 0 ;
25735 char *kwnames
[] = {
25736 (char *) "self", NULL
25739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25741 if (SWIG_arg_fail(1)) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25756 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25759 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25761 return Py_BuildValue((char *)"");
25763 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
;
25765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25767 wxWindow
*arg3
= (wxWindow
*) 0 ;
25768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25772 long arg6
= (long) wxTAB_TRAVERSAL
;
25773 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25774 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25775 wxPreviewControlBar
*result
;
25778 bool temp7
= false ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 PyObject
* obj2
= 0 ;
25782 PyObject
* obj3
= 0 ;
25783 PyObject
* obj4
= 0 ;
25784 PyObject
* obj5
= 0 ;
25785 PyObject
* obj6
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25792 if (SWIG_arg_fail(1)) SWIG_fail
;
25794 arg2
= (long)(SWIG_As_long(obj1
));
25795 if (SWIG_arg_fail(2)) SWIG_fail
;
25797 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25798 if (SWIG_arg_fail(3)) SWIG_fail
;
25802 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25808 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25813 arg6
= (long)(SWIG_As_long(obj5
));
25814 if (SWIG_arg_fail(6)) SWIG_fail
;
25819 arg7
= wxString_in_helper(obj6
);
25820 if (arg7
== NULL
) SWIG_fail
;
25825 if (!wxPyCheckForApp()) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25847 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
;
25849 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25851 PyObject
* obj0
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "self", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25858 if (SWIG_arg_fail(1)) SWIG_fail
;
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 result
= (int)(arg1
)->GetZoomControl();
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_From_int((int)(result
));
25875 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 char *kwnames
[] = {
25882 (char *) "self",(char *) "zoom", NULL
25885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25887 if (SWIG_arg_fail(1)) SWIG_fail
;
25889 arg2
= (int)(SWIG_As_int(obj1
));
25890 if (SWIG_arg_fail(2)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 (arg1
)->SetZoomControl(arg2
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 Py_INCREF(Py_None
); resultobj
= Py_None
;
25906 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25909 wxPrintPreview
*result
;
25910 PyObject
* obj0
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25917 if (SWIG_arg_fail(1)) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25932 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25935 PyObject
* obj0
= 0 ;
25936 char *kwnames
[] = {
25937 (char *) "self", NULL
25940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25942 if (SWIG_arg_fail(1)) SWIG_fail
;
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 Py_INCREF(Py_None
); resultobj
= Py_None
;
25957 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
;
25959 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self", NULL
25965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25967 if (SWIG_arg_fail(1)) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 (arg1
)->OnPrevious();
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 Py_INCREF(Py_None
); resultobj
= Py_None
;
25982 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25985 PyObject
* obj0
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25992 if (SWIG_arg_fail(1)) SWIG_fail
;
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 wxPyEndAllowThreads(__tstate
);
25998 if (PyErr_Occurred()) SWIG_fail
;
26000 Py_INCREF(Py_None
); resultobj
= Py_None
;
26007 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
26010 PyObject
* obj0
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
26016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26017 if (SWIG_arg_fail(1)) SWIG_fail
;
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 Py_INCREF(Py_None
); resultobj
= Py_None
;
26032 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
26035 PyObject
* obj0
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
26041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 Py_INCREF(Py_None
); resultobj
= Py_None
;
26057 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
26059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26060 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
26062 return Py_BuildValue((char *)"");
26064 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26065 PyObject
*resultobj
;
26066 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26067 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26068 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26069 wxPrintPreview
*result
;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 PyObject
* obj2
= 0 ;
26074 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26076 if (SWIG_arg_fail(1)) SWIG_fail
;
26077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26078 if (SWIG_arg_fail(2)) SWIG_fail
;
26080 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26081 if (SWIG_arg_fail(3)) SWIG_fail
;
26084 if (!wxPyCheckForApp()) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26098 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26099 PyObject
*resultobj
;
26100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26101 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26102 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26103 wxPrintPreview
*result
;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 PyObject
* obj2
= 0 ;
26108 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail
;
26111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26112 if (SWIG_arg_fail(2)) SWIG_fail
;
26113 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26114 if (SWIG_arg_fail(3)) SWIG_fail
;
26116 if (!wxPyCheckForApp()) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26130 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
26135 argc
= PyObject_Length(args
);
26136 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26137 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26139 if ((argc
>= 2) && (argc
<= 3)) {
26143 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26153 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26162 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26166 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26174 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26183 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26193 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26203 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26211 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26217 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26222 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "pageNum", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail
;
26237 arg2
= (int)(SWIG_As_int(obj1
));
26238 if (SWIG_arg_fail(2)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26256 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26258 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26260 PyObject
* obj0
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26267 if (SWIG_arg_fail(1)) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 result
= (int)(arg1
)->GetCurrentPage();
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26276 resultobj
= SWIG_From_int((int)(result
));
26284 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26287 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "printout", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26296 if (SWIG_arg_fail(1)) SWIG_fail
;
26297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26298 if (SWIG_arg_fail(2)) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 (arg1
)->SetPrintout(arg2
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 Py_INCREF(Py_None
); resultobj
= Py_None
;
26313 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26316 wxPyPrintout
*result
;
26317 PyObject
* obj0
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26324 if (SWIG_arg_fail(1)) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= wxPyMake_wxObject(result
, 0);
26341 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26344 wxPyPrintout
*result
;
26345 PyObject
* obj0
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26361 resultobj
= wxPyMake_wxObject(result
, 0);
26369 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
;
26371 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26372 wxFrame
*arg2
= (wxFrame
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "frame", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail
;
26382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26383 if (SWIG_arg_fail(2)) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 (arg1
)->SetFrame(arg2
);
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 Py_INCREF(Py_None
); resultobj
= Py_None
;
26398 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
;
26400 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26401 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 PyObject
* obj1
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self",(char *) "canvas", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26410 if (SWIG_arg_fail(1)) SWIG_fail
;
26411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26412 if (SWIG_arg_fail(2)) SWIG_fail
;
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 (arg1
)->SetCanvas(arg2
);
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 Py_INCREF(Py_None
); resultobj
= Py_None
;
26427 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26431 PyObject
* obj0
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26438 if (SWIG_arg_fail(1)) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (wxFrame
*)(arg1
)->GetFrame();
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= wxPyMake_wxObject(result
, 0);
26455 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26458 wxPreviewCanvas
*result
;
26459 PyObject
* obj0
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail
;
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26481 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26484 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26487 PyObject
* obj0
= 0 ;
26488 PyObject
* obj1
= 0 ;
26489 PyObject
* obj2
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26496 if (SWIG_arg_fail(1)) SWIG_fail
;
26497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26498 if (SWIG_arg_fail(2)) SWIG_fail
;
26500 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26501 if (SWIG_arg_fail(3)) SWIG_fail
;
26502 if (arg3
== NULL
) {
26503 SWIG_null_ref("wxDC");
26505 if (SWIG_arg_fail(3)) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26523 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
;
26525 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26526 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 PyObject
* obj2
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail
;
26539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26540 if (SWIG_arg_fail(2)) SWIG_fail
;
26542 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26543 if (SWIG_arg_fail(3)) SWIG_fail
;
26544 if (arg3
== NULL
) {
26545 SWIG_null_ref("wxDC");
26547 if (SWIG_arg_fail(3)) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26565 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self",(char *) "pageNum", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26578 if (SWIG_arg_fail(1)) SWIG_fail
;
26580 arg2
= (int)(SWIG_As_int(obj1
));
26581 if (SWIG_arg_fail(2)) SWIG_fail
;
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 result
= (bool)(arg1
)->RenderPage(arg2
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26599 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26602 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self",(char *) "canvas", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26611 if (SWIG_arg_fail(1)) SWIG_fail
;
26612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26613 if (SWIG_arg_fail(2)) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 (arg1
)->AdjustScrollbars(arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 Py_INCREF(Py_None
); resultobj
= Py_None
;
26628 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26631 wxPrintDialogData
*result
;
26632 PyObject
* obj0
= 0 ;
26633 char *kwnames
[] = {
26634 (char *) "self", NULL
26637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26639 if (SWIG_arg_fail(1)) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26644 result
= (wxPrintDialogData
*) &_result_ref
;
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26657 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self",(char *) "percent", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26669 if (SWIG_arg_fail(1)) SWIG_fail
;
26671 arg2
= (int)(SWIG_As_int(obj1
));
26672 if (SWIG_arg_fail(2)) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 (arg1
)->SetZoom(arg2
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 Py_INCREF(Py_None
); resultobj
= Py_None
;
26688 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26692 PyObject
* obj0
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",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 result
= (int)(arg1
)->GetZoom();
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= SWIG_From_int((int)(result
));
26716 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
;
26718 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26727 if (SWIG_arg_fail(1)) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 result
= (int)(arg1
)->GetMaxPage();
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= SWIG_From_int((int)(result
));
26744 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
;
26746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26748 PyObject
* obj0
= 0 ;
26749 char *kwnames
[] = {
26750 (char *) "self", NULL
26753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26755 if (SWIG_arg_fail(1)) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 result
= (int)(arg1
)->GetMinPage();
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= SWIG_From_int((int)(result
));
26772 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
;
26774 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26776 PyObject
* obj0
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 result
= (bool)(arg1
)->Ok();
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26800 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self",(char *) "ok", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26812 if (SWIG_arg_fail(1)) SWIG_fail
;
26814 arg2
= (bool)(SWIG_As_bool(obj1
));
26815 if (SWIG_arg_fail(2)) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 (arg1
)->SetOk(arg2
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 Py_INCREF(Py_None
); resultobj
= Py_None
;
26831 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "self",(char *) "interactive", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26844 if (SWIG_arg_fail(1)) SWIG_fail
;
26846 arg2
= (bool)(SWIG_As_bool(obj1
));
26847 if (SWIG_arg_fail(2)) SWIG_fail
;
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (bool)(arg1
)->Print(arg2
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26865 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 (arg1
)->DetermineScaling();
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 Py_INCREF(Py_None
); resultobj
= Py_None
;
26890 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26893 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26895 return Py_BuildValue((char *)"");
26897 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26898 PyObject
*resultobj
;
26899 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26900 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26901 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26902 wxPyPrintPreview
*result
;
26903 PyObject
* obj0
= 0 ;
26904 PyObject
* obj1
= 0 ;
26905 PyObject
* obj2
= 0 ;
26907 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26909 if (SWIG_arg_fail(1)) SWIG_fail
;
26910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26911 if (SWIG_arg_fail(2)) SWIG_fail
;
26913 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(3)) SWIG_fail
;
26917 if (!wxPyCheckForApp()) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26931 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26932 PyObject
*resultobj
;
26933 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26934 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26935 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26936 wxPyPrintPreview
*result
;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 PyObject
* obj2
= 0 ;
26941 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26943 if (SWIG_arg_fail(1)) SWIG_fail
;
26944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26945 if (SWIG_arg_fail(2)) SWIG_fail
;
26946 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26947 if (SWIG_arg_fail(3)) SWIG_fail
;
26949 if (!wxPyCheckForApp()) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26963 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26968 argc
= PyObject_Length(args
);
26969 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26970 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26972 if ((argc
>= 2) && (argc
<= 3)) {
26976 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26986 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26995 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26999 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
27007 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
27016 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
27026 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
27036 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
27044 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
27050 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
27055 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
;
27057 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27058 PyObject
*arg2
= (PyObject
*) 0 ;
27059 PyObject
*arg3
= (PyObject
*) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 PyObject
* obj1
= 0 ;
27062 PyObject
* obj2
= 0 ;
27063 char *kwnames
[] = {
27064 (char *) "self",(char *) "self",(char *) "_class", NULL
27067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27069 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 Py_INCREF(Py_None
); resultobj
= Py_None
;
27086 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
;
27088 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 PyObject
* obj1
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self",(char *) "pageNum", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27099 if (SWIG_arg_fail(1)) SWIG_fail
;
27101 arg2
= (int)(SWIG_As_int(obj1
));
27102 if (SWIG_arg_fail(2)) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27120 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27123 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 PyObject
* obj2
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27135 if (SWIG_arg_fail(1)) SWIG_fail
;
27136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27137 if (SWIG_arg_fail(2)) SWIG_fail
;
27139 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27140 if (SWIG_arg_fail(3)) SWIG_fail
;
27141 if (arg3
== NULL
) {
27142 SWIG_null_ref("wxDC");
27144 if (SWIG_arg_fail(3)) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27162 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27163 PyObject
*resultobj
;
27164 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27165 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 PyObject
* obj2
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27177 if (SWIG_arg_fail(1)) SWIG_fail
;
27178 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27179 if (SWIG_arg_fail(2)) SWIG_fail
;
27181 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27182 if (SWIG_arg_fail(3)) SWIG_fail
;
27183 if (arg3
== NULL
) {
27184 SWIG_null_ref("wxDC");
27186 if (SWIG_arg_fail(3)) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27204 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self",(char *) "pageNum", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail
;
27219 arg2
= (int)(SWIG_As_int(obj1
));
27220 if (SWIG_arg_fail(2)) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27238 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
;
27240 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27242 PyObject
* obj0
= 0 ;
27243 PyObject
* obj1
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "self",(char *) "percent", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27250 if (SWIG_arg_fail(1)) SWIG_fail
;
27252 arg2
= (int)(SWIG_As_int(obj1
));
27253 if (SWIG_arg_fail(2)) SWIG_fail
;
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 (arg1
)->base_SetZoom(arg2
);
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 Py_INCREF(Py_None
); resultobj
= Py_None
;
27269 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char *kwnames
[] = {
27277 (char *) "self",(char *) "interactive", NULL
27280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27282 if (SWIG_arg_fail(1)) SWIG_fail
;
27284 arg2
= (bool)(SWIG_As_bool(obj1
));
27285 if (SWIG_arg_fail(2)) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 result
= (bool)(arg1
)->base_Print(arg2
);
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27303 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27306 PyObject
* obj0
= 0 ;
27307 char *kwnames
[] = {
27308 (char *) "self", NULL
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27313 if (SWIG_arg_fail(1)) SWIG_fail
;
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 (arg1
)->base_DetermineScaling();
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 Py_INCREF(Py_None
); resultobj
= Py_None
;
27328 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27331 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27333 return Py_BuildValue((char *)"");
27335 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27338 wxFrame
*arg2
= (wxFrame
*) 0 ;
27339 wxString
*arg3
= 0 ;
27340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27344 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27345 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27346 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27347 wxPyPreviewFrame
*result
;
27348 bool temp3
= false ;
27351 bool temp7
= false ;
27352 PyObject
* obj0
= 0 ;
27353 PyObject
* obj1
= 0 ;
27354 PyObject
* obj2
= 0 ;
27355 PyObject
* obj3
= 0 ;
27356 PyObject
* obj4
= 0 ;
27357 PyObject
* obj5
= 0 ;
27358 PyObject
* obj6
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27365 if (SWIG_arg_fail(1)) SWIG_fail
;
27366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27367 if (SWIG_arg_fail(2)) SWIG_fail
;
27369 arg3
= wxString_in_helper(obj2
);
27370 if (arg3
== NULL
) SWIG_fail
;
27376 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27382 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27387 arg6
= (long)(SWIG_As_long(obj5
));
27388 if (SWIG_arg_fail(6)) SWIG_fail
;
27393 arg7
= wxString_in_helper(obj6
);
27394 if (arg7
== NULL
) SWIG_fail
;
27399 if (!wxPyCheckForApp()) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27429 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27432 PyObject
*arg2
= (PyObject
*) 0 ;
27433 PyObject
*arg3
= (PyObject
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 PyObject
* obj2
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self",(char *) "self",(char *) "_class", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 Py_INCREF(Py_None
); resultobj
= Py_None
;
27460 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27463 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "canvas", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail
;
27473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27474 if (SWIG_arg_fail(2)) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 (arg1
)->SetPreviewCanvas(arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 Py_INCREF(Py_None
); resultobj
= Py_None
;
27489 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27492 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self",(char *) "bar", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27501 if (SWIG_arg_fail(1)) SWIG_fail
;
27502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(2)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 (arg1
)->SetControlBar(arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 Py_INCREF(Py_None
); resultobj
= Py_None
;
27518 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 (arg1
)->base_Initialize();
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27536 Py_INCREF(Py_None
); resultobj
= Py_None
;
27543 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27553 if (SWIG_arg_fail(1)) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->base_CreateCanvas();
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27578 if (SWIG_arg_fail(1)) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->base_CreateControlBar();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 Py_INCREF(Py_None
); resultobj
= Py_None
;
27593 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27596 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27598 return Py_BuildValue((char *)"");
27600 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
;
27602 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27604 wxWindow
*arg3
= (wxWindow
*) 0 ;
27605 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27606 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27607 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27608 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27609 long arg6
= (long) 0 ;
27610 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27611 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27612 wxPyPreviewControlBar
*result
;
27615 bool temp7
= false ;
27616 PyObject
* obj0
= 0 ;
27617 PyObject
* obj1
= 0 ;
27618 PyObject
* obj2
= 0 ;
27619 PyObject
* obj3
= 0 ;
27620 PyObject
* obj4
= 0 ;
27621 PyObject
* obj5
= 0 ;
27622 PyObject
* obj6
= 0 ;
27623 char *kwnames
[] = {
27624 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27629 if (SWIG_arg_fail(1)) SWIG_fail
;
27631 arg2
= (long)(SWIG_As_long(obj1
));
27632 if (SWIG_arg_fail(2)) SWIG_fail
;
27634 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27635 if (SWIG_arg_fail(3)) SWIG_fail
;
27639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27650 arg6
= (long)(SWIG_As_long(obj5
));
27651 if (SWIG_arg_fail(6)) SWIG_fail
;
27656 arg7
= wxString_in_helper(obj6
);
27657 if (arg7
== NULL
) SWIG_fail
;
27662 if (!wxPyCheckForApp()) SWIG_fail
;
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27684 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
;
27686 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27687 PyObject
*arg2
= (PyObject
*) 0 ;
27688 PyObject
*arg3
= (PyObject
*) 0 ;
27689 PyObject
* obj0
= 0 ;
27690 PyObject
* obj1
= 0 ;
27691 PyObject
* obj2
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self",(char *) "self",(char *) "_class", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail
;
27702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27703 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27705 wxPyEndAllowThreads(__tstate
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27708 Py_INCREF(Py_None
); resultobj
= Py_None
;
27715 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
;
27717 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27718 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27719 PyObject
* obj0
= 0 ;
27720 PyObject
* obj1
= 0 ;
27721 char *kwnames
[] = {
27722 (char *) "self",(char *) "preview", NULL
27725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27727 if (SWIG_arg_fail(1)) SWIG_fail
;
27728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27729 if (SWIG_arg_fail(2)) SWIG_fail
;
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27732 (arg1
)->SetPrintPreview(arg2
);
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 Py_INCREF(Py_None
); resultobj
= Py_None
;
27744 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27746 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27747 PyObject
* obj0
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "self", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27754 if (SWIG_arg_fail(1)) SWIG_fail
;
27756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27757 (arg1
)->base_CreateButtons();
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 Py_INCREF(Py_None
); resultobj
= Py_None
;
27769 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self",(char *) "zoom", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27781 if (SWIG_arg_fail(1)) SWIG_fail
;
27783 arg2
= (int)(SWIG_As_int(obj1
));
27784 if (SWIG_arg_fail(2)) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 (arg1
)->base_SetZoomControl(arg2
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 Py_INCREF(Py_None
); resultobj
= Py_None
;
27800 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27803 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27805 return Py_BuildValue((char *)"");
27807 static PyMethodDef SwigMethods
[] = {
27808 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27816 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27831 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27832 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27841 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27859 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27883 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27896 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27900 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27904 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27909 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27926 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27956 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27963 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27986 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27994 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
28006 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
28012 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
28021 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
28027 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
28032 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
28038 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
28042 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28060 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
28086 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
28094 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
28103 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
28105 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
28114 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
28117 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
28124 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
28142 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28146 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28151 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28155 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28157 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
28173 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28176 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28178 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28182 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28191 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28200 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28206 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28221 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28228 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28232 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28258 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28284 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28310 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28311 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28358 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28359 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28392 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28397 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28398 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28400 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28401 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28403 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28405 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28406 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28407 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28408 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28409 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28412 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28415 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28431 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28435 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28437 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28438 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28439 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28440 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28443 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28445 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28446 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28447 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28448 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28449 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28450 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28451 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28452 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28453 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28454 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28455 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28456 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28459 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28461 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28466 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28467 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28469 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28470 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28471 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28473 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28474 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28475 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28477 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28478 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28479 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28481 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28482 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28484 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28485 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28486 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28487 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28488 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28489 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28490 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28491 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28495 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28498 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28499 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28500 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28501 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28502 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28503 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28504 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28505 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28506 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28507 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28508 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28509 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28510 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28511 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28512 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28513 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28514 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28515 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28516 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28517 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28518 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28519 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28520 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28521 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28522 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28523 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28524 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28525 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28526 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28527 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28528 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28529 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28530 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28531 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28532 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28533 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28534 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28535 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28536 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28537 { NULL
, NULL
, 0, NULL
}
28541 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28543 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28544 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28546 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28549 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28550 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28552 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28553 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28555 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28556 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28558 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28559 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28561 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28562 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28564 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28565 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28567 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28568 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28570 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28571 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28573 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28574 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28576 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28577 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28579 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28580 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28582 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28583 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28585 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28586 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28588 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28589 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28591 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28592 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28594 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28595 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28597 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28598 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28600 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28601 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28603 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28604 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28606 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28607 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28609 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28610 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28612 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28613 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28615 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28616 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28618 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28621 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28622 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28624 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28625 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28627 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28628 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28630 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28631 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28633 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28634 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28636 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28637 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28639 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28640 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28642 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28643 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28645 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28646 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28648 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28649 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28651 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28652 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28654 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28655 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28657 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28658 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28660 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28661 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28663 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28664 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28666 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28667 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28669 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28670 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28672 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28673 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28675 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28676 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28678 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28681 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28684 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28687 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28690 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28691 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28693 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28694 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28696 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28697 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28699 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28702 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28705 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28708 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28711 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28714 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28717 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28720 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28723 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28724 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28726 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28727 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28729 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28732 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28735 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28738 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28739 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28741 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28744 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28745 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28747 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28748 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28750 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28751 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28753 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28754 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28756 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28759 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28760 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28762 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28763 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28765 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28768 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28769 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28771 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28774 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28777 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28780 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28781 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28783 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28786 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28787 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28789 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28792 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28795 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28798 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28801 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28804 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28805 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28807 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28810 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28813 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28816 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28819 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28822 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28825 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28826 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28828 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28829 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28831 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28832 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28834 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28835 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28837 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28838 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28840 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28841 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28843 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28844 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28846 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28847 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28849 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28852 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28855 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28858 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28861 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28864 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28867 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28870 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28873 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28876 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28879 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) ((wxSizer
*) x
));
28882 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28885 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28888 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28891 static void *_p_wxEventTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) ((wxEvent
*) x
));
28894 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) ((wxFontData
*) x
));
28897 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28900 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28903 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28906 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28909 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28912 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28915 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28918 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28921 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28924 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28927 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28930 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28933 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28936 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28939 static void *_p_wxControlTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28942 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28945 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28948 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28951 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28954 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28957 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28960 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) ((wxColourData
*) x
));
28963 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28966 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28969 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28972 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28975 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28978 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28981 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28984 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28987 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28990 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28993 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28996 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28999 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29002 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) ((wxPrinter
*) x
));
29005 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29008 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
29011 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29014 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29017 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29020 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29023 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29026 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29029 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29032 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29035 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29038 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29041 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29044 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29047 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29050 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29053 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29056 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29059 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29062 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29065 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29068 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29071 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29074 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
29077 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29080 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29083 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
29086 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29089 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29092 static void *_p_wxImageTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) ((wxImage
*) x
));
29095 static void *_p_wxFrameTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
29098 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
29101 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29104 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
29107 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
29110 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29113 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29116 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29119 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29122 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29125 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29128 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29131 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
29134 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
29137 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
29140 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
29143 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
29146 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29149 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
29152 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29155 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29158 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29161 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
29164 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29167 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
29170 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
29173 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29176 static void *_p_wxPanelTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
29179 static void *_p_wxDialogTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
29182 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29185 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29188 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29191 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29194 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29197 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29200 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29203 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29206 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29209 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29212 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29215 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29218 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29221 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29224 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29227 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29230 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29231 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29233 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29234 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29236 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29239 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29242 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29243 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29245 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29246 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29248 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29251 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29252 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29254 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29255 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29257 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29258 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29260 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29261 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29263 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29264 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29266 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29267 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29269 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29270 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29272 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29273 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29275 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29276 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29278 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29279 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29281 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29282 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29284 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29285 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29287 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29288 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29290 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29291 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29293 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29294 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29296 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29297 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29299 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29300 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29302 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29303 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29305 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29306 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29308 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29309 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29311 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29312 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29314 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29315 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29317 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29318 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29320 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29321 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29323 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29324 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29326 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29327 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29329 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29330 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29332 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29333 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29335 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29336 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29338 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29339 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29341 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29342 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29344 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29345 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29347 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29348 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29350 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29351 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29353 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29354 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29356 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29357 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29359 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29360 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29362 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29363 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29365 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29366 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29368 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29369 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29371 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29372 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29374 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29375 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29377 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29378 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29380 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29381 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29383 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29384 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29386 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29387 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29389 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29390 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29392 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29393 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29395 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29396 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29398 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29399 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29401 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29402 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29404 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29405 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29407 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29408 return (void *)((wxWindow
*) ((wxControl
*) x
));
29410 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29413 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29414 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29416 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29417 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29419 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29420 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29422 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29423 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29425 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29426 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29428 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29429 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29431 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29432 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29434 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29435 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29437 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29438 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29440 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29441 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29443 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29444 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29446 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29447 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29449 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29450 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29452 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29453 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29455 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29456 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29458 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29459 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29461 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29462 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29464 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29465 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29467 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29468 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29470 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29471 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29473 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29474 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29476 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29477 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29479 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29480 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29482 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29483 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29485 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29486 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29488 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29489 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29491 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29492 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29494 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29495 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29497 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29498 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29500 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29501 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29503 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29504 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29506 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29507 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29509 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29510 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29512 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29513 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29515 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29516 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29518 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29519 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29521 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29522 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29524 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29525 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29527 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29528 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29530 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29531 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29533 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29534 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29536 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29537 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29539 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29540 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29542 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29543 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29545 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29546 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29548 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29549 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29551 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29552 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29554 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29555 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29557 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29558 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29560 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29561 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29622 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}};
29623 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}};
29624 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}};
29625 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}};
29626 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}};
29627 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}};
29628 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29629 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29630 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}};
29631 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29632 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29633 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}};
29634 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}};
29635 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}};
29636 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}};
29637 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}};
29638 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}};
29639 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}};
29640 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}};
29641 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}};
29642 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}};
29643 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}};
29644 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}};
29645 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}};
29646 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}};
29647 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}};
29648 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}};
29649 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}};
29650 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}};
29651 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}};
29652 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}};
29653 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}};
29654 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}};
29655 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}};
29656 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}};
29657 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}};
29658 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}};
29659 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}};
29661 static swig_type_info
*swig_types_initial
[] = {
29662 _swigt__p_wxQueryLayoutInfoEvent
,
29663 _swigt__p_wxPreviewFrame
,
29664 _swigt__p_wxPyPreviewFrame
,
29665 _swigt__p_wxPyPanel
,
29667 _swigt__p_wxFontData
,
29669 _swigt__p_wxPrintData
,
29670 _swigt__p_wxTaskBarIcon
,
29671 _swigt__p_wxPyTaskBarIcon
,
29672 _swigt__p_wxIconBundle
,
29673 _swigt__p_wxLayoutAlgorithm
,
29674 _swigt__p_wxFindDialogEvent
,
29675 _swigt__p_wxPreviewCanvas
,
29677 _swigt__p_wxSplitterEvent
,
29678 _swigt__p_wxRegion
,
29680 _swigt__std__ptrdiff_t
,
29681 _swigt__p_wxFindReplaceData
,
29686 _swigt__p_wxVisualAttributes
,
29687 _swigt__p_wxMDIChildFrame
,
29688 _swigt__p_wxColourData
,
29689 _swigt__p_wxNotifyEvent
,
29690 _swigt__p_wxPyWindow
,
29691 _swigt__p_form_ops_t
,
29692 _swigt__p_wxSplashScreen
,
29693 _swigt__p_wxPasswordEntryDialog
,
29694 _swigt__p_wxSingleChoiceDialog
,
29695 _swigt__p_wxMultiChoiceDialog
,
29696 _swigt__p_wxFileDialog
,
29697 _swigt__p_wxTextEntryDialog
,
29698 _swigt__p_wxMessageDialog
,
29699 _swigt__p_wxProgressDialog
,
29700 _swigt__p_wxFindReplaceDialog
,
29701 _swigt__p_wxPrinter
,
29702 _swigt__p_wxArrayInt
,
29703 _swigt__p_wxDuplexMode
,
29704 _swigt__p_wxEvtHandler
,
29705 _swigt__p_wxCalculateLayoutEvent
,
29706 _swigt__p_wxPyHtmlListBox
,
29707 _swigt__p_wxPyVListBox
,
29709 _swigt__p_wxStdDialogButtonSizer
,
29711 _swigt__p_wxMiniFrame
,
29713 _swigt__p_wxPyPrintout
,
29714 _swigt__p_wxTaskBarIconEvent
,
29715 _swigt__p_wxScrollWinEvent
,
29716 _swigt__p_wxPaperSize
,
29717 _swigt__p_wxStatusBar
,
29718 _swigt__p_wxMDIParentFrame
,
29720 _swigt__p_wxObject
,
29721 _swigt__p_unsigned_long
,
29722 _swigt__p_wxTipWindow
,
29723 _swigt__p_wxSashLayoutWindow
,
29724 _swigt__p_wxSplitterWindow
,
29725 _swigt__p_wxSplashScreenWindow
,
29726 _swigt__p_wxPyVScrolledWindow
,
29727 _swigt__p_wxPyPopupTransientWindow
,
29728 _swigt__p_wxPopupWindow
,
29729 _swigt__p_wxSashWindow
,
29730 _swigt__p_wxTopLevelWindow
,
29731 _swigt__p_wxWindow
,
29732 _swigt__p_wxScrolledWindow
,
29733 _swigt__p_wxMenuBar
,
29734 _swigt__p_wxMDIClientWindow
,
29735 _swigt__p_wxPyScrolledWindow
,
29736 _swigt__p_wxPrintPreview
,
29737 _swigt__p_wxSashEvent
,
29738 _swigt__p_wxString
,
29739 _swigt__p_wxPyPrintPreview
,
29740 _swigt__p_wxDirDialog
,
29741 _swigt__p_wxColourDialog
,
29742 _swigt__p_wxDialog
,
29744 _swigt__p_wxFontDialog
,
29745 _swigt__p_wxPageSetupDialog
,
29746 _swigt__p_wxPrintDialog
,
29747 _swigt__p_wxFileSystem
,
29748 _swigt__p_wxBitmap
,
29749 _swigt__unsigned_int
,
29750 _swigt__p_unsigned_int
,
29751 _swigt__p_unsigned_char
,
29752 _swigt__p_wxCommandEvent
,
29753 _swigt__p_wxPreviewControlBar
,
29754 _swigt__p_wxPyPreviewControlBar
,
29755 _swigt__p_wxColour
,
29756 _swigt__p_wxToolBar
,
29757 _swigt__p_wxPageSetupDialogData
,
29758 _swigt__p_wxPrintDialogData
,
29763 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29765 static swig_const_info swig_const_table
[] = {
29766 {0, 0, 0, 0.0, 0, 0}};
29777 /* Python-specific SWIG API */
29778 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29779 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29780 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29782 /* -----------------------------------------------------------------------------
29783 * global variable support code.
29784 * ----------------------------------------------------------------------------- */
29786 typedef struct swig_globalvar
{
29787 char *name
; /* Name of global variable */
29788 PyObject
*(*get_attr
)(); /* Return the current value */
29789 int (*set_attr
)(PyObject
*); /* Set the value */
29790 struct swig_globalvar
*next
;
29793 typedef struct swig_varlinkobject
{
29795 swig_globalvar
*vars
;
29796 } swig_varlinkobject
;
29799 swig_varlink_repr(swig_varlinkobject
*v
) {
29801 return PyString_FromString("<Swig global variables>");
29805 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29806 swig_globalvar
*var
;
29808 fprintf(fp
,"Swig global variables { ");
29809 for (var
= v
->vars
; var
; var
=var
->next
) {
29810 fprintf(fp
,"%s", var
->name
);
29811 if (var
->next
) fprintf(fp
,", ");
29813 fprintf(fp
," }\n");
29818 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29819 swig_globalvar
*var
= v
->vars
;
29821 if (strcmp(var
->name
,n
) == 0) {
29822 return (*var
->get_attr
)();
29826 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29831 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29832 swig_globalvar
*var
= v
->vars
;
29834 if (strcmp(var
->name
,n
) == 0) {
29835 return (*var
->set_attr
)(p
);
29839 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29843 static PyTypeObject varlinktype
= {
29844 PyObject_HEAD_INIT(0)
29845 0, /* Number of items in variable part (ob_size) */
29846 (char *)"swigvarlink", /* Type name (tp_name) */
29847 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29848 0, /* Itemsize (tp_itemsize) */
29849 0, /* Deallocator (tp_dealloc) */
29850 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29851 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29852 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29853 0, /* tp_compare */
29854 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29855 0, /* tp_as_number */
29856 0, /* tp_as_sequence */
29857 0, /* tp_as_mapping */
29861 0, /* tp_getattro */
29862 0, /* tp_setattro */
29863 0, /* tp_as_buffer */
29866 #if PY_VERSION_HEX >= 0x02000000
29867 0, /* tp_traverse */
29870 #if PY_VERSION_HEX >= 0x02010000
29871 0, /* tp_richcompare */
29872 0, /* tp_weaklistoffset */
29874 #if PY_VERSION_HEX >= 0x02020000
29875 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29877 #if PY_VERSION_HEX >= 0x02030000
29880 #ifdef COUNT_ALLOCS
29881 0,0,0,0 /* tp_alloc -> tp_next */
29885 /* Create a variable linking object for use later */
29887 SWIG_Python_newvarlink(void) {
29888 swig_varlinkobject
*result
= 0;
29889 result
= PyMem_NEW(swig_varlinkobject
,1);
29890 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29891 result
->ob_type
= &varlinktype
;
29893 result
->ob_refcnt
= 0;
29894 Py_XINCREF((PyObject
*) result
);
29895 return ((PyObject
*) result
);
29899 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29900 swig_varlinkobject
*v
;
29901 swig_globalvar
*gv
;
29902 v
= (swig_varlinkobject
*) p
;
29903 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29904 gv
->name
= (char *) malloc(strlen(name
)+1);
29905 strcpy(gv
->name
,name
);
29906 gv
->get_attr
= get_attr
;
29907 gv
->set_attr
= set_attr
;
29908 gv
->next
= v
->vars
;
29912 /* -----------------------------------------------------------------------------
29913 * constants/methods manipulation
29914 * ----------------------------------------------------------------------------- */
29916 /* Install Constants */
29918 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29921 for (i
= 0; constants
[i
].type
; i
++) {
29922 switch(constants
[i
].type
) {
29924 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29926 case SWIG_PY_FLOAT
:
29927 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29929 case SWIG_PY_STRING
:
29930 if (constants
[i
].pvalue
) {
29931 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29933 Py_INCREF(Py_None
);
29937 case SWIG_PY_POINTER
:
29938 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29940 case SWIG_PY_BINARY
:
29941 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29948 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29954 /* -----------------------------------------------------------------------------*/
29955 /* Fix SwigMethods to carry the callback ptrs when needed */
29956 /* -----------------------------------------------------------------------------*/
29959 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29960 swig_const_info
*const_table
,
29961 swig_type_info
**types
,
29962 swig_type_info
**types_initial
) {
29964 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29965 char *c
= methods
[i
].ml_doc
;
29966 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29968 swig_const_info
*ci
= 0;
29969 char *name
= c
+ 10;
29970 for (j
= 0; const_table
[j
].type
; j
++) {
29971 if (strncmp(const_table
[j
].name
, name
,
29972 strlen(const_table
[j
].name
)) == 0) {
29973 ci
= &(const_table
[j
]);
29978 size_t shift
= (ci
->ptype
) - types
;
29979 swig_type_info
*ty
= types_initial
[shift
];
29980 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29981 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29982 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29984 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29985 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29987 strncpy(buff
, "swig_ptr: ", 10);
29989 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29990 methods
[i
].ml_doc
= ndoc
;
29996 /* -----------------------------------------------------------------------------*
29997 * Initialize type list
29998 * -----------------------------------------------------------------------------*/
30000 #if PY_MAJOR_VERSION < 2
30001 /* PyModule_AddObject function was introduced in Python 2.0. The following function
30002 is copied out of Python/modsupport.c in python version 2.3.4 */
30004 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
30007 if (!PyModule_Check(m
)) {
30008 PyErr_SetString(PyExc_TypeError
,
30009 "PyModule_AddObject() needs module as first arg");
30013 PyErr_SetString(PyExc_TypeError
,
30014 "PyModule_AddObject() needs non-NULL value");
30018 dict
= PyModule_GetDict(m
);
30019 if (dict
== NULL
) {
30020 /* Internal error -- modules must have a dict! */
30021 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
30022 PyModule_GetName(m
));
30025 if (PyDict_SetItemString(dict
, name
, o
))
30032 static swig_type_info
**
30033 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
30034 static PyMethodDef swig_empty_runtime_method_table
[] = {
30036 NULL
, NULL
, 0, NULL
30040 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
30041 swig_empty_runtime_method_table
);
30042 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
30043 if (pointer
&& module) {
30044 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
30046 return type_list_handle
;
30049 static swig_type_info
**
30050 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
30051 swig_type_info
**type_pointer
;
30053 /* first check if module already created */
30054 type_pointer
= SWIG_Python_GetTypeListHandle();
30055 if (type_pointer
) {
30056 return type_pointer
;
30058 /* create a new module and variable */
30059 return SWIG_Python_SetTypeListHandle(type_list_handle
);
30067 /* -----------------------------------------------------------------------------*
30068 * Partial Init method
30069 * -----------------------------------------------------------------------------*/
30071 #ifdef SWIG_LINK_RUNTIME
30075 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30081 SWIGEXPORT(void) SWIG_init(void) {
30082 static PyObject
*SWIG_globals
= 0;
30083 static int typeinit
= 0;
30086 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30088 /* Fix SwigMethods to carry the callback ptrs when needed */
30089 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
30091 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30092 d
= PyModule_GetDict(m
);
30095 #ifdef SWIG_LINK_RUNTIME
30096 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
30098 # ifndef SWIG_STATIC_RUNTIME
30099 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
30102 for (i
= 0; swig_types_initial
[i
]; i
++) {
30103 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30107 SWIG_InstallConstants(d
,swig_const_table
);
30109 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30110 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30111 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30112 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30113 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30115 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
30118 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
30121 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
30124 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
30127 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
30130 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
30133 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
30136 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
30139 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
30142 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
30145 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
30148 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
30151 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
30154 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
30157 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
30160 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
30163 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
30166 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
30169 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
30172 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
30175 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
30178 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
30181 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
30184 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
30187 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
30190 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
30193 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
30196 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
30199 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
30202 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
30205 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
30208 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
30211 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
30214 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
30217 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
30220 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
30223 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
30226 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
30229 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
30232 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
30235 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30238 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30241 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30243 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30245 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30248 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30251 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30254 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30257 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30260 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30263 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30266 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30269 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30272 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30275 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30278 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30281 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30284 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30286 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30287 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30288 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30289 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30290 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30291 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30293 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30296 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30299 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30302 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30305 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30308 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30311 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30314 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30317 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30320 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30323 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30326 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30329 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30332 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30335 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30337 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30339 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30342 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30345 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30348 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30351 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30354 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30357 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30360 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30363 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30366 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30369 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30371 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30372 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30373 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30375 // Map renamed classes back to their common name for OOR
30376 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30377 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30378 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30380 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30381 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30382 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30383 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30384 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30385 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30386 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30387 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30388 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30389 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30390 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30391 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30392 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30394 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30397 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30399 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30401 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30404 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30407 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30410 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30413 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30416 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30419 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30421 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30422 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30423 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30424 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30425 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30427 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30430 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30433 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30436 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30439 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30442 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30445 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30448 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30451 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30453 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30454 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30456 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30459 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30462 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30465 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30468 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30471 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30474 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30477 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30480 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30483 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30486 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30489 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30492 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30495 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30498 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30501 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30504 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30507 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30510 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30513 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30516 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30519 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30522 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30525 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30528 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30531 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30534 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30537 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30540 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30543 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30546 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30549 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30552 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30555 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30558 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30561 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30564 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30567 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30570 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30573 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");