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 wxPyBlock_t 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 wxPyBlock_t 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 wxPyBlock_t 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_VIZATTR_(GetDefaultAttributes
);
2143 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2148 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2150 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2151 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2152 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2153 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2155 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2159 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2160 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2162 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2163 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2164 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2165 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2167 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2169 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2171 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2174 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2175 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2177 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2179 // C++ version of Python aware wxPanel
2180 class wxPyPanel
: public wxPanel
2182 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2184 wxPyPanel() : wxPanel() {}
2185 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2186 const wxPoint
& pos
= wxDefaultPosition
,
2187 const wxSize
& size
= wxDefaultSize
,
2189 const wxString
& name
= wxPyPanelNameStr
)
2190 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2192 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2195 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2196 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2197 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2198 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2204 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2205 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2207 DEC_PYCALLBACK__(InitDialog
);
2208 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2209 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2210 DEC_PYCALLBACK_BOOL_(Validate
);
2212 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2213 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2214 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2216 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2217 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2219 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2220 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2222 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2227 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2229 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2230 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2231 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2232 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2234 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2235 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2236 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2238 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2239 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2241 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2242 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2243 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2244 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2246 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2247 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2248 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2250 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2251 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2253 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2254 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2256 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2258 // C++ version of Python aware wxScrolledWindow
2259 class wxPyScrolledWindow
: public wxScrolledWindow
2261 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2263 wxPyScrolledWindow() : wxScrolledWindow() {}
2264 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2265 const wxPoint
& pos
= wxDefaultPosition
,
2266 const wxSize
& size
= wxDefaultSize
,
2268 const wxString
& name
= wxPyPanelNameStr
)
2269 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2271 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2273 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2274 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2275 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2276 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2278 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2279 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2280 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2282 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2283 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2285 DEC_PYCALLBACK__(InitDialog
);
2286 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2287 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2288 DEC_PYCALLBACK_BOOL_(Validate
);
2290 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2291 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2292 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2294 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2295 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2297 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2298 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2300 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2305 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2307 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2308 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2309 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2310 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2312 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2313 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2314 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2316 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2317 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2319 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2320 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2321 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2322 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2324 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2325 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2326 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2328 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2329 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2331 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2332 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2334 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2337 #include "wx/wxPython/printfw.h"
2340 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2341 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2342 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2344 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2345 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2346 self
->GetPrivDataLen());
2347 wxPyEndBlockThreads(blocked
);
2350 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2351 if (! PyString_Check(data
)) {
2352 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2353 "Expected string object"));
2357 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2358 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2359 wxPyEndBlockThreads(blocked
);
2363 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2365 // Since this one would be tough and ugly to do with the Macros...
2366 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2367 bool hadErr
= false;
2370 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2371 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2372 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2373 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2376 val
= PyTuple_GetItem(result
, 0);
2377 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2380 val
= PyTuple_GetItem(result
, 1);
2381 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2384 val
= PyTuple_GetItem(result
, 2);
2385 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2388 val
= PyTuple_GetItem(result
, 3);
2389 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2396 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2401 wxPyEndBlockThreads(blocked
);
2403 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2406 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2407 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2411 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2412 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2413 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2414 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2415 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2416 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2417 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2423 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2424 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2425 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2428 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2429 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2432 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2433 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2434 PyObject* win = wxPyMake_wxObject(a,false); \
2435 PyObject* dc = wxPyMake_wxObject(&b,false); \
2436 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2440 wxPyEndBlockThreads(blocked); \
2442 rval = PCLASS::CBNAME(a, b); \
2445 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2446 return PCLASS::CBNAME(a, b); \
2452 class wxPyPrintPreview
: public wxPrintPreview
2454 DECLARE_CLASS(wxPyPrintPreview
)
2456 wxPyPrintPreview(wxPyPrintout
* printout
,
2457 wxPyPrintout
* printoutForPrinting
,
2458 wxPrintDialogData
* data
=NULL
)
2459 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2461 wxPyPrintPreview(wxPyPrintout
* printout
,
2462 wxPyPrintout
* printoutForPrinting
,
2463 wxPrintData
* data
=NULL
)
2464 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2467 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2468 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2469 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2470 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2471 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2472 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2473 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2478 // Stupid renamed classes... Fix this in 2.5...
2479 #if defined(__WXMSW__)
2480 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2481 #elif defined(__WXMAC__)
2482 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2484 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2487 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2488 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2489 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2490 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2491 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2492 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2493 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2496 class wxPyPreviewFrame
: public wxPreviewFrame
2498 DECLARE_CLASS(wxPyPreviewFrame
);
2500 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2501 const wxString
& title
,
2502 const wxPoint
& pos
= wxDefaultPosition
,
2503 const wxSize
& size
= wxDefaultSize
,
2504 long style
= wxDEFAULT_FRAME_STYLE
,
2505 const wxString
& name
= wxPyFrameNameStr
)
2506 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2509 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2510 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2512 DEC_PYCALLBACK_VOID_(Initialize
);
2513 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2514 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2519 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2521 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2522 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2523 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2526 class wxPyPreviewControlBar
: public wxPreviewControlBar
2528 DECLARE_CLASS(wxPyPreviewControlBar
);
2530 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2533 const wxPoint
& pos
= wxDefaultPosition
,
2534 const wxSize
& size
= wxDefaultSize
,
2536 const wxString
& name
= wxPyPanelNameStr
)
2537 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2540 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2542 DEC_PYCALLBACK_VOID_(CreateButtons
);
2543 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2548 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2549 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2550 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2555 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxWindow
*arg1
= (wxWindow
*) 0 ;
2558 int arg2
= (int) (int)-1 ;
2559 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2560 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2561 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2562 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2563 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2564 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2565 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2569 bool temp6
= false ;
2570 PyObject
* obj0
= 0 ;
2571 PyObject
* obj1
= 0 ;
2572 PyObject
* obj2
= 0 ;
2573 PyObject
* obj3
= 0 ;
2574 PyObject
* obj4
= 0 ;
2575 PyObject
* obj5
= 0 ;
2577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2582 if (SWIG_arg_fail(1)) SWIG_fail
;
2585 arg2
= (int const)(SWIG_As_int(obj1
));
2586 if (SWIG_arg_fail(2)) SWIG_fail
;
2592 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2598 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2603 arg5
= (long)(SWIG_As_long(obj4
));
2604 if (SWIG_arg_fail(5)) SWIG_fail
;
2609 arg6
= wxString_in_helper(obj5
);
2610 if (arg6
== NULL
) SWIG_fail
;
2615 if (!wxPyCheckForApp()) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2637 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2646 if (!wxPyCheckForApp()) SWIG_fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 result
= (wxPanel
*)new wxPanel();
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2660 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxPanel
*arg1
= (wxPanel
*) 0 ;
2663 wxWindow
*arg2
= (wxWindow
*) 0 ;
2664 int arg3
= (int) (int)-1 ;
2665 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2666 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2667 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2668 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2669 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2670 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2671 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2675 bool temp7
= false ;
2676 PyObject
* obj0
= 0 ;
2677 PyObject
* obj1
= 0 ;
2678 PyObject
* obj2
= 0 ;
2679 PyObject
* obj3
= 0 ;
2680 PyObject
* obj4
= 0 ;
2681 PyObject
* obj5
= 0 ;
2682 PyObject
* obj6
= 0 ;
2684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2689 if (SWIG_arg_fail(1)) SWIG_fail
;
2690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2691 if (SWIG_arg_fail(2)) SWIG_fail
;
2694 arg3
= (int const)(SWIG_As_int(obj2
));
2695 if (SWIG_arg_fail(3)) SWIG_fail
;
2701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2712 arg6
= (long)(SWIG_As_long(obj5
));
2713 if (SWIG_arg_fail(6)) SWIG_fail
;
2718 arg7
= wxString_in_helper(obj6
);
2719 if (arg7
== NULL
) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2747 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2749 wxPanel
*arg1
= (wxPanel
*) 0 ;
2750 PyObject
* obj0
= 0 ;
2752 (char *) "self", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2757 if (SWIG_arg_fail(1)) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 (arg1
)->InitDialog();
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2765 Py_INCREF(Py_None
); resultobj
= Py_None
;
2772 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2773 PyObject
*resultobj
;
2774 wxPanel
*arg1
= (wxPanel
*) 0 ;
2775 PyObject
* obj0
= 0 ;
2777 (char *) "self", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2782 if (SWIG_arg_fail(1)) SWIG_fail
;
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 Py_INCREF(Py_None
); resultobj
= Py_None
;
2797 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
*resultobj
;
2799 wxPanel
*arg1
= (wxPanel
*) 0 ;
2800 PyObject
* obj0
= 0 ;
2802 (char *) "self", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2807 if (SWIG_arg_fail(1)) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 (arg1
)->SetFocusIgnoringChildren();
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2815 Py_INCREF(Py_None
); resultobj
= Py_None
;
2822 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
*resultobj
;
2824 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2825 wxVisualAttributes result
;
2826 PyObject
* obj0
= 0 ;
2828 (char *) "variant", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2834 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2835 if (SWIG_arg_fail(1)) SWIG_fail
;
2839 if (!wxPyCheckForApp()) SWIG_fail
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2847 wxVisualAttributes
* resultptr
;
2848 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2857 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2860 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2862 return Py_BuildValue((char *)"");
2864 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxWindow
*arg1
= (wxWindow
*) 0 ;
2867 int arg2
= (int) (int)-1 ;
2868 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2869 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2870 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2871 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2872 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2873 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2874 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2875 wxScrolledWindow
*result
;
2878 bool temp6
= false ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2881 PyObject
* obj2
= 0 ;
2882 PyObject
* obj3
= 0 ;
2883 PyObject
* obj4
= 0 ;
2884 PyObject
* obj5
= 0 ;
2886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2891 if (SWIG_arg_fail(1)) SWIG_fail
;
2894 arg2
= (int const)(SWIG_As_int(obj1
));
2895 if (SWIG_arg_fail(2)) SWIG_fail
;
2901 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2907 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2912 arg5
= (long)(SWIG_As_long(obj4
));
2913 if (SWIG_arg_fail(5)) SWIG_fail
;
2918 arg6
= wxString_in_helper(obj5
);
2919 if (arg6
== NULL
) SWIG_fail
;
2924 if (!wxPyCheckForApp()) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2946 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
;
2948 wxScrolledWindow
*result
;
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2955 if (!wxPyCheckForApp()) SWIG_fail
;
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) SWIG_fail
;
2962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2969 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
*resultobj
;
2971 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2972 wxWindow
*arg2
= (wxWindow
*) 0 ;
2973 int arg3
= (int) (int)-1 ;
2974 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2975 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2976 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2977 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2978 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2979 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2980 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2984 bool temp7
= false ;
2985 PyObject
* obj0
= 0 ;
2986 PyObject
* obj1
= 0 ;
2987 PyObject
* obj2
= 0 ;
2988 PyObject
* obj3
= 0 ;
2989 PyObject
* obj4
= 0 ;
2990 PyObject
* obj5
= 0 ;
2991 PyObject
* obj6
= 0 ;
2993 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2998 if (SWIG_arg_fail(1)) SWIG_fail
;
2999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3000 if (SWIG_arg_fail(2)) SWIG_fail
;
3003 arg3
= (int const)(SWIG_As_int(obj2
));
3004 if (SWIG_arg_fail(3)) SWIG_fail
;
3010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3016 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3021 arg6
= (long)(SWIG_As_long(obj5
));
3022 if (SWIG_arg_fail(6)) SWIG_fail
;
3027 arg7
= wxString_in_helper(obj6
);
3028 if (arg7
== NULL
) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3056 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3063 int arg6
= (int) 0 ;
3064 int arg7
= (int) 0 ;
3065 bool arg8
= (bool) false ;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3068 PyObject
* obj2
= 0 ;
3069 PyObject
* obj3
= 0 ;
3070 PyObject
* obj4
= 0 ;
3071 PyObject
* obj5
= 0 ;
3072 PyObject
* obj6
= 0 ;
3073 PyObject
* obj7
= 0 ;
3075 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3080 if (SWIG_arg_fail(1)) SWIG_fail
;
3082 arg2
= (int)(SWIG_As_int(obj1
));
3083 if (SWIG_arg_fail(2)) SWIG_fail
;
3086 arg3
= (int)(SWIG_As_int(obj2
));
3087 if (SWIG_arg_fail(3)) SWIG_fail
;
3090 arg4
= (int)(SWIG_As_int(obj3
));
3091 if (SWIG_arg_fail(4)) SWIG_fail
;
3094 arg5
= (int)(SWIG_As_int(obj4
));
3095 if (SWIG_arg_fail(5)) SWIG_fail
;
3099 arg6
= (int)(SWIG_As_int(obj5
));
3100 if (SWIG_arg_fail(6)) SWIG_fail
;
3105 arg7
= (int)(SWIG_As_int(obj6
));
3106 if (SWIG_arg_fail(7)) SWIG_fail
;
3111 arg8
= (bool)(SWIG_As_bool(obj7
));
3112 if (SWIG_arg_fail(8)) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3122 Py_INCREF(Py_None
); resultobj
= Py_None
;
3129 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3135 PyObject
* obj1
= 0 ;
3136 PyObject
* obj2
= 0 ;
3138 (char *) "self",(char *) "x",(char *) "y", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail
;
3145 arg2
= (int)(SWIG_As_int(obj1
));
3146 if (SWIG_arg_fail(2)) SWIG_fail
;
3149 arg3
= (int)(SWIG_As_int(obj2
));
3150 if (SWIG_arg_fail(3)) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 (arg1
)->Scroll(arg2
,arg3
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 Py_INCREF(Py_None
); resultobj
= Py_None
;
3166 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3174 (char *) "self",(char *) "orient", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3179 if (SWIG_arg_fail(1)) SWIG_fail
;
3181 arg2
= (int)(SWIG_As_int(obj1
));
3182 if (SWIG_arg_fail(2)) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3192 resultobj
= SWIG_From_int((int)(result
));
3200 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3206 PyObject
* obj1
= 0 ;
3207 PyObject
* obj2
= 0 ;
3209 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3214 if (SWIG_arg_fail(1)) SWIG_fail
;
3216 arg2
= (int)(SWIG_As_int(obj1
));
3217 if (SWIG_arg_fail(2)) SWIG_fail
;
3220 arg3
= (int)(SWIG_As_int(obj2
));
3221 if (SWIG_arg_fail(3)) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 Py_INCREF(Py_None
); resultobj
= Py_None
;
3237 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3244 PyObject
* obj2
= 0 ;
3246 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3251 if (SWIG_arg_fail(1)) SWIG_fail
;
3253 arg2
= (int)(SWIG_As_int(obj1
));
3254 if (SWIG_arg_fail(2)) SWIG_fail
;
3257 arg3
= (int)(SWIG_As_int(obj2
));
3258 if (SWIG_arg_fail(3)) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 (arg1
)->SetScrollRate(arg2
,arg3
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 Py_INCREF(Py_None
); resultobj
= Py_None
;
3274 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3277 int *arg2
= (int *) 0 ;
3278 int *arg3
= (int *) 0 ;
3283 PyObject
* obj0
= 0 ;
3285 (char *) "self", NULL
3288 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3289 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 Py_INCREF(Py_None
); resultobj
= Py_None
;
3301 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3302 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3303 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3304 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3311 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
*resultobj
;
3313 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3316 PyObject
* obj0
= 0 ;
3317 PyObject
* obj1
= 0 ;
3318 PyObject
* obj2
= 0 ;
3320 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3325 if (SWIG_arg_fail(1)) SWIG_fail
;
3327 arg2
= (bool)(SWIG_As_bool(obj1
));
3328 if (SWIG_arg_fail(2)) SWIG_fail
;
3331 arg3
= (bool)(SWIG_As_bool(obj2
));
3332 if (SWIG_arg_fail(3)) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 (arg1
)->EnableScrolling(arg2
,arg3
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 Py_INCREF(Py_None
); resultobj
= Py_None
;
3348 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3351 int *arg2
= (int *) 0 ;
3352 int *arg3
= (int *) 0 ;
3357 PyObject
* obj0
= 0 ;
3359 (char *) "self", NULL
3362 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3363 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 Py_INCREF(Py_None
); resultobj
= Py_None
;
3375 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3376 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3377 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3378 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3385 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3392 PyObject
* obj2
= 0 ;
3394 (char *) "self",(char *) "xs",(char *) "ys", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3399 if (SWIG_arg_fail(1)) SWIG_fail
;
3401 arg2
= (double)(SWIG_As_double(obj1
));
3402 if (SWIG_arg_fail(2)) SWIG_fail
;
3405 arg3
= (double)(SWIG_As_double(obj2
));
3406 if (SWIG_arg_fail(3)) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 (arg1
)->SetScale(arg2
,arg3
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 Py_INCREF(Py_None
); resultobj
= Py_None
;
3422 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3433 if (SWIG_arg_fail(1)) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= SWIG_From_double((double)(result
));
3450 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3456 (char *) "self", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3461 if (SWIG_arg_fail(1)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_From_double((double)(result
));
3478 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3479 PyObject
*resultobj
;
3480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3487 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3489 if (SWIG_arg_fail(1)) SWIG_fail
;
3492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3502 wxPoint
* resultptr
;
3503 resultptr
= new wxPoint((wxPoint
&)(result
));
3504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3512 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3513 PyObject
*resultobj
;
3514 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3517 int *arg4
= (int *) 0 ;
3518 int *arg5
= (int *) 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3525 PyObject
* obj2
= 0 ;
3527 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3528 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3529 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3531 if (SWIG_arg_fail(1)) SWIG_fail
;
3533 arg2
= (int)(SWIG_As_int(obj1
));
3534 if (SWIG_arg_fail(2)) SWIG_fail
;
3537 arg3
= (int)(SWIG_As_int(obj2
));
3538 if (SWIG_arg_fail(3)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3549 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3550 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3551 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3558 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3563 argc
= PyObject_Length(args
);
3564 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3565 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3571 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3580 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3583 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3591 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3599 _v
= SWIG_Check_int(argv
[1]);
3601 _v
= SWIG_Check_int(argv
[2]);
3603 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3609 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3614 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3615 PyObject
*resultobj
;
3616 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3623 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3625 if (SWIG_arg_fail(1)) SWIG_fail
;
3628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 wxPoint
* resultptr
;
3639 resultptr
= new wxPoint((wxPoint
&)(result
));
3640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3648 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3649 PyObject
*resultobj
;
3650 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3653 int *arg4
= (int *) 0 ;
3654 int *arg5
= (int *) 0 ;
3659 PyObject
* obj0
= 0 ;
3660 PyObject
* obj1
= 0 ;
3661 PyObject
* obj2
= 0 ;
3663 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3664 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3665 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3667 if (SWIG_arg_fail(1)) SWIG_fail
;
3669 arg2
= (int)(SWIG_As_int(obj1
));
3670 if (SWIG_arg_fail(2)) SWIG_fail
;
3673 arg3
= (int)(SWIG_As_int(obj2
));
3674 if (SWIG_arg_fail(3)) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 Py_INCREF(Py_None
); resultobj
= Py_None
;
3684 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3685 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3686 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3687 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3694 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3699 argc
= PyObject_Length(args
);
3700 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3701 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3707 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3716 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3719 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3727 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3735 _v
= SWIG_Check_int(argv
[1]);
3737 _v
= SWIG_Check_int(argv
[2]);
3739 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3745 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3750 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3755 (char *) "self", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3760 if (SWIG_arg_fail(1)) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 (arg1
)->AdjustScrollbars();
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 Py_INCREF(Py_None
); resultobj
= Py_None
;
3775 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3778 wxScrollWinEvent
*arg2
= 0 ;
3780 PyObject
* obj0
= 0 ;
3781 PyObject
* obj1
= 0 ;
3783 (char *) "self",(char *) "event", NULL
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3788 if (SWIG_arg_fail(1)) SWIG_fail
;
3790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3791 if (SWIG_arg_fail(2)) SWIG_fail
;
3793 SWIG_null_ref("wxScrollWinEvent");
3795 if (SWIG_arg_fail(2)) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_From_int((int)(result
));
3813 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3816 wxWindow
*arg2
= (wxWindow
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3818 PyObject
* obj1
= 0 ;
3820 (char *) "self",(char *) "target", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3825 if (SWIG_arg_fail(1)) SWIG_fail
;
3826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3827 if (SWIG_arg_fail(2)) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 (arg1
)->SetTargetWindow(arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3842 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3848 (char *) "self", NULL
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3853 if (SWIG_arg_fail(1)) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= wxPyMake_wxObject(result
, 0);
3870 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "rect", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3883 if (SWIG_arg_fail(1)) SWIG_fail
;
3886 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 Py_INCREF(Py_None
); resultobj
= Py_None
;
3902 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3908 (char *) "self", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3913 if (SWIG_arg_fail(1)) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3923 resultptr
= new wxRect((wxRect
&)(result
));
3924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3932 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3936 PyObject
* obj0
= 0 ;
3937 PyObject
* obj1
= 0 ;
3939 (char *) "self",(char *) "dc", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3944 if (SWIG_arg_fail(1)) SWIG_fail
;
3946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3947 if (SWIG_arg_fail(2)) SWIG_fail
;
3949 SWIG_null_ref("wxDC");
3951 if (SWIG_arg_fail(2)) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 (arg1
)->DoPrepareDC(*arg2
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3970 wxVisualAttributes result
;
3971 PyObject
* obj0
= 0 ;
3973 (char *) "variant", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3979 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3980 if (SWIG_arg_fail(1)) SWIG_fail
;
3984 if (!wxPyCheckForApp()) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 wxVisualAttributes
* resultptr
;
3993 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4002 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4005 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4007 return Py_BuildValue((char *)"");
4009 static int _wrap_FrameNameStr_set(PyObject
*) {
4010 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4015 static PyObject
*_wrap_FrameNameStr_get(void) {
4020 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4022 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4029 static int _wrap_DialogNameStr_set(PyObject
*) {
4030 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4035 static PyObject
*_wrap_DialogNameStr_get(void) {
4040 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4042 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4049 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4050 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4055 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4060 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4062 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4069 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4070 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4075 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4080 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4082 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4089 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
;
4091 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4092 bool arg2
= (bool) true ;
4093 PyObject
* obj0
= 0 ;
4094 PyObject
* obj1
= 0 ;
4096 (char *) "self",(char *) "maximize", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4101 if (SWIG_arg_fail(1)) SWIG_fail
;
4104 arg2
= (bool)(SWIG_As_bool(obj1
));
4105 if (SWIG_arg_fail(2)) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 (arg1
)->Maximize(arg2
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 Py_INCREF(Py_None
); resultobj
= Py_None
;
4122 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
;
4124 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4125 PyObject
* obj0
= 0 ;
4127 (char *) "self", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4132 if (SWIG_arg_fail(1)) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 Py_INCREF(Py_None
); resultobj
= Py_None
;
4147 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4150 bool arg2
= (bool) true ;
4151 PyObject
* obj0
= 0 ;
4152 PyObject
* obj1
= 0 ;
4154 (char *) "self",(char *) "iconize", NULL
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4159 if (SWIG_arg_fail(1)) SWIG_fail
;
4162 arg2
= (bool)(SWIG_As_bool(obj1
));
4163 if (SWIG_arg_fail(2)) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 (arg1
)->Iconize(arg2
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 Py_INCREF(Py_None
); resultobj
= Py_None
;
4180 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4184 PyObject
* obj0
= 0 ;
4186 (char *) "self", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4191 if (SWIG_arg_fail(1)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4208 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4219 if (SWIG_arg_fail(1)) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4236 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "self", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4247 if (SWIG_arg_fail(1)) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4257 resultptr
= new wxIcon((wxIcon
&)(result
));
4258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4266 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4268 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4270 PyObject
* obj0
= 0 ;
4271 PyObject
* obj1
= 0 ;
4273 (char *) "self",(char *) "icon", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4278 if (SWIG_arg_fail(1)) SWIG_fail
;
4280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4281 if (SWIG_arg_fail(2)) SWIG_fail
;
4283 SWIG_null_ref("wxIcon");
4285 if (SWIG_arg_fail(2)) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 Py_INCREF(Py_None
); resultobj
= Py_None
;
4301 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4304 wxIconBundle
*arg2
= 0 ;
4305 PyObject
* obj0
= 0 ;
4306 PyObject
* obj1
= 0 ;
4308 (char *) "self",(char *) "icons", NULL
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4313 if (SWIG_arg_fail(1)) SWIG_fail
;
4315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4316 if (SWIG_arg_fail(2)) SWIG_fail
;
4318 SWIG_null_ref("wxIconBundle");
4320 if (SWIG_arg_fail(2)) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 Py_INCREF(Py_None
); resultobj
= Py_None
;
4336 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4340 long arg3
= (long) wxFULLSCREEN_ALL
;
4342 PyObject
* obj0
= 0 ;
4343 PyObject
* obj1
= 0 ;
4344 PyObject
* obj2
= 0 ;
4346 (char *) "self",(char *) "show",(char *) "style", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4351 if (SWIG_arg_fail(1)) SWIG_fail
;
4353 arg2
= (bool)(SWIG_As_bool(obj1
));
4354 if (SWIG_arg_fail(2)) SWIG_fail
;
4358 arg3
= (long)(SWIG_As_long(obj2
));
4359 if (SWIG_arg_fail(3)) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4378 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4384 (char *) "self", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4389 if (SWIG_arg_fail(1)) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4406 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4409 wxString
*arg2
= 0 ;
4410 bool temp2
= false ;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4414 (char *) "self",(char *) "title", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4419 if (SWIG_arg_fail(1)) SWIG_fail
;
4421 arg2
= wxString_in_helper(obj1
);
4422 if (arg2
== NULL
) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->SetTitle((wxString
const &)*arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 Py_INCREF(Py_None
); resultobj
= Py_None
;
4447 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4453 (char *) "self", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4458 if (SWIG_arg_fail(1)) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4479 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4482 wxRegion
*arg2
= 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4487 (char *) "self",(char *) "region", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4492 if (SWIG_arg_fail(1)) SWIG_fail
;
4494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4495 if (SWIG_arg_fail(2)) SWIG_fail
;
4497 SWIG_null_ref("wxRegion");
4499 if (SWIG_arg_fail(2)) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4517 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4520 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4524 (char *) "self",(char *) "flags", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail
;
4532 arg2
= (int)(SWIG_As_int(obj1
));
4533 if (SWIG_arg_fail(2)) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 (arg1
)->RequestUserAttention(arg2
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 Py_INCREF(Py_None
); resultobj
= Py_None
;
4550 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 result
= (bool)(arg1
)->IsActive();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4578 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4585 (char *) "self",(char *) "on", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail
;
4592 arg2
= (bool)(SWIG_As_bool(obj1
));
4593 if (SWIG_arg_fail(2)) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4613 PyObject
* obj0
= 0 ;
4615 (char *) "self", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4620 if (SWIG_arg_fail(1)) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4637 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4640 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4642 return Py_BuildValue((char *)"");
4644 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxWindow
*arg1
= (wxWindow
*) 0 ;
4647 int arg2
= (int) (int)-1 ;
4648 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4649 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4650 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4651 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4652 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4653 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4654 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4655 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4656 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4658 bool temp3
= false ;
4661 bool temp7
= false ;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4664 PyObject
* obj2
= 0 ;
4665 PyObject
* obj3
= 0 ;
4666 PyObject
* obj4
= 0 ;
4667 PyObject
* obj5
= 0 ;
4668 PyObject
* obj6
= 0 ;
4670 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4675 if (SWIG_arg_fail(1)) SWIG_fail
;
4678 arg2
= (int const)(SWIG_As_int(obj1
));
4679 if (SWIG_arg_fail(2)) SWIG_fail
;
4684 arg3
= wxString_in_helper(obj2
);
4685 if (arg3
== NULL
) SWIG_fail
;
4692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4703 arg6
= (long)(SWIG_As_long(obj5
));
4704 if (SWIG_arg_fail(6)) SWIG_fail
;
4709 arg7
= wxString_in_helper(obj6
);
4710 if (arg7
== NULL
) SWIG_fail
;
4715 if (!wxPyCheckForApp()) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4745 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4754 if (!wxPyCheckForApp()) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (wxFrame
*)new wxFrame();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4768 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxFrame
*arg1
= (wxFrame
*) 0 ;
4771 wxWindow
*arg2
= (wxWindow
*) 0 ;
4772 int arg3
= (int) (int)-1 ;
4773 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4774 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4775 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4776 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4777 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4778 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4779 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4780 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4783 bool temp4
= false ;
4786 bool temp8
= false ;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4789 PyObject
* obj2
= 0 ;
4790 PyObject
* obj3
= 0 ;
4791 PyObject
* obj4
= 0 ;
4792 PyObject
* obj5
= 0 ;
4793 PyObject
* obj6
= 0 ;
4794 PyObject
* obj7
= 0 ;
4796 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4801 if (SWIG_arg_fail(1)) SWIG_fail
;
4802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4803 if (SWIG_arg_fail(2)) SWIG_fail
;
4806 arg3
= (int const)(SWIG_As_int(obj2
));
4807 if (SWIG_arg_fail(3)) SWIG_fail
;
4812 arg4
= wxString_in_helper(obj3
);
4813 if (arg4
== NULL
) SWIG_fail
;
4820 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4826 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4831 arg7
= (long)(SWIG_As_long(obj6
));
4832 if (SWIG_arg_fail(7)) SWIG_fail
;
4837 arg8
= wxString_in_helper(obj7
);
4838 if (arg8
== NULL
) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4874 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxFrame
*arg1
= (wxFrame
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4880 (char *) "self", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4885 if (SWIG_arg_fail(1)) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4894 wxPoint
* resultptr
;
4895 resultptr
= new wxPoint((wxPoint
&)(result
));
4896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4904 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxFrame
*arg1
= (wxFrame
*) 0 ;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "self", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->SendSizeEvent();
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 Py_INCREF(Py_None
); resultobj
= Py_None
;
4929 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxFrame
*arg1
= (wxFrame
*) 0 ;
4932 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "menubar", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4941 if (SWIG_arg_fail(1)) SWIG_fail
;
4942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4943 if (SWIG_arg_fail(2)) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 (arg1
)->SetMenuBar(arg2
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4958 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
;
4960 wxFrame
*arg1
= (wxFrame
*) 0 ;
4962 PyObject
* obj0
= 0 ;
4964 (char *) "self", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4969 if (SWIG_arg_fail(1)) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= wxPyMake_wxObject(result
, 0);
4986 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxFrame
*arg1
= (wxFrame
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4994 (char *) "self",(char *) "winid", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4999 if (SWIG_arg_fail(1)) SWIG_fail
;
5001 arg2
= (int)(SWIG_As_int(obj1
));
5002 if (SWIG_arg_fail(2)) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5020 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxFrame
*arg1
= (wxFrame
*) 0 ;
5023 int arg2
= (int) 1 ;
5024 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5025 int arg4
= (int) 0 ;
5026 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5027 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5028 wxStatusBar
*result
;
5029 bool temp5
= false ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 PyObject
* obj2
= 0 ;
5033 PyObject
* obj3
= 0 ;
5034 PyObject
* obj4
= 0 ;
5036 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5041 if (SWIG_arg_fail(1)) SWIG_fail
;
5044 arg2
= (int)(SWIG_As_int(obj1
));
5045 if (SWIG_arg_fail(2)) SWIG_fail
;
5050 arg3
= (long)(SWIG_As_long(obj2
));
5051 if (SWIG_arg_fail(3)) SWIG_fail
;
5056 arg4
= (int)(SWIG_As_int(obj3
));
5057 if (SWIG_arg_fail(4)) SWIG_fail
;
5062 arg5
= wxString_in_helper(obj4
);
5063 if (arg5
== NULL
) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= wxPyMake_wxObject(result
, 0);
5091 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5093 wxFrame
*arg1
= (wxFrame
*) 0 ;
5094 wxStatusBar
*result
;
5095 PyObject
* obj0
= 0 ;
5097 (char *) "self", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= wxPyMake_wxObject(result
, 0);
5119 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5121 wxFrame
*arg1
= (wxFrame
*) 0 ;
5122 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5123 PyObject
* obj0
= 0 ;
5124 PyObject
* obj1
= 0 ;
5126 (char *) "self",(char *) "statBar", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5131 if (SWIG_arg_fail(1)) SWIG_fail
;
5132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5133 if (SWIG_arg_fail(2)) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 (arg1
)->SetStatusBar(arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 Py_INCREF(Py_None
); resultobj
= Py_None
;
5148 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxFrame
*arg1
= (wxFrame
*) 0 ;
5151 wxString
*arg2
= 0 ;
5152 int arg3
= (int) 0 ;
5153 bool temp2
= false ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5158 (char *) "self",(char *) "text",(char *) "number", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5163 if (SWIG_arg_fail(1)) SWIG_fail
;
5165 arg2
= wxString_in_helper(obj1
);
5166 if (arg2
== NULL
) SWIG_fail
;
5171 arg3
= (int)(SWIG_As_int(obj2
));
5172 if (SWIG_arg_fail(3)) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5197 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxFrame
*arg1
= (wxFrame
*) 0 ;
5201 int *arg3
= (int *) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5205 (char *) "self",(char *) "widths", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5210 if (SWIG_arg_fail(1)) SWIG_fail
;
5212 arg2
= PyList_Size(obj1
);
5213 arg3
= int_LIST_helper(obj1
);
5214 if (arg3
== NULL
) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5225 if (arg3
) delete [] arg3
;
5230 if (arg3
) delete [] arg3
;
5236 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxFrame
*arg1
= (wxFrame
*) 0 ;
5239 wxString
*arg2
= 0 ;
5240 int arg3
= (int) 0 ;
5241 bool temp2
= false ;
5242 PyObject
* obj0
= 0 ;
5243 PyObject
* obj1
= 0 ;
5244 PyObject
* obj2
= 0 ;
5246 (char *) "self",(char *) "text",(char *) "number", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5251 if (SWIG_arg_fail(1)) SWIG_fail
;
5253 arg2
= wxString_in_helper(obj1
);
5254 if (arg2
== NULL
) SWIG_fail
;
5259 arg3
= (int)(SWIG_As_int(obj2
));
5260 if (SWIG_arg_fail(3)) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 Py_INCREF(Py_None
); resultobj
= Py_None
;
5285 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxFrame
*arg1
= (wxFrame
*) 0 ;
5288 int arg2
= (int) 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5292 (char *) "self",(char *) "number", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail
;
5300 arg2
= (int)(SWIG_As_int(obj1
));
5301 if (SWIG_arg_fail(2)) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 (arg1
)->PopStatusText(arg2
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 Py_INCREF(Py_None
); resultobj
= Py_None
;
5318 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5320 wxFrame
*arg1
= (wxFrame
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5325 (char *) "self",(char *) "n", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5330 if (SWIG_arg_fail(1)) SWIG_fail
;
5332 arg2
= (int)(SWIG_As_int(obj1
));
5333 if (SWIG_arg_fail(2)) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->SetStatusBarPane(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxFrame
*arg1
= (wxFrame
*) 0 ;
5353 PyObject
* obj0
= 0 ;
5355 (char *) "self", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5360 if (SWIG_arg_fail(1)) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_From_int((int)(result
));
5377 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxFrame
*arg1
= (wxFrame
*) 0 ;
5380 long arg2
= (long) -1 ;
5381 int arg3
= (int) -1 ;
5382 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5383 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5385 bool temp4
= false ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 PyObject
* obj2
= 0 ;
5389 PyObject
* obj3
= 0 ;
5391 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5396 if (SWIG_arg_fail(1)) SWIG_fail
;
5399 arg2
= (long)(SWIG_As_long(obj1
));
5400 if (SWIG_arg_fail(2)) SWIG_fail
;
5405 arg3
= (int)(SWIG_As_int(obj2
));
5406 if (SWIG_arg_fail(3)) SWIG_fail
;
5411 arg4
= wxString_in_helper(obj3
);
5412 if (arg4
== NULL
) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= wxPyMake_wxObject(result
, 0);
5440 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxFrame
*arg1
= (wxFrame
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5446 (char *) "self", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5451 if (SWIG_arg_fail(1)) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= wxPyMake_wxObject(result
, 0);
5468 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxFrame
*arg1
= (wxFrame
*) 0 ;
5471 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5473 PyObject
* obj1
= 0 ;
5475 (char *) "self",(char *) "toolbar", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5480 if (SWIG_arg_fail(1)) SWIG_fail
;
5481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5482 if (SWIG_arg_fail(2)) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 (arg1
)->SetToolBar(arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 Py_INCREF(Py_None
); resultobj
= Py_None
;
5497 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
;
5499 wxFrame
*arg1
= (wxFrame
*) 0 ;
5500 wxString
*arg2
= 0 ;
5502 bool temp2
= false ;
5503 PyObject
* obj0
= 0 ;
5504 PyObject
* obj1
= 0 ;
5505 PyObject
* obj2
= 0 ;
5507 (char *) "self",(char *) "text",(char *) "show", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5512 if (SWIG_arg_fail(1)) SWIG_fail
;
5514 arg2
= wxString_in_helper(obj1
);
5515 if (arg2
== NULL
) SWIG_fail
;
5519 arg3
= (bool)(SWIG_As_bool(obj2
));
5520 if (SWIG_arg_fail(3)) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxFrame
*arg1
= (wxFrame
*) 0 ;
5547 wxMenu
*arg2
= (wxMenu
*) NULL
;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5551 (char *) "self",(char *) "menu", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5556 if (SWIG_arg_fail(1)) SWIG_fail
;
5558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(2)) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->DoMenuUpdates(arg2
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5578 wxVisualAttributes result
;
5579 PyObject
* obj0
= 0 ;
5581 (char *) "variant", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5587 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5588 if (SWIG_arg_fail(1)) SWIG_fail
;
5592 if (!wxPyCheckForApp()) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5600 wxVisualAttributes
* resultptr
;
5601 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5610 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5613 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5615 return Py_BuildValue((char *)"");
5617 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxWindow
*arg1
= (wxWindow
*) 0 ;
5620 int arg2
= (int) (int)-1 ;
5621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5627 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5628 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5629 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5631 bool temp3
= false ;
5634 bool temp7
= false ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 PyObject
* obj2
= 0 ;
5638 PyObject
* obj3
= 0 ;
5639 PyObject
* obj4
= 0 ;
5640 PyObject
* obj5
= 0 ;
5641 PyObject
* obj6
= 0 ;
5643 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5648 if (SWIG_arg_fail(1)) SWIG_fail
;
5651 arg2
= (int const)(SWIG_As_int(obj1
));
5652 if (SWIG_arg_fail(2)) SWIG_fail
;
5657 arg3
= wxString_in_helper(obj2
);
5658 if (arg3
== NULL
) SWIG_fail
;
5665 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5671 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5676 arg6
= (long)(SWIG_As_long(obj5
));
5677 if (SWIG_arg_fail(6)) SWIG_fail
;
5682 arg7
= wxString_in_helper(obj6
);
5683 if (arg7
== NULL
) SWIG_fail
;
5688 if (!wxPyCheckForApp()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5718 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5727 if (!wxPyCheckForApp()) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (wxDialog
*)new wxDialog();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5741 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxDialog
*arg1
= (wxDialog
*) 0 ;
5744 wxWindow
*arg2
= (wxWindow
*) 0 ;
5745 int arg3
= (int) (int)-1 ;
5746 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5747 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5748 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5749 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5750 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5751 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5752 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5753 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5754 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5756 bool temp4
= false ;
5759 bool temp8
= false ;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5762 PyObject
* obj2
= 0 ;
5763 PyObject
* obj3
= 0 ;
5764 PyObject
* obj4
= 0 ;
5765 PyObject
* obj5
= 0 ;
5766 PyObject
* obj6
= 0 ;
5767 PyObject
* obj7
= 0 ;
5769 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5774 if (SWIG_arg_fail(1)) SWIG_fail
;
5775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5776 if (SWIG_arg_fail(2)) SWIG_fail
;
5779 arg3
= (int const)(SWIG_As_int(obj2
));
5780 if (SWIG_arg_fail(3)) SWIG_fail
;
5785 arg4
= wxString_in_helper(obj3
);
5786 if (arg4
== NULL
) SWIG_fail
;
5793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5804 arg7
= (long)(SWIG_As_long(obj6
));
5805 if (SWIG_arg_fail(7)) SWIG_fail
;
5810 arg8
= wxString_in_helper(obj7
);
5811 if (arg8
== NULL
) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5847 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxDialog
*arg1
= (wxDialog
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5854 (char *) "self",(char *) "returnCode", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5859 if (SWIG_arg_fail(1)) SWIG_fail
;
5861 arg2
= (int)(SWIG_As_int(obj1
));
5862 if (SWIG_arg_fail(2)) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 (arg1
)->SetReturnCode(arg2
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 Py_INCREF(Py_None
); resultobj
= Py_None
;
5878 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxDialog
*arg1
= (wxDialog
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5889 if (SWIG_arg_fail(1)) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= SWIG_From_int((int)(result
));
5906 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxDialog
*arg1
= (wxDialog
*) 0 ;
5909 wxString
*arg2
= 0 ;
5911 bool temp2
= false ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5915 (char *) "self",(char *) "message", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5920 if (SWIG_arg_fail(1)) SWIG_fail
;
5922 arg2
= wxString_in_helper(obj1
);
5923 if (arg2
== NULL
) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= wxPyMake_wxSizer(result
, 0);
5950 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxDialog
*arg1
= (wxDialog
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5958 (char *) "self",(char *) "flags", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5963 if (SWIG_arg_fail(1)) SWIG_fail
;
5965 arg2
= (long)(SWIG_As_long(obj1
));
5966 if (SWIG_arg_fail(2)) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= wxPyMake_wxSizer(result
, 0);
5984 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxDialog
*arg1
= (wxDialog
*) 0 ;
5988 wxStdDialogButtonSizer
*result
;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5992 (char *) "self",(char *) "flags", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5997 if (SWIG_arg_fail(1)) SWIG_fail
;
5999 arg2
= (long)(SWIG_As_long(obj1
));
6000 if (SWIG_arg_fail(2)) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6016 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxDialog
*arg1
= (wxDialog
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "self", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6027 if (SWIG_arg_fail(1)) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6044 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxDialog
*arg1
= (wxDialog
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6050 (char *) "self", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6055 if (SWIG_arg_fail(1)) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (int)(arg1
)->ShowModal();
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_From_int((int)(result
));
6072 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxDialog
*arg1
= (wxDialog
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6077 PyObject
* obj1
= 0 ;
6079 (char *) "self",(char *) "retCode", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6084 if (SWIG_arg_fail(1)) SWIG_fail
;
6086 arg2
= (int)(SWIG_As_int(obj1
));
6087 if (SWIG_arg_fail(2)) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 (arg1
)->EndModal(arg2
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 Py_INCREF(Py_None
); resultobj
= Py_None
;
6103 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6106 wxVisualAttributes result
;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "variant", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6115 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6116 if (SWIG_arg_fail(1)) SWIG_fail
;
6120 if (!wxPyCheckForApp()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 wxVisualAttributes
* resultptr
;
6129 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6138 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6141 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6143 return Py_BuildValue((char *)"");
6145 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxWindow
*arg1
= (wxWindow
*) 0 ;
6148 int arg2
= (int) (int)-1 ;
6149 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6150 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6155 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6156 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6158 wxMiniFrame
*result
;
6159 bool temp3
= false ;
6162 bool temp7
= false ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6165 PyObject
* obj2
= 0 ;
6166 PyObject
* obj3
= 0 ;
6167 PyObject
* obj4
= 0 ;
6168 PyObject
* obj5
= 0 ;
6169 PyObject
* obj6
= 0 ;
6171 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6176 if (SWIG_arg_fail(1)) SWIG_fail
;
6179 arg2
= (int const)(SWIG_As_int(obj1
));
6180 if (SWIG_arg_fail(2)) SWIG_fail
;
6185 arg3
= wxString_in_helper(obj2
);
6186 if (arg3
== NULL
) SWIG_fail
;
6193 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6199 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6204 arg6
= (long)(SWIG_As_long(obj5
));
6205 if (SWIG_arg_fail(6)) SWIG_fail
;
6210 arg7
= wxString_in_helper(obj6
);
6211 if (arg7
== NULL
) SWIG_fail
;
6216 if (!wxPyCheckForApp()) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6246 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxMiniFrame
*result
;
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6255 if (!wxPyCheckForApp()) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (wxMiniFrame
*)new wxMiniFrame();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6269 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6272 wxWindow
*arg2
= (wxWindow
*) 0 ;
6273 int arg3
= (int) (int)-1 ;
6274 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6275 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6276 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6277 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6278 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6279 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6280 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6281 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6282 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6284 bool temp4
= false ;
6287 bool temp8
= false ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6290 PyObject
* obj2
= 0 ;
6291 PyObject
* obj3
= 0 ;
6292 PyObject
* obj4
= 0 ;
6293 PyObject
* obj5
= 0 ;
6294 PyObject
* obj6
= 0 ;
6295 PyObject
* obj7
= 0 ;
6297 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail
;
6303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6304 if (SWIG_arg_fail(2)) SWIG_fail
;
6307 arg3
= (int const)(SWIG_As_int(obj2
));
6308 if (SWIG_arg_fail(3)) SWIG_fail
;
6313 arg4
= wxString_in_helper(obj3
);
6314 if (arg4
== NULL
) SWIG_fail
;
6321 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6327 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6332 arg7
= (long)(SWIG_As_long(obj6
));
6333 if (SWIG_arg_fail(7)) SWIG_fail
;
6338 arg8
= wxString_in_helper(obj7
);
6339 if (arg8
== NULL
) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6375 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6378 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6380 return Py_BuildValue((char *)"");
6382 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxBitmap
*arg1
= 0 ;
6385 wxWindow
*arg2
= (wxWindow
*) 0 ;
6387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6391 long arg6
= (long) wxNO_BORDER
;
6392 wxSplashScreenWindow
*result
;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6398 PyObject
* obj3
= 0 ;
6399 PyObject
* obj4
= 0 ;
6400 PyObject
* obj5
= 0 ;
6402 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6408 if (SWIG_arg_fail(1)) SWIG_fail
;
6410 SWIG_null_ref("wxBitmap");
6412 if (SWIG_arg_fail(1)) SWIG_fail
;
6414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6415 if (SWIG_arg_fail(2)) SWIG_fail
;
6417 arg3
= (int)(SWIG_As_int(obj2
));
6418 if (SWIG_arg_fail(3)) SWIG_fail
;
6423 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6429 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6434 arg6
= (long)(SWIG_As_long(obj5
));
6435 if (SWIG_arg_fail(6)) SWIG_fail
;
6439 if (!wxPyCheckForApp()) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6453 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6456 wxBitmap
*arg2
= 0 ;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6460 (char *) "self",(char *) "bitmap", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6465 if (SWIG_arg_fail(1)) SWIG_fail
;
6467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6468 if (SWIG_arg_fail(2)) SWIG_fail
;
6470 SWIG_null_ref("wxBitmap");
6472 if (SWIG_arg_fail(2)) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 Py_INCREF(Py_None
); resultobj
= Py_None
;
6488 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6492 PyObject
* obj0
= 0 ;
6494 (char *) "self", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6499 if (SWIG_arg_fail(1)) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6504 result
= (wxBitmap
*) &_result_ref
;
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 wxBitmap
* resultptr
= new wxBitmap(*result
);
6512 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6520 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6523 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6525 return Py_BuildValue((char *)"");
6527 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxBitmap
*arg1
= 0 ;
6532 wxWindow
*arg4
= (wxWindow
*) 0 ;
6533 int arg5
= (int) -1 ;
6534 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6535 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6536 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6537 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6538 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6539 wxSplashScreen
*result
;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6544 PyObject
* obj2
= 0 ;
6545 PyObject
* obj3
= 0 ;
6546 PyObject
* obj4
= 0 ;
6547 PyObject
* obj5
= 0 ;
6548 PyObject
* obj6
= 0 ;
6549 PyObject
* obj7
= 0 ;
6551 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6557 if (SWIG_arg_fail(1)) SWIG_fail
;
6559 SWIG_null_ref("wxBitmap");
6561 if (SWIG_arg_fail(1)) SWIG_fail
;
6564 arg2
= (long)(SWIG_As_long(obj1
));
6565 if (SWIG_arg_fail(2)) SWIG_fail
;
6568 arg3
= (int)(SWIG_As_int(obj2
));
6569 if (SWIG_arg_fail(3)) SWIG_fail
;
6571 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6572 if (SWIG_arg_fail(4)) SWIG_fail
;
6575 arg5
= (int)(SWIG_As_int(obj4
));
6576 if (SWIG_arg_fail(5)) SWIG_fail
;
6582 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6588 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6593 arg8
= (long)(SWIG_As_long(obj7
));
6594 if (SWIG_arg_fail(8)) SWIG_fail
;
6598 if (!wxPyCheckForApp()) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6612 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6618 (char *) "self", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6623 if (SWIG_arg_fail(1)) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= SWIG_From_long((long)(result
));
6640 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6643 wxSplashScreenWindow
*result
;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6651 if (SWIG_arg_fail(1)) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6666 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6672 (char *) "self", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6677 if (SWIG_arg_fail(1)) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= SWIG_From_int((int)(result
));
6694 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6697 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6699 return Py_BuildValue((char *)"");
6701 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxWindow
*arg1
= (wxWindow
*) 0 ;
6704 int arg2
= (int) -1 ;
6705 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6706 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6707 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6708 wxStatusBar
*result
;
6709 bool temp4
= false ;
6710 PyObject
* obj0
= 0 ;
6711 PyObject
* obj1
= 0 ;
6712 PyObject
* obj2
= 0 ;
6713 PyObject
* obj3
= 0 ;
6715 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6720 if (SWIG_arg_fail(1)) SWIG_fail
;
6723 arg2
= (int)(SWIG_As_int(obj1
));
6724 if (SWIG_arg_fail(2)) SWIG_fail
;
6729 arg3
= (long)(SWIG_As_long(obj2
));
6730 if (SWIG_arg_fail(3)) SWIG_fail
;
6735 arg4
= wxString_in_helper(obj3
);
6736 if (arg4
== NULL
) SWIG_fail
;
6741 if (!wxPyCheckForApp()) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6763 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxStatusBar
*result
;
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxStatusBar
*)new wxStatusBar();
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6786 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
;
6788 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6789 wxWindow
*arg2
= (wxWindow
*) 0 ;
6790 int arg3
= (int) -1 ;
6791 long arg4
= (long) wxST_SIZEGRIP
;
6792 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6793 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6795 bool temp5
= false ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 PyObject
* obj2
= 0 ;
6799 PyObject
* obj3
= 0 ;
6800 PyObject
* obj4
= 0 ;
6802 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6807 if (SWIG_arg_fail(1)) SWIG_fail
;
6808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6809 if (SWIG_arg_fail(2)) SWIG_fail
;
6812 arg3
= (int)(SWIG_As_int(obj2
));
6813 if (SWIG_arg_fail(3)) SWIG_fail
;
6818 arg4
= (long)(SWIG_As_long(obj3
));
6819 if (SWIG_arg_fail(4)) SWIG_fail
;
6824 arg5
= wxString_in_helper(obj4
);
6825 if (arg5
== NULL
) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6853 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6856 int arg2
= (int) 1 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6860 (char *) "self",(char *) "number", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6865 if (SWIG_arg_fail(1)) SWIG_fail
;
6868 arg2
= (int)(SWIG_As_int(obj1
));
6869 if (SWIG_arg_fail(2)) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 (arg1
)->SetFieldsCount(arg2
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "self", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6897 if (SWIG_arg_fail(1)) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_From_int((int)(result
));
6914 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6917 wxString
*arg2
= 0 ;
6918 int arg3
= (int) 0 ;
6919 bool temp2
= false ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 PyObject
* obj2
= 0 ;
6924 (char *) "self",(char *) "text",(char *) "number", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6929 if (SWIG_arg_fail(1)) SWIG_fail
;
6931 arg2
= wxString_in_helper(obj1
);
6932 if (arg2
== NULL
) SWIG_fail
;
6937 arg3
= (int)(SWIG_As_int(obj2
));
6938 if (SWIG_arg_fail(3)) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 Py_INCREF(Py_None
); resultobj
= Py_None
;
6963 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6966 int arg2
= (int) 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6971 (char *) "self",(char *) "number", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6976 if (SWIG_arg_fail(1)) SWIG_fail
;
6979 arg2
= (int)(SWIG_As_int(obj1
));
6980 if (SWIG_arg_fail(2)) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7003 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7006 wxString
*arg2
= 0 ;
7007 int arg3
= (int) 0 ;
7008 bool temp2
= false ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 PyObject
* obj2
= 0 ;
7013 (char *) "self",(char *) "text",(char *) "number", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7018 if (SWIG_arg_fail(1)) SWIG_fail
;
7020 arg2
= wxString_in_helper(obj1
);
7021 if (arg2
== NULL
) SWIG_fail
;
7026 arg3
= (int)(SWIG_As_int(obj2
));
7027 if (SWIG_arg_fail(3)) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7055 int arg2
= (int) 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7059 (char *) "self",(char *) "number", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7064 if (SWIG_arg_fail(1)) SWIG_fail
;
7067 arg2
= (int)(SWIG_As_int(obj1
));
7068 if (SWIG_arg_fail(2)) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 (arg1
)->PopStatusText(arg2
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 Py_INCREF(Py_None
); resultobj
= Py_None
;
7085 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7089 int *arg3
= (int *) 0 ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7093 (char *) "self",(char *) "widths", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7098 if (SWIG_arg_fail(1)) SWIG_fail
;
7100 arg2
= PyList_Size(obj1
);
7101 arg3
= int_LIST_helper(obj1
);
7102 if (arg3
== NULL
) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 Py_INCREF(Py_None
); resultobj
= Py_None
;
7113 if (arg3
) delete [] arg3
;
7118 if (arg3
) delete [] arg3
;
7124 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7128 int *arg3
= (int *) 0 ;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7132 (char *) "self",(char *) "styles", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7137 if (SWIG_arg_fail(1)) SWIG_fail
;
7139 arg2
= PyList_Size(obj1
);
7140 arg3
= int_LIST_helper(obj1
);
7141 if (arg3
== NULL
) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 Py_INCREF(Py_None
); resultobj
= Py_None
;
7152 if (arg3
) delete [] arg3
;
7157 if (arg3
) delete [] arg3
;
7163 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7171 (char *) "self",(char *) "i", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7176 if (SWIG_arg_fail(1)) SWIG_fail
;
7178 arg2
= (int)(SWIG_As_int(obj1
));
7179 if (SWIG_arg_fail(2)) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7190 resultptr
= new wxRect((wxRect
&)(result
));
7191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7199 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj1
= 0 ;
7206 (char *) "self",(char *) "height", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(1)) SWIG_fail
;
7213 arg2
= (int)(SWIG_As_int(obj1
));
7214 if (SWIG_arg_fail(2)) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 (arg1
)->SetMinHeight(arg2
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 Py_INCREF(Py_None
); resultobj
= Py_None
;
7230 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7236 (char *) "self", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7241 if (SWIG_arg_fail(1)) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_From_int((int)(result
));
7258 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7269 if (SWIG_arg_fail(1)) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= SWIG_From_int((int)(result
));
7286 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7289 wxVisualAttributes result
;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "variant", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7298 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7299 if (SWIG_arg_fail(1)) SWIG_fail
;
7303 if (!wxPyCheckForApp()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7311 wxVisualAttributes
* resultptr
;
7312 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7321 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7324 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7326 return Py_BuildValue((char *)"");
7328 static int _wrap_SplitterNameStr_set(PyObject
*) {
7329 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7334 static PyObject
*_wrap_SplitterNameStr_get(void) {
7339 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7341 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7348 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxWindow
*arg1
= (wxWindow
*) 0 ;
7351 int arg2
= (int) -1 ;
7352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7356 long arg5
= (long) wxSP_3D
;
7357 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7358 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7359 wxSplitterWindow
*result
;
7362 bool temp6
= false ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7365 PyObject
* obj2
= 0 ;
7366 PyObject
* obj3
= 0 ;
7367 PyObject
* obj4
= 0 ;
7368 PyObject
* obj5
= 0 ;
7370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7375 if (SWIG_arg_fail(1)) SWIG_fail
;
7378 arg2
= (int)(SWIG_As_int(obj1
));
7379 if (SWIG_arg_fail(2)) SWIG_fail
;
7385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7391 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7396 arg5
= (long)(SWIG_As_long(obj4
));
7397 if (SWIG_arg_fail(5)) SWIG_fail
;
7402 arg6
= wxString_in_helper(obj5
);
7403 if (arg6
== NULL
) SWIG_fail
;
7408 if (!wxPyCheckForApp()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7430 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxSplitterWindow
*result
;
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7439 if (!wxPyCheckForApp()) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7453 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7456 wxWindow
*arg2
= (wxWindow
*) 0 ;
7457 int arg3
= (int) -1 ;
7458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7462 long arg6
= (long) wxSP_3D
;
7463 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7464 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7468 bool temp7
= false ;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7471 PyObject
* obj2
= 0 ;
7472 PyObject
* obj3
= 0 ;
7473 PyObject
* obj4
= 0 ;
7474 PyObject
* obj5
= 0 ;
7475 PyObject
* obj6
= 0 ;
7477 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7482 if (SWIG_arg_fail(1)) SWIG_fail
;
7483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7484 if (SWIG_arg_fail(2)) SWIG_fail
;
7487 arg3
= (int)(SWIG_As_int(obj2
));
7488 if (SWIG_arg_fail(3)) SWIG_fail
;
7494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7505 arg6
= (long)(SWIG_As_long(obj5
));
7506 if (SWIG_arg_fail(6)) SWIG_fail
;
7511 arg7
= wxString_in_helper(obj6
);
7512 if (arg7
== NULL
) SWIG_fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7540 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7546 (char *) "self", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7551 if (SWIG_arg_fail(1)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= wxPyMake_wxObject(result
, 0);
7568 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7574 (char *) "self", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= wxPyMake_wxObject(result
, 0);
7596 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7603 (char *) "self",(char *) "mode", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7608 if (SWIG_arg_fail(1)) SWIG_fail
;
7610 arg2
= (int)(SWIG_As_int(obj1
));
7611 if (SWIG_arg_fail(2)) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetSplitMode(arg2
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "self", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= SWIG_From_int((result
));
7653 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7656 wxWindow
*arg2
= (wxWindow
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7658 PyObject
* obj1
= 0 ;
7660 (char *) "self",(char *) "window", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7665 if (SWIG_arg_fail(1)) SWIG_fail
;
7666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7667 if (SWIG_arg_fail(2)) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 (arg1
)->Initialize(arg2
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 Py_INCREF(Py_None
); resultobj
= Py_None
;
7682 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7685 wxWindow
*arg2
= (wxWindow
*) 0 ;
7686 wxWindow
*arg3
= (wxWindow
*) 0 ;
7687 int arg4
= (int) 0 ;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7691 PyObject
* obj2
= 0 ;
7692 PyObject
* obj3
= 0 ;
7694 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail
;
7700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7701 if (SWIG_arg_fail(2)) SWIG_fail
;
7702 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7703 if (SWIG_arg_fail(3)) SWIG_fail
;
7706 arg4
= (int)(SWIG_As_int(obj3
));
7707 if (SWIG_arg_fail(4)) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7726 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7729 wxWindow
*arg2
= (wxWindow
*) 0 ;
7730 wxWindow
*arg3
= (wxWindow
*) 0 ;
7731 int arg4
= (int) 0 ;
7733 PyObject
* obj0
= 0 ;
7734 PyObject
* obj1
= 0 ;
7735 PyObject
* obj2
= 0 ;
7736 PyObject
* obj3
= 0 ;
7738 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7743 if (SWIG_arg_fail(1)) SWIG_fail
;
7744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7745 if (SWIG_arg_fail(2)) SWIG_fail
;
7746 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7747 if (SWIG_arg_fail(3)) SWIG_fail
;
7750 arg4
= (int)(SWIG_As_int(obj3
));
7751 if (SWIG_arg_fail(4)) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7770 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7773 wxWindow
*arg2
= (wxWindow
*) NULL
;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7778 (char *) "self",(char *) "toRemove", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail
;
7785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7786 if (SWIG_arg_fail(2)) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (bool)(arg1
)->Unsplit(arg2
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7804 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7807 wxWindow
*arg2
= (wxWindow
*) 0 ;
7808 wxWindow
*arg3
= (wxWindow
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 PyObject
* obj2
= 0 ;
7814 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(2)) SWIG_fail
;
7822 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7823 if (SWIG_arg_fail(3)) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7840 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7850 if (SWIG_arg_fail(1)) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 (arg1
)->UpdateSize();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 Py_INCREF(Py_None
); resultobj
= Py_None
;
7865 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "self", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7893 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7900 (char *) "self",(char *) "width", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 arg2
= (int)(SWIG_As_int(obj1
));
7908 if (SWIG_arg_fail(2)) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 (arg1
)->SetSashSize(arg2
);
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 Py_INCREF(Py_None
); resultobj
= Py_None
;
7924 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7931 (char *) "self",(char *) "width", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7936 if (SWIG_arg_fail(1)) SWIG_fail
;
7938 arg2
= (int)(SWIG_As_int(obj1
));
7939 if (SWIG_arg_fail(2)) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->SetBorderSize(arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7966 if (SWIG_arg_fail(1)) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_From_int((int)(result
));
7983 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7994 if (SWIG_arg_fail(1)) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_From_int((int)(result
));
8011 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8015 bool arg3
= (bool) true ;
8016 PyObject
* obj0
= 0 ;
8017 PyObject
* obj1
= 0 ;
8018 PyObject
* obj2
= 0 ;
8020 (char *) "self",(char *) "position",(char *) "redraw", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8025 if (SWIG_arg_fail(1)) SWIG_fail
;
8027 arg2
= (int)(SWIG_As_int(obj1
));
8028 if (SWIG_arg_fail(2)) SWIG_fail
;
8032 arg3
= (bool)(SWIG_As_bool(obj2
));
8033 if (SWIG_arg_fail(3)) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 (arg1
)->SetSashPosition(arg2
,arg3
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 Py_INCREF(Py_None
); resultobj
= Py_None
;
8050 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_From_int((int)(result
));
8078 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8085 (char *) "self",(char *) "gravity", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8090 if (SWIG_arg_fail(1)) SWIG_fail
;
8092 arg2
= (double)(SWIG_As_double(obj1
));
8093 if (SWIG_arg_fail(2)) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 (arg1
)->SetSashGravity(arg2
);
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 Py_INCREF(Py_None
); resultobj
= Py_None
;
8109 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "self", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8120 if (SWIG_arg_fail(1)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= SWIG_From_double((double)(result
));
8137 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8142 PyObject
* obj1
= 0 ;
8144 (char *) "self",(char *) "min", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8149 if (SWIG_arg_fail(1)) SWIG_fail
;
8151 arg2
= (int)(SWIG_As_int(obj1
));
8152 if (SWIG_arg_fail(2)) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 (arg1
)->SetMinimumPaneSize(arg2
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 Py_INCREF(Py_None
); resultobj
= Py_None
;
8168 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "self", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8179 if (SWIG_arg_fail(1)) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_From_int((int)(result
));
8196 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8201 int arg4
= (int) 5 ;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8205 PyObject
* obj2
= 0 ;
8206 PyObject
* obj3
= 0 ;
8208 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8213 if (SWIG_arg_fail(1)) SWIG_fail
;
8215 arg2
= (int)(SWIG_As_int(obj1
));
8216 if (SWIG_arg_fail(2)) SWIG_fail
;
8219 arg3
= (int)(SWIG_As_int(obj2
));
8220 if (SWIG_arg_fail(3)) SWIG_fail
;
8224 arg4
= (int)(SWIG_As_int(obj3
));
8225 if (SWIG_arg_fail(4)) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8244 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8249 (char *) "self", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 (arg1
)->SizeWindows();
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 Py_INCREF(Py_None
); resultobj
= Py_None
;
8269 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8276 (char *) "self",(char *) "needUpdating", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8281 if (SWIG_arg_fail(1)) SWIG_fail
;
8283 arg2
= (bool)(SWIG_As_bool(obj1
));
8284 if (SWIG_arg_fail(2)) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 (arg1
)->SetNeedUpdating(arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "self", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8311 if (SWIG_arg_fail(1)) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8328 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8330 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8331 wxVisualAttributes result
;
8332 PyObject
* obj0
= 0 ;
8334 (char *) "variant", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8340 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8341 if (SWIG_arg_fail(1)) SWIG_fail
;
8345 if (!wxPyCheckForApp()) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 wxVisualAttributes
* resultptr
;
8354 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8363 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8366 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8368 return Py_BuildValue((char *)"");
8370 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8373 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8374 wxSplitterEvent
*result
;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8378 (char *) "type",(char *) "splitter", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8384 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8385 if (SWIG_arg_fail(1)) SWIG_fail
;
8389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8390 if (SWIG_arg_fail(2)) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8406 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8413 (char *) "self",(char *) "pos", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail
;
8420 arg2
= (int)(SWIG_As_int(obj1
));
8421 if (SWIG_arg_fail(2)) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 (arg1
)->SetSashPosition(arg2
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 Py_INCREF(Py_None
); resultobj
= Py_None
;
8437 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8443 (char *) "self", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_From_int((int)(result
));
8465 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8471 (char *) "self", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8476 if (SWIG_arg_fail(1)) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= wxPyMake_wxObject(result
, 0);
8493 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8497 PyObject
* obj0
= 0 ;
8499 (char *) "self", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_From_int((int)(result
));
8521 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8525 PyObject
* obj0
= 0 ;
8527 (char *) "self", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8532 if (SWIG_arg_fail(1)) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_From_int((int)(result
));
8549 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8552 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8554 return Py_BuildValue((char *)"");
8556 static int _wrap_SashNameStr_set(PyObject
*) {
8557 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8562 static PyObject
*_wrap_SashNameStr_get(void) {
8567 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8569 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8576 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8577 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8582 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8587 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8589 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8596 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxWindow
*arg1
= (wxWindow
*) 0 ;
8599 int arg2
= (int) -1 ;
8600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8602 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8603 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8604 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8605 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8606 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8607 wxSashWindow
*result
;
8610 bool temp6
= false ;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8613 PyObject
* obj2
= 0 ;
8614 PyObject
* obj3
= 0 ;
8615 PyObject
* obj4
= 0 ;
8616 PyObject
* obj5
= 0 ;
8618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8623 if (SWIG_arg_fail(1)) SWIG_fail
;
8626 arg2
= (int)(SWIG_As_int(obj1
));
8627 if (SWIG_arg_fail(2)) SWIG_fail
;
8633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8644 arg5
= (long)(SWIG_As_long(obj4
));
8645 if (SWIG_arg_fail(5)) SWIG_fail
;
8650 arg6
= wxString_in_helper(obj5
);
8651 if (arg6
== NULL
) SWIG_fail
;
8656 if (!wxPyCheckForApp()) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8678 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxSashWindow
*result
;
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8687 if (!wxPyCheckForApp()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxSashWindow
*)new wxSashWindow();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8701 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8704 wxWindow
*arg2
= (wxWindow
*) 0 ;
8705 int arg3
= (int) -1 ;
8706 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8707 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8708 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8709 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8710 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8711 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8712 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8716 bool temp7
= false ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 PyObject
* obj2
= 0 ;
8720 PyObject
* obj3
= 0 ;
8721 PyObject
* obj4
= 0 ;
8722 PyObject
* obj5
= 0 ;
8723 PyObject
* obj6
= 0 ;
8725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8730 if (SWIG_arg_fail(1)) SWIG_fail
;
8731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8732 if (SWIG_arg_fail(2)) SWIG_fail
;
8735 arg3
= (int)(SWIG_As_int(obj2
));
8736 if (SWIG_arg_fail(3)) SWIG_fail
;
8742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8753 arg6
= (long)(SWIG_As_long(obj5
));
8754 if (SWIG_arg_fail(6)) SWIG_fail
;
8759 arg7
= wxString_in_helper(obj6
);
8760 if (arg7
== NULL
) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8788 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8791 wxSashEdgePosition arg2
;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8797 (char *) "self",(char *) "edge",(char *) "sash", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8802 if (SWIG_arg_fail(1)) SWIG_fail
;
8804 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8805 if (SWIG_arg_fail(2)) SWIG_fail
;
8808 arg3
= (bool)(SWIG_As_bool(obj2
));
8809 if (SWIG_arg_fail(3)) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 Py_INCREF(Py_None
); resultobj
= Py_None
;
8825 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
;
8827 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8828 wxSashEdgePosition arg2
;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "self",(char *) "edge", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8838 if (SWIG_arg_fail(1)) SWIG_fail
;
8840 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8841 if (SWIG_arg_fail(2)) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8859 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8862 wxSashEdgePosition arg2
;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 PyObject
* obj2
= 0 ;
8868 (char *) "self",(char *) "edge",(char *) "border", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8876 if (SWIG_arg_fail(2)) SWIG_fail
;
8879 arg3
= (bool)(SWIG_As_bool(obj2
));
8880 if (SWIG_arg_fail(3)) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8899 wxSashEdgePosition arg2
;
8901 PyObject
* obj0
= 0 ;
8902 PyObject
* obj1
= 0 ;
8904 (char *) "self",(char *) "edge", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8909 if (SWIG_arg_fail(1)) SWIG_fail
;
8911 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8912 if (SWIG_arg_fail(2)) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8930 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8933 wxSashEdgePosition arg2
;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8938 (char *) "self",(char *) "edge", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8943 if (SWIG_arg_fail(1)) SWIG_fail
;
8945 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8946 if (SWIG_arg_fail(2)) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= SWIG_From_int((int)(result
));
8964 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8971 (char *) "self",(char *) "width", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8976 if (SWIG_arg_fail(1)) SWIG_fail
;
8978 arg2
= (int)(SWIG_As_int(obj1
));
8979 if (SWIG_arg_fail(2)) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 (arg1
)->SetDefaultBorderSize(arg2
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9006 if (SWIG_arg_fail(1)) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_From_int((int)(result
));
9023 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9030 (char *) "self",(char *) "width", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9035 if (SWIG_arg_fail(1)) SWIG_fail
;
9037 arg2
= (int)(SWIG_As_int(obj1
));
9038 if (SWIG_arg_fail(2)) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 (arg1
)->SetExtraBorderSize(arg2
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9065 if (SWIG_arg_fail(1)) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= SWIG_From_int((int)(result
));
9082 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9089 (char *) "self",(char *) "min", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9094 if (SWIG_arg_fail(1)) SWIG_fail
;
9096 arg2
= (int)(SWIG_As_int(obj1
));
9097 if (SWIG_arg_fail(2)) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 (arg1
)->SetMinimumSizeX(arg2
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 Py_INCREF(Py_None
); resultobj
= Py_None
;
9113 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9118 PyObject
* obj1
= 0 ;
9120 (char *) "self",(char *) "min", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9125 if (SWIG_arg_fail(1)) SWIG_fail
;
9127 arg2
= (int)(SWIG_As_int(obj1
));
9128 if (SWIG_arg_fail(2)) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 (arg1
)->SetMinimumSizeY(arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9155 if (SWIG_arg_fail(1)) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_From_int((int)(result
));
9172 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9178 (char *) "self", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_From_int((int)(result
));
9200 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9207 (char *) "self",(char *) "max", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail
;
9214 arg2
= (int)(SWIG_As_int(obj1
));
9215 if (SWIG_arg_fail(2)) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->SetMaximumSizeX(arg2
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 Py_INCREF(Py_None
); resultobj
= Py_None
;
9231 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9238 (char *) "self",(char *) "max", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9243 if (SWIG_arg_fail(1)) SWIG_fail
;
9245 arg2
= (int)(SWIG_As_int(obj1
));
9246 if (SWIG_arg_fail(2)) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 (arg1
)->SetMaximumSizeY(arg2
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 Py_INCREF(Py_None
); resultobj
= Py_None
;
9262 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_From_int((int)(result
));
9290 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9294 PyObject
* obj0
= 0 ;
9296 (char *) "self", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9301 if (SWIG_arg_fail(1)) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= SWIG_From_int((int)(result
));
9318 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9323 int arg4
= (int) 2 ;
9324 wxSashEdgePosition result
;
9325 PyObject
* obj0
= 0 ;
9326 PyObject
* obj1
= 0 ;
9327 PyObject
* obj2
= 0 ;
9328 PyObject
* obj3
= 0 ;
9330 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9335 if (SWIG_arg_fail(1)) SWIG_fail
;
9337 arg2
= (int)(SWIG_As_int(obj1
));
9338 if (SWIG_arg_fail(2)) SWIG_fail
;
9341 arg3
= (int)(SWIG_As_int(obj2
));
9342 if (SWIG_arg_fail(3)) SWIG_fail
;
9346 arg4
= (int)(SWIG_As_int(obj3
));
9347 if (SWIG_arg_fail(4)) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= SWIG_From_int((result
));
9364 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "self", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9374 if (SWIG_arg_fail(1)) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 (arg1
)->SizeWindows();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 Py_INCREF(Py_None
); resultobj
= Py_None
;
9389 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9392 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9394 return Py_BuildValue((char *)"");
9396 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 int arg1
= (int) 0 ;
9399 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9400 wxSashEvent
*result
;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9404 (char *) "id",(char *) "edge", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9410 arg1
= (int)(SWIG_As_int(obj0
));
9411 if (SWIG_arg_fail(1)) SWIG_fail
;
9416 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9417 if (SWIG_arg_fail(2)) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9434 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9437 wxSashEdgePosition arg2
;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9441 (char *) "self",(char *) "edge", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9446 if (SWIG_arg_fail(1)) SWIG_fail
;
9448 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9449 if (SWIG_arg_fail(2)) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 Py_INCREF(Py_None
); resultobj
= Py_None
;
9465 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9468 wxSashEdgePosition result
;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9476 if (SWIG_arg_fail(1)) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_From_int((result
));
9491 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9499 (char *) "self",(char *) "rect", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail
;
9507 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 Py_INCREF(Py_None
); resultobj
= Py_None
;
9523 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
;
9525 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9527 PyObject
* obj0
= 0 ;
9529 (char *) "self", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9534 if (SWIG_arg_fail(1)) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9544 resultptr
= new wxRect((wxRect
&)(result
));
9545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9553 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9556 wxSashDragStatus arg2
;
9557 PyObject
* obj0
= 0 ;
9558 PyObject
* obj1
= 0 ;
9560 (char *) "self",(char *) "status", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9565 if (SWIG_arg_fail(1)) SWIG_fail
;
9567 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9568 if (SWIG_arg_fail(2)) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 Py_INCREF(Py_None
); resultobj
= Py_None
;
9584 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9587 wxSashDragStatus result
;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9595 if (SWIG_arg_fail(1)) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_From_int((result
));
9610 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9613 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9615 return Py_BuildValue((char *)"");
9617 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 int arg1
= (int) 0 ;
9620 wxQueryLayoutInfoEvent
*result
;
9621 PyObject
* obj0
= 0 ;
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9629 arg1
= (int)(SWIG_As_int(obj0
));
9630 if (SWIG_arg_fail(1)) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9647 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9654 (char *) "self",(char *) "length", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9659 if (SWIG_arg_fail(1)) SWIG_fail
;
9661 arg2
= (int)(SWIG_As_int(obj1
));
9662 if (SWIG_arg_fail(2)) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 (arg1
)->SetRequestedLength(arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 Py_INCREF(Py_None
); resultobj
= Py_None
;
9678 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "self", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_From_int((int)(result
));
9706 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "self",(char *) "flags", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail
;
9720 arg2
= (int)(SWIG_As_int(obj1
));
9721 if (SWIG_arg_fail(2)) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetFlags(arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 Py_INCREF(Py_None
); resultobj
= Py_None
;
9737 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "self", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(1)) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_From_int((int)(result
));
9765 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9773 (char *) "self",(char *) "size", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9778 if (SWIG_arg_fail(1)) SWIG_fail
;
9781 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 (arg1
)->SetSize((wxSize
const &)*arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 Py_INCREF(Py_None
); resultobj
= Py_None
;
9797 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9818 resultptr
= new wxSize((wxSize
&)(result
));
9819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9827 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9830 wxLayoutOrientation arg2
;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9834 (char *) "self",(char *) "orient", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9839 if (SWIG_arg_fail(1)) SWIG_fail
;
9841 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9842 if (SWIG_arg_fail(2)) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 Py_INCREF(Py_None
); resultobj
= Py_None
;
9858 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9861 wxLayoutOrientation result
;
9862 PyObject
* obj0
= 0 ;
9864 (char *) "self", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_From_int((result
));
9884 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9887 wxLayoutAlignment arg2
;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9891 (char *) "self",(char *) "align", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9896 if (SWIG_arg_fail(1)) SWIG_fail
;
9898 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9899 if (SWIG_arg_fail(2)) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 Py_INCREF(Py_None
); resultobj
= Py_None
;
9915 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9918 wxLayoutAlignment result
;
9919 PyObject
* obj0
= 0 ;
9921 (char *) "self", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9926 if (SWIG_arg_fail(1)) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_From_int((result
));
9941 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9944 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9946 return Py_BuildValue((char *)"");
9948 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 int arg1
= (int) 0 ;
9951 wxCalculateLayoutEvent
*result
;
9952 PyObject
* obj0
= 0 ;
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9960 arg1
= (int)(SWIG_As_int(obj0
));
9961 if (SWIG_arg_fail(1)) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9978 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9983 PyObject
* obj1
= 0 ;
9985 (char *) "self",(char *) "flags", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9990 if (SWIG_arg_fail(1)) SWIG_fail
;
9992 arg2
= (int)(SWIG_As_int(obj1
));
9993 if (SWIG_arg_fail(2)) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 (arg1
)->SetFlags(arg2
);
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 Py_INCREF(Py_None
); resultobj
= Py_None
;
10009 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10020 if (SWIG_arg_fail(1)) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= SWIG_From_int((int)(result
));
10037 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self",(char *) "rect", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail
;
10053 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->SetRect((wxRect
const &)*arg2
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10069 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10089 wxRect
* resultptr
;
10090 resultptr
= new wxRect((wxRect
&)(result
));
10091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10099 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10102 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10104 return Py_BuildValue((char *)"");
10106 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxWindow
*arg1
= (wxWindow
*) 0 ;
10109 int arg2
= (int) -1 ;
10110 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10111 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10112 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10113 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10114 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10115 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10116 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10117 wxSashLayoutWindow
*result
;
10120 bool temp6
= false ;
10121 PyObject
* obj0
= 0 ;
10122 PyObject
* obj1
= 0 ;
10123 PyObject
* obj2
= 0 ;
10124 PyObject
* obj3
= 0 ;
10125 PyObject
* obj4
= 0 ;
10126 PyObject
* obj5
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10133 if (SWIG_arg_fail(1)) SWIG_fail
;
10136 arg2
= (int)(SWIG_As_int(obj1
));
10137 if (SWIG_arg_fail(2)) SWIG_fail
;
10143 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10149 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10154 arg5
= (long)(SWIG_As_long(obj4
));
10155 if (SWIG_arg_fail(5)) SWIG_fail
;
10160 arg6
= wxString_in_helper(obj5
);
10161 if (arg6
== NULL
) SWIG_fail
;
10166 if (!wxPyCheckForApp()) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10188 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxSashLayoutWindow
*result
;
10191 char *kwnames
[] = {
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10197 if (!wxPyCheckForApp()) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10211 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10214 wxWindow
*arg2
= (wxWindow
*) 0 ;
10215 int arg3
= (int) -1 ;
10216 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10217 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10218 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10219 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10220 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10221 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10222 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10226 bool temp7
= false ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 PyObject
* obj2
= 0 ;
10230 PyObject
* obj3
= 0 ;
10231 PyObject
* obj4
= 0 ;
10232 PyObject
* obj5
= 0 ;
10233 PyObject
* obj6
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10240 if (SWIG_arg_fail(1)) SWIG_fail
;
10241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10242 if (SWIG_arg_fail(2)) SWIG_fail
;
10245 arg3
= (int)(SWIG_As_int(obj2
));
10246 if (SWIG_arg_fail(3)) SWIG_fail
;
10252 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10258 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10263 arg6
= (long)(SWIG_As_long(obj5
));
10264 if (SWIG_arg_fail(6)) SWIG_fail
;
10269 arg7
= wxString_in_helper(obj6
);
10270 if (arg7
== NULL
) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10298 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10301 wxLayoutAlignment result
;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_From_int((result
));
10324 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10327 wxLayoutOrientation result
;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10335 if (SWIG_arg_fail(1)) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_From_int((result
));
10350 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10353 wxLayoutAlignment arg2
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self",(char *) "alignment", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10362 if (SWIG_arg_fail(1)) SWIG_fail
;
10364 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10365 if (SWIG_arg_fail(2)) SWIG_fail
;
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 Py_INCREF(Py_None
); resultobj
= Py_None
;
10381 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
;
10383 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "size", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10397 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 Py_INCREF(Py_None
); resultobj
= Py_None
;
10413 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10416 wxLayoutOrientation arg2
;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self",(char *) "orientation", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail
;
10427 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10428 if (SWIG_arg_fail(2)) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 Py_INCREF(Py_None
); resultobj
= Py_None
;
10444 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10447 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10449 return Py_BuildValue((char *)"");
10451 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxLayoutAlgorithm
*result
;
10454 char *kwnames
[] = {
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10473 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10483 if (SWIG_arg_fail(1)) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 Py_INCREF(Py_None
); resultobj
= Py_None
;
10498 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10501 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10502 wxRect
*arg3
= (wxRect
*) NULL
;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 PyObject
* obj2
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "frame",(char *) "rect", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail
;
10514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10515 if (SWIG_arg_fail(2)) SWIG_fail
;
10517 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10518 if (SWIG_arg_fail(3)) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10536 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10539 wxFrame
*arg2
= (wxFrame
*) 0 ;
10540 wxWindow
*arg3
= (wxWindow
*) NULL
;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj1
= 0 ;
10544 PyObject
* obj2
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10551 if (SWIG_arg_fail(1)) SWIG_fail
;
10552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10553 if (SWIG_arg_fail(2)) SWIG_fail
;
10555 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10556 if (SWIG_arg_fail(3)) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10574 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10577 wxWindow
*arg2
= (wxWindow
*) 0 ;
10578 wxWindow
*arg3
= (wxWindow
*) NULL
;
10580 PyObject
* obj0
= 0 ;
10581 PyObject
* obj1
= 0 ;
10582 PyObject
* obj2
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10589 if (SWIG_arg_fail(1)) SWIG_fail
;
10590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10591 if (SWIG_arg_fail(2)) SWIG_fail
;
10593 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10594 if (SWIG_arg_fail(3)) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10612 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10615 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10617 return Py_BuildValue((char *)"");
10619 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxWindow
*arg1
= (wxWindow
*) 0 ;
10622 int arg2
= (int) wxBORDER_NONE
;
10623 wxPopupWindow
*result
;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "parent",(char *) "flags", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10632 if (SWIG_arg_fail(1)) SWIG_fail
;
10635 arg2
= (int)(SWIG_As_int(obj1
));
10636 if (SWIG_arg_fail(2)) SWIG_fail
;
10640 if (!wxPyCheckForApp()) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10654 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxPopupWindow
*result
;
10657 char *kwnames
[] = {
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10663 if (!wxPyCheckForApp()) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (wxPopupWindow
*)new wxPopupWindow();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10677 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10680 wxWindow
*arg2
= (wxWindow
*) 0 ;
10681 int arg3
= (int) wxBORDER_NONE
;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 PyObject
* obj2
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "self",(char *) "parent",(char *) "flags", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10692 if (SWIG_arg_fail(1)) SWIG_fail
;
10693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(2)) SWIG_fail
;
10697 arg3
= (int)(SWIG_As_int(obj2
));
10698 if (SWIG_arg_fail(3)) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10717 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10720 wxPoint
*arg2
= 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail
;
10736 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10740 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 Py_INCREF(Py_None
); resultobj
= Py_None
;
10756 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10759 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10761 return Py_BuildValue((char *)"");
10763 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxWindow
*arg1
= (wxWindow
*) 0 ;
10766 int arg2
= (int) wxBORDER_NONE
;
10767 wxPyPopupTransientWindow
*result
;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "parent",(char *) "style", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10776 if (SWIG_arg_fail(1)) SWIG_fail
;
10779 arg2
= (int)(SWIG_As_int(obj1
));
10780 if (SWIG_arg_fail(2)) SWIG_fail
;
10784 if (!wxPyCheckForApp()) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10798 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxPyPopupTransientWindow
*result
;
10801 char *kwnames
[] = {
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10807 if (!wxPyCheckForApp()) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10821 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10824 PyObject
*arg2
= (PyObject
*) 0 ;
10825 PyObject
*arg3
= (PyObject
*) 0 ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 PyObject
* obj2
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self",(char *) "self",(char *) "_class", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10835 if (SWIG_arg_fail(1)) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 Py_INCREF(Py_None
); resultobj
= Py_None
;
10852 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10855 wxWindow
*arg2
= (wxWindow
*) NULL
;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self",(char *) "focus", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail
;
10866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10867 if (SWIG_arg_fail(2)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->Popup(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 Py_INCREF(Py_None
); resultobj
= Py_None
;
10908 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10911 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10913 return Py_BuildValue((char *)"");
10915 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxWindow
*arg1
= (wxWindow
*) 0 ;
10918 wxString
*arg2
= 0 ;
10919 int arg3
= (int) 100 ;
10920 wxRect
*arg4
= (wxRect
*) NULL
;
10921 wxTipWindow
*result
;
10922 bool temp2
= false ;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 PyObject
* obj2
= 0 ;
10926 PyObject
* obj3
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10933 if (SWIG_arg_fail(1)) SWIG_fail
;
10935 arg2
= wxString_in_helper(obj1
);
10936 if (arg2
== NULL
) SWIG_fail
;
10941 arg3
= (int)(SWIG_As_int(obj2
));
10942 if (SWIG_arg_fail(3)) SWIG_fail
;
10946 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10947 if (SWIG_arg_fail(4)) SWIG_fail
;
10950 if (!wxPyCheckForApp()) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10972 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "rectBound", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10985 if (SWIG_arg_fail(1)) SWIG_fail
;
10988 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 Py_INCREF(Py_None
); resultobj
= Py_None
;
11004 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 Py_INCREF(Py_None
); resultobj
= Py_None
;
11029 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11032 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11034 return Py_BuildValue((char *)"");
11036 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxWindow
*arg1
= (wxWindow
*) 0 ;
11039 int arg2
= (int) wxID_ANY
;
11040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11044 long arg5
= (long) 0 ;
11045 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11046 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11047 wxPyVScrolledWindow
*result
;
11050 bool temp6
= false ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 PyObject
* obj3
= 0 ;
11055 PyObject
* obj4
= 0 ;
11056 PyObject
* obj5
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11063 if (SWIG_arg_fail(1)) SWIG_fail
;
11066 arg2
= (int)(SWIG_As_int(obj1
));
11067 if (SWIG_arg_fail(2)) SWIG_fail
;
11073 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11079 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11084 arg5
= (long)(SWIG_As_long(obj4
));
11085 if (SWIG_arg_fail(5)) SWIG_fail
;
11090 arg6
= wxString_in_helper(obj5
);
11091 if (arg6
== NULL
) SWIG_fail
;
11096 if (!wxPyCheckForApp()) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11118 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxPyVScrolledWindow
*result
;
11121 char *kwnames
[] = {
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11127 if (!wxPyCheckForApp()) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11141 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11144 PyObject
*arg2
= (PyObject
*) 0 ;
11145 PyObject
*arg3
= (PyObject
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 PyObject
* obj1
= 0 ;
11148 PyObject
* obj2
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "self",(char *) "_class", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 Py_INCREF(Py_None
); resultobj
= Py_None
;
11172 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11175 wxWindow
*arg2
= (wxWindow
*) 0 ;
11176 int arg3
= (int) wxID_ANY
;
11177 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11178 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11179 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11180 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11181 long arg6
= (long) 0 ;
11182 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11183 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11187 bool temp7
= false ;
11188 PyObject
* obj0
= 0 ;
11189 PyObject
* obj1
= 0 ;
11190 PyObject
* obj2
= 0 ;
11191 PyObject
* obj3
= 0 ;
11192 PyObject
* obj4
= 0 ;
11193 PyObject
* obj5
= 0 ;
11194 PyObject
* obj6
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11201 if (SWIG_arg_fail(1)) SWIG_fail
;
11202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11203 if (SWIG_arg_fail(2)) SWIG_fail
;
11206 arg3
= (int)(SWIG_As_int(obj2
));
11207 if (SWIG_arg_fail(3)) SWIG_fail
;
11213 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11219 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11224 arg6
= (long)(SWIG_As_long(obj5
));
11225 if (SWIG_arg_fail(6)) SWIG_fail
;
11230 arg7
= wxString_in_helper(obj6
);
11231 if (arg7
== NULL
) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11259 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self",(char *) "count", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11271 if (SWIG_arg_fail(1)) SWIG_fail
;
11273 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11274 if (SWIG_arg_fail(2)) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 (arg1
)->SetLineCount(arg2
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self",(char *) "line", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11303 if (SWIG_arg_fail(1)) SWIG_fail
;
11305 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11306 if (SWIG_arg_fail(2)) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11324 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "lines", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11337 if (SWIG_arg_fail(1)) SWIG_fail
;
11339 arg2
= (int)(SWIG_As_int(obj1
));
11340 if (SWIG_arg_fail(2)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (bool)(arg1
)->ScrollLines(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11358 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "pages", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail
;
11373 arg2
= (int)(SWIG_As_int(obj1
));
11374 if (SWIG_arg_fail(2)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (bool)(arg1
)->ScrollPages(arg2
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11392 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "line", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail
;
11406 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11407 if (SWIG_arg_fail(2)) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 (arg1
)->RefreshLine(arg2
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 Py_INCREF(Py_None
); resultobj
= Py_None
;
11423 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11428 PyObject
* obj0
= 0 ;
11429 PyObject
* obj1
= 0 ;
11430 PyObject
* obj2
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self",(char *) "from",(char *) "to", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11437 if (SWIG_arg_fail(1)) SWIG_fail
;
11439 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11440 if (SWIG_arg_fail(2)) SWIG_fail
;
11443 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11444 if (SWIG_arg_fail(3)) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 (arg1
)->RefreshLines(arg2
,arg3
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 Py_INCREF(Py_None
); resultobj
= Py_None
;
11460 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 PyObject
* obj2
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "x",(char *) "y", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11475 if (SWIG_arg_fail(1)) SWIG_fail
;
11477 arg2
= (int)(SWIG_As_int(obj1
));
11478 if (SWIG_arg_fail(2)) SWIG_fail
;
11481 arg3
= (int)(SWIG_As_int(obj2
));
11482 if (SWIG_arg_fail(3)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_From_int((int)(result
));
11500 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11503 wxPoint
*arg2
= 0 ;
11506 PyObject
* obj0
= 0 ;
11507 PyObject
* obj1
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self",(char *) "pt", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11514 if (SWIG_arg_fail(1)) SWIG_fail
;
11517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= SWIG_From_int((int)(result
));
11535 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11538 PyObject
* obj0
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "self", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11545 if (SWIG_arg_fail(1)) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 (arg1
)->RefreshAll();
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 Py_INCREF(Py_None
); resultobj
= Py_None
;
11560 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11564 PyObject
* obj0
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11588 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11592 PyObject
* obj0
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "self", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11599 if (SWIG_arg_fail(1)) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11616 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11620 PyObject
* obj0
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "self", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11627 if (SWIG_arg_fail(1)) SWIG_fail
;
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11636 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11644 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
;
11646 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self",(char *) "line", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail
;
11659 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11660 if (SWIG_arg_fail(2)) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11678 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11689 if (SWIG_arg_fail(1)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11706 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11717 if (SWIG_arg_fail(1)) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11734 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11737 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11739 return Py_BuildValue((char *)"");
11741 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11742 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11747 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11752 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11754 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11761 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxWindow
*arg1
= (wxWindow
*) 0 ;
11764 int arg2
= (int) wxID_ANY
;
11765 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11766 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11767 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11768 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11769 long arg5
= (long) 0 ;
11770 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11771 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11772 wxPyVListBox
*result
;
11775 bool temp6
= false ;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 PyObject
* obj2
= 0 ;
11779 PyObject
* obj3
= 0 ;
11780 PyObject
* obj4
= 0 ;
11781 PyObject
* obj5
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11788 if (SWIG_arg_fail(1)) SWIG_fail
;
11791 arg2
= (int)(SWIG_As_int(obj1
));
11792 if (SWIG_arg_fail(2)) SWIG_fail
;
11798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11809 arg5
= (long)(SWIG_As_long(obj4
));
11810 if (SWIG_arg_fail(5)) SWIG_fail
;
11815 arg6
= wxString_in_helper(obj5
);
11816 if (arg6
== NULL
) SWIG_fail
;
11821 if (!wxPyCheckForApp()) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11843 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11844 PyObject
*resultobj
;
11845 wxPyVListBox
*result
;
11846 char *kwnames
[] = {
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11852 if (!wxPyCheckForApp()) SWIG_fail
;
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (wxPyVListBox
*)new wxPyVListBox();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11866 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11869 PyObject
*arg2
= (PyObject
*) 0 ;
11870 PyObject
*arg3
= (PyObject
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 char *kwnames
[] = {
11875 (char *) "self",(char *) "self",(char *) "_class", NULL
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11880 if (SWIG_arg_fail(1)) SWIG_fail
;
11884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11885 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 Py_INCREF(Py_None
); resultobj
= Py_None
;
11897 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11900 wxWindow
*arg2
= (wxWindow
*) 0 ;
11901 int arg3
= (int) wxID_ANY
;
11902 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11903 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11904 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11905 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11906 long arg6
= (long) 0 ;
11907 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11908 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11912 bool temp7
= false ;
11913 PyObject
* obj0
= 0 ;
11914 PyObject
* obj1
= 0 ;
11915 PyObject
* obj2
= 0 ;
11916 PyObject
* obj3
= 0 ;
11917 PyObject
* obj4
= 0 ;
11918 PyObject
* obj5
= 0 ;
11919 PyObject
* obj6
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11926 if (SWIG_arg_fail(1)) SWIG_fail
;
11927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11928 if (SWIG_arg_fail(2)) SWIG_fail
;
11931 arg3
= (int)(SWIG_As_int(obj2
));
11932 if (SWIG_arg_fail(3)) SWIG_fail
;
11938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11949 arg6
= (long)(SWIG_As_long(obj5
));
11950 if (SWIG_arg_fail(6)) SWIG_fail
;
11955 arg7
= wxString_in_helper(obj6
);
11956 if (arg7
== NULL
) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11984 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12012 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12023 if (SWIG_arg_fail(1)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12040 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12051 if (SWIG_arg_fail(1)) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= SWIG_From_int((int)(result
));
12068 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self",(char *) "item", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12081 if (SWIG_arg_fail(1)) SWIG_fail
;
12083 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12084 if (SWIG_arg_fail(2)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12102 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self",(char *) "item", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12115 if (SWIG_arg_fail(1)) SWIG_fail
;
12117 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12118 if (SWIG_arg_fail(2)) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12136 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12147 if (SWIG_arg_fail(1)) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12164 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12168 PyObject
* obj0
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= result
;
12190 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12193 unsigned long arg2
;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self",(char *) "cookie", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12203 if (SWIG_arg_fail(1)) SWIG_fail
;
12205 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12206 if (SWIG_arg_fail(2)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= result
;
12222 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12226 PyObject
* obj0
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12233 if (SWIG_arg_fail(1)) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12242 wxPoint
* resultptr
;
12243 resultptr
= new wxPoint((wxPoint
&)(result
));
12244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12252 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12263 if (SWIG_arg_fail(1)) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12268 result
= (wxColour
*) &_result_ref
;
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12281 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 PyObject
* obj1
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self",(char *) "count", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail
;
12295 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12296 if (SWIG_arg_fail(2)) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 (arg1
)->SetItemCount(arg2
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 Py_INCREF(Py_None
); resultobj
= Py_None
;
12312 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 Py_INCREF(Py_None
); resultobj
= Py_None
;
12337 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 PyObject
* obj1
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self",(char *) "selection", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12349 if (SWIG_arg_fail(1)) SWIG_fail
;
12351 arg2
= (int)(SWIG_As_int(obj1
));
12352 if (SWIG_arg_fail(2)) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 (arg1
)->SetSelection(arg2
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 Py_INCREF(Py_None
); resultobj
= Py_None
;
12368 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12372 bool arg3
= (bool) true ;
12374 PyObject
* obj0
= 0 ;
12375 PyObject
* obj1
= 0 ;
12376 PyObject
* obj2
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self",(char *) "item",(char *) "select", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12383 if (SWIG_arg_fail(1)) SWIG_fail
;
12385 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12386 if (SWIG_arg_fail(2)) SWIG_fail
;
12390 arg3
= (bool)(SWIG_As_bool(obj2
));
12391 if (SWIG_arg_fail(3)) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12410 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 PyObject
* obj1
= 0 ;
12418 PyObject
* obj2
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self",(char *) "from",(char *) "to", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12425 if (SWIG_arg_fail(1)) SWIG_fail
;
12427 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12428 if (SWIG_arg_fail(2)) SWIG_fail
;
12431 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12432 if (SWIG_arg_fail(3)) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12450 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 PyObject
* obj1
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self",(char *) "item", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12462 if (SWIG_arg_fail(1)) SWIG_fail
;
12464 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12465 if (SWIG_arg_fail(2)) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 (arg1
)->Toggle(arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 Py_INCREF(Py_None
); resultobj
= Py_None
;
12481 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12492 if (SWIG_arg_fail(1)) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->SelectAll();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12509 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12520 if (SWIG_arg_fail(1)) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (bool)(arg1
)->DeselectAll();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12537 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12540 wxPoint
*arg2
= 0 ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self",(char *) "pt", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail
;
12553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self",(char *) "x",(char *) "y", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail
;
12585 arg2
= (int)(SWIG_As_int(obj1
));
12586 if (SWIG_arg_fail(2)) SWIG_fail
;
12589 arg3
= (int)(SWIG_As_int(obj2
));
12590 if (SWIG_arg_fail(3)) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 (arg1
)->SetMargins(arg2
,arg3
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 Py_INCREF(Py_None
); resultobj
= Py_None
;
12606 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12609 wxColour
*arg2
= 0 ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self",(char *) "col", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12619 if (SWIG_arg_fail(1)) SWIG_fail
;
12622 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12638 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12641 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12643 return Py_BuildValue((char *)"");
12645 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxWindow
*arg1
= (wxWindow
*) 0 ;
12648 int arg2
= (int) wxID_ANY
;
12649 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12650 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12651 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12652 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12653 long arg5
= (long) 0 ;
12654 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12655 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12656 wxPyHtmlListBox
*result
;
12659 bool temp6
= false ;
12660 PyObject
* obj0
= 0 ;
12661 PyObject
* obj1
= 0 ;
12662 PyObject
* obj2
= 0 ;
12663 PyObject
* obj3
= 0 ;
12664 PyObject
* obj4
= 0 ;
12665 PyObject
* obj5
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12672 if (SWIG_arg_fail(1)) SWIG_fail
;
12675 arg2
= (int)(SWIG_As_int(obj1
));
12676 if (SWIG_arg_fail(2)) SWIG_fail
;
12682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12688 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12693 arg5
= (long)(SWIG_As_long(obj4
));
12694 if (SWIG_arg_fail(5)) SWIG_fail
;
12699 arg6
= wxString_in_helper(obj5
);
12700 if (arg6
== NULL
) SWIG_fail
;
12705 if (!wxPyCheckForApp()) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12727 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxPyHtmlListBox
*result
;
12730 char *kwnames
[] = {
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12736 if (!wxPyCheckForApp()) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12750 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12753 PyObject
*arg2
= (PyObject
*) 0 ;
12754 PyObject
*arg3
= (PyObject
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 PyObject
* obj2
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self",(char *) "self",(char *) "_class", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12764 if (SWIG_arg_fail(1)) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 Py_INCREF(Py_None
); resultobj
= Py_None
;
12781 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12784 wxWindow
*arg2
= (wxWindow
*) 0 ;
12785 int arg3
= (int) wxID_ANY
;
12786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12790 long arg6
= (long) 0 ;
12791 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12792 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12796 bool temp7
= false ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 PyObject
* obj2
= 0 ;
12800 PyObject
* obj3
= 0 ;
12801 PyObject
* obj4
= 0 ;
12802 PyObject
* obj5
= 0 ;
12803 PyObject
* obj6
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12810 if (SWIG_arg_fail(1)) SWIG_fail
;
12811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12812 if (SWIG_arg_fail(2)) SWIG_fail
;
12815 arg3
= (int)(SWIG_As_int(obj2
));
12816 if (SWIG_arg_fail(3)) SWIG_fail
;
12822 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12828 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12833 arg6
= (long)(SWIG_As_long(obj5
));
12834 if (SWIG_arg_fail(6)) SWIG_fail
;
12839 arg7
= wxString_in_helper(obj6
);
12840 if (arg7
== NULL
) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12868 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12878 if (SWIG_arg_fail(1)) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 (arg1
)->RefreshAll();
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 Py_INCREF(Py_None
); resultobj
= Py_None
;
12893 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
;
12895 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12897 PyObject
* obj0
= 0 ;
12898 PyObject
* obj1
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self",(char *) "count", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12905 if (SWIG_arg_fail(1)) SWIG_fail
;
12907 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12908 if (SWIG_arg_fail(2)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->SetItemCount(arg2
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12927 wxFileSystem
*result
;
12928 PyObject
* obj0
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12935 if (SWIG_arg_fail(1)) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12940 result
= (wxFileSystem
*) &_result_ref
;
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12953 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12956 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12958 return Py_BuildValue((char *)"");
12960 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxPyTaskBarIcon
*result
;
12963 char *kwnames
[] = {
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12969 if (!wxPyCheckForApp()) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12983 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12986 PyObject
*arg2
= (PyObject
*) 0 ;
12987 PyObject
*arg3
= (PyObject
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 PyObject
* obj2
= 0 ;
12992 PyObject
* obj3
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12999 if (SWIG_arg_fail(1)) SWIG_fail
;
13003 arg4
= (int)(SWIG_As_int(obj3
));
13004 if (SWIG_arg_fail(4)) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 Py_INCREF(Py_None
); resultobj
= Py_None
;
13020 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13030 if (SWIG_arg_fail(1)) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 wxPyTaskBarIcon_Destroy(arg1
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 Py_INCREF(Py_None
); resultobj
= Py_None
;
13045 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13056 if (SWIG_arg_fail(1)) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13073 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13084 if (SWIG_arg_fail(1)) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13101 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13105 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13106 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13108 bool temp3
= false ;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 PyObject
* obj2
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13118 if (SWIG_arg_fail(1)) SWIG_fail
;
13120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13121 if (SWIG_arg_fail(2)) SWIG_fail
;
13122 if (arg2
== NULL
) {
13123 SWIG_null_ref("wxIcon");
13125 if (SWIG_arg_fail(2)) SWIG_fail
;
13129 arg3
= wxString_in_helper(obj2
);
13130 if (arg3
== NULL
) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13158 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13169 if (SWIG_arg_fail(1)) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (bool)(arg1
)->RemoveIcon();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13186 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13189 wxMenu
*arg2
= (wxMenu
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "menu", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail
;
13200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13201 if (SWIG_arg_fail(2)) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (bool)(arg1
)->PopupMenu(arg2
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13218 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13221 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13223 return Py_BuildValue((char *)"");
13225 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13228 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13229 wxTaskBarIconEvent
*result
;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "evtType",(char *) "tbIcon", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13238 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13239 if (SWIG_arg_fail(1)) SWIG_fail
;
13241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13242 if (SWIG_arg_fail(2)) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13257 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13260 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13262 return Py_BuildValue((char *)"");
13264 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13265 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13270 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13275 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13277 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13284 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13285 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13290 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13295 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13297 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13304 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13305 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13310 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13315 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13317 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13324 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13325 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13330 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13335 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13337 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13344 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13345 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13350 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13355 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13357 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13364 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13365 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13370 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13375 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13377 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13384 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxColourData
*result
;
13387 char *kwnames
[] = {
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (wxColourData
*)new wxColourData();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13406 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxColourData
*arg1
= (wxColourData
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13416 if (SWIG_arg_fail(1)) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 Py_INCREF(Py_None
); resultobj
= Py_None
;
13431 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxColourData
*arg1
= (wxColourData
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)(arg1
)->GetChooseFull();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13459 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxColourData
*arg1
= (wxColourData
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13470 if (SWIG_arg_fail(1)) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (arg1
)->GetColour();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 wxColour
* resultptr
;
13480 resultptr
= new wxColour((wxColour
&)(result
));
13481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13489 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxColourData
*arg1
= (wxColourData
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 PyObject
* obj1
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self",(char *) "i", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13502 if (SWIG_arg_fail(1)) SWIG_fail
;
13504 arg2
= (int)(SWIG_As_int(obj1
));
13505 if (SWIG_arg_fail(2)) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (arg1
)->GetCustomColour(arg2
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13515 wxColour
* resultptr
;
13516 resultptr
= new wxColour((wxColour
&)(result
));
13517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13525 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxColourData
*arg1
= (wxColourData
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self",(char *) "flag", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13537 if (SWIG_arg_fail(1)) SWIG_fail
;
13539 arg2
= (int)(SWIG_As_int(obj1
));
13540 if (SWIG_arg_fail(2)) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 (arg1
)->SetChooseFull(arg2
);
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 Py_INCREF(Py_None
); resultobj
= Py_None
;
13556 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxColourData
*arg1
= (wxColourData
*) 0 ;
13559 wxColour
*arg2
= 0 ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "colour", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13569 if (SWIG_arg_fail(1)) SWIG_fail
;
13572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 (arg1
)->SetColour((wxColour
const &)*arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 Py_INCREF(Py_None
); resultobj
= Py_None
;
13588 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxColourData
*arg1
= (wxColourData
*) 0 ;
13592 wxColour
*arg3
= 0 ;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 PyObject
* obj2
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "i",(char *) "colour", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13603 if (SWIG_arg_fail(1)) SWIG_fail
;
13605 arg2
= (int)(SWIG_As_int(obj1
));
13606 if (SWIG_arg_fail(2)) SWIG_fail
;
13610 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 Py_INCREF(Py_None
); resultobj
= Py_None
;
13626 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13629 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13631 return Py_BuildValue((char *)"");
13633 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxWindow
*arg1
= (wxWindow
*) 0 ;
13636 wxColourData
*arg2
= (wxColourData
*) NULL
;
13637 wxColourDialog
*result
;
13638 PyObject
* obj0
= 0 ;
13639 PyObject
* obj1
= 0 ;
13640 char *kwnames
[] = {
13641 (char *) "parent",(char *) "data", NULL
13644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13646 if (SWIG_arg_fail(1)) SWIG_fail
;
13648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13649 if (SWIG_arg_fail(2)) SWIG_fail
;
13652 if (!wxPyCheckForApp()) SWIG_fail
;
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13666 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13669 wxColourData
*result
;
13670 PyObject
* obj0
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "self", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13677 if (SWIG_arg_fail(1)) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13682 result
= (wxColourData
*) &_result_ref
;
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13695 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13698 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13700 return Py_BuildValue((char *)"");
13702 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxWindow
*arg1
= (wxWindow
*) 0 ;
13705 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13706 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13707 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13708 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13709 long arg4
= (long) 0 ;
13710 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13711 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13712 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13713 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13714 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13715 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13716 wxDirDialog
*result
;
13717 bool temp2
= false ;
13718 bool temp3
= false ;
13721 bool temp7
= false ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 PyObject
* obj2
= 0 ;
13725 PyObject
* obj3
= 0 ;
13726 PyObject
* obj4
= 0 ;
13727 PyObject
* obj5
= 0 ;
13728 PyObject
* obj6
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13735 if (SWIG_arg_fail(1)) SWIG_fail
;
13738 arg2
= wxString_in_helper(obj1
);
13739 if (arg2
== NULL
) SWIG_fail
;
13745 arg3
= wxString_in_helper(obj2
);
13746 if (arg3
== NULL
) SWIG_fail
;
13752 arg4
= (long)(SWIG_As_long(obj3
));
13753 if (SWIG_arg_fail(4)) SWIG_fail
;
13759 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13765 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13770 arg7
= wxString_in_helper(obj6
);
13771 if (arg7
== NULL
) SWIG_fail
;
13776 if (!wxPyCheckForApp()) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13814 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13825 if (SWIG_arg_fail(1)) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (arg1
)->GetPath();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13846 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 char *kwnames
[] = {
13852 (char *) "self", NULL
13855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13857 if (SWIG_arg_fail(1)) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (arg1
)->GetMessage();
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13878 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13889 if (SWIG_arg_fail(1)) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (long)(arg1
)->GetStyle();
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= SWIG_From_long((long)(result
));
13906 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13909 wxString
*arg2
= 0 ;
13910 bool temp2
= false ;
13911 PyObject
* obj0
= 0 ;
13912 PyObject
* obj1
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self",(char *) "message", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13919 if (SWIG_arg_fail(1)) SWIG_fail
;
13921 arg2
= wxString_in_helper(obj1
);
13922 if (arg2
== NULL
) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 (arg1
)->SetMessage((wxString
const &)*arg2
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13950 wxString
*arg2
= 0 ;
13951 bool temp2
= false ;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self",(char *) "path", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13960 if (SWIG_arg_fail(1)) SWIG_fail
;
13962 arg2
= wxString_in_helper(obj1
);
13963 if (arg2
== NULL
) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 (arg1
)->SetPath((wxString
const &)*arg2
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13991 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13993 return Py_BuildValue((char *)"");
13995 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxWindow
*arg1
= (wxWindow
*) 0 ;
13998 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13999 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14000 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14001 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14002 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14003 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14004 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14005 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14006 long arg6
= (long) 0 ;
14007 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14008 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14009 wxFileDialog
*result
;
14010 bool temp2
= false ;
14011 bool temp3
= false ;
14012 bool temp4
= false ;
14013 bool temp5
= false ;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 PyObject
* obj2
= 0 ;
14018 PyObject
* obj3
= 0 ;
14019 PyObject
* obj4
= 0 ;
14020 PyObject
* obj5
= 0 ;
14021 PyObject
* obj6
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail
;
14031 arg2
= wxString_in_helper(obj1
);
14032 if (arg2
== NULL
) SWIG_fail
;
14038 arg3
= wxString_in_helper(obj2
);
14039 if (arg3
== NULL
) SWIG_fail
;
14045 arg4
= wxString_in_helper(obj3
);
14046 if (arg4
== NULL
) SWIG_fail
;
14052 arg5
= wxString_in_helper(obj4
);
14053 if (arg5
== NULL
) SWIG_fail
;
14059 arg6
= (long)(SWIG_As_long(obj5
));
14060 if (SWIG_arg_fail(6)) SWIG_fail
;
14066 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14070 if (!wxPyCheckForApp()) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14116 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14119 wxString
*arg2
= 0 ;
14120 bool temp2
= false ;
14121 PyObject
* obj0
= 0 ;
14122 PyObject
* obj1
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self",(char *) "message", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14129 if (SWIG_arg_fail(1)) SWIG_fail
;
14131 arg2
= wxString_in_helper(obj1
);
14132 if (arg2
== NULL
) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 (arg1
)->SetMessage((wxString
const &)*arg2
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 Py_INCREF(Py_None
); resultobj
= Py_None
;
14157 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14160 wxString
*arg2
= 0 ;
14161 bool temp2
= false ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self",(char *) "path", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14170 if (SWIG_arg_fail(1)) SWIG_fail
;
14172 arg2
= wxString_in_helper(obj1
);
14173 if (arg2
== NULL
) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->SetPath((wxString
const &)*arg2
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 Py_INCREF(Py_None
); resultobj
= Py_None
;
14198 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14201 wxString
*arg2
= 0 ;
14202 bool temp2
= false ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "dir", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail
;
14213 arg2
= wxString_in_helper(obj1
);
14214 if (arg2
== NULL
) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 Py_INCREF(Py_None
); resultobj
= Py_None
;
14239 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14242 wxString
*arg2
= 0 ;
14243 bool temp2
= false ;
14244 PyObject
* obj0
= 0 ;
14245 PyObject
* obj1
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self",(char *) "name", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail
;
14254 arg2
= wxString_in_helper(obj1
);
14255 if (arg2
== NULL
) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 (arg1
)->SetFilename((wxString
const &)*arg2
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 Py_INCREF(Py_None
); resultobj
= Py_None
;
14280 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14283 wxString
*arg2
= 0 ;
14284 bool temp2
= false ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "wildCard", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14293 if (SWIG_arg_fail(1)) SWIG_fail
;
14295 arg2
= wxString_in_helper(obj1
);
14296 if (arg2
== NULL
) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self",(char *) "style", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14333 if (SWIG_arg_fail(1)) SWIG_fail
;
14335 arg2
= (long)(SWIG_As_long(obj1
));
14336 if (SWIG_arg_fail(2)) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 (arg1
)->SetStyle(arg2
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 Py_INCREF(Py_None
); resultobj
= Py_None
;
14352 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14356 PyObject
* obj0
= 0 ;
14357 PyObject
* obj1
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "filterIndex", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail
;
14366 arg2
= (int)(SWIG_As_int(obj1
));
14367 if (SWIG_arg_fail(2)) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->SetFilterIndex(arg2
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14394 if (SWIG_arg_fail(1)) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14415 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14447 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14451 PyObject
* obj0
= 0 ;
14452 char *kwnames
[] = {
14453 (char *) "self", NULL
14456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14458 if (SWIG_arg_fail(1)) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14479 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14490 if (SWIG_arg_fail(1)) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14511 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14522 if (SWIG_arg_fail(1)) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14543 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14554 if (SWIG_arg_fail(1)) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= SWIG_From_long((long)(result
));
14571 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14582 if (SWIG_arg_fail(1)) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= SWIG_From_int((int)(result
));
14599 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14610 if (SWIG_arg_fail(1)) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
;
14625 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14636 if (SWIG_arg_fail(1)) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= result
;
14651 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14654 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14656 return Py_BuildValue((char *)"");
14658 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxWindow
*arg1
= (wxWindow
*) 0 ;
14661 wxString
*arg2
= 0 ;
14662 wxString
*arg3
= 0 ;
14663 int arg4
= (int) 0 ;
14664 wxString
*arg5
= (wxString
*) NULL
;
14665 long arg6
= (long) wxCHOICEDLG_STYLE
;
14666 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14667 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14668 wxMultiChoiceDialog
*result
;
14669 bool temp2
= false ;
14670 bool temp3
= false ;
14672 PyObject
* obj0
= 0 ;
14673 PyObject
* obj1
= 0 ;
14674 PyObject
* obj2
= 0 ;
14675 PyObject
* obj3
= 0 ;
14676 PyObject
* obj4
= 0 ;
14677 PyObject
* obj5
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14684 if (SWIG_arg_fail(1)) SWIG_fail
;
14686 arg2
= wxString_in_helper(obj1
);
14687 if (arg2
== NULL
) SWIG_fail
;
14691 arg3
= wxString_in_helper(obj2
);
14692 if (arg3
== NULL
) SWIG_fail
;
14697 arg4
= PyList_Size(obj3
);
14698 arg5
= wxString_LIST_helper(obj3
);
14699 if (arg5
== NULL
) SWIG_fail
;
14704 arg6
= (long)(SWIG_As_long(obj4
));
14705 if (SWIG_arg_fail(6)) SWIG_fail
;
14711 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14715 if (!wxPyCheckForApp()) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14732 if (arg5
) delete [] arg5
;
14745 if (arg5
) delete [] arg5
;
14751 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14754 wxArrayInt
*arg2
= 0 ;
14755 bool temp2
= false ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "selections", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14764 if (SWIG_arg_fail(1)) SWIG_fail
;
14766 if (! PySequence_Check(obj1
)) {
14767 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14770 arg2
= new wxArrayInt
;
14772 int i
, len
=PySequence_Length(obj1
);
14773 for (i
=0; i
<len
; i
++) {
14774 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14775 PyObject
* number
= PyNumber_Int(item
);
14776 arg2
->Add(PyInt_AS_LONG(number
));
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 Py_INCREF(Py_None
); resultobj
= Py_None
;
14790 if (temp2
) delete arg2
;
14795 if (temp2
) delete arg2
;
14801 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
;
14803 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14805 PyObject
* obj0
= 0 ;
14806 char *kwnames
[] = {
14807 (char *) "self", NULL
14810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14812 if (SWIG_arg_fail(1)) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= result
;
14827 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14830 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14832 return Py_BuildValue((char *)"");
14834 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxWindow
*arg1
= (wxWindow
*) 0 ;
14837 wxString
*arg2
= 0 ;
14838 wxString
*arg3
= 0 ;
14840 wxString
*arg5
= (wxString
*) 0 ;
14841 long arg6
= (long) wxCHOICEDLG_STYLE
;
14842 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14843 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14844 wxSingleChoiceDialog
*result
;
14845 bool temp2
= false ;
14846 bool temp3
= false ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 PyObject
* obj2
= 0 ;
14851 PyObject
* obj3
= 0 ;
14852 PyObject
* obj4
= 0 ;
14853 PyObject
* obj5
= 0 ;
14854 char *kwnames
[] = {
14855 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14860 if (SWIG_arg_fail(1)) SWIG_fail
;
14862 arg2
= wxString_in_helper(obj1
);
14863 if (arg2
== NULL
) SWIG_fail
;
14867 arg3
= wxString_in_helper(obj2
);
14868 if (arg3
== NULL
) SWIG_fail
;
14872 arg4
= PyList_Size(obj3
);
14873 arg5
= wxString_LIST_helper(obj3
);
14874 if (arg5
== NULL
) SWIG_fail
;
14878 arg6
= (long)(SWIG_As_long(obj4
));
14879 if (SWIG_arg_fail(6)) SWIG_fail
;
14885 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14889 if (!wxPyCheckForApp()) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14906 if (arg5
) delete [] arg5
;
14919 if (arg5
) delete [] arg5
;
14925 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (int)(arg1
)->GetSelection();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_From_int((int)(result
));
14953 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (arg1
)->GetStringSelection();
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14985 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 PyObject
* obj1
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "sel", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14997 if (SWIG_arg_fail(1)) SWIG_fail
;
14999 arg2
= (int)(SWIG_As_int(obj1
));
15000 if (SWIG_arg_fail(2)) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 (arg1
)->SetSelection(arg2
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 Py_INCREF(Py_None
); resultobj
= Py_None
;
15016 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15019 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15021 return Py_BuildValue((char *)"");
15023 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxWindow
*arg1
= (wxWindow
*) 0 ;
15026 wxString
*arg2
= 0 ;
15027 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15028 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15029 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15030 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15031 long arg5
= (long) wxTextEntryDialogStyle
;
15032 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15033 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15034 wxTextEntryDialog
*result
;
15035 bool temp2
= false ;
15036 bool temp3
= false ;
15037 bool temp4
= false ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 PyObject
* obj2
= 0 ;
15042 PyObject
* obj3
= 0 ;
15043 PyObject
* obj4
= 0 ;
15044 PyObject
* obj5
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15051 if (SWIG_arg_fail(1)) SWIG_fail
;
15053 arg2
= wxString_in_helper(obj1
);
15054 if (arg2
== NULL
) SWIG_fail
;
15059 arg3
= wxString_in_helper(obj2
);
15060 if (arg3
== NULL
) SWIG_fail
;
15066 arg4
= wxString_in_helper(obj3
);
15067 if (arg4
== NULL
) SWIG_fail
;
15073 arg5
= (long)(SWIG_As_long(obj4
));
15074 if (SWIG_arg_fail(5)) SWIG_fail
;
15080 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15084 if (!wxPyCheckForApp()) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15122 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15133 if (SWIG_arg_fail(1)) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (arg1
)->GetValue();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15154 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15157 wxString
*arg2
= 0 ;
15158 bool temp2
= false ;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "value", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15167 if (SWIG_arg_fail(1)) SWIG_fail
;
15169 arg2
= wxString_in_helper(obj1
);
15170 if (arg2
== NULL
) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->SetValue((wxString
const &)*arg2
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15195 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15198 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15200 return Py_BuildValue((char *)"");
15202 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15203 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15208 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15213 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15215 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15222 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 wxWindow
*arg1
= (wxWindow
*) 0 ;
15225 wxString
*arg2
= 0 ;
15226 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15227 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15228 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15229 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15230 long arg5
= (long) wxTextEntryDialogStyle
;
15231 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15232 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15233 wxPasswordEntryDialog
*result
;
15234 bool temp2
= false ;
15235 bool temp3
= false ;
15236 bool temp4
= false ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 PyObject
* obj2
= 0 ;
15241 PyObject
* obj3
= 0 ;
15242 PyObject
* obj4
= 0 ;
15243 PyObject
* obj5
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15250 if (SWIG_arg_fail(1)) SWIG_fail
;
15252 arg2
= wxString_in_helper(obj1
);
15253 if (arg2
== NULL
) SWIG_fail
;
15258 arg3
= wxString_in_helper(obj2
);
15259 if (arg3
== NULL
) SWIG_fail
;
15265 arg4
= wxString_in_helper(obj3
);
15266 if (arg4
== NULL
) SWIG_fail
;
15272 arg5
= (long)(SWIG_As_long(obj4
));
15273 if (SWIG_arg_fail(5)) SWIG_fail
;
15279 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15320 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15323 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15325 return Py_BuildValue((char *)"");
15327 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxFontData
*result
;
15330 char *kwnames
[] = {
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (wxFontData
*)new wxFontData();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15349 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxFontData
*arg1
= (wxFontData
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15359 if (SWIG_arg_fail(1)) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 Py_INCREF(Py_None
); resultobj
= Py_None
;
15374 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxFontData
*arg1
= (wxFontData
*) 0 ;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "enable", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15386 if (SWIG_arg_fail(1)) SWIG_fail
;
15388 arg2
= (bool)(SWIG_As_bool(obj1
));
15389 if (SWIG_arg_fail(2)) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 (arg1
)->EnableEffects(arg2
);
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 Py_INCREF(Py_None
); resultobj
= Py_None
;
15405 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxFontData
*arg1
= (wxFontData
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15416 if (SWIG_arg_fail(1)) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)(arg1
)->GetAllowSymbols();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15433 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxFontData
*arg1
= (wxFontData
*) 0 ;
15437 PyObject
* obj0
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15444 if (SWIG_arg_fail(1)) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (arg1
)->GetColour();
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15453 wxColour
* resultptr
;
15454 resultptr
= new wxColour((wxColour
&)(result
));
15455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15463 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxFontData
*arg1
= (wxFontData
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15474 if (SWIG_arg_fail(1)) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (arg1
)->GetChosenFont();
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15483 wxFont
* resultptr
;
15484 resultptr
= new wxFont((wxFont
&)(result
));
15485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15493 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxFontData
*arg1
= (wxFontData
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15504 if (SWIG_arg_fail(1)) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (bool)(arg1
)->GetEnableEffects();
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15521 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxFontData
*arg1
= (wxFontData
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (arg1
)->GetInitialFont();
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15541 wxFont
* resultptr
;
15542 resultptr
= new wxFont((wxFont
&)(result
));
15543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15551 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxFontData
*arg1
= (wxFontData
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "self", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15562 if (SWIG_arg_fail(1)) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (bool)(arg1
)->GetShowHelp();
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15579 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxFontData
*arg1
= (wxFontData
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self",(char *) "allowSymbols", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15591 if (SWIG_arg_fail(1)) SWIG_fail
;
15593 arg2
= (bool)(SWIG_As_bool(obj1
));
15594 if (SWIG_arg_fail(2)) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 (arg1
)->SetAllowSymbols(arg2
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 Py_INCREF(Py_None
); resultobj
= Py_None
;
15610 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxFontData
*arg1
= (wxFontData
*) 0 ;
15614 PyObject
* obj0
= 0 ;
15615 PyObject
* obj1
= 0 ;
15616 char *kwnames
[] = {
15617 (char *) "self",(char *) "font", NULL
15620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15622 if (SWIG_arg_fail(1)) SWIG_fail
;
15624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(2)) SWIG_fail
;
15626 if (arg2
== NULL
) {
15627 SWIG_null_ref("wxFont");
15629 if (SWIG_arg_fail(2)) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 Py_INCREF(Py_None
); resultobj
= Py_None
;
15645 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxFontData
*arg1
= (wxFontData
*) 0 ;
15648 wxColour
*arg2
= 0 ;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self",(char *) "colour", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15658 if (SWIG_arg_fail(1)) SWIG_fail
;
15661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->SetColour((wxColour
const &)*arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15677 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxFontData
*arg1
= (wxFontData
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "font", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail
;
15691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15692 if (SWIG_arg_fail(2)) SWIG_fail
;
15693 if (arg2
== NULL
) {
15694 SWIG_null_ref("wxFont");
15696 if (SWIG_arg_fail(2)) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 Py_INCREF(Py_None
); resultobj
= Py_None
;
15712 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxFontData
*arg1
= (wxFontData
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 PyObject
* obj2
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self",(char *) "min",(char *) "max", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15726 if (SWIG_arg_fail(1)) SWIG_fail
;
15728 arg2
= (int)(SWIG_As_int(obj1
));
15729 if (SWIG_arg_fail(2)) SWIG_fail
;
15732 arg3
= (int)(SWIG_As_int(obj2
));
15733 if (SWIG_arg_fail(3)) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 (arg1
)->SetRange(arg2
,arg3
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 Py_INCREF(Py_None
); resultobj
= Py_None
;
15749 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxFontData
*arg1
= (wxFontData
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 PyObject
* obj1
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "self",(char *) "showHelp", NULL
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15761 if (SWIG_arg_fail(1)) SWIG_fail
;
15763 arg2
= (bool)(SWIG_As_bool(obj1
));
15764 if (SWIG_arg_fail(2)) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 (arg1
)->SetShowHelp(arg2
);
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 Py_INCREF(Py_None
); resultobj
= Py_None
;
15780 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15783 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15785 return Py_BuildValue((char *)"");
15787 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxWindow
*arg1
= (wxWindow
*) 0 ;
15790 wxFontData
*arg2
= 0 ;
15791 wxFontDialog
*result
;
15792 PyObject
* obj0
= 0 ;
15793 PyObject
* obj1
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "parent",(char *) "data", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15800 if (SWIG_arg_fail(1)) SWIG_fail
;
15802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15803 if (SWIG_arg_fail(2)) SWIG_fail
;
15804 if (arg2
== NULL
) {
15805 SWIG_null_ref("wxFontData");
15807 if (SWIG_arg_fail(2)) SWIG_fail
;
15810 if (!wxPyCheckForApp()) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15824 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15827 wxFontData
*result
;
15828 PyObject
* obj0
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15835 if (SWIG_arg_fail(1)) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15840 result
= (wxFontData
*) &_result_ref
;
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15853 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15856 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15858 return Py_BuildValue((char *)"");
15860 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxWindow
*arg1
= (wxWindow
*) 0 ;
15863 wxString
*arg2
= 0 ;
15864 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15866 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15867 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15868 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15869 wxMessageDialog
*result
;
15870 bool temp2
= false ;
15871 bool temp3
= false ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 PyObject
* obj2
= 0 ;
15876 PyObject
* obj3
= 0 ;
15877 PyObject
* obj4
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15884 if (SWIG_arg_fail(1)) SWIG_fail
;
15886 arg2
= wxString_in_helper(obj1
);
15887 if (arg2
== NULL
) SWIG_fail
;
15892 arg3
= wxString_in_helper(obj2
);
15893 if (arg3
== NULL
) SWIG_fail
;
15899 arg4
= (long)(SWIG_As_long(obj3
));
15900 if (SWIG_arg_fail(4)) SWIG_fail
;
15906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15910 if (!wxPyCheckForApp()) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15940 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15943 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15945 return Py_BuildValue((char *)"");
15947 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxString
*arg1
= 0 ;
15950 wxString
*arg2
= 0 ;
15951 int arg3
= (int) 100 ;
15952 wxWindow
*arg4
= (wxWindow
*) NULL
;
15953 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15954 wxProgressDialog
*result
;
15955 bool temp1
= false ;
15956 bool temp2
= false ;
15957 PyObject
* obj0
= 0 ;
15958 PyObject
* obj1
= 0 ;
15959 PyObject
* obj2
= 0 ;
15960 PyObject
* obj3
= 0 ;
15961 PyObject
* obj4
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15968 arg1
= wxString_in_helper(obj0
);
15969 if (arg1
== NULL
) SWIG_fail
;
15973 arg2
= wxString_in_helper(obj1
);
15974 if (arg2
== NULL
) SWIG_fail
;
15979 arg3
= (int)(SWIG_As_int(obj2
));
15980 if (SWIG_arg_fail(3)) SWIG_fail
;
15984 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15985 if (SWIG_arg_fail(4)) SWIG_fail
;
15989 arg5
= (int)(SWIG_As_int(obj4
));
15990 if (SWIG_arg_fail(5)) SWIG_fail
;
15994 if (!wxPyCheckForApp()) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16024 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16028 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16029 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16031 bool temp3
= false ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 PyObject
* obj2
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16041 if (SWIG_arg_fail(1)) SWIG_fail
;
16043 arg2
= (int)(SWIG_As_int(obj1
));
16044 if (SWIG_arg_fail(2)) SWIG_fail
;
16048 arg3
= wxString_in_helper(obj2
);
16049 if (arg3
== NULL
) SWIG_fail
;
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16077 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 char *kwnames
[] = {
16082 (char *) "self", NULL
16085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16087 if (SWIG_arg_fail(1)) SWIG_fail
;
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 Py_INCREF(Py_None
); resultobj
= Py_None
;
16102 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16105 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16107 return Py_BuildValue((char *)"");
16109 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16112 int arg2
= (int) 0 ;
16113 wxFindDialogEvent
*result
;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "commandType",(char *) "id", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16123 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16124 if (SWIG_arg_fail(1)) SWIG_fail
;
16129 arg2
= (int)(SWIG_As_int(obj1
));
16130 if (SWIG_arg_fail(2)) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16147 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16158 if (SWIG_arg_fail(1)) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (int)(arg1
)->GetFlags();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= SWIG_From_int((int)(result
));
16175 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16186 if (SWIG_arg_fail(1)) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 wxString
const &_result_ref
= (arg1
)->GetFindString();
16191 result
= (wxString
*) &_result_ref
;
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16201 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16210 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16221 if (SWIG_arg_fail(1)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16226 result
= (wxString
*) &_result_ref
;
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16236 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16245 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16248 wxFindReplaceDialog
*result
;
16249 PyObject
* obj0
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16256 if (SWIG_arg_fail(1)) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16271 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self",(char *) "flags", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16283 if (SWIG_arg_fail(1)) SWIG_fail
;
16285 arg2
= (int)(SWIG_As_int(obj1
));
16286 if (SWIG_arg_fail(2)) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->SetFlags(arg2
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16302 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16305 wxString
*arg2
= 0 ;
16306 bool temp2
= false ;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "str", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 arg2
= wxString_in_helper(obj1
);
16318 if (arg2
== NULL
) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 (arg1
)->SetFindString((wxString
const &)*arg2
);
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16346 wxString
*arg2
= 0 ;
16347 bool temp2
= false ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "str", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16356 if (SWIG_arg_fail(1)) SWIG_fail
;
16358 arg2
= wxString_in_helper(obj1
);
16359 if (arg2
== NULL
) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16387 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16389 return Py_BuildValue((char *)"");
16391 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 int arg1
= (int) 0 ;
16394 wxFindReplaceData
*result
;
16395 PyObject
* obj0
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "flags", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16403 arg1
= (int)(SWIG_As_int(obj0
));
16404 if (SWIG_arg_fail(1)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16421 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16431 if (SWIG_arg_fail(1)) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 Py_INCREF(Py_None
); resultobj
= Py_None
;
16446 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 wxString
const &_result_ref
= (arg1
)->GetFindString();
16462 result
= (wxString
*) &_result_ref
;
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16472 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16481 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16492 if (SWIG_arg_fail(1)) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16497 result
= (wxString
*) &_result_ref
;
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16507 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16516 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16527 if (SWIG_arg_fail(1)) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (int)(arg1
)->GetFlags();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= SWIG_From_int((int)(result
));
16544 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self",(char *) "flags", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail
;
16558 arg2
= (int)(SWIG_As_int(obj1
));
16559 if (SWIG_arg_fail(2)) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 (arg1
)->SetFlags(arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 Py_INCREF(Py_None
); resultobj
= Py_None
;
16575 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16578 wxString
*arg2
= 0 ;
16579 bool temp2
= false ;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "self",(char *) "str", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16588 if (SWIG_arg_fail(1)) SWIG_fail
;
16590 arg2
= wxString_in_helper(obj1
);
16591 if (arg2
== NULL
) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 (arg1
)->SetFindString((wxString
const &)*arg2
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16619 wxString
*arg2
= 0 ;
16620 bool temp2
= false ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "str", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16629 if (SWIG_arg_fail(1)) SWIG_fail
;
16631 arg2
= wxString_in_helper(obj1
);
16632 if (arg2
== NULL
) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16660 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16662 return Py_BuildValue((char *)"");
16664 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxWindow
*arg1
= (wxWindow
*) 0 ;
16667 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16668 wxString
*arg3
= 0 ;
16669 int arg4
= (int) 0 ;
16670 wxFindReplaceDialog
*result
;
16671 bool temp3
= false ;
16672 PyObject
* obj0
= 0 ;
16673 PyObject
* obj1
= 0 ;
16674 PyObject
* obj2
= 0 ;
16675 PyObject
* obj3
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail
;
16683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16684 if (SWIG_arg_fail(2)) SWIG_fail
;
16686 arg3
= wxString_in_helper(obj2
);
16687 if (arg3
== NULL
) SWIG_fail
;
16692 arg4
= (int)(SWIG_As_int(obj3
));
16693 if (SWIG_arg_fail(4)) SWIG_fail
;
16697 if (!wxPyCheckForApp()) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16719 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxFindReplaceDialog
*result
;
16722 char *kwnames
[] = {
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16728 if (!wxPyCheckForApp()) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16742 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16745 wxWindow
*arg2
= (wxWindow
*) 0 ;
16746 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16747 wxString
*arg4
= 0 ;
16748 int arg5
= (int) 0 ;
16750 bool temp4
= false ;
16751 PyObject
* obj0
= 0 ;
16752 PyObject
* obj1
= 0 ;
16753 PyObject
* obj2
= 0 ;
16754 PyObject
* obj3
= 0 ;
16755 PyObject
* obj4
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16762 if (SWIG_arg_fail(1)) SWIG_fail
;
16763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16764 if (SWIG_arg_fail(2)) SWIG_fail
;
16765 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16766 if (SWIG_arg_fail(3)) SWIG_fail
;
16768 arg4
= wxString_in_helper(obj3
);
16769 if (arg4
== NULL
) SWIG_fail
;
16774 arg5
= (int)(SWIG_As_int(obj4
));
16775 if (SWIG_arg_fail(5)) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16802 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16805 wxFindReplaceData
*result
;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16813 if (SWIG_arg_fail(1)) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16828 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16831 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self",(char *) "data", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16840 if (SWIG_arg_fail(1)) SWIG_fail
;
16841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16842 if (SWIG_arg_fail(2)) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 (arg1
)->SetData(arg2
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 Py_INCREF(Py_None
); resultobj
= Py_None
;
16857 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16860 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16862 return Py_BuildValue((char *)"");
16864 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxWindow
*arg1
= (wxWindow
*) 0 ;
16867 int arg2
= (int) (int)-1 ;
16868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16874 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16875 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16877 wxMDIParentFrame
*result
;
16878 bool temp3
= false ;
16881 bool temp7
= false ;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 PyObject
* obj2
= 0 ;
16885 PyObject
* obj3
= 0 ;
16886 PyObject
* obj4
= 0 ;
16887 PyObject
* obj5
= 0 ;
16888 PyObject
* obj6
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail
;
16898 arg2
= (int const)(SWIG_As_int(obj1
));
16899 if (SWIG_arg_fail(2)) SWIG_fail
;
16904 arg3
= wxString_in_helper(obj2
);
16905 if (arg3
== NULL
) SWIG_fail
;
16912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16918 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16923 arg6
= (long)(SWIG_As_long(obj5
));
16924 if (SWIG_arg_fail(6)) SWIG_fail
;
16929 arg7
= wxString_in_helper(obj6
);
16930 if (arg7
== NULL
) SWIG_fail
;
16935 if (!wxPyCheckForApp()) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16965 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
;
16967 wxMDIParentFrame
*result
;
16968 char *kwnames
[] = {
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16974 if (!wxPyCheckForApp()) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16988 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16991 wxWindow
*arg2
= (wxWindow
*) 0 ;
16992 int arg3
= (int) (int)-1 ;
16993 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16994 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16995 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16996 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16997 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16998 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16999 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17000 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17001 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17003 bool temp4
= false ;
17006 bool temp8
= false ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 PyObject
* obj2
= 0 ;
17010 PyObject
* obj3
= 0 ;
17011 PyObject
* obj4
= 0 ;
17012 PyObject
* obj5
= 0 ;
17013 PyObject
* obj6
= 0 ;
17014 PyObject
* obj7
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17021 if (SWIG_arg_fail(1)) SWIG_fail
;
17022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17023 if (SWIG_arg_fail(2)) SWIG_fail
;
17026 arg3
= (int const)(SWIG_As_int(obj2
));
17027 if (SWIG_arg_fail(3)) SWIG_fail
;
17032 arg4
= wxString_in_helper(obj3
);
17033 if (arg4
== NULL
) SWIG_fail
;
17040 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17046 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17051 arg7
= (long)(SWIG_As_long(obj6
));
17052 if (SWIG_arg_fail(7)) SWIG_fail
;
17057 arg8
= wxString_in_helper(obj7
);
17058 if (arg8
== NULL
) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17094 static PyObject
*_wrap_MDIParentFrame_ActivateNext(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_ActivateNext",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
)->ActivateNext();
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 Py_INCREF(Py_None
); resultobj
= Py_None
;
17119 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(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_ActivatePrevious",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();
17132 (arg1
)->ActivatePrevious();
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 Py_INCREF(Py_None
); resultobj
= Py_None
;
17144 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17154 if (SWIG_arg_fail(1)) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 (arg1
)->ArrangeIcons();
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 Py_INCREF(Py_None
); resultobj
= Py_None
;
17169 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17179 if (SWIG_arg_fail(1)) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 Py_INCREF(Py_None
); resultobj
= Py_None
;
17194 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17197 wxMDIChildFrame
*result
;
17198 PyObject
* obj0
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17205 if (SWIG_arg_fail(1)) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= wxPyMake_wxObject(result
, 0);
17222 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17225 wxMDIClientWindow
*result
;
17226 PyObject
* obj0
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17233 if (SWIG_arg_fail(1)) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= wxPyMake_wxObject(result
, 0);
17250 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17254 PyObject
* obj0
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "self", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17261 if (SWIG_arg_fail(1)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (wxWindow
*)(arg1
)->GetToolBar();
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= wxPyMake_wxObject(result
, 0);
17278 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17282 PyObject
* obj0
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
17288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= wxPyMake_wxObject(result
, 0);
17306 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17309 wxMenu
*arg2
= (wxMenu
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self",(char *) "menu", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
17317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail
;
17319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
17320 if (SWIG_arg_fail(2)) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 (arg1
)->SetWindowMenu(arg2
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 Py_INCREF(Py_None
); resultobj
= Py_None
;
17335 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17338 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "toolbar", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17347 if (SWIG_arg_fail(1)) SWIG_fail
;
17348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
17349 if (SWIG_arg_fail(2)) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 (arg1
)->SetToolBar(arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 Py_INCREF(Py_None
); resultobj
= Py_None
;
17364 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17366 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17367 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "self",(char *) "orient", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17376 if (SWIG_arg_fail(1)) SWIG_fail
;
17379 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17380 if (SWIG_arg_fail(2)) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 (arg1
)->Tile((wxOrientation
)arg2
);
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 Py_INCREF(Py_None
); resultobj
= Py_None
;
17397 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17400 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17402 return Py_BuildValue((char *)"");
17404 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17407 int arg2
= (int) (int)-1 ;
17408 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17414 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17415 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17416 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17417 wxMDIChildFrame
*result
;
17418 bool temp3
= false ;
17421 bool temp7
= false ;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 PyObject
* obj2
= 0 ;
17425 PyObject
* obj3
= 0 ;
17426 PyObject
* obj4
= 0 ;
17427 PyObject
* obj5
= 0 ;
17428 PyObject
* obj6
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17435 if (SWIG_arg_fail(1)) SWIG_fail
;
17438 arg2
= (int const)(SWIG_As_int(obj1
));
17439 if (SWIG_arg_fail(2)) SWIG_fail
;
17444 arg3
= wxString_in_helper(obj2
);
17445 if (arg3
== NULL
) SWIG_fail
;
17452 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17458 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17463 arg6
= (long)(SWIG_As_long(obj5
));
17464 if (SWIG_arg_fail(6)) SWIG_fail
;
17469 arg7
= wxString_in_helper(obj6
);
17470 if (arg7
== NULL
) SWIG_fail
;
17475 if (!wxPyCheckForApp()) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17505 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxMDIChildFrame
*result
;
17508 char *kwnames
[] = {
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17514 if (!wxPyCheckForApp()) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17528 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17531 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17532 int arg3
= (int) (int)-1 ;
17533 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17534 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17535 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17536 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17537 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17538 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17539 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17540 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17541 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17543 bool temp4
= false ;
17546 bool temp8
= false ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 PyObject
* obj2
= 0 ;
17550 PyObject
* obj3
= 0 ;
17551 PyObject
* obj4
= 0 ;
17552 PyObject
* obj5
= 0 ;
17553 PyObject
* obj6
= 0 ;
17554 PyObject
* obj7
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17561 if (SWIG_arg_fail(1)) SWIG_fail
;
17562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17563 if (SWIG_arg_fail(2)) SWIG_fail
;
17566 arg3
= (int const)(SWIG_As_int(obj2
));
17567 if (SWIG_arg_fail(3)) SWIG_fail
;
17572 arg4
= wxString_in_helper(obj3
);
17573 if (arg4
== NULL
) SWIG_fail
;
17580 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17586 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17591 arg7
= (long)(SWIG_As_long(obj6
));
17592 if (SWIG_arg_fail(7)) SWIG_fail
;
17597 arg8
= wxString_in_helper(obj7
);
17598 if (arg8
== NULL
) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17634 static PyObject
*_wrap_MDIChildFrame_Activate(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_Activate",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();
17647 (arg1
)->Activate();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 Py_INCREF(Py_None
); resultobj
= Py_None
;
17659 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17662 bool arg2
= (bool) true ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "maximize", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17671 if (SWIG_arg_fail(1)) SWIG_fail
;
17674 arg2
= (bool)(SWIG_As_bool(obj1
));
17675 if (SWIG_arg_fail(2)) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 (arg1
)->Maximize(arg2
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 Py_INCREF(Py_None
); resultobj
= Py_None
;
17692 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17702 if (SWIG_arg_fail(1)) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 Py_INCREF(Py_None
); resultobj
= Py_None
;
17717 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17720 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17722 return Py_BuildValue((char *)"");
17724 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17727 long arg2
= (long) 0 ;
17728 wxMDIClientWindow
*result
;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "parent",(char *) "style", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17737 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 arg2
= (long)(SWIG_As_long(obj1
));
17741 if (SWIG_arg_fail(2)) SWIG_fail
;
17745 if (!wxPyCheckForApp()) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17759 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxMDIClientWindow
*result
;
17762 char *kwnames
[] = {
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17768 if (!wxPyCheckForApp()) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17782 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17785 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17786 long arg3
= (long) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 PyObject
* obj2
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self",(char *) "parent",(char *) "style", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17797 if (SWIG_arg_fail(1)) SWIG_fail
;
17798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17799 if (SWIG_arg_fail(2)) SWIG_fail
;
17802 arg3
= (long)(SWIG_As_long(obj2
));
17803 if (SWIG_arg_fail(3)) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17822 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17825 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17827 return Py_BuildValue((char *)"");
17829 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxWindow
*arg1
= (wxWindow
*) 0 ;
17832 int arg2
= (int) (int)-1 ;
17833 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17834 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17835 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17836 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17837 long arg5
= (long) 0 ;
17838 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17839 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17840 wxPyWindow
*result
;
17843 bool temp6
= false ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 PyObject
* obj3
= 0 ;
17848 PyObject
* obj4
= 0 ;
17849 PyObject
* obj5
= 0 ;
17850 char *kwnames
[] = {
17851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17856 if (SWIG_arg_fail(1)) SWIG_fail
;
17859 arg2
= (int const)(SWIG_As_int(obj1
));
17860 if (SWIG_arg_fail(2)) SWIG_fail
;
17866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17877 arg5
= (long)(SWIG_As_long(obj4
));
17878 if (SWIG_arg_fail(5)) SWIG_fail
;
17883 arg6
= wxString_in_helper(obj5
);
17884 if (arg6
== NULL
) SWIG_fail
;
17889 if (!wxPyCheckForApp()) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17911 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxPyWindow
*result
;
17914 char *kwnames
[] = {
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17920 if (!wxPyCheckForApp()) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (wxPyWindow
*)new wxPyWindow();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17934 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17937 PyObject
*arg2
= (PyObject
*) 0 ;
17938 PyObject
*arg3
= (PyObject
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 PyObject
* obj2
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self",(char *) "self",(char *) "_class", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17948 if (SWIG_arg_fail(1)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 Py_INCREF(Py_None
); resultobj
= Py_None
;
17965 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17970 PyObject
* obj0
= 0 ;
17971 PyObject
* obj1
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self",(char *) "size", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17978 if (SWIG_arg_fail(1)) SWIG_fail
;
17981 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 Py_INCREF(Py_None
); resultobj
= Py_None
;
17997 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 PyObject
* obj2
= 0 ;
18007 PyObject
* obj3
= 0 ;
18008 PyObject
* obj4
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18015 if (SWIG_arg_fail(1)) SWIG_fail
;
18017 arg2
= (int)(SWIG_As_int(obj1
));
18018 if (SWIG_arg_fail(2)) SWIG_fail
;
18021 arg3
= (int)(SWIG_As_int(obj2
));
18022 if (SWIG_arg_fail(3)) SWIG_fail
;
18025 arg4
= (int)(SWIG_As_int(obj3
));
18026 if (SWIG_arg_fail(4)) SWIG_fail
;
18029 arg5
= (int)(SWIG_As_int(obj4
));
18030 if (SWIG_arg_fail(5)) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 Py_INCREF(Py_None
); resultobj
= Py_None
;
18046 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18053 int arg6
= (int) wxSIZE_AUTO
;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 PyObject
* obj2
= 0 ;
18057 PyObject
* obj3
= 0 ;
18058 PyObject
* obj4
= 0 ;
18059 PyObject
* obj5
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18066 if (SWIG_arg_fail(1)) SWIG_fail
;
18068 arg2
= (int)(SWIG_As_int(obj1
));
18069 if (SWIG_arg_fail(2)) SWIG_fail
;
18072 arg3
= (int)(SWIG_As_int(obj2
));
18073 if (SWIG_arg_fail(3)) SWIG_fail
;
18076 arg4
= (int)(SWIG_As_int(obj3
));
18077 if (SWIG_arg_fail(4)) SWIG_fail
;
18080 arg5
= (int)(SWIG_As_int(obj4
));
18081 if (SWIG_arg_fail(5)) SWIG_fail
;
18085 arg6
= (int)(SWIG_As_int(obj5
));
18086 if (SWIG_arg_fail(6)) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 Py_INCREF(Py_None
); resultobj
= Py_None
;
18103 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 PyObject
* obj2
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "width",(char *) "height", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18117 if (SWIG_arg_fail(1)) SWIG_fail
;
18119 arg2
= (int)(SWIG_As_int(obj1
));
18120 if (SWIG_arg_fail(2)) SWIG_fail
;
18123 arg3
= (int)(SWIG_As_int(obj2
));
18124 if (SWIG_arg_fail(3)) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 Py_INCREF(Py_None
); resultobj
= Py_None
;
18140 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 PyObject
* obj2
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self",(char *) "x",(char *) "y", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18154 if (SWIG_arg_fail(1)) SWIG_fail
;
18156 arg2
= (int)(SWIG_As_int(obj1
));
18157 if (SWIG_arg_fail(2)) SWIG_fail
;
18160 arg3
= (int)(SWIG_As_int(obj2
));
18161 if (SWIG_arg_fail(3)) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 Py_INCREF(Py_None
); resultobj
= Py_None
;
18177 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18180 int *arg2
= (int *) 0 ;
18181 int *arg3
= (int *) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18192 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18195 if (SWIG_arg_fail(1)) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 Py_INCREF(Py_None
); resultobj
= Py_None
;
18204 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18205 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18206 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18207 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18214 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18217 int *arg2
= (int *) 0 ;
18218 int *arg3
= (int *) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self", NULL
18228 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18229 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18232 if (SWIG_arg_fail(1)) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 Py_INCREF(Py_None
); resultobj
= Py_None
;
18241 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18242 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18243 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18244 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18251 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18254 int *arg2
= (int *) 0 ;
18255 int *arg3
= (int *) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self", NULL
18265 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18266 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18269 if (SWIG_arg_fail(1)) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 Py_INCREF(Py_None
); resultobj
= Py_None
;
18278 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18279 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18280 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18281 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18288 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18292 PyObject
* obj0
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18299 if (SWIG_arg_fail(1)) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 wxSize
* resultptr
;
18309 resultptr
= new wxSize((wxSize
&)(result
));
18310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18318 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18329 if (SWIG_arg_fail(1)) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 wxSize
* resultptr
;
18339 resultptr
= new wxSize((wxSize
&)(result
));
18340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18348 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 (arg1
)->base_InitDialog();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 Py_INCREF(Py_None
); resultobj
= Py_None
;
18373 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (bool)(arg1
)->base_TransferDataToWindow();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18401 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18412 if (SWIG_arg_fail(1)) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18429 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (bool)(arg1
)->base_Validate();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18457 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18485 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18513 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18533 wxSize
* resultptr
;
18534 resultptr
= new wxSize((wxSize
&)(result
));
18535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18543 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18546 wxWindow
*arg2
= (wxWindow
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "child", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18555 if (SWIG_arg_fail(1)) SWIG_fail
;
18556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18557 if (SWIG_arg_fail(2)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 (arg1
)->base_AddChild(arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 Py_INCREF(Py_None
); resultobj
= Py_None
;
18572 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18575 wxWindow
*arg2
= (wxWindow
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "child", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",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
;
18585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18586 if (SWIG_arg_fail(2)) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 (arg1
)->base_RemoveChild(arg2
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 Py_INCREF(Py_None
); resultobj
= Py_None
;
18601 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18612 if (SWIG_arg_fail(1)) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18629 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18632 wxVisualAttributes result
;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18640 if (SWIG_arg_fail(1)) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (arg1
)->base_GetDefaultAttributes();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18649 wxVisualAttributes
* resultptr
;
18650 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18659 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18662 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18664 return Py_BuildValue((char *)"");
18666 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxWindow
*arg1
= (wxWindow
*) 0 ;
18669 int arg2
= (int) (int)-1 ;
18670 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18671 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18672 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18673 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18674 long arg5
= (long) 0 ;
18675 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18676 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18680 bool temp6
= false ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 PyObject
* obj2
= 0 ;
18684 PyObject
* obj3
= 0 ;
18685 PyObject
* obj4
= 0 ;
18686 PyObject
* obj5
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18693 if (SWIG_arg_fail(1)) SWIG_fail
;
18696 arg2
= (int const)(SWIG_As_int(obj1
));
18697 if (SWIG_arg_fail(2)) SWIG_fail
;
18703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18709 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18714 arg5
= (long)(SWIG_As_long(obj4
));
18715 if (SWIG_arg_fail(5)) SWIG_fail
;
18720 arg6
= wxString_in_helper(obj5
);
18721 if (arg6
== NULL
) SWIG_fail
;
18726 if (!wxPyCheckForApp()) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18748 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18751 char *kwnames
[] = {
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18757 if (!wxPyCheckForApp()) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (wxPyPanel
*)new wxPyPanel();
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18771 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18774 PyObject
*arg2
= (PyObject
*) 0 ;
18775 PyObject
*arg3
= (PyObject
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj1
= 0 ;
18778 PyObject
* obj2
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self",(char *) "self",(char *) "_class", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 Py_INCREF(Py_None
); resultobj
= Py_None
;
18802 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self",(char *) "size", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18815 if (SWIG_arg_fail(1)) SWIG_fail
;
18818 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 Py_INCREF(Py_None
); resultobj
= Py_None
;
18834 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18841 PyObject
* obj0
= 0 ;
18842 PyObject
* obj1
= 0 ;
18843 PyObject
* obj2
= 0 ;
18844 PyObject
* obj3
= 0 ;
18845 PyObject
* obj4
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18852 if (SWIG_arg_fail(1)) SWIG_fail
;
18854 arg2
= (int)(SWIG_As_int(obj1
));
18855 if (SWIG_arg_fail(2)) SWIG_fail
;
18858 arg3
= (int)(SWIG_As_int(obj2
));
18859 if (SWIG_arg_fail(3)) SWIG_fail
;
18862 arg4
= (int)(SWIG_As_int(obj3
));
18863 if (SWIG_arg_fail(4)) SWIG_fail
;
18866 arg5
= (int)(SWIG_As_int(obj4
));
18867 if (SWIG_arg_fail(5)) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 Py_INCREF(Py_None
); resultobj
= Py_None
;
18883 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18890 int arg6
= (int) wxSIZE_AUTO
;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 PyObject
* obj2
= 0 ;
18894 PyObject
* obj3
= 0 ;
18895 PyObject
* obj4
= 0 ;
18896 PyObject
* obj5
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail
;
18905 arg2
= (int)(SWIG_As_int(obj1
));
18906 if (SWIG_arg_fail(2)) SWIG_fail
;
18909 arg3
= (int)(SWIG_As_int(obj2
));
18910 if (SWIG_arg_fail(3)) SWIG_fail
;
18913 arg4
= (int)(SWIG_As_int(obj3
));
18914 if (SWIG_arg_fail(4)) SWIG_fail
;
18917 arg5
= (int)(SWIG_As_int(obj4
));
18918 if (SWIG_arg_fail(5)) SWIG_fail
;
18922 arg6
= (int)(SWIG_As_int(obj5
));
18923 if (SWIG_arg_fail(6)) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18933 Py_INCREF(Py_None
); resultobj
= Py_None
;
18940 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18941 PyObject
*resultobj
;
18942 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 PyObject
* obj2
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self",(char *) "width",(char *) "height", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18954 if (SWIG_arg_fail(1)) SWIG_fail
;
18956 arg2
= (int)(SWIG_As_int(obj1
));
18957 if (SWIG_arg_fail(2)) SWIG_fail
;
18960 arg3
= (int)(SWIG_As_int(obj2
));
18961 if (SWIG_arg_fail(3)) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 PyObject
* obj2
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self",(char *) "x",(char *) "y", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail
;
18993 arg2
= (int)(SWIG_As_int(obj1
));
18994 if (SWIG_arg_fail(2)) SWIG_fail
;
18997 arg3
= (int)(SWIG_As_int(obj2
));
18998 if (SWIG_arg_fail(3)) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 Py_INCREF(Py_None
); resultobj
= Py_None
;
19014 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19017 int *arg2
= (int *) 0 ;
19018 int *arg3
= (int *) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19029 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19032 if (SWIG_arg_fail(1)) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 Py_INCREF(Py_None
); resultobj
= Py_None
;
19041 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19042 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19043 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19044 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19051 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19054 int *arg2
= (int *) 0 ;
19055 int *arg3
= (int *) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19066 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19069 if (SWIG_arg_fail(1)) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 Py_INCREF(Py_None
); resultobj
= Py_None
;
19078 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19079 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19080 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19081 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19088 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19091 int *arg2
= (int *) 0 ;
19092 int *arg3
= (int *) 0 ;
19097 PyObject
* obj0
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self", NULL
19102 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19103 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19106 if (SWIG_arg_fail(1)) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19115 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19116 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19117 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19118 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19125 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19136 if (SWIG_arg_fail(1)) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19145 wxSize
* resultptr
;
19146 resultptr
= new wxSize((wxSize
&)(result
));
19147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19155 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19166 if (SWIG_arg_fail(1)) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19175 wxSize
* resultptr
;
19176 resultptr
= new wxSize((wxSize
&)(result
));
19177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19185 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 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_InitDialog",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 (arg1
)->base_InitDialog();
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 Py_INCREF(Py_None
); resultobj
= Py_None
;
19210 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19214 PyObject
* obj0
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19221 if (SWIG_arg_fail(1)) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (bool)(arg1
)->base_TransferDataToWindow();
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19238 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19249 if (SWIG_arg_fail(1)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19266 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19277 if (SWIG_arg_fail(1)) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (bool)(arg1
)->base_Validate();
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19294 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19322 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19333 if (SWIG_arg_fail(1)) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19350 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19361 if (SWIG_arg_fail(1)) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 wxSize
* resultptr
;
19371 resultptr
= new wxSize((wxSize
&)(result
));
19372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19380 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19383 wxWindow
*arg2
= (wxWindow
*) 0 ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self",(char *) "child", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19392 if (SWIG_arg_fail(1)) SWIG_fail
;
19393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19394 if (SWIG_arg_fail(2)) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->base_AddChild(arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19409 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19412 wxWindow
*arg2
= (wxWindow
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "child", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19421 if (SWIG_arg_fail(1)) SWIG_fail
;
19422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19423 if (SWIG_arg_fail(2)) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 (arg1
)->base_RemoveChild(arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 Py_INCREF(Py_None
); resultobj
= Py_None
;
19438 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19442 PyObject
* obj0
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19449 if (SWIG_arg_fail(1)) SWIG_fail
;
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19466 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19469 wxVisualAttributes result
;
19470 PyObject
* obj0
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19477 if (SWIG_arg_fail(1)) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (arg1
)->base_GetDefaultAttributes();
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19486 wxVisualAttributes
* resultptr
;
19487 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19496 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19499 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19501 return Py_BuildValue((char *)"");
19503 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxWindow
*arg1
= (wxWindow
*) 0 ;
19506 int arg2
= (int) (int)-1 ;
19507 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19508 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19509 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19510 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19511 long arg5
= (long) 0 ;
19512 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19513 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19514 wxPyScrolledWindow
*result
;
19517 bool temp6
= false ;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 PyObject
* obj2
= 0 ;
19521 PyObject
* obj3
= 0 ;
19522 PyObject
* obj4
= 0 ;
19523 PyObject
* obj5
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19530 if (SWIG_arg_fail(1)) SWIG_fail
;
19533 arg2
= (int const)(SWIG_As_int(obj1
));
19534 if (SWIG_arg_fail(2)) SWIG_fail
;
19540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19551 arg5
= (long)(SWIG_As_long(obj4
));
19552 if (SWIG_arg_fail(5)) SWIG_fail
;
19557 arg6
= wxString_in_helper(obj5
);
19558 if (arg6
== NULL
) SWIG_fail
;
19563 if (!wxPyCheckForApp()) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19585 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxPyScrolledWindow
*result
;
19588 char *kwnames
[] = {
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19594 if (!wxPyCheckForApp()) SWIG_fail
;
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19608 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19611 PyObject
*arg2
= (PyObject
*) 0 ;
19612 PyObject
*arg3
= (PyObject
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 PyObject
* obj2
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self",(char *) "self",(char *) "_class", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19622 if (SWIG_arg_fail(1)) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 Py_INCREF(Py_None
); resultobj
= Py_None
;
19639 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self",(char *) "size", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19652 if (SWIG_arg_fail(1)) SWIG_fail
;
19655 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 Py_INCREF(Py_None
); resultobj
= Py_None
;
19671 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19678 PyObject
* obj0
= 0 ;
19679 PyObject
* obj1
= 0 ;
19680 PyObject
* obj2
= 0 ;
19681 PyObject
* obj3
= 0 ;
19682 PyObject
* obj4
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19689 if (SWIG_arg_fail(1)) SWIG_fail
;
19691 arg2
= (int)(SWIG_As_int(obj1
));
19692 if (SWIG_arg_fail(2)) SWIG_fail
;
19695 arg3
= (int)(SWIG_As_int(obj2
));
19696 if (SWIG_arg_fail(3)) SWIG_fail
;
19699 arg4
= (int)(SWIG_As_int(obj3
));
19700 if (SWIG_arg_fail(4)) SWIG_fail
;
19703 arg5
= (int)(SWIG_As_int(obj4
));
19704 if (SWIG_arg_fail(5)) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 Py_INCREF(Py_None
); resultobj
= Py_None
;
19720 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19727 int arg6
= (int) wxSIZE_AUTO
;
19728 PyObject
* obj0
= 0 ;
19729 PyObject
* obj1
= 0 ;
19730 PyObject
* obj2
= 0 ;
19731 PyObject
* obj3
= 0 ;
19732 PyObject
* obj4
= 0 ;
19733 PyObject
* obj5
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19740 if (SWIG_arg_fail(1)) SWIG_fail
;
19742 arg2
= (int)(SWIG_As_int(obj1
));
19743 if (SWIG_arg_fail(2)) SWIG_fail
;
19746 arg3
= (int)(SWIG_As_int(obj2
));
19747 if (SWIG_arg_fail(3)) SWIG_fail
;
19750 arg4
= (int)(SWIG_As_int(obj3
));
19751 if (SWIG_arg_fail(4)) SWIG_fail
;
19754 arg5
= (int)(SWIG_As_int(obj4
));
19755 if (SWIG_arg_fail(5)) SWIG_fail
;
19759 arg6
= (int)(SWIG_As_int(obj5
));
19760 if (SWIG_arg_fail(6)) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 PyObject
* obj2
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "width",(char *) "height", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19791 if (SWIG_arg_fail(1)) SWIG_fail
;
19793 arg2
= (int)(SWIG_As_int(obj1
));
19794 if (SWIG_arg_fail(2)) SWIG_fail
;
19797 arg3
= (int)(SWIG_As_int(obj2
));
19798 if (SWIG_arg_fail(3)) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 Py_INCREF(Py_None
); resultobj
= Py_None
;
19814 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
;
19816 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 PyObject
* obj1
= 0 ;
19821 PyObject
* obj2
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self",(char *) "x",(char *) "y", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19828 if (SWIG_arg_fail(1)) SWIG_fail
;
19830 arg2
= (int)(SWIG_As_int(obj1
));
19831 if (SWIG_arg_fail(2)) SWIG_fail
;
19834 arg3
= (int)(SWIG_As_int(obj2
));
19835 if (SWIG_arg_fail(3)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 Py_INCREF(Py_None
); resultobj
= Py_None
;
19851 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19854 int *arg2
= (int *) 0 ;
19855 int *arg3
= (int *) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self", NULL
19865 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19866 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19869 if (SWIG_arg_fail(1)) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 Py_INCREF(Py_None
); resultobj
= Py_None
;
19878 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19879 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19880 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19881 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19888 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19891 int *arg2
= (int *) 0 ;
19892 int *arg3
= (int *) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self", NULL
19902 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19903 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19906 if (SWIG_arg_fail(1)) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 Py_INCREF(Py_None
); resultobj
= Py_None
;
19915 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19916 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19917 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19918 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19925 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19928 int *arg2
= (int *) 0 ;
19929 int *arg3
= (int *) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19940 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 Py_INCREF(Py_None
); resultobj
= Py_None
;
19952 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19953 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19954 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19955 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19962 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19966 PyObject
* obj0
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19973 if (SWIG_arg_fail(1)) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 wxSize
* resultptr
;
19983 resultptr
= new wxSize((wxSize
&)(result
));
19984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19992 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20003 if (SWIG_arg_fail(1)) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20012 wxSize
* resultptr
;
20013 resultptr
= new wxSize((wxSize
&)(result
));
20014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20022 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20025 PyObject
* obj0
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
20031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20032 if (SWIG_arg_fail(1)) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 (arg1
)->base_InitDialog();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20040 Py_INCREF(Py_None
); resultobj
= Py_None
;
20047 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20058 if (SWIG_arg_fail(1)) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= (bool)(arg1
)->base_TransferDataToWindow();
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20075 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (bool)(arg1
)->base_TransferDataFromWindow();
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20103 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20107 PyObject
* obj0
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20114 if (SWIG_arg_fail(1)) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= (bool)(arg1
)->base_Validate();
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20131 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20142 if (SWIG_arg_fail(1)) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20159 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20170 if (SWIG_arg_fail(1)) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20187 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20198 if (SWIG_arg_fail(1)) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 wxSize
* resultptr
;
20208 resultptr
= new wxSize((wxSize
&)(result
));
20209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20217 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20220 wxWindow
*arg2
= (wxWindow
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "child", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20229 if (SWIG_arg_fail(1)) SWIG_fail
;
20230 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20231 if (SWIG_arg_fail(2)) SWIG_fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 (arg1
)->base_AddChild(arg2
);
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 Py_INCREF(Py_None
); resultobj
= Py_None
;
20246 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20249 wxWindow
*arg2
= (wxWindow
*) 0 ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self",(char *) "child", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail
;
20259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20260 if (SWIG_arg_fail(2)) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 (arg1
)->base_RemoveChild(arg2
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 Py_INCREF(Py_None
); resultobj
= Py_None
;
20275 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20277 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20279 PyObject
* obj0
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20286 if (SWIG_arg_fail(1)) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20303 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20306 wxVisualAttributes result
;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20314 if (SWIG_arg_fail(1)) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (arg1
)->base_GetDefaultAttributes();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20323 wxVisualAttributes
* resultptr
;
20324 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20333 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20336 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20338 return Py_BuildValue((char *)"");
20340 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20341 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20346 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20351 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20353 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20360 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20361 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20366 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20371 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20373 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20380 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20381 PyObject
*resultobj
;
20382 wxPrintData
*result
;
20384 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (wxPrintData
*)new wxPrintData();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20399 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20400 PyObject
*resultobj
;
20401 wxPrintData
*arg1
= 0 ;
20402 wxPrintData
*result
;
20403 PyObject
* obj0
= 0 ;
20405 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20408 if (SWIG_arg_fail(1)) SWIG_fail
;
20409 if (arg1
== NULL
) {
20410 SWIG_null_ref("wxPrintData");
20412 if (SWIG_arg_fail(1)) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20428 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20433 argc
= PyObject_Length(args
);
20434 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20435 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20438 return _wrap_new_PrintData__SWIG_0(self
,args
);
20444 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20452 return _wrap_new_PrintData__SWIG_1(self
,args
);
20456 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20461 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20463 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 Py_INCREF(Py_None
); resultobj
= Py_None
;
20486 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
;
20488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20490 PyObject
* obj0
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20497 if (SWIG_arg_fail(1)) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (int)(arg1
)->GetNoCopies();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= SWIG_From_int((int)(result
));
20514 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20525 if (SWIG_arg_fail(1)) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (bool)(arg1
)->GetCollate();
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20542 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20553 if (SWIG_arg_fail(1)) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (int)(arg1
)->GetOrientation();
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_From_int((int)(result
));
20570 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20581 if (SWIG_arg_fail(1)) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (bool)(arg1
)->Ok();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20598 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20609 if (SWIG_arg_fail(1)) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20614 result
= (wxString
*) &_result_ref
;
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20624 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20633 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20644 if (SWIG_arg_fail(1)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (bool)(arg1
)->GetColour();
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20661 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20664 wxDuplexMode result
;
20665 PyObject
* obj0
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20672 if (SWIG_arg_fail(1)) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_From_int((result
));
20687 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20690 wxPaperSize result
;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20698 if (SWIG_arg_fail(1)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_From_int((result
));
20713 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20724 if (SWIG_arg_fail(1)) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20729 result
= (wxSize
*) &_result_ref
;
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20742 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20746 PyObject
* obj0
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20753 if (SWIG_arg_fail(1)) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (int)(arg1
)->GetQuality();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_From_int((int)(result
));
20770 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20772 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20774 PyObject
* obj0
= 0 ;
20775 char *kwnames
[] = {
20776 (char *) "self", NULL
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20781 if (SWIG_arg_fail(1)) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (wxPrintBin
)(arg1
)->GetBin();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_From_int((result
));
20796 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20799 wxPrintMode result
;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20807 if (SWIG_arg_fail(1)) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= SWIG_From_int((result
));
20822 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
;
20824 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20826 PyObject
* obj0
= 0 ;
20827 PyObject
* obj1
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self",(char *) "v", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20834 if (SWIG_arg_fail(1)) SWIG_fail
;
20836 arg2
= (int)(SWIG_As_int(obj1
));
20837 if (SWIG_arg_fail(2)) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 (arg1
)->SetNoCopies(arg2
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 Py_INCREF(Py_None
); resultobj
= Py_None
;
20853 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 PyObject
* obj1
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self",(char *) "flag", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20865 if (SWIG_arg_fail(1)) SWIG_fail
;
20867 arg2
= (bool)(SWIG_As_bool(obj1
));
20868 if (SWIG_arg_fail(2)) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 (arg1
)->SetCollate(arg2
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 Py_INCREF(Py_None
); resultobj
= Py_None
;
20884 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 PyObject
* obj1
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self",(char *) "orient", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20896 if (SWIG_arg_fail(1)) SWIG_fail
;
20898 arg2
= (int)(SWIG_As_int(obj1
));
20899 if (SWIG_arg_fail(2)) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 (arg1
)->SetOrientation(arg2
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 Py_INCREF(Py_None
); resultobj
= Py_None
;
20915 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20918 wxString
*arg2
= 0 ;
20919 bool temp2
= false ;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self",(char *) "name", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20928 if (SWIG_arg_fail(1)) SWIG_fail
;
20930 arg2
= wxString_in_helper(obj1
);
20931 if (arg2
== NULL
) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 Py_INCREF(Py_None
); resultobj
= Py_None
;
20956 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20960 PyObject
* obj0
= 0 ;
20961 PyObject
* obj1
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self",(char *) "colour", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20968 if (SWIG_arg_fail(1)) SWIG_fail
;
20970 arg2
= (bool)(SWIG_As_bool(obj1
));
20971 if (SWIG_arg_fail(2)) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 (arg1
)->SetColour(arg2
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 Py_INCREF(Py_None
); resultobj
= Py_None
;
20987 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20990 wxDuplexMode arg2
;
20991 PyObject
* obj0
= 0 ;
20992 PyObject
* obj1
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self",(char *) "duplex", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20999 if (SWIG_arg_fail(1)) SWIG_fail
;
21001 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
21002 if (SWIG_arg_fail(2)) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 Py_INCREF(Py_None
); resultobj
= Py_None
;
21018 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 char *kwnames
[] = {
21025 (char *) "self",(char *) "sizeId", NULL
21028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21030 if (SWIG_arg_fail(1)) SWIG_fail
;
21032 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
21033 if (SWIG_arg_fail(2)) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 Py_INCREF(Py_None
); resultobj
= Py_None
;
21049 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "sz", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21062 if (SWIG_arg_fail(1)) SWIG_fail
;
21065 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self",(char *) "quality", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21093 if (SWIG_arg_fail(1)) SWIG_fail
;
21095 arg2
= (int)(SWIG_As_int(obj1
));
21096 if (SWIG_arg_fail(2)) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 (arg1
)->SetQuality(arg2
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 Py_INCREF(Py_None
); resultobj
= Py_None
;
21112 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "bin", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21124 if (SWIG_arg_fail(1)) SWIG_fail
;
21126 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
21127 if (SWIG_arg_fail(2)) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 (arg1
)->SetBin((wxPrintBin
)arg2
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 Py_INCREF(Py_None
); resultobj
= Py_None
;
21143 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21147 PyObject
* obj0
= 0 ;
21148 PyObject
* obj1
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self",(char *) "printMode", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21155 if (SWIG_arg_fail(1)) SWIG_fail
;
21157 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21158 if (SWIG_arg_fail(2)) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21185 if (SWIG_arg_fail(1)) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21206 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21209 wxString
*arg2
= 0 ;
21210 bool temp2
= false ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "filename", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21219 if (SWIG_arg_fail(1)) SWIG_fail
;
21221 arg2
= wxString_in_helper(obj1
);
21222 if (arg2
== NULL
) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 (arg1
)->SetFilename((wxString
const &)*arg2
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 Py_INCREF(Py_None
); resultobj
= Py_None
;
21247 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21251 PyObject
* obj0
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "self", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21258 if (SWIG_arg_fail(1)) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= result
;
21273 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21276 PyObject
*arg2
= (PyObject
*) 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self",(char *) "data", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21285 if (SWIG_arg_fail(1)) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 wxPrintData_SetPrivData(arg1
,arg2
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 Py_INCREF(Py_None
); resultobj
= Py_None
;
21301 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21312 if (SWIG_arg_fail(1)) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21317 result
= (wxString
*) &_result_ref
;
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21327 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21336 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21347 if (SWIG_arg_fail(1)) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21352 result
= (wxString
*) &_result_ref
;
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21371 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21387 result
= (wxString
*) &_result_ref
;
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21397 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21406 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21422 result
= (wxString
*) &_result_ref
;
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21432 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21441 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21452 if (SWIG_arg_fail(1)) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (double)(arg1
)->GetPrinterScaleX();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= SWIG_From_double((double)(result
));
21469 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21480 if (SWIG_arg_fail(1)) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (double)(arg1
)->GetPrinterScaleY();
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_From_double((double)(result
));
21497 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21508 if (SWIG_arg_fail(1)) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= (long)(arg1
)->GetPrinterTranslateX();
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_From_long((long)(result
));
21525 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21536 if (SWIG_arg_fail(1)) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (long)(arg1
)->GetPrinterTranslateY();
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= SWIG_From_long((long)(result
));
21553 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
;
21555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21556 wxString
*arg2
= 0 ;
21557 bool temp2
= false ;
21558 PyObject
* obj0
= 0 ;
21559 PyObject
* obj1
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self",(char *) "command", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21566 if (SWIG_arg_fail(1)) SWIG_fail
;
21568 arg2
= wxString_in_helper(obj1
);
21569 if (arg2
== NULL
) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 Py_INCREF(Py_None
); resultobj
= Py_None
;
21594 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21597 wxString
*arg2
= 0 ;
21598 bool temp2
= false ;
21599 PyObject
* obj0
= 0 ;
21600 PyObject
* obj1
= 0 ;
21601 char *kwnames
[] = {
21602 (char *) "self",(char *) "options", NULL
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21607 if (SWIG_arg_fail(1)) SWIG_fail
;
21609 arg2
= wxString_in_helper(obj1
);
21610 if (arg2
== NULL
) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 Py_INCREF(Py_None
); resultobj
= Py_None
;
21635 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21638 wxString
*arg2
= 0 ;
21639 bool temp2
= false ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self",(char *) "command", NULL
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21648 if (SWIG_arg_fail(1)) SWIG_fail
;
21650 arg2
= wxString_in_helper(obj1
);
21651 if (arg2
== NULL
) SWIG_fail
;
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21661 Py_INCREF(Py_None
); resultobj
= Py_None
;
21676 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21679 wxString
*arg2
= 0 ;
21680 bool temp2
= false ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self",(char *) "path", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21689 if (SWIG_arg_fail(1)) SWIG_fail
;
21691 arg2
= wxString_in_helper(obj1
);
21692 if (arg2
== NULL
) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21717 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self",(char *) "x", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21729 if (SWIG_arg_fail(1)) SWIG_fail
;
21731 arg2
= (double)(SWIG_As_double(obj1
));
21732 if (SWIG_arg_fail(2)) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 (arg1
)->SetPrinterScaleX(arg2
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 Py_INCREF(Py_None
); resultobj
= Py_None
;
21748 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "y", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21760 if (SWIG_arg_fail(1)) SWIG_fail
;
21762 arg2
= (double)(SWIG_As_double(obj1
));
21763 if (SWIG_arg_fail(2)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 (arg1
)->SetPrinterScaleY(arg2
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 Py_INCREF(Py_None
); resultobj
= Py_None
;
21779 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21784 PyObject
* obj0
= 0 ;
21785 PyObject
* obj1
= 0 ;
21786 PyObject
* obj2
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "self",(char *) "x",(char *) "y", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21793 if (SWIG_arg_fail(1)) SWIG_fail
;
21795 arg2
= (double)(SWIG_As_double(obj1
));
21796 if (SWIG_arg_fail(2)) SWIG_fail
;
21799 arg3
= (double)(SWIG_As_double(obj2
));
21800 if (SWIG_arg_fail(3)) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 Py_INCREF(Py_None
); resultobj
= Py_None
;
21816 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 PyObject
* obj1
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "x", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21828 if (SWIG_arg_fail(1)) SWIG_fail
;
21830 arg2
= (long)(SWIG_As_long(obj1
));
21831 if (SWIG_arg_fail(2)) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->SetPrinterTranslateX(arg2
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "y", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21859 if (SWIG_arg_fail(1)) SWIG_fail
;
21861 arg2
= (long)(SWIG_As_long(obj1
));
21862 if (SWIG_arg_fail(2)) SWIG_fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 (arg1
)->SetPrinterTranslateY(arg2
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 Py_INCREF(Py_None
); resultobj
= Py_None
;
21878 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 PyObject
* obj2
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self",(char *) "x",(char *) "y", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail
;
21894 arg2
= (long)(SWIG_As_long(obj1
));
21895 if (SWIG_arg_fail(2)) SWIG_fail
;
21898 arg3
= (long)(SWIG_As_long(obj2
));
21899 if (SWIG_arg_fail(3)) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 Py_INCREF(Py_None
); resultobj
= Py_None
;
21915 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21918 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21920 return Py_BuildValue((char *)"");
21922 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21923 PyObject
*resultobj
;
21924 wxPageSetupDialogData
*result
;
21926 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21941 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21942 PyObject
*resultobj
;
21943 wxPageSetupDialogData
*arg1
= 0 ;
21944 wxPageSetupDialogData
*result
;
21945 PyObject
* obj0
= 0 ;
21947 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail
;
21951 if (arg1
== NULL
) {
21952 SWIG_null_ref("wxPageSetupDialogData");
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21970 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21971 PyObject
*resultobj
;
21972 wxPrintData
*arg1
= 0 ;
21973 wxPageSetupDialogData
*result
;
21974 PyObject
* obj0
= 0 ;
21976 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21979 if (SWIG_arg_fail(1)) SWIG_fail
;
21980 if (arg1
== NULL
) {
21981 SWIG_null_ref("wxPrintData");
21983 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21999 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
22004 argc
= PyObject_Length(args
);
22005 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22006 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22009 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
22015 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
22023 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
22030 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22038 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
22042 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
22047 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22057 if (SWIG_arg_fail(1)) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 Py_INCREF(Py_None
); resultobj
= Py_None
;
22072 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22076 PyObject
* obj0
= 0 ;
22077 PyObject
* obj1
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "flag", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
22083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22084 if (SWIG_arg_fail(1)) SWIG_fail
;
22086 arg2
= (bool)(SWIG_As_bool(obj1
));
22087 if (SWIG_arg_fail(2)) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 (arg1
)->EnableHelp(arg2
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 Py_INCREF(Py_None
); resultobj
= Py_None
;
22103 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self",(char *) "flag", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22115 if (SWIG_arg_fail(1)) SWIG_fail
;
22117 arg2
= (bool)(SWIG_As_bool(obj1
));
22118 if (SWIG_arg_fail(2)) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 (arg1
)->EnableMargins(arg2
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 Py_INCREF(Py_None
); resultobj
= Py_None
;
22134 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "flag", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22146 if (SWIG_arg_fail(1)) SWIG_fail
;
22148 arg2
= (bool)(SWIG_As_bool(obj1
));
22149 if (SWIG_arg_fail(2)) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 (arg1
)->EnableOrientation(arg2
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 Py_INCREF(Py_None
); resultobj
= Py_None
;
22165 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self",(char *) "flag", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22177 if (SWIG_arg_fail(1)) SWIG_fail
;
22179 arg2
= (bool)(SWIG_As_bool(obj1
));
22180 if (SWIG_arg_fail(2)) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 (arg1
)->EnablePaper(arg2
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 Py_INCREF(Py_None
); resultobj
= Py_None
;
22196 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "flag", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22208 if (SWIG_arg_fail(1)) SWIG_fail
;
22210 arg2
= (bool)(SWIG_As_bool(obj1
));
22211 if (SWIG_arg_fail(2)) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 (arg1
)->EnablePrinter(arg2
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 Py_INCREF(Py_None
); resultobj
= Py_None
;
22227 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22238 if (SWIG_arg_fail(1)) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (bool)(arg1
)->GetDefaultMinMargins();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22255 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22259 PyObject
* obj0
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22266 if (SWIG_arg_fail(1)) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (bool)(arg1
)->GetEnableMargins();
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22283 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22287 PyObject
* obj0
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22294 if (SWIG_arg_fail(1)) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (bool)(arg1
)->GetEnableOrientation();
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22311 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22315 PyObject
* obj0
= 0 ;
22316 char *kwnames
[] = {
22317 (char *) "self", NULL
22320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22322 if (SWIG_arg_fail(1)) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= (bool)(arg1
)->GetEnablePaper();
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22339 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22350 if (SWIG_arg_fail(1)) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (bool)(arg1
)->GetEnablePrinter();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22367 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (bool)(arg1
)->GetEnableHelp();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22395 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22406 if (SWIG_arg_fail(1)) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (bool)(arg1
)->GetDefaultInfo();
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22423 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (arg1
)->GetMarginTopLeft();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22443 wxPoint
* resultptr
;
22444 resultptr
= new wxPoint((wxPoint
&)(result
));
22445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22453 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
;
22455 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22464 if (SWIG_arg_fail(1)) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= (arg1
)->GetMarginBottomRight();
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22473 wxPoint
* resultptr
;
22474 resultptr
= new wxPoint((wxPoint
&)(result
));
22475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22483 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22487 PyObject
* obj0
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22494 if (SWIG_arg_fail(1)) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 result
= (arg1
)->GetMinMarginTopLeft();
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22503 wxPoint
* resultptr
;
22504 resultptr
= new wxPoint((wxPoint
&)(result
));
22505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22513 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22524 if (SWIG_arg_fail(1)) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= (arg1
)->GetMinMarginBottomRight();
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22533 wxPoint
* resultptr
;
22534 resultptr
= new wxPoint((wxPoint
&)(result
));
22535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22543 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22546 wxPaperSize result
;
22547 PyObject
* obj0
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22554 if (SWIG_arg_fail(1)) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_From_int((result
));
22569 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22573 PyObject
* obj0
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22580 if (SWIG_arg_fail(1)) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= (arg1
)->GetPaperSize();
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22589 wxSize
* resultptr
;
22590 resultptr
= new wxSize((wxSize
&)(result
));
22591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22599 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22602 wxPrintData
*result
;
22603 PyObject
* obj0
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22615 result
= (wxPrintData
*) &_result_ref
;
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22628 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22639 if (SWIG_arg_fail(1)) SWIG_fail
;
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (bool)(arg1
)->Ok();
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22656 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self",(char *) "flag", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22668 if (SWIG_arg_fail(1)) SWIG_fail
;
22670 arg2
= (bool)(SWIG_As_bool(obj1
));
22671 if (SWIG_arg_fail(2)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 (arg1
)->SetDefaultInfo(arg2
);
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self",(char *) "flag", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22699 if (SWIG_arg_fail(1)) SWIG_fail
;
22701 arg2
= (bool)(SWIG_As_bool(obj1
));
22702 if (SWIG_arg_fail(2)) SWIG_fail
;
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 (arg1
)->SetDefaultMinMargins(arg2
);
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 Py_INCREF(Py_None
); resultobj
= Py_None
;
22718 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22721 wxPoint
*arg2
= 0 ;
22723 PyObject
* obj0
= 0 ;
22724 PyObject
* obj1
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "pt", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail
;
22734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 Py_INCREF(Py_None
); resultobj
= Py_None
;
22750 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22753 wxPoint
*arg2
= 0 ;
22755 PyObject
* obj0
= 0 ;
22756 PyObject
* obj1
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self",(char *) "pt", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22763 if (SWIG_arg_fail(1)) SWIG_fail
;
22766 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 Py_INCREF(Py_None
); resultobj
= Py_None
;
22782 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22785 wxPoint
*arg2
= 0 ;
22787 PyObject
* obj0
= 0 ;
22788 PyObject
* obj1
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self",(char *) "pt", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22795 if (SWIG_arg_fail(1)) SWIG_fail
;
22798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22817 wxPoint
*arg2
= 0 ;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "pt", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22827 if (SWIG_arg_fail(1)) SWIG_fail
;
22830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 Py_INCREF(Py_None
); resultobj
= Py_None
;
22846 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self",(char *) "id", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22858 if (SWIG_arg_fail(1)) SWIG_fail
;
22860 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22861 if (SWIG_arg_fail(2)) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 Py_INCREF(Py_None
); resultobj
= Py_None
;
22877 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22882 PyObject
* obj0
= 0 ;
22883 PyObject
* obj1
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self",(char *) "size", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22890 if (SWIG_arg_fail(1)) SWIG_fail
;
22893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 Py_INCREF(Py_None
); resultobj
= Py_None
;
22909 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22912 wxPrintData
*arg2
= 0 ;
22913 PyObject
* obj0
= 0 ;
22914 PyObject
* obj1
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "self",(char *) "printData", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22921 if (SWIG_arg_fail(1)) SWIG_fail
;
22923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22924 if (SWIG_arg_fail(2)) SWIG_fail
;
22925 if (arg2
== NULL
) {
22926 SWIG_null_ref("wxPrintData");
22928 if (SWIG_arg_fail(2)) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 Py_INCREF(Py_None
); resultobj
= Py_None
;
22944 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22954 if (SWIG_arg_fail(1)) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 (arg1
)->CalculateIdFromPaperSize();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 Py_INCREF(Py_None
); resultobj
= Py_None
;
22969 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22972 PyObject
* obj0
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "self", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22979 if (SWIG_arg_fail(1)) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 (arg1
)->CalculatePaperSizeFromId();
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 Py_INCREF(Py_None
); resultobj
= Py_None
;
22994 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22997 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22999 return Py_BuildValue((char *)"");
23001 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxWindow
*arg1
= (wxWindow
*) 0 ;
23004 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
23005 wxPageSetupDialog
*result
;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "parent",(char *) "data", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail
;
23016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23017 if (SWIG_arg_fail(2)) SWIG_fail
;
23020 if (!wxPyCheckForApp()) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
23034 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23037 wxPageSetupDialogData
*result
;
23038 PyObject
* obj0
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
23044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
23050 result
= (wxPageSetupDialogData
*) &_result_ref
;
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23063 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23066 wxPageSetupDialogData
*result
;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
23073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23074 if (SWIG_arg_fail(1)) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
23079 result
= (wxPageSetupDialogData
*) &_result_ref
;
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23092 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (int)(arg1
)->ShowModal();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_From_int((int)(result
));
23120 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23123 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23125 return Py_BuildValue((char *)"");
23127 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23128 PyObject
*resultobj
;
23129 wxPrintDialogData
*result
;
23131 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23146 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23147 PyObject
*resultobj
;
23148 wxPrintData
*arg1
= 0 ;
23149 wxPrintDialogData
*result
;
23150 PyObject
* obj0
= 0 ;
23152 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail
;
23156 if (arg1
== NULL
) {
23157 SWIG_null_ref("wxPrintData");
23159 if (SWIG_arg_fail(1)) SWIG_fail
;
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23175 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23176 PyObject
*resultobj
;
23177 wxPrintDialogData
*arg1
= 0 ;
23178 wxPrintDialogData
*result
;
23179 PyObject
* obj0
= 0 ;
23181 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23184 if (SWIG_arg_fail(1)) SWIG_fail
;
23185 if (arg1
== NULL
) {
23186 SWIG_null_ref("wxPrintDialogData");
23188 if (SWIG_arg_fail(1)) SWIG_fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23204 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23209 argc
= PyObject_Length(args
);
23210 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23211 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23214 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23220 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23228 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23235 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23243 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23247 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23252 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23253 PyObject
*resultobj
;
23254 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 Py_INCREF(Py_None
); resultobj
= Py_None
;
23277 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23288 if (SWIG_arg_fail(1)) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= SWIG_From_int((int)(result
));
23305 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23316 if (SWIG_arg_fail(1)) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_From_int((int)(result
));
23333 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23337 PyObject
* obj0
= 0 ;
23338 char *kwnames
[] = {
23339 (char *) "self", NULL
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23344 if (SWIG_arg_fail(1)) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_From_int((int)(result
));
23361 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_From_int((int)(result
));
23389 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_From_int((int)(result
));
23417 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23428 if (SWIG_arg_fail(1)) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23445 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23456 if (SWIG_arg_fail(1)) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23473 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23501 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23505 PyObject
* obj0
= 0 ;
23506 char *kwnames
[] = {
23507 (char *) "self", NULL
23510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23512 if (SWIG_arg_fail(1)) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23529 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23540 if (SWIG_arg_fail(1)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23557 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self",(char *) "flag", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail
;
23571 arg2
= (bool)(SWIG_As_bool(obj1
));
23572 if (SWIG_arg_fail(2)) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 (arg1
)->SetSetupDialog(arg2
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 Py_INCREF(Py_None
); resultobj
= Py_None
;
23588 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "v", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23600 if (SWIG_arg_fail(1)) SWIG_fail
;
23602 arg2
= (int)(SWIG_As_int(obj1
));
23603 if (SWIG_arg_fail(2)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 (arg1
)->SetFromPage(arg2
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 Py_INCREF(Py_None
); resultobj
= Py_None
;
23619 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "v", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail
;
23633 arg2
= (int)(SWIG_As_int(obj1
));
23634 if (SWIG_arg_fail(2)) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 (arg1
)->SetToPage(arg2
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 Py_INCREF(Py_None
); resultobj
= Py_None
;
23650 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23652 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23654 PyObject
* obj0
= 0 ;
23655 PyObject
* obj1
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self",(char *) "v", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23662 if (SWIG_arg_fail(1)) SWIG_fail
;
23664 arg2
= (int)(SWIG_As_int(obj1
));
23665 if (SWIG_arg_fail(2)) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->SetMinPage(arg2
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 Py_INCREF(Py_None
); resultobj
= Py_None
;
23681 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "v", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23693 if (SWIG_arg_fail(1)) SWIG_fail
;
23695 arg2
= (int)(SWIG_As_int(obj1
));
23696 if (SWIG_arg_fail(2)) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 (arg1
)->SetMaxPage(arg2
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 Py_INCREF(Py_None
); resultobj
= Py_None
;
23712 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self",(char *) "v", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail
;
23726 arg2
= (int)(SWIG_As_int(obj1
));
23727 if (SWIG_arg_fail(2)) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 (arg1
)->SetNoCopies(arg2
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 Py_INCREF(Py_None
); resultobj
= Py_None
;
23743 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "flag", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail
;
23757 arg2
= (bool)(SWIG_As_bool(obj1
));
23758 if (SWIG_arg_fail(2)) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 (arg1
)->SetAllPages(arg2
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 Py_INCREF(Py_None
); resultobj
= Py_None
;
23774 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "self",(char *) "flag", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23786 if (SWIG_arg_fail(1)) SWIG_fail
;
23788 arg2
= (bool)(SWIG_As_bool(obj1
));
23789 if (SWIG_arg_fail(2)) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 (arg1
)->SetSelection(arg2
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 Py_INCREF(Py_None
); resultobj
= Py_None
;
23805 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23811 char *kwnames
[] = {
23812 (char *) "self",(char *) "flag", NULL
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23817 if (SWIG_arg_fail(1)) SWIG_fail
;
23819 arg2
= (bool)(SWIG_As_bool(obj1
));
23820 if (SWIG_arg_fail(2)) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 (arg1
)->SetCollate(arg2
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 Py_INCREF(Py_None
); resultobj
= Py_None
;
23836 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 PyObject
* obj1
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self",(char *) "flag", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23848 if (SWIG_arg_fail(1)) SWIG_fail
;
23850 arg2
= (bool)(SWIG_As_bool(obj1
));
23851 if (SWIG_arg_fail(2)) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 (arg1
)->SetPrintToFile(arg2
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 Py_INCREF(Py_None
); resultobj
= Py_None
;
23867 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 char *kwnames
[] = {
23874 (char *) "self",(char *) "flag", NULL
23877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23879 if (SWIG_arg_fail(1)) SWIG_fail
;
23881 arg2
= (bool)(SWIG_As_bool(obj1
));
23882 if (SWIG_arg_fail(2)) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 (arg1
)->EnablePrintToFile(arg2
);
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 Py_INCREF(Py_None
); resultobj
= Py_None
;
23898 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self",(char *) "flag", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23910 if (SWIG_arg_fail(1)) SWIG_fail
;
23912 arg2
= (bool)(SWIG_As_bool(obj1
));
23913 if (SWIG_arg_fail(2)) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 (arg1
)->EnableSelection(arg2
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 Py_INCREF(Py_None
); resultobj
= Py_None
;
23929 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23933 PyObject
* obj0
= 0 ;
23934 PyObject
* obj1
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self",(char *) "flag", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23941 if (SWIG_arg_fail(1)) SWIG_fail
;
23943 arg2
= (bool)(SWIG_As_bool(obj1
));
23944 if (SWIG_arg_fail(2)) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 (arg1
)->EnablePageNumbers(arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 Py_INCREF(Py_None
); resultobj
= Py_None
;
23960 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "flag", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23972 if (SWIG_arg_fail(1)) SWIG_fail
;
23974 arg2
= (bool)(SWIG_As_bool(obj1
));
23975 if (SWIG_arg_fail(2)) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 (arg1
)->EnableHelp(arg2
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 Py_INCREF(Py_None
); resultobj
= Py_None
;
23991 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
;
23993 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23995 PyObject
* obj0
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
24001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24002 if (SWIG_arg_fail(1)) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24019 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
24029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24030 if (SWIG_arg_fail(1)) SWIG_fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24047 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
;
24049 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24051 PyObject
* obj0
= 0 ;
24052 char *kwnames
[] = {
24053 (char *) "self", NULL
24056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
24057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24058 if (SWIG_arg_fail(1)) SWIG_fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24075 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24079 PyObject
* obj0
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
24085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24103 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24107 PyObject
* obj0
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
24113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24114 if (SWIG_arg_fail(1)) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24131 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24134 wxPrintData
*result
;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24147 result
= (wxPrintData
*) &_result_ref
;
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24160 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24163 wxPrintData
*arg2
= 0 ;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "self",(char *) "printData", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24172 if (SWIG_arg_fail(1)) SWIG_fail
;
24174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24175 if (SWIG_arg_fail(2)) SWIG_fail
;
24176 if (arg2
== NULL
) {
24177 SWIG_null_ref("wxPrintData");
24179 if (SWIG_arg_fail(2)) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24198 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24200 return Py_BuildValue((char *)"");
24202 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxWindow
*arg1
= (wxWindow
*) 0 ;
24205 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24206 wxPrintDialog
*result
;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 char *kwnames
[] = {
24210 (char *) "parent",(char *) "data", NULL
24213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail
;
24217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24218 if (SWIG_arg_fail(2)) SWIG_fail
;
24221 if (!wxPyCheckForApp()) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24235 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (int)(arg1
)->ShowModal();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_From_int((int)(result
));
24263 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24266 wxPrintDialogData
*result
;
24267 PyObject
* obj0
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24274 if (SWIG_arg_fail(1)) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24279 result
= (wxPrintDialogData
*) &_result_ref
;
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24292 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24295 wxPrintData
*result
;
24296 PyObject
* obj0
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24303 if (SWIG_arg_fail(1)) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24308 result
= (wxPrintData
*) &_result_ref
;
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24321 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24332 if (SWIG_arg_fail(1)) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (wxDC
*)(arg1
)->GetPrintDC();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= wxPyMake_wxObject(result
, 1);
24349 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24352 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24354 return Py_BuildValue((char *)"");
24356 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24360 PyObject
* obj0
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "data", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24368 if (SWIG_arg_fail(1)) SWIG_fail
;
24371 if (!wxPyCheckForApp()) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxPrinter
*)new wxPrinter(arg1
);
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24385 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24395 if (SWIG_arg_fail(1)) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 Py_INCREF(Py_None
); resultobj
= Py_None
;
24410 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24412 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24413 wxWindow
*arg2
= (wxWindow
*) 0 ;
24414 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self",(char *) "parent",(char *) "printout", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24425 if (SWIG_arg_fail(1)) SWIG_fail
;
24426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24427 if (SWIG_arg_fail(2)) SWIG_fail
;
24428 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24429 if (SWIG_arg_fail(3)) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= wxPyMake_wxObject(result
, 0);
24446 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24449 wxWindow
*arg2
= (wxWindow
*) 0 ;
24450 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24451 wxString
*arg4
= 0 ;
24452 bool temp4
= false ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 PyObject
* obj2
= 0 ;
24456 PyObject
* obj3
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg4
= wxString_in_helper(obj3
);
24470 if (arg4
== NULL
) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 Py_INCREF(Py_None
); resultobj
= Py_None
;
24495 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24498 wxWindow
*arg2
= (wxWindow
*) 0 ;
24500 PyObject
* obj0
= 0 ;
24501 PyObject
* obj1
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self",(char *) "parent", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24508 if (SWIG_arg_fail(1)) SWIG_fail
;
24509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24510 if (SWIG_arg_fail(2)) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (bool)(arg1
)->Setup(arg2
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24527 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24530 wxWindow
*arg2
= (wxWindow
*) 0 ;
24531 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24532 bool arg4
= (bool) true ;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 PyObject
* obj2
= 0 ;
24537 PyObject
* obj3
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail
;
24545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(2)) SWIG_fail
;
24547 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24548 if (SWIG_arg_fail(3)) SWIG_fail
;
24551 arg4
= (bool)(SWIG_As_bool(obj3
));
24552 if (SWIG_arg_fail(4)) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24571 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24574 wxWindow
*arg2
= (wxWindow
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "parent", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24584 if (SWIG_arg_fail(1)) SWIG_fail
;
24585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24586 if (SWIG_arg_fail(2)) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= wxPyMake_wxObject(result
, 0);
24603 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24606 wxPrintDialogData
*result
;
24607 PyObject
* obj0
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24614 if (SWIG_arg_fail(1)) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24619 result
= (wxPrintDialogData
*) &_result_ref
;
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24632 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24643 if (SWIG_arg_fail(1)) SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 result
= (bool)(arg1
)->GetAbort();
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24660 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxPrinterError result
;
24663 char *kwnames
[] = {
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (wxPrinterError
)wxPrinter::GetLastError();
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= SWIG_From_int((result
));
24682 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24685 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24687 return Py_BuildValue((char *)"");
24689 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24692 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24693 wxPyPrintout
*result
;
24694 bool temp1
= false ;
24695 PyObject
* obj0
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "title", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24703 arg1
= wxString_in_helper(obj0
);
24704 if (arg1
== NULL
) SWIG_fail
;
24709 if (!wxPyCheckForApp()) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= wxPyMake_wxObject(result
, 1);
24733 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24736 PyObject
*arg2
= (PyObject
*) 0 ;
24737 PyObject
*arg3
= (PyObject
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 PyObject
* obj2
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self",(char *) "self",(char *) "_class", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24747 if (SWIG_arg_fail(1)) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24764 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24768 PyObject
* obj0
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24775 if (SWIG_arg_fail(1)) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24796 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24800 PyObject
* obj0
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (wxDC
*)(arg1
)->GetDC();
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= wxPyMake_wxObject(result
, 0);
24824 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24827 wxDC
*arg2
= (wxDC
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 char *kwnames
[] = {
24831 (char *) "self",(char *) "dc", NULL
24834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24836 if (SWIG_arg_fail(1)) SWIG_fail
;
24837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24838 if (SWIG_arg_fail(2)) SWIG_fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 (arg1
)->SetDC(arg2
);
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 Py_INCREF(Py_None
); resultobj
= Py_None
;
24853 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
;
24855 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 PyObject
* obj2
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self",(char *) "w",(char *) "h", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24867 if (SWIG_arg_fail(1)) SWIG_fail
;
24869 arg2
= (int)(SWIG_As_int(obj1
));
24870 if (SWIG_arg_fail(2)) SWIG_fail
;
24873 arg3
= (int)(SWIG_As_int(obj2
));
24874 if (SWIG_arg_fail(3)) SWIG_fail
;
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 Py_INCREF(Py_None
); resultobj
= Py_None
;
24890 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
;
24892 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24893 int *arg2
= (int *) 0 ;
24894 int *arg3
= (int *) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self", NULL
24904 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24905 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 Py_INCREF(Py_None
); resultobj
= Py_None
;
24917 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24918 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24919 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24920 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24927 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 PyObject
* obj2
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "w",(char *) "h", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail
;
24943 arg2
= (int)(SWIG_As_int(obj1
));
24944 if (SWIG_arg_fail(2)) SWIG_fail
;
24947 arg3
= (int)(SWIG_As_int(obj2
));
24948 if (SWIG_arg_fail(3)) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 Py_INCREF(Py_None
); resultobj
= Py_None
;
24964 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24967 int *arg2
= (int *) 0 ;
24968 int *arg3
= (int *) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self", NULL
24978 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24979 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24982 if (SWIG_arg_fail(1)) SWIG_fail
;
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 Py_INCREF(Py_None
); resultobj
= Py_None
;
24991 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24992 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24993 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24994 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25001 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25006 PyObject
* obj0
= 0 ;
25007 PyObject
* obj1
= 0 ;
25008 PyObject
* obj2
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self",(char *) "x",(char *) "y", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25015 if (SWIG_arg_fail(1)) SWIG_fail
;
25017 arg2
= (int)(SWIG_As_int(obj1
));
25018 if (SWIG_arg_fail(2)) SWIG_fail
;
25021 arg3
= (int)(SWIG_As_int(obj2
));
25022 if (SWIG_arg_fail(3)) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 (arg1
)->SetPPIScreen(arg2
,arg3
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 Py_INCREF(Py_None
); resultobj
= Py_None
;
25038 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25041 int *arg2
= (int *) 0 ;
25042 int *arg3
= (int *) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25053 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
25055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25056 if (SWIG_arg_fail(1)) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 (arg1
)->GetPPIScreen(arg2
,arg3
);
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25064 Py_INCREF(Py_None
); resultobj
= Py_None
;
25065 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25066 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25067 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25068 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25075 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 PyObject
* obj2
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self",(char *) "x",(char *) "y", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25089 if (SWIG_arg_fail(1)) SWIG_fail
;
25091 arg2
= (int)(SWIG_As_int(obj1
));
25092 if (SWIG_arg_fail(2)) SWIG_fail
;
25095 arg3
= (int)(SWIG_As_int(obj2
));
25096 if (SWIG_arg_fail(3)) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->SetPPIPrinter(arg2
,arg3
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25115 int *arg2
= (int *) 0 ;
25116 int *arg3
= (int *) 0 ;
25121 PyObject
* obj0
= 0 ;
25122 char *kwnames
[] = {
25123 (char *) "self", NULL
25126 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25127 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
25129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 (arg1
)->GetPPIPrinter(arg2
,arg3
);
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 Py_INCREF(Py_None
); resultobj
= Py_None
;
25139 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25140 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25141 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25142 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25149 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "self", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25160 if (SWIG_arg_fail(1)) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (bool)(arg1
)->IsPreview();
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25177 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self",(char *) "p", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25189 if (SWIG_arg_fail(1)) SWIG_fail
;
25191 arg2
= (bool)(SWIG_As_bool(obj1
));
25192 if (SWIG_arg_fail(2)) SWIG_fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 (arg1
)->SetIsPreview(arg2
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 Py_INCREF(Py_None
); resultobj
= Py_None
;
25208 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
;
25210 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 PyObject
* obj2
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 arg2
= (int)(SWIG_As_int(obj1
));
25226 if (SWIG_arg_fail(2)) SWIG_fail
;
25229 arg3
= (int)(SWIG_As_int(obj2
));
25230 if (SWIG_arg_fail(3)) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25248 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25251 PyObject
* obj0
= 0 ;
25252 char *kwnames
[] = {
25253 (char *) "self", NULL
25256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25258 if (SWIG_arg_fail(1)) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 (arg1
)->base_OnEndDocument();
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 Py_INCREF(Py_None
); resultobj
= Py_None
;
25273 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25276 PyObject
* obj0
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25283 if (SWIG_arg_fail(1)) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 (arg1
)->base_OnBeginPrinting();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 Py_INCREF(Py_None
); resultobj
= Py_None
;
25298 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 (arg1
)->base_OnEndPrinting();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 Py_INCREF(Py_None
); resultobj
= Py_None
;
25323 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25326 PyObject
* obj0
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25333 if (SWIG_arg_fail(1)) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 (arg1
)->base_OnPreparePrinting();
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 Py_INCREF(Py_None
); resultobj
= Py_None
;
25348 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 char *kwnames
[] = {
25356 (char *) "self",(char *) "page", NULL
25359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25361 if (SWIG_arg_fail(1)) SWIG_fail
;
25363 arg2
= (int)(SWIG_As_int(obj1
));
25364 if (SWIG_arg_fail(2)) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (bool)(arg1
)->base_HasPage(arg2
);
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25382 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25385 int *arg2
= (int *) 0 ;
25386 int *arg3
= (int *) 0 ;
25387 int *arg4
= (int *) 0 ;
25388 int *arg5
= (int *) 0 ;
25397 PyObject
* obj0
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self", NULL
25402 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25403 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25404 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25405 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail
;
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 Py_INCREF(Py_None
); resultobj
= Py_None
;
25417 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25418 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25419 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25420 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25421 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25422 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25423 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25424 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25431 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25434 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25436 return Py_BuildValue((char *)"");
25438 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25441 wxWindow
*arg2
= (wxWindow
*) 0 ;
25442 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25443 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25444 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25445 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25446 long arg5
= (long) 0 ;
25447 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25448 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25449 wxPreviewCanvas
*result
;
25452 bool temp6
= false ;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 PyObject
* obj2
= 0 ;
25456 PyObject
* obj3
= 0 ;
25457 PyObject
* obj4
= 0 ;
25458 PyObject
* obj5
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25465 if (SWIG_arg_fail(1)) SWIG_fail
;
25466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25467 if (SWIG_arg_fail(2)) SWIG_fail
;
25471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25477 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25482 arg5
= (long)(SWIG_As_long(obj4
));
25483 if (SWIG_arg_fail(5)) SWIG_fail
;
25488 arg6
= wxString_in_helper(obj5
);
25489 if (arg6
== NULL
) SWIG_fail
;
25494 if (!wxPyCheckForApp()) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25516 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25519 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25521 return Py_BuildValue((char *)"");
25523 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25526 wxFrame
*arg2
= (wxFrame
*) 0 ;
25527 wxString
*arg3
= 0 ;
25528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25532 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25533 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25535 wxPreviewFrame
*result
;
25536 bool temp3
= false ;
25539 bool temp7
= false ;
25540 PyObject
* obj0
= 0 ;
25541 PyObject
* obj1
= 0 ;
25542 PyObject
* obj2
= 0 ;
25543 PyObject
* obj3
= 0 ;
25544 PyObject
* obj4
= 0 ;
25545 PyObject
* obj5
= 0 ;
25546 PyObject
* obj6
= 0 ;
25547 char *kwnames
[] = {
25548 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25553 if (SWIG_arg_fail(1)) SWIG_fail
;
25554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25555 if (SWIG_arg_fail(2)) SWIG_fail
;
25557 arg3
= wxString_in_helper(obj2
);
25558 if (arg3
== NULL
) SWIG_fail
;
25564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25575 arg6
= (long)(SWIG_As_long(obj5
));
25576 if (SWIG_arg_fail(6)) SWIG_fail
;
25581 arg7
= wxString_in_helper(obj6
);
25582 if (arg7
== NULL
) SWIG_fail
;
25587 if (!wxPyCheckForApp()) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25617 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25620 PyObject
* obj0
= 0 ;
25621 char *kwnames
[] = {
25622 (char *) "self", NULL
25625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25627 if (SWIG_arg_fail(1)) SWIG_fail
;
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 (arg1
)->Initialize();
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 Py_INCREF(Py_None
); resultobj
= Py_None
;
25642 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
;
25644 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25645 PyObject
* obj0
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25652 if (SWIG_arg_fail(1)) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 (arg1
)->CreateControlBar();
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 Py_INCREF(Py_None
); resultobj
= Py_None
;
25667 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
;
25669 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25670 PyObject
* obj0
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25677 if (SWIG_arg_fail(1)) SWIG_fail
;
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 (arg1
)->CreateCanvas();
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 Py_INCREF(Py_None
); resultobj
= Py_None
;
25692 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
;
25694 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25695 wxPreviewControlBar
*result
;
25696 PyObject
* obj0
= 0 ;
25697 char *kwnames
[] = {
25698 (char *) "self", NULL
25701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25703 if (SWIG_arg_fail(1)) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25718 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25721 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25723 return Py_BuildValue((char *)"");
25725 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
;
25727 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25729 wxWindow
*arg3
= (wxWindow
*) 0 ;
25730 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25731 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25732 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25733 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25734 long arg6
= (long) wxTAB_TRAVERSAL
;
25735 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25736 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25737 wxPreviewControlBar
*result
;
25740 bool temp7
= false ;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 PyObject
* obj2
= 0 ;
25744 PyObject
* obj3
= 0 ;
25745 PyObject
* obj4
= 0 ;
25746 PyObject
* obj5
= 0 ;
25747 PyObject
* obj6
= 0 ;
25748 char *kwnames
[] = {
25749 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25754 if (SWIG_arg_fail(1)) SWIG_fail
;
25756 arg2
= (long)(SWIG_As_long(obj1
));
25757 if (SWIG_arg_fail(2)) SWIG_fail
;
25759 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25760 if (SWIG_arg_fail(3)) SWIG_fail
;
25764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25775 arg6
= (long)(SWIG_As_long(obj5
));
25776 if (SWIG_arg_fail(6)) SWIG_fail
;
25781 arg7
= wxString_in_helper(obj6
);
25782 if (arg7
== NULL
) SWIG_fail
;
25787 if (!wxPyCheckForApp()) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25809 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25820 if (SWIG_arg_fail(1)) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (int)(arg1
)->GetZoomControl();
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_From_int((int)(result
));
25837 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "zoom", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25849 if (SWIG_arg_fail(1)) SWIG_fail
;
25851 arg2
= (int)(SWIG_As_int(obj1
));
25852 if (SWIG_arg_fail(2)) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 (arg1
)->SetZoomControl(arg2
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 Py_INCREF(Py_None
); resultobj
= Py_None
;
25868 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
;
25870 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25871 wxPrintPreview
*result
;
25872 PyObject
* obj0
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25879 if (SWIG_arg_fail(1)) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25894 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25897 PyObject
* obj0
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 Py_INCREF(Py_None
); resultobj
= Py_None
;
25919 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
;
25921 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(1)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 (arg1
)->OnPrevious();
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 Py_INCREF(Py_None
); resultobj
= Py_None
;
25944 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25947 PyObject
* obj0
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25954 if (SWIG_arg_fail(1)) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 Py_INCREF(Py_None
); resultobj
= Py_None
;
25969 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25979 if (SWIG_arg_fail(1)) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 Py_INCREF(Py_None
); resultobj
= Py_None
;
25994 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25997 PyObject
* obj0
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 Py_INCREF(Py_None
); resultobj
= Py_None
;
26019 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
26021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26022 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
26024 return Py_BuildValue((char *)"");
26026 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26027 PyObject
*resultobj
;
26028 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26029 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26030 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26031 wxPrintPreview
*result
;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 PyObject
* obj2
= 0 ;
26036 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26038 if (SWIG_arg_fail(1)) SWIG_fail
;
26039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26040 if (SWIG_arg_fail(2)) SWIG_fail
;
26042 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26043 if (SWIG_arg_fail(3)) SWIG_fail
;
26046 if (!wxPyCheckForApp()) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26060 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26061 PyObject
*resultobj
;
26062 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26063 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26064 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26065 wxPrintPreview
*result
;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 PyObject
* obj2
= 0 ;
26070 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26072 if (SWIG_arg_fail(1)) SWIG_fail
;
26073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26074 if (SWIG_arg_fail(2)) SWIG_fail
;
26075 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26076 if (SWIG_arg_fail(3)) SWIG_fail
;
26078 if (!wxPyCheckForApp()) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26092 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
26097 argc
= PyObject_Length(args
);
26098 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26099 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26101 if ((argc
>= 2) && (argc
<= 3)) {
26105 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26115 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26124 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26128 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26136 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26145 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26155 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26165 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26173 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26179 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26184 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "pageNum", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail
;
26199 arg2
= (int)(SWIG_As_int(obj1
));
26200 if (SWIG_arg_fail(2)) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26218 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26229 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (int)(arg1
)->GetCurrentPage();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_From_int((int)(result
));
26246 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26249 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "printout", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26258 if (SWIG_arg_fail(1)) SWIG_fail
;
26259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26260 if (SWIG_arg_fail(2)) SWIG_fail
;
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 (arg1
)->SetPrintout(arg2
);
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 Py_INCREF(Py_None
); resultobj
= Py_None
;
26275 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26278 wxPyPrintout
*result
;
26279 PyObject
* obj0
= 0 ;
26280 char *kwnames
[] = {
26281 (char *) "self", NULL
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(1)) SWIG_fail
;
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= wxPyMake_wxObject(result
, 0);
26303 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26306 wxPyPrintout
*result
;
26307 PyObject
* obj0
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26314 if (SWIG_arg_fail(1)) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= wxPyMake_wxObject(result
, 0);
26331 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
;
26333 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26334 wxFrame
*arg2
= (wxFrame
*) 0 ;
26335 PyObject
* obj0
= 0 ;
26336 PyObject
* obj1
= 0 ;
26337 char *kwnames
[] = {
26338 (char *) "self",(char *) "frame", NULL
26341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26343 if (SWIG_arg_fail(1)) SWIG_fail
;
26344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26345 if (SWIG_arg_fail(2)) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 (arg1
)->SetFrame(arg2
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 Py_INCREF(Py_None
); resultobj
= Py_None
;
26360 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26363 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "self",(char *) "canvas", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26372 if (SWIG_arg_fail(1)) SWIG_fail
;
26373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26374 if (SWIG_arg_fail(2)) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->SetCanvas(arg2
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 Py_INCREF(Py_None
); resultobj
= Py_None
;
26389 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26393 PyObject
* obj0
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26400 if (SWIG_arg_fail(1)) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= (wxFrame
*)(arg1
)->GetFrame();
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= wxPyMake_wxObject(result
, 0);
26417 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26420 wxPreviewCanvas
*result
;
26421 PyObject
* obj0
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26428 if (SWIG_arg_fail(1)) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26443 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26446 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26449 PyObject
* obj0
= 0 ;
26450 PyObject
* obj1
= 0 ;
26451 PyObject
* obj2
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26458 if (SWIG_arg_fail(1)) SWIG_fail
;
26459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26460 if (SWIG_arg_fail(2)) SWIG_fail
;
26462 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26463 if (SWIG_arg_fail(3)) SWIG_fail
;
26464 if (arg3
== NULL
) {
26465 SWIG_null_ref("wxDC");
26467 if (SWIG_arg_fail(3)) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26485 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26488 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 PyObject
* obj2
= 0 ;
26494 char *kwnames
[] = {
26495 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26500 if (SWIG_arg_fail(1)) SWIG_fail
;
26501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26502 if (SWIG_arg_fail(2)) SWIG_fail
;
26504 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26505 if (SWIG_arg_fail(3)) SWIG_fail
;
26506 if (arg3
== NULL
) {
26507 SWIG_null_ref("wxDC");
26509 if (SWIG_arg_fail(3)) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26527 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 char *kwnames
[] = {
26535 (char *) "self",(char *) "pageNum", NULL
26538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26540 if (SWIG_arg_fail(1)) SWIG_fail
;
26542 arg2
= (int)(SWIG_As_int(obj1
));
26543 if (SWIG_arg_fail(2)) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (bool)(arg1
)->RenderPage(arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26561 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
;
26563 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26564 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26565 PyObject
* obj0
= 0 ;
26566 PyObject
* obj1
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self",(char *) "canvas", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26573 if (SWIG_arg_fail(1)) SWIG_fail
;
26574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26575 if (SWIG_arg_fail(2)) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 (arg1
)->AdjustScrollbars(arg2
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 Py_INCREF(Py_None
); resultobj
= Py_None
;
26590 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26593 wxPrintDialogData
*result
;
26594 PyObject
* obj0
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26601 if (SWIG_arg_fail(1)) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26606 result
= (wxPrintDialogData
*) &_result_ref
;
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26619 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 PyObject
* obj1
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "percent", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26631 if (SWIG_arg_fail(1)) SWIG_fail
;
26633 arg2
= (int)(SWIG_As_int(obj1
));
26634 if (SWIG_arg_fail(2)) SWIG_fail
;
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 (arg1
)->SetZoom(arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 Py_INCREF(Py_None
); resultobj
= Py_None
;
26650 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
;
26652 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26654 PyObject
* obj0
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26661 if (SWIG_arg_fail(1)) SWIG_fail
;
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 result
= (int)(arg1
)->GetZoom();
26666 wxPyEndAllowThreads(__tstate
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= SWIG_From_int((int)(result
));
26678 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
;
26680 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26682 PyObject
* obj0
= 0 ;
26683 char *kwnames
[] = {
26684 (char *) "self", NULL
26687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26689 if (SWIG_arg_fail(1)) SWIG_fail
;
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 result
= (int)(arg1
)->GetMaxPage();
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= SWIG_From_int((int)(result
));
26706 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
;
26708 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26710 PyObject
* obj0
= 0 ;
26711 char *kwnames
[] = {
26712 (char *) "self", NULL
26715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26717 if (SWIG_arg_fail(1)) SWIG_fail
;
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 result
= (int)(arg1
)->GetMinPage();
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_From_int((int)(result
));
26734 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26735 PyObject
*resultobj
;
26736 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26738 PyObject
* obj0
= 0 ;
26739 char *kwnames
[] = {
26740 (char *) "self", NULL
26743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26745 if (SWIG_arg_fail(1)) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (bool)(arg1
)->Ok();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26762 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
;
26764 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 PyObject
* obj1
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self",(char *) "ok", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26774 if (SWIG_arg_fail(1)) SWIG_fail
;
26776 arg2
= (bool)(SWIG_As_bool(obj1
));
26777 if (SWIG_arg_fail(2)) SWIG_fail
;
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->SetOk(arg2
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 Py_INCREF(Py_None
); resultobj
= Py_None
;
26793 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self",(char *) "interactive", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26806 if (SWIG_arg_fail(1)) SWIG_fail
;
26808 arg2
= (bool)(SWIG_As_bool(obj1
));
26809 if (SWIG_arg_fail(2)) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 result
= (bool)(arg1
)->Print(arg2
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26827 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
;
26829 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26830 PyObject
* obj0
= 0 ;
26831 char *kwnames
[] = {
26832 (char *) "self", NULL
26835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26837 if (SWIG_arg_fail(1)) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 (arg1
)->DetermineScaling();
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 Py_INCREF(Py_None
); resultobj
= Py_None
;
26852 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26855 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26857 return Py_BuildValue((char *)"");
26859 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26860 PyObject
*resultobj
;
26861 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26862 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26863 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26864 wxPyPrintPreview
*result
;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 PyObject
* obj2
= 0 ;
26869 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26871 if (SWIG_arg_fail(1)) SWIG_fail
;
26872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26873 if (SWIG_arg_fail(2)) SWIG_fail
;
26875 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26876 if (SWIG_arg_fail(3)) SWIG_fail
;
26879 if (!wxPyCheckForApp()) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26893 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26894 PyObject
*resultobj
;
26895 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26896 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26897 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26898 wxPyPrintPreview
*result
;
26899 PyObject
* obj0
= 0 ;
26900 PyObject
* obj1
= 0 ;
26901 PyObject
* obj2
= 0 ;
26903 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26905 if (SWIG_arg_fail(1)) SWIG_fail
;
26906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26907 if (SWIG_arg_fail(2)) SWIG_fail
;
26908 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26909 if (SWIG_arg_fail(3)) SWIG_fail
;
26911 if (!wxPyCheckForApp()) SWIG_fail
;
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26925 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26930 argc
= PyObject_Length(args
);
26931 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26932 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26934 if ((argc
>= 2) && (argc
<= 3)) {
26938 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26948 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26957 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26961 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26969 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26978 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26988 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26998 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
27006 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
27012 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
27017 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27020 PyObject
*arg2
= (PyObject
*) 0 ;
27021 PyObject
*arg3
= (PyObject
*) 0 ;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 PyObject
* obj2
= 0 ;
27025 char *kwnames
[] = {
27026 (char *) "self",(char *) "self",(char *) "_class", NULL
27029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27031 if (SWIG_arg_fail(1)) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 Py_INCREF(Py_None
); resultobj
= Py_None
;
27048 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 PyObject
* obj1
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self",(char *) "pageNum", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27061 if (SWIG_arg_fail(1)) SWIG_fail
;
27063 arg2
= (int)(SWIG_As_int(obj1
));
27064 if (SWIG_arg_fail(2)) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27082 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27085 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 PyObject
* obj2
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27097 if (SWIG_arg_fail(1)) SWIG_fail
;
27098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27099 if (SWIG_arg_fail(2)) SWIG_fail
;
27101 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27102 if (SWIG_arg_fail(3)) SWIG_fail
;
27103 if (arg3
== NULL
) {
27104 SWIG_null_ref("wxDC");
27106 if (SWIG_arg_fail(3)) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27124 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27127 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27130 PyObject
* obj0
= 0 ;
27131 PyObject
* obj1
= 0 ;
27132 PyObject
* obj2
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail
;
27140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27141 if (SWIG_arg_fail(2)) SWIG_fail
;
27143 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27144 if (SWIG_arg_fail(3)) SWIG_fail
;
27145 if (arg3
== NULL
) {
27146 SWIG_null_ref("wxDC");
27148 if (SWIG_arg_fail(3)) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27166 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self",(char *) "pageNum", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail
;
27181 arg2
= (int)(SWIG_As_int(obj1
));
27182 if (SWIG_arg_fail(2)) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27200 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "self",(char *) "percent", NULL
27210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27212 if (SWIG_arg_fail(1)) SWIG_fail
;
27214 arg2
= (int)(SWIG_As_int(obj1
));
27215 if (SWIG_arg_fail(2)) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 (arg1
)->base_SetZoom(arg2
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 Py_INCREF(Py_None
); resultobj
= Py_None
;
27231 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self",(char *) "interactive", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27244 if (SWIG_arg_fail(1)) SWIG_fail
;
27246 arg2
= (bool)(SWIG_As_bool(obj1
));
27247 if (SWIG_arg_fail(2)) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (bool)(arg1
)->base_Print(arg2
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27265 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27268 PyObject
* obj0
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27275 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 (arg1
)->base_DetermineScaling();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 Py_INCREF(Py_None
); resultobj
= Py_None
;
27290 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27293 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27295 return Py_BuildValue((char *)"");
27297 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27300 wxFrame
*arg2
= (wxFrame
*) 0 ;
27301 wxString
*arg3
= 0 ;
27302 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27303 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27304 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27305 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27306 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27307 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27308 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27309 wxPyPreviewFrame
*result
;
27310 bool temp3
= false ;
27313 bool temp7
= false ;
27314 PyObject
* obj0
= 0 ;
27315 PyObject
* obj1
= 0 ;
27316 PyObject
* obj2
= 0 ;
27317 PyObject
* obj3
= 0 ;
27318 PyObject
* obj4
= 0 ;
27319 PyObject
* obj5
= 0 ;
27320 PyObject
* obj6
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27327 if (SWIG_arg_fail(1)) SWIG_fail
;
27328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27329 if (SWIG_arg_fail(2)) SWIG_fail
;
27331 arg3
= wxString_in_helper(obj2
);
27332 if (arg3
== NULL
) SWIG_fail
;
27338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27349 arg6
= (long)(SWIG_As_long(obj5
));
27350 if (SWIG_arg_fail(6)) SWIG_fail
;
27355 arg7
= wxString_in_helper(obj6
);
27356 if (arg7
== NULL
) SWIG_fail
;
27361 if (!wxPyCheckForApp()) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27391 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27394 PyObject
*arg2
= (PyObject
*) 0 ;
27395 PyObject
*arg3
= (PyObject
*) 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 PyObject
* obj2
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self",(char *) "self",(char *) "_class", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27405 if (SWIG_arg_fail(1)) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 Py_INCREF(Py_None
); resultobj
= Py_None
;
27422 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27425 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 PyObject
* obj1
= 0 ;
27428 char *kwnames
[] = {
27429 (char *) "self",(char *) "canvas", NULL
27432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27434 if (SWIG_arg_fail(1)) SWIG_fail
;
27435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27436 if (SWIG_arg_fail(2)) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 (arg1
)->SetPreviewCanvas(arg2
);
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 Py_INCREF(Py_None
); resultobj
= Py_None
;
27451 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27454 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27455 PyObject
* obj0
= 0 ;
27456 PyObject
* obj1
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self",(char *) "bar", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27463 if (SWIG_arg_fail(1)) SWIG_fail
;
27464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27465 if (SWIG_arg_fail(2)) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 (arg1
)->SetControlBar(arg2
);
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 Py_INCREF(Py_None
); resultobj
= Py_None
;
27480 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27483 PyObject
* obj0
= 0 ;
27484 char *kwnames
[] = {
27485 (char *) "self", NULL
27488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27490 if (SWIG_arg_fail(1)) SWIG_fail
;
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 (arg1
)->base_Initialize();
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 Py_INCREF(Py_None
); resultobj
= Py_None
;
27505 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
;
27507 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27508 PyObject
* obj0
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 (arg1
)->base_CreateCanvas();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 Py_INCREF(Py_None
); resultobj
= Py_None
;
27530 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27533 PyObject
* obj0
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27540 if (SWIG_arg_fail(1)) SWIG_fail
;
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 (arg1
)->base_CreateControlBar();
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 Py_INCREF(Py_None
); resultobj
= Py_None
;
27555 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27558 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27560 return Py_BuildValue((char *)"");
27562 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27563 PyObject
*resultobj
;
27564 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27566 wxWindow
*arg3
= (wxWindow
*) 0 ;
27567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27571 long arg6
= (long) 0 ;
27572 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27573 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27574 wxPyPreviewControlBar
*result
;
27577 bool temp7
= false ;
27578 PyObject
* obj0
= 0 ;
27579 PyObject
* obj1
= 0 ;
27580 PyObject
* obj2
= 0 ;
27581 PyObject
* obj3
= 0 ;
27582 PyObject
* obj4
= 0 ;
27583 PyObject
* obj5
= 0 ;
27584 PyObject
* obj6
= 0 ;
27585 char *kwnames
[] = {
27586 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27591 if (SWIG_arg_fail(1)) SWIG_fail
;
27593 arg2
= (long)(SWIG_As_long(obj1
));
27594 if (SWIG_arg_fail(2)) SWIG_fail
;
27596 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27597 if (SWIG_arg_fail(3)) SWIG_fail
;
27601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27612 arg6
= (long)(SWIG_As_long(obj5
));
27613 if (SWIG_arg_fail(6)) SWIG_fail
;
27618 arg7
= wxString_in_helper(obj6
);
27619 if (arg7
== NULL
) SWIG_fail
;
27624 if (!wxPyCheckForApp()) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27646 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27649 PyObject
*arg2
= (PyObject
*) 0 ;
27650 PyObject
*arg3
= (PyObject
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 PyObject
* obj1
= 0 ;
27653 PyObject
* obj2
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "self",(char *) "_class", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27660 if (SWIG_arg_fail(1)) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 Py_INCREF(Py_None
); resultobj
= Py_None
;
27677 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27680 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27681 PyObject
* obj0
= 0 ;
27682 PyObject
* obj1
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "self",(char *) "preview", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27689 if (SWIG_arg_fail(1)) SWIG_fail
;
27690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27691 if (SWIG_arg_fail(2)) SWIG_fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 (arg1
)->SetPrintPreview(arg2
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 Py_INCREF(Py_None
); resultobj
= Py_None
;
27706 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 (arg1
)->base_CreateButtons();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 Py_INCREF(Py_None
); resultobj
= Py_None
;
27731 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27733 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27735 PyObject
* obj0
= 0 ;
27736 PyObject
* obj1
= 0 ;
27737 char *kwnames
[] = {
27738 (char *) "self",(char *) "zoom", NULL
27741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27743 if (SWIG_arg_fail(1)) SWIG_fail
;
27745 arg2
= (int)(SWIG_As_int(obj1
));
27746 if (SWIG_arg_fail(2)) SWIG_fail
;
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 (arg1
)->base_SetZoomControl(arg2
);
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 Py_INCREF(Py_None
); resultobj
= Py_None
;
27762 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27765 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27767 return Py_BuildValue((char *)"");
27769 static PyMethodDef SwigMethods
[] = {
27770 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27778 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27793 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27794 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27803 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27821 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27845 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27858 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27862 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27866 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27871 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27888 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27918 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27925 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27948 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27956 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27968 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27974 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27983 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27989 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27994 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
28000 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
28004 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28024 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
28050 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
28058 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
28067 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
28069 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
28078 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
28081 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
28088 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
28106 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28110 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28115 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28119 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28121 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
28137 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28140 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28142 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28146 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28155 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28164 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28170 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28185 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28192 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28196 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28221 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28246 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28271 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28272 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28319 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28320 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28353 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28358 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28359 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28392 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28397 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28398 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28400 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28401 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28403 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28405 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28406 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28407 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28408 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28409 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28412 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28415 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28431 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28432 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28434 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28435 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28437 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28438 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28439 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28440 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28443 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28445 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28446 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28447 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28448 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28449 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28450 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28451 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28452 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28453 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28454 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28455 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28456 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28459 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28461 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28466 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28467 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28469 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28470 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28471 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28473 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28474 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28475 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28477 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28478 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28479 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28481 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28482 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28484 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28485 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28486 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28487 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28488 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28489 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28490 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28491 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28492 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28495 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28498 { NULL
, NULL
, 0, NULL
}
28502 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28504 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28505 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28507 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28508 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28510 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28511 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28513 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28514 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28516 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28517 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28519 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28520 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28522 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28523 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28525 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28526 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28528 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28529 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28531 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28532 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28534 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28535 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28537 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28538 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28540 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28541 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28543 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28544 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28546 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28547 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28549 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28550 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28552 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28553 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28555 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28556 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28558 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28559 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28561 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28562 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28564 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28565 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28567 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28568 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28570 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28571 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28573 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28574 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28576 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28577 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28579 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28580 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28582 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28583 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28585 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28586 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28588 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28589 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28591 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28592 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28594 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28595 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28597 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28598 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28600 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28601 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28603 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28604 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28606 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28607 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28609 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28610 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28612 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28613 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28615 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28616 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28618 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28621 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28622 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28624 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28625 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28627 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28628 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28630 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28631 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28633 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28634 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28636 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28637 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28639 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28642 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28645 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28648 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28649 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28651 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28652 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28654 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28655 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28657 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28658 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28660 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28663 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28666 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28669 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28672 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28675 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28678 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28681 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28684 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28685 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28687 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28690 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28693 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28696 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28699 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28700 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28702 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28705 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28706 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28708 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28709 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28711 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28712 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28714 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28715 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28717 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28720 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28721 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28723 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28724 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28726 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28729 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28730 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28732 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28735 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28738 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28741 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28742 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28744 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28747 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28748 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28750 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28753 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28756 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28759 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28762 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28765 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28766 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28768 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28771 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28774 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28777 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28780 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28783 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28786 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28787 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28789 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28790 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28792 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28793 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28795 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28796 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28798 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28799 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28801 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28802 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28804 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28805 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28807 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28808 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28810 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28811 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28813 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28814 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28816 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28819 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28822 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28823 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28825 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28826 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28828 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28831 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28832 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28834 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28835 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28837 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28838 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28840 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28841 return (void *)((wxObject
*) ((wxSizer
*) x
));
28843 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28844 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28846 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28849 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28852 static void *_p_wxEventTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) ((wxEvent
*) x
));
28855 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) ((wxFontData
*) x
));
28858 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28861 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28864 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28867 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28870 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28873 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28876 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28879 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28882 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28885 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28888 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28891 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28894 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28897 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28900 static void *_p_wxControlTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28903 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28906 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28909 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28912 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28915 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28918 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28921 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) ((wxColourData
*) x
));
28924 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28927 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28930 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28933 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28936 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28939 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28942 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28945 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28948 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28951 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28954 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28957 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28960 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28963 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28966 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28969 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28972 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28975 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28978 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28981 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28984 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28987 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28990 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28993 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28996 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28999 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29002 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29005 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29008 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29011 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29014 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29017 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29020 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29023 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29026 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29029 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29032 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29035 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
29038 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29041 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29044 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
29047 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29050 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29053 static void *_p_wxImageTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) ((wxImage
*) x
));
29056 static void *_p_wxFrameTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
29059 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
29062 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29065 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
29068 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
29071 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29074 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29077 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29080 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29083 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29086 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29089 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29092 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
29095 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
29098 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
29101 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
29104 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
29107 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29110 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
29113 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29116 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29119 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29122 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
29125 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29128 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
29131 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
29134 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29137 static void *_p_wxPanelTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
29140 static void *_p_wxDialogTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
29143 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29146 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29149 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29152 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29155 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29158 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29161 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29164 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29167 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29170 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29173 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29176 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29179 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29182 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29185 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29188 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29191 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29194 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29197 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29200 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29203 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29206 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29209 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29212 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29215 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29216 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29218 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29219 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29221 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29222 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29224 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29225 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29227 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29228 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29230 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29231 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29233 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29234 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29236 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29237 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29239 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29240 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29242 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29243 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29245 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29246 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29248 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29249 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29251 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29252 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29254 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29255 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29257 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29258 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29260 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29261 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29263 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29264 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29266 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29267 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29269 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29270 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29272 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29273 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29275 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29276 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29278 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29279 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29281 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29282 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29284 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29285 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29287 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29288 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29290 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29291 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29293 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29294 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29296 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29297 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29299 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29300 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29302 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29303 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29305 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29306 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29308 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29309 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29311 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29312 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29314 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29315 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29317 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29318 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29320 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29321 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29323 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29324 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29326 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29327 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29329 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29330 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29332 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29333 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29335 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29336 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29338 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29339 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29341 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29342 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29344 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29345 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29347 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29348 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29350 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29351 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29353 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29354 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29356 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29357 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29359 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29360 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29362 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29363 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29365 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29366 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29368 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29369 return (void *)((wxWindow
*) ((wxControl
*) x
));
29371 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29372 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29374 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29375 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29377 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29378 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29380 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29381 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29383 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29384 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29386 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29387 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29389 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29390 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29392 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29393 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29395 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29396 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29398 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29399 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29401 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29402 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29404 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29405 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29407 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29408 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29410 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29413 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29414 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29416 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29417 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29419 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29420 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29422 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29423 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29425 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29426 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29428 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29429 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29431 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29432 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29434 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29435 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29437 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29438 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29440 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29441 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29443 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29444 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29446 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29447 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29449 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29450 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29452 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29453 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29455 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29456 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29458 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29459 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29461 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29462 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29464 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29465 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29467 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29468 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29470 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29471 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29473 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29474 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29476 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29477 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29479 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29480 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29482 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29483 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29485 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29486 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29488 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29489 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29491 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29492 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29494 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29495 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29497 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29498 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29500 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29501 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29503 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29504 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29506 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29507 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29509 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29510 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29512 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29513 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29515 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29516 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29518 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29519 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29521 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29522 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29524 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}};
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29622 static swig_type_info
*swig_types_initial
[] = {
29623 _swigt__p_wxQueryLayoutInfoEvent
,
29624 _swigt__p_wxPreviewFrame
,
29625 _swigt__p_wxPyPreviewFrame
,
29626 _swigt__p_wxPyPanel
,
29628 _swigt__p_wxFontData
,
29630 _swigt__p_wxPrintData
,
29631 _swigt__p_wxTaskBarIcon
,
29632 _swigt__p_wxPyTaskBarIcon
,
29633 _swigt__p_wxIconBundle
,
29634 _swigt__p_wxLayoutAlgorithm
,
29635 _swigt__p_wxFindDialogEvent
,
29636 _swigt__p_wxPreviewCanvas
,
29638 _swigt__p_wxSplitterEvent
,
29639 _swigt__p_wxRegion
,
29641 _swigt__std__ptrdiff_t
,
29642 _swigt__p_wxFindReplaceData
,
29647 _swigt__p_wxVisualAttributes
,
29648 _swigt__p_wxMDIChildFrame
,
29649 _swigt__p_wxColourData
,
29650 _swigt__p_wxNotifyEvent
,
29651 _swigt__p_wxPyWindow
,
29652 _swigt__p_form_ops_t
,
29653 _swigt__p_wxSplashScreen
,
29654 _swigt__p_wxPasswordEntryDialog
,
29655 _swigt__p_wxSingleChoiceDialog
,
29656 _swigt__p_wxMultiChoiceDialog
,
29657 _swigt__p_wxFileDialog
,
29658 _swigt__p_wxTextEntryDialog
,
29659 _swigt__p_wxMessageDialog
,
29660 _swigt__p_wxProgressDialog
,
29661 _swigt__p_wxFindReplaceDialog
,
29662 _swigt__p_wxPrinter
,
29663 _swigt__p_wxArrayInt
,
29664 _swigt__p_wxDuplexMode
,
29665 _swigt__p_wxEvtHandler
,
29666 _swigt__p_wxCalculateLayoutEvent
,
29667 _swigt__p_wxPyHtmlListBox
,
29668 _swigt__p_wxPyVListBox
,
29670 _swigt__p_wxStdDialogButtonSizer
,
29672 _swigt__p_wxMiniFrame
,
29674 _swigt__p_wxPyPrintout
,
29675 _swigt__p_wxTaskBarIconEvent
,
29676 _swigt__p_wxScrollWinEvent
,
29677 _swigt__p_wxPaperSize
,
29678 _swigt__p_wxStatusBar
,
29679 _swigt__p_wxMDIParentFrame
,
29681 _swigt__p_wxObject
,
29682 _swigt__p_unsigned_long
,
29683 _swigt__p_wxTipWindow
,
29684 _swigt__p_wxSashLayoutWindow
,
29685 _swigt__p_wxSplitterWindow
,
29686 _swigt__p_wxSplashScreenWindow
,
29687 _swigt__p_wxPyVScrolledWindow
,
29688 _swigt__p_wxPyPopupTransientWindow
,
29689 _swigt__p_wxPopupWindow
,
29690 _swigt__p_wxSashWindow
,
29691 _swigt__p_wxTopLevelWindow
,
29692 _swigt__p_wxWindow
,
29693 _swigt__p_wxScrolledWindow
,
29694 _swigt__p_wxMenuBar
,
29695 _swigt__p_wxMDIClientWindow
,
29696 _swigt__p_wxPyScrolledWindow
,
29697 _swigt__p_wxPrintPreview
,
29698 _swigt__p_wxSashEvent
,
29699 _swigt__p_wxString
,
29700 _swigt__p_wxPyPrintPreview
,
29701 _swigt__p_wxDirDialog
,
29702 _swigt__p_wxColourDialog
,
29703 _swigt__p_wxDialog
,
29705 _swigt__p_wxFontDialog
,
29706 _swigt__p_wxPageSetupDialog
,
29707 _swigt__p_wxPrintDialog
,
29708 _swigt__p_wxFileSystem
,
29709 _swigt__p_wxBitmap
,
29710 _swigt__unsigned_int
,
29711 _swigt__p_unsigned_int
,
29712 _swigt__p_unsigned_char
,
29713 _swigt__p_wxCommandEvent
,
29714 _swigt__p_wxPreviewControlBar
,
29715 _swigt__p_wxPyPreviewControlBar
,
29716 _swigt__p_wxColour
,
29717 _swigt__p_wxToolBar
,
29718 _swigt__p_wxPageSetupDialogData
,
29719 _swigt__p_wxPrintDialogData
,
29724 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29726 static swig_const_info swig_const_table
[] = {
29727 {0, 0, 0, 0.0, 0, 0}};
29738 /* Python-specific SWIG API */
29739 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29740 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29741 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29743 /* -----------------------------------------------------------------------------
29744 * global variable support code.
29745 * ----------------------------------------------------------------------------- */
29747 typedef struct swig_globalvar
{
29748 char *name
; /* Name of global variable */
29749 PyObject
*(*get_attr
)(); /* Return the current value */
29750 int (*set_attr
)(PyObject
*); /* Set the value */
29751 struct swig_globalvar
*next
;
29754 typedef struct swig_varlinkobject
{
29756 swig_globalvar
*vars
;
29757 } swig_varlinkobject
;
29760 swig_varlink_repr(swig_varlinkobject
*v
) {
29762 return PyString_FromString("<Swig global variables>");
29766 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29767 swig_globalvar
*var
;
29769 fprintf(fp
,"Swig global variables { ");
29770 for (var
= v
->vars
; var
; var
=var
->next
) {
29771 fprintf(fp
,"%s", var
->name
);
29772 if (var
->next
) fprintf(fp
,", ");
29774 fprintf(fp
," }\n");
29779 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29780 swig_globalvar
*var
= v
->vars
;
29782 if (strcmp(var
->name
,n
) == 0) {
29783 return (*var
->get_attr
)();
29787 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29792 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29793 swig_globalvar
*var
= v
->vars
;
29795 if (strcmp(var
->name
,n
) == 0) {
29796 return (*var
->set_attr
)(p
);
29800 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29804 static PyTypeObject varlinktype
= {
29805 PyObject_HEAD_INIT(0)
29806 0, /* Number of items in variable part (ob_size) */
29807 (char *)"swigvarlink", /* Type name (tp_name) */
29808 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29809 0, /* Itemsize (tp_itemsize) */
29810 0, /* Deallocator (tp_dealloc) */
29811 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29812 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29813 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29814 0, /* tp_compare */
29815 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29816 0, /* tp_as_number */
29817 0, /* tp_as_sequence */
29818 0, /* tp_as_mapping */
29822 0, /* tp_getattro */
29823 0, /* tp_setattro */
29824 0, /* tp_as_buffer */
29827 #if PY_VERSION_HEX >= 0x02000000
29828 0, /* tp_traverse */
29831 #if PY_VERSION_HEX >= 0x02010000
29832 0, /* tp_richcompare */
29833 0, /* tp_weaklistoffset */
29835 #if PY_VERSION_HEX >= 0x02020000
29836 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29838 #if PY_VERSION_HEX >= 0x02030000
29841 #ifdef COUNT_ALLOCS
29842 0,0,0,0 /* tp_alloc -> tp_next */
29846 /* Create a variable linking object for use later */
29848 SWIG_Python_newvarlink(void) {
29849 swig_varlinkobject
*result
= 0;
29850 result
= PyMem_NEW(swig_varlinkobject
,1);
29851 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29852 result
->ob_type
= &varlinktype
;
29854 result
->ob_refcnt
= 0;
29855 Py_XINCREF((PyObject
*) result
);
29856 return ((PyObject
*) result
);
29860 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29861 swig_varlinkobject
*v
;
29862 swig_globalvar
*gv
;
29863 v
= (swig_varlinkobject
*) p
;
29864 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29865 gv
->name
= (char *) malloc(strlen(name
)+1);
29866 strcpy(gv
->name
,name
);
29867 gv
->get_attr
= get_attr
;
29868 gv
->set_attr
= set_attr
;
29869 gv
->next
= v
->vars
;
29873 /* -----------------------------------------------------------------------------
29874 * constants/methods manipulation
29875 * ----------------------------------------------------------------------------- */
29877 /* Install Constants */
29879 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29882 for (i
= 0; constants
[i
].type
; i
++) {
29883 switch(constants
[i
].type
) {
29885 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29887 case SWIG_PY_FLOAT
:
29888 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29890 case SWIG_PY_STRING
:
29891 if (constants
[i
].pvalue
) {
29892 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29894 Py_INCREF(Py_None
);
29898 case SWIG_PY_POINTER
:
29899 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29901 case SWIG_PY_BINARY
:
29902 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29909 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29915 /* -----------------------------------------------------------------------------*/
29916 /* Fix SwigMethods to carry the callback ptrs when needed */
29917 /* -----------------------------------------------------------------------------*/
29920 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29921 swig_const_info
*const_table
,
29922 swig_type_info
**types
,
29923 swig_type_info
**types_initial
) {
29925 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29926 char *c
= methods
[i
].ml_doc
;
29927 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29929 swig_const_info
*ci
= 0;
29930 char *name
= c
+ 10;
29931 for (j
= 0; const_table
[j
].type
; j
++) {
29932 if (strncmp(const_table
[j
].name
, name
,
29933 strlen(const_table
[j
].name
)) == 0) {
29934 ci
= &(const_table
[j
]);
29939 size_t shift
= (ci
->ptype
) - types
;
29940 swig_type_info
*ty
= types_initial
[shift
];
29941 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29942 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29943 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29945 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29946 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29948 strncpy(buff
, "swig_ptr: ", 10);
29950 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29951 methods
[i
].ml_doc
= ndoc
;
29957 /* -----------------------------------------------------------------------------*
29958 * Initialize type list
29959 * -----------------------------------------------------------------------------*/
29961 #if PY_MAJOR_VERSION < 2
29962 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29963 is copied out of Python/modsupport.c in python version 2.3.4 */
29965 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29968 if (!PyModule_Check(m
)) {
29969 PyErr_SetString(PyExc_TypeError
,
29970 "PyModule_AddObject() needs module as first arg");
29974 PyErr_SetString(PyExc_TypeError
,
29975 "PyModule_AddObject() needs non-NULL value");
29979 dict
= PyModule_GetDict(m
);
29980 if (dict
== NULL
) {
29981 /* Internal error -- modules must have a dict! */
29982 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29983 PyModule_GetName(m
));
29986 if (PyDict_SetItemString(dict
, name
, o
))
29993 static swig_type_info
**
29994 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29995 static PyMethodDef swig_empty_runtime_method_table
[] = {
29997 NULL
, NULL
, 0, NULL
30001 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
30002 swig_empty_runtime_method_table
);
30003 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
30004 if (pointer
&& module) {
30005 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
30007 return type_list_handle
;
30010 static swig_type_info
**
30011 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
30012 swig_type_info
**type_pointer
;
30014 /* first check if module already created */
30015 type_pointer
= SWIG_Python_GetTypeListHandle();
30016 if (type_pointer
) {
30017 return type_pointer
;
30019 /* create a new module and variable */
30020 return SWIG_Python_SetTypeListHandle(type_list_handle
);
30028 /* -----------------------------------------------------------------------------*
30029 * Partial Init method
30030 * -----------------------------------------------------------------------------*/
30032 #ifdef SWIG_LINK_RUNTIME
30036 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30042 SWIGEXPORT(void) SWIG_init(void) {
30043 static PyObject
*SWIG_globals
= 0;
30044 static int typeinit
= 0;
30047 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30049 /* Fix SwigMethods to carry the callback ptrs when needed */
30050 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
30052 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30053 d
= PyModule_GetDict(m
);
30056 #ifdef SWIG_LINK_RUNTIME
30057 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
30059 # ifndef SWIG_STATIC_RUNTIME
30060 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
30063 for (i
= 0; swig_types_initial
[i
]; i
++) {
30064 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30068 SWIG_InstallConstants(d
,swig_const_table
);
30070 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30071 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30072 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30073 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30074 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30076 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
30079 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
30082 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
30085 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
30088 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
30091 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
30094 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
30097 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
30100 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
30103 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
30106 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
30109 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
30112 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
30115 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
30118 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
30121 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
30124 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
30127 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
30130 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
30133 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
30136 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
30139 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
30142 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
30145 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
30148 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
30151 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
30154 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
30157 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
30160 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
30163 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
30166 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
30169 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
30172 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
30175 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
30178 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
30181 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
30184 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
30187 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
30190 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
30193 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
30196 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
30199 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
30202 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30205 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30208 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30210 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30212 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30215 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30218 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30221 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30224 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30227 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30230 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30233 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30236 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30239 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30242 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30245 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30248 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30251 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30253 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30254 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30255 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30256 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30257 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30258 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30260 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30263 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30266 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30269 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30272 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30275 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30278 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30281 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30284 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30287 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30290 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30293 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30296 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30299 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30302 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30304 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30306 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30309 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30312 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30315 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30318 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30321 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30324 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30327 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30330 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30333 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30336 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30338 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30339 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30340 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30342 // Map renamed classes back to their common name for OOR
30343 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30344 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30345 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30347 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30348 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30349 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30350 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30351 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30352 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30353 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30354 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30355 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30356 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30357 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30358 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30359 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30361 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30364 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30366 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30368 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30371 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30374 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30377 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30380 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30383 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30386 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30388 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30389 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30390 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30391 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30392 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30394 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30397 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30400 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30403 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30406 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30409 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30412 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30415 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30418 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30420 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30421 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30423 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30426 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30429 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30432 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30435 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30438 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30441 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30444 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30447 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30450 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30453 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30456 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30459 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30462 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30465 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30468 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30471 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30474 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30477 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30480 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30483 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30486 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30489 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30492 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30495 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30498 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30501 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30504 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30507 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30510 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30513 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30516 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30519 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30522 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30525 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30528 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30531 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30534 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30537 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30540 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");