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_char swig_types[47]
1389 #define SWIGTYPE_p_wxMiniFrame swig_types[48]
1390 #define SWIGTYPE_p_wxFrame swig_types[49]
1391 #define SWIGTYPE_p_wxPyPrintout swig_types[50]
1392 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[51]
1393 #define SWIGTYPE_p_wxScrollWinEvent swig_types[52]
1394 #define SWIGTYPE_p_wxPaperSize swig_types[53]
1395 #define SWIGTYPE_p_wxStatusBar swig_types[54]
1396 #define SWIGTYPE_p_wxMDIParentFrame swig_types[55]
1397 #define SWIGTYPE_p_wxPoint swig_types[56]
1398 #define SWIGTYPE_p_wxObject swig_types[57]
1399 #define SWIGTYPE_p_unsigned_long swig_types[58]
1400 #define SWIGTYPE_p_wxTipWindow swig_types[59]
1401 #define SWIGTYPE_p_wxPyPopupTransientWindow 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_wxPopupWindow swig_types[65]
1407 #define SWIGTYPE_p_wxSashWindow swig_types[66]
1408 #define SWIGTYPE_p_wxTopLevelWindow swig_types[67]
1409 #define SWIGTYPE_p_wxWindow swig_types[68]
1410 #define SWIGTYPE_p_wxScrolledWindow swig_types[69]
1411 #define SWIGTYPE_p_wxMenuBar swig_types[70]
1412 #define SWIGTYPE_p_wxMDIClientWindow swig_types[71]
1413 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPrintPreview swig_types[73]
1415 #define SWIGTYPE_p_wxSashEvent swig_types[74]
1416 #define SWIGTYPE_p_wxString swig_types[75]
1417 #define SWIGTYPE_p_wxPyPrintPreview swig_types[76]
1418 #define SWIGTYPE_p_wxDirDialog swig_types[77]
1419 #define SWIGTYPE_p_wxColourDialog swig_types[78]
1420 #define SWIGTYPE_p_wxDialog swig_types[79]
1421 #define SWIGTYPE_p_wxPanel swig_types[80]
1422 #define SWIGTYPE_p_wxFontDialog swig_types[81]
1423 #define SWIGTYPE_p_wxPageSetupDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPrintDialog swig_types[83]
1425 #define SWIGTYPE_p_wxFileSystem swig_types[84]
1426 #define SWIGTYPE_p_wxBitmap swig_types[85]
1427 #define SWIGTYPE_unsigned_int swig_types[86]
1428 #define SWIGTYPE_p_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_char swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPreviewControlBar swig_types[90]
1432 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxToolBar swig_types[93]
1435 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[94]
1436 #define SWIGTYPE_p_wxPrintDialogData swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _windows_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_windows_
1447 #define SWIG_name "_windows_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1454 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1462 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1465 if (value
< min_value
) {
1467 PyErr_Format(PyExc_OverflowError
,
1468 "value %ld is less than '%s' minimum %ld",
1469 value
, errmsg
, min_value
);
1472 } else if (value
> max_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is greater than '%s' maximum %ld",
1476 value
, errmsg
, max_value
);
1485 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1487 if (PyNumber_Check(obj
)) {
1488 if (val
) *val
= PyInt_AsLong(obj
);
1492 SWIG_type_error("number", obj
);
1498 #if INT_MAX != LONG_MAX
1500 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1502 const char* errmsg
= val
? "int" : (char*)0;
1504 if (SWIG_AsVal_long(obj
, &v
)) {
1505 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1506 if (val
) *val
= (int)(v
);
1515 SWIG_type_error(errmsg
, obj
);
1521 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1523 return SWIG_AsVal_long(obj
,(long*)val
);
1529 SWIG_As_int(PyObject
* obj
)
1532 if (!SWIG_AsVal_int(obj
, &v
)) {
1534 this is needed to make valgrind/purify happier.
1536 memset((void*)&v
, 0, sizeof(int));
1542 SWIGINTERNSHORT
long
1543 SWIG_As_long(PyObject
* obj
)
1546 if (!SWIG_AsVal_long(obj
, &v
)) {
1548 this is needed to make valgrind/purify happier.
1550 memset((void*)&v
, 0, sizeof(long));
1557 SWIG_Check_int(PyObject
* obj
)
1559 return SWIG_AsVal_int(obj
, (int*)0);
1564 SWIG_Check_long(PyObject
* obj
)
1566 return SWIG_AsVal_long(obj
, (long*)0);
1571 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1573 if (obj
== Py_True
) {
1574 if (val
) *val
= true;
1577 if (obj
== Py_False
) {
1578 if (val
) *val
= false;
1582 if (SWIG_AsVal_int(obj
, &res
)) {
1583 if (val
) *val
= res
? true : false;
1589 SWIG_type_error("bool", obj
);
1595 SWIGINTERNSHORT
bool
1596 SWIG_As_bool(PyObject
* obj
)
1599 if (!SWIG_AsVal_bool(obj
, &v
)) {
1601 this is needed to make valgrind/purify happier.
1603 memset((void*)&v
, 0, sizeof(bool));
1610 SWIG_Check_bool(PyObject
* obj
)
1612 return SWIG_AsVal_bool(obj
, (bool*)0);
1616 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1617 #define SWIG_From_int PyInt_FromLong
1621 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1627 } else if (target
== Py_None
) {
1631 if (!PyTuple_Check(target
)) {
1633 target
= PyTuple_New(1);
1634 PyTuple_SetItem(target
, 0, o2
);
1636 o3
= PyTuple_New(1);
1637 PyTuple_SetItem(o3
, 0, o
);
1640 target
= PySequence_Concat(o2
, o3
);
1650 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1652 if (PyNumber_Check(obj
)) {
1653 if (val
) *val
= PyFloat_AsDouble(obj
);
1657 SWIG_type_error("number", obj
);
1663 SWIGINTERNSHORT
double
1664 SWIG_As_double(PyObject
* obj
)
1667 if (!SWIG_AsVal_double(obj
, &v
)) {
1669 this is needed to make valgrind/purify happier.
1671 memset((void*)&v
, 0, sizeof(double));
1678 SWIG_Check_double(PyObject
* obj
)
1680 return SWIG_AsVal_double(obj
, (double*)0);
1684 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1685 #define SWIG_From_double PyFloat_FromDouble
1688 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1689 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1690 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1691 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1693 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1694 #define SWIG_From_long PyInt_FromLong
1699 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1701 self
->GetFieldRect(i
, r
);
1704 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1705 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1706 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1708 #include <wx/popupwin.h>
1711 class wxPopupWindow
: public wxWindow
{
1713 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1714 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1717 class wxPyPopupTransientWindow
: public wxPopupWindow
1720 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1721 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1725 #include <wx/tipwin.h>
1727 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1728 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1731 #include <wx/tipwin.h>
1734 #include <wx/vscroll.h>
1737 class wxPyVScrolledWindow
: public wxVScrolledWindow
1739 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1741 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1743 wxPyVScrolledWindow(wxWindow
*parent
,
1744 wxWindowID id
= wxID_ANY
,
1745 const wxPoint
& pos
= wxDefaultPosition
,
1746 const wxSize
& size
= wxDefaultSize
,
1748 const wxString
& name
= wxPyPanelNameStr
)
1749 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1752 // Overridable virtuals
1754 // this function must be overridden in the derived class and it should
1755 // return the height of the given line in pixels
1756 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1759 // this function doesn't have to be overridden but it may be useful to do
1760 // it if calculating the lines heights is a relatively expensive operation
1761 // as it gives the user code a possibility to calculate several of them at
1764 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1765 // shouldn't rely on the latter being called for all lines in the interval
1766 // specified here. It is also possible that OnGetLineHeight() will be
1767 // called for the lines outside of this interval, so this is really just a
1768 // hint, not a promise.
1770 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1772 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1775 // when the number of lines changes, we try to estimate the total height
1776 // of all lines which is a rather expensive operation in terms of lines
1777 // access, so if the user code may estimate the average height
1778 // better/faster than we do, it should override this function to implement
1781 // this function should return the best guess for the total height it may
1783 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1786 // Also expose some other interesting protected methods
1789 // find the index of the line we need to show at the top of the window such
1790 // that the last (fully or partially) visible line is the given one
1791 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1792 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1794 // get the total height of the lines between lineMin (inclusive) and
1795 // lineMax (exclusive)
1796 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1797 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1803 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1805 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1806 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1807 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1811 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1814 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1815 SWIG_type_error("unsigned number", obj
);
1818 *val
= (unsigned long)v
;
1823 SWIGINTERNSHORT
unsigned long
1824 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1827 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1829 this is needed to make valgrind/purify happier.
1831 memset((void*)&v
, 0, sizeof(unsigned long));
1838 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1840 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1844 SWIGINTERNSHORT PyObject
*
1845 SWIG_From_unsigned_SS_long(unsigned long value
)
1847 return (value
> LONG_MAX
) ?
1848 PyLong_FromUnsignedLong(value
)
1849 : PyInt_FromLong((long)(value
));
1853 #include <wx/vlbox.h>
1855 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1857 class wxPyVListBox
: public wxVListBox
1859 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1861 wxPyVListBox() : wxVListBox() {}
1863 wxPyVListBox(wxWindow
*parent
,
1864 wxWindowID id
= wxID_ANY
,
1865 const wxPoint
& pos
= wxDefaultPosition
,
1866 const wxSize
& size
= wxDefaultSize
,
1868 const wxString
& name
= wxPyVListBoxNameStr
)
1869 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1872 // Overridable virtuals
1874 // the derived class must implement this function to actually draw the item
1875 // with the given index on the provided DC
1876 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1877 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1880 // the derived class must implement this method to return the height of the
1882 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1886 // this method may be used to draw separators between the lines; note that
1887 // the rectangle may be modified, typically to deflate it a bit before
1888 // passing to OnDrawItem()
1890 // the base class version doesn't do anything
1891 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1892 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1895 // this method is used to draw the items background and, maybe, a border
1898 // the base class version implements a reasonable default behaviour which
1899 // consists in drawing the selected item with the standard background
1900 // colour and drawing a border around the item if it is either selected or
1902 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1903 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1909 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1911 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1912 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1913 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1914 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1917 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1918 unsigned long cookie
= 0;
1919 int selected
= self
->GetFirstSelected(cookie
);
1920 bool blocked
= wxPyBeginBlockThreads();
1921 PyObject
* tup
= PyTuple_New(2);
1922 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1923 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1924 wxPyEndBlockThreads(blocked
);
1927 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1928 int selected
= self
->GetNextSelected(cookie
);
1929 bool blocked
= wxPyBeginBlockThreads();
1930 PyObject
* tup
= PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1932 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1933 wxPyEndBlockThreads(blocked
);
1937 #include <wx/htmllbox.h>
1940 class wxPyHtmlListBox
: public wxHtmlListBox
1942 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1944 wxPyHtmlListBox() : wxHtmlListBox() {}
1946 wxPyHtmlListBox(wxWindow
*parent
,
1947 wxWindowID id
= wxID_ANY
,
1948 const wxPoint
& pos
= wxDefaultPosition
,
1949 const wxSize
& size
= wxDefaultSize
,
1951 const wxString
& name
= wxPyVListBoxNameStr
)
1952 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1955 // Overridable virtuals
1957 // this method must be implemented in the derived class and should return
1958 // the body (i.e. without <html>) of the HTML for the given item
1959 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1961 // this function may be overridden to decorate HTML returned by OnGetItem()
1962 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1965 // // this method allows to customize the selection appearance: it may be used
1966 // // to specify the colour of the text which normally has the given colour
1967 // // colFg when it is inside the selection
1969 // // by default, the original colour is not used at all and all text has the
1970 // // same (default for this system) colour inside selection
1971 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1973 // // this is the same as GetSelectedTextColour() but allows to customize the
1974 // // background colour -- this is even more rarely used as you can change it
1975 // // globally using SetSelectionBackground()
1976 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1983 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1985 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1986 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
1992 #ifndef wxHAS_TASK_BAR_ICON
1993 // implement dummy classes for platforms that don't have it
1995 class wxTaskBarIcon
: public wxEvtHandler
1998 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2002 class wxTaskBarIconEvent
: public wxEvent
2005 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2006 { wxPyRaiseNotImplemented(); }
2007 virtual wxEvent
* Clone() const { return NULL
; }
2008 bool IsOk() const { return false; }
2009 bool IsIconInstalled() const { return false; }
2010 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2011 bool RemoveIcon() { return false; }
2012 bool PopupMenu(wxMenu
*menu
) { return false; }
2016 wxEVT_TASKBAR_MOVE
= 0,
2017 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2018 wxEVT_TASKBAR_LEFT_UP
= 0,
2019 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2020 wxEVT_TASKBAR_RIGHT_UP
= 0,
2021 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2022 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2027 // Otherwise make a class that can virtualize CreatePopupMenu
2028 class wxPyTaskBarIcon
: public wxTaskBarIcon
2030 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2032 wxPyTaskBarIcon() : wxTaskBarIcon()
2035 wxMenu
* CreatePopupMenu() {
2036 wxMenu
*rval
= NULL
;
2038 bool blocked
= wxPyBeginBlockThreads();
2039 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2042 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2044 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2049 wxPyEndBlockThreads(blocked
);
2051 rval
= wxTaskBarIcon::CreatePopupMenu();
2058 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2062 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2066 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2067 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2068 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2069 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2070 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2071 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2072 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2074 self
->GetFilenames(arr
);
2075 return wxArrayString2PyList_helper(arr
);
2077 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2079 self
->GetPaths(arr
);
2080 return wxArrayString2PyList_helper(arr
);
2082 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2083 return wxArrayInt2PyList_helper(self
->GetSelections());
2085 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
){
2086 return new wxSingleChoiceDialog(parent
, message
, caption
,
2087 choices
, choices_array
, NULL
, style
, pos
);
2089 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2093 // C++ version of Python aware wxWindow
2094 class wxPyWindow
: public wxWindow
2096 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2098 wxPyWindow() : wxWindow() {}
2099 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2100 const wxPoint
& pos
= wxDefaultPosition
,
2101 const wxSize
& size
= wxDefaultSize
,
2103 const wxString
& name
= wxPyPanelNameStr
)
2104 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2106 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2108 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2109 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2110 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2111 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2113 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2117 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2118 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2120 DEC_PYCALLBACK__(InitDialog
);
2121 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2122 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2123 DEC_PYCALLBACK_BOOL_(Validate
);
2125 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2126 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2127 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2129 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2130 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2132 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2133 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2134 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2139 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2141 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2142 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2143 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2144 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2146 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2147 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2150 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2151 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2153 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2154 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2155 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2156 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2158 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2159 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2160 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2162 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2163 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2165 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2166 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2167 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2170 // C++ version of Python aware wxPanel
2171 class wxPyPanel
: public wxPanel
2173 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2175 wxPyPanel() : wxPanel() {}
2176 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2177 const wxPoint
& pos
= wxDefaultPosition
,
2178 const wxSize
& size
= wxDefaultSize
,
2180 const wxString
& name
= wxPyPanelNameStr
)
2181 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2183 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2186 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2187 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2188 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2189 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2195 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2196 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2198 DEC_PYCALLBACK__(InitDialog
);
2199 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2200 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2201 DEC_PYCALLBACK_BOOL_(Validate
);
2203 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2204 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2205 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2207 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2208 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2210 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2211 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2212 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2217 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2219 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2220 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2221 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2222 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2224 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2228 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2229 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2231 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2232 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2233 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2234 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2236 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2237 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2238 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2240 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2243 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2244 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2245 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2248 // C++ version of Python aware wxScrolledWindow
2249 class wxPyScrolledWindow
: public wxScrolledWindow
2251 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2253 wxPyScrolledWindow() : wxScrolledWindow() {}
2254 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2255 const wxPoint
& pos
= wxDefaultPosition
,
2256 const wxSize
& size
= wxDefaultSize
,
2258 const wxString
& name
= wxPyPanelNameStr
)
2259 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2261 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2263 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2264 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2265 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2266 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2268 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2272 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2273 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2275 DEC_PYCALLBACK__(InitDialog
);
2276 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2277 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2278 DEC_PYCALLBACK_BOOL_(Validate
);
2280 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2281 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2282 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2284 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2285 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2287 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2288 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2289 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2294 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2296 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2297 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2298 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2299 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2301 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2302 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2303 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2305 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2306 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2308 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2309 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2310 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2311 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2313 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2314 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2315 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2317 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2318 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2320 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2321 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2322 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2326 #include "wx/wxPython/printfw.h"
2329 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2330 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2333 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2335 // Since this one would be tough and ugly to do with the Macros...
2336 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2337 bool hadErr
= false;
2340 bool blocked
= wxPyBeginBlockThreads();
2341 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2342 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2343 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2346 val
= PyTuple_GetItem(result
, 0);
2347 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2350 val
= PyTuple_GetItem(result
, 1);
2351 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2354 val
= PyTuple_GetItem(result
, 2);
2355 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2358 val
= PyTuple_GetItem(result
, 3);
2359 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2366 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2371 wxPyEndBlockThreads(blocked
);
2373 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2376 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2377 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2381 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2382 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2383 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2384 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2385 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2386 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2387 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2393 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2394 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2395 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2398 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2399 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2402 bool blocked = wxPyBeginBlockThreads(); \
2403 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2404 PyObject* win = wxPyMake_wxObject(a,false); \
2405 PyObject* dc = wxPyMake_wxObject(&b,false); \
2406 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2410 wxPyEndBlockThreads(blocked); \
2412 rval = PCLASS::CBNAME(a, b); \
2415 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2416 return PCLASS::CBNAME(a, b); \
2422 class wxPyPrintPreview
: public wxPrintPreview
2424 DECLARE_CLASS(wxPyPrintPreview
)
2426 wxPyPrintPreview(wxPyPrintout
* printout
,
2427 wxPyPrintout
* printoutForPrinting
,
2428 wxPrintDialogData
* data
=NULL
)
2429 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2431 wxPyPrintPreview(wxPyPrintout
* printout
,
2432 wxPyPrintout
* printoutForPrinting
,
2433 wxPrintData
* data
=NULL
)
2434 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2437 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2438 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2439 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2440 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2441 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2442 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2443 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2448 // Stupid renamed classes... Fix this in 2.5...
2449 #if defined(__WXMSW__)
2450 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2451 #elif defined(__WXMAC__)
2452 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2454 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2457 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2458 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2459 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2460 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2461 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2462 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2463 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2466 class wxPyPreviewFrame
: public wxPreviewFrame
2468 DECLARE_CLASS(wxPyPreviewFrame
);
2470 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2471 const wxString
& title
,
2472 const wxPoint
& pos
= wxDefaultPosition
,
2473 const wxSize
& size
= wxDefaultSize
,
2474 long style
= wxDEFAULT_FRAME_STYLE
,
2475 const wxString
& name
= wxPyFrameNameStr
)
2476 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2479 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2480 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2482 DEC_PYCALLBACK_VOID_(Initialize
);
2483 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2484 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2489 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2491 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2492 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2493 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2496 class wxPyPreviewControlBar
: public wxPreviewControlBar
2498 DECLARE_CLASS(wxPyPreviewControlBar
);
2500 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2503 const wxPoint
& pos
= wxDefaultPosition
,
2504 const wxSize
& size
= wxDefaultSize
,
2506 const wxString
& name
= wxPyPanelNameStr
)
2507 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2510 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2512 DEC_PYCALLBACK_VOID_(CreateButtons
);
2513 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2518 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2519 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2520 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2525 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxWindow
*arg1
= (wxWindow
*) 0 ;
2528 int arg2
= (int) (int)-1 ;
2529 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2530 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2531 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2532 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2533 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2534 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2535 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2539 bool temp6
= false ;
2540 PyObject
* obj0
= 0 ;
2541 PyObject
* obj1
= 0 ;
2542 PyObject
* obj2
= 0 ;
2543 PyObject
* obj3
= 0 ;
2544 PyObject
* obj4
= 0 ;
2545 PyObject
* obj5
= 0 ;
2547 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2552 if (SWIG_arg_fail(1)) SWIG_fail
;
2555 arg2
= (int const)(SWIG_As_int(obj1
));
2556 if (SWIG_arg_fail(2)) SWIG_fail
;
2562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2568 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2573 arg5
= (long)(SWIG_As_long(obj4
));
2574 if (SWIG_arg_fail(5)) SWIG_fail
;
2579 arg6
= wxString_in_helper(obj5
);
2580 if (arg6
== NULL
) SWIG_fail
;
2585 if (!wxPyCheckForApp()) SWIG_fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2607 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2616 if (!wxPyCheckForApp()) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (wxPanel
*)new wxPanel();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2630 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxPanel
*arg1
= (wxPanel
*) 0 ;
2633 wxWindow
*arg2
= (wxWindow
*) 0 ;
2634 int arg3
= (int) (int)-1 ;
2635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2639 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2640 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2645 bool temp7
= false ;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2648 PyObject
* obj2
= 0 ;
2649 PyObject
* obj3
= 0 ;
2650 PyObject
* obj4
= 0 ;
2651 PyObject
* obj5
= 0 ;
2652 PyObject
* obj6
= 0 ;
2654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2659 if (SWIG_arg_fail(1)) SWIG_fail
;
2660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2661 if (SWIG_arg_fail(2)) SWIG_fail
;
2664 arg3
= (int const)(SWIG_As_int(obj2
));
2665 if (SWIG_arg_fail(3)) SWIG_fail
;
2671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2682 arg6
= (long)(SWIG_As_long(obj5
));
2683 if (SWIG_arg_fail(6)) SWIG_fail
;
2688 arg7
= wxString_in_helper(obj6
);
2689 if (arg7
== NULL
) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2717 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxPanel
*arg1
= (wxPanel
*) 0 ;
2720 PyObject
* obj0
= 0 ;
2722 (char *) "self", NULL
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2727 if (SWIG_arg_fail(1)) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 (arg1
)->InitDialog();
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2735 Py_INCREF(Py_None
); resultobj
= Py_None
;
2742 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxPanel
*arg1
= (wxPanel
*) 0 ;
2745 PyObject
* obj0
= 0 ;
2747 (char *) "self", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2752 if (SWIG_arg_fail(1)) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 wxPanel
*arg1
= (wxPanel
*) 0 ;
2770 PyObject
* obj0
= 0 ;
2772 (char *) "self", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 (arg1
)->SetFocusIgnoringChildren();
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2785 Py_INCREF(Py_None
); resultobj
= Py_None
;
2792 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2795 wxVisualAttributes result
;
2796 PyObject
* obj0
= 0 ;
2798 (char *) "variant", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2804 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2805 if (SWIG_arg_fail(1)) SWIG_fail
;
2809 if (!wxPyCheckForApp()) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2817 wxVisualAttributes
* resultptr
;
2818 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2827 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2830 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2832 return Py_BuildValue((char *)"");
2834 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxWindow
*arg1
= (wxWindow
*) 0 ;
2837 int arg2
= (int) (int)-1 ;
2838 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2839 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2840 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2841 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2842 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2843 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2844 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2845 wxScrolledWindow
*result
;
2848 bool temp6
= false ;
2849 PyObject
* obj0
= 0 ;
2850 PyObject
* obj1
= 0 ;
2851 PyObject
* obj2
= 0 ;
2852 PyObject
* obj3
= 0 ;
2853 PyObject
* obj4
= 0 ;
2854 PyObject
* obj5
= 0 ;
2856 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2861 if (SWIG_arg_fail(1)) SWIG_fail
;
2864 arg2
= (int const)(SWIG_As_int(obj1
));
2865 if (SWIG_arg_fail(2)) SWIG_fail
;
2871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2877 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2882 arg5
= (long)(SWIG_As_long(obj4
));
2883 if (SWIG_arg_fail(5)) SWIG_fail
;
2888 arg6
= wxString_in_helper(obj5
);
2889 if (arg6
== NULL
) SWIG_fail
;
2894 if (!wxPyCheckForApp()) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2916 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxScrolledWindow
*result
;
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2925 if (!wxPyCheckForApp()) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2939 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2942 wxWindow
*arg2
= (wxWindow
*) 0 ;
2943 int arg3
= (int) (int)-1 ;
2944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2948 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2949 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2954 bool temp7
= false ;
2955 PyObject
* obj0
= 0 ;
2956 PyObject
* obj1
= 0 ;
2957 PyObject
* obj2
= 0 ;
2958 PyObject
* obj3
= 0 ;
2959 PyObject
* obj4
= 0 ;
2960 PyObject
* obj5
= 0 ;
2961 PyObject
* obj6
= 0 ;
2963 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2968 if (SWIG_arg_fail(1)) SWIG_fail
;
2969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2970 if (SWIG_arg_fail(2)) SWIG_fail
;
2973 arg3
= (int const)(SWIG_As_int(obj2
));
2974 if (SWIG_arg_fail(3)) SWIG_fail
;
2980 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2986 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2991 arg6
= (long)(SWIG_As_long(obj5
));
2992 if (SWIG_arg_fail(6)) SWIG_fail
;
2997 arg7
= wxString_in_helper(obj6
);
2998 if (arg7
== NULL
) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3026 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3033 int arg6
= (int) 0 ;
3034 int arg7
= (int) 0 ;
3035 bool arg8
= (bool) false ;
3036 PyObject
* obj0
= 0 ;
3037 PyObject
* obj1
= 0 ;
3038 PyObject
* obj2
= 0 ;
3039 PyObject
* obj3
= 0 ;
3040 PyObject
* obj4
= 0 ;
3041 PyObject
* obj5
= 0 ;
3042 PyObject
* obj6
= 0 ;
3043 PyObject
* obj7
= 0 ;
3045 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3050 if (SWIG_arg_fail(1)) SWIG_fail
;
3052 arg2
= (int)(SWIG_As_int(obj1
));
3053 if (SWIG_arg_fail(2)) SWIG_fail
;
3056 arg3
= (int)(SWIG_As_int(obj2
));
3057 if (SWIG_arg_fail(3)) SWIG_fail
;
3060 arg4
= (int)(SWIG_As_int(obj3
));
3061 if (SWIG_arg_fail(4)) SWIG_fail
;
3064 arg5
= (int)(SWIG_As_int(obj4
));
3065 if (SWIG_arg_fail(5)) SWIG_fail
;
3069 arg6
= (int)(SWIG_As_int(obj5
));
3070 if (SWIG_arg_fail(6)) SWIG_fail
;
3075 arg7
= (int)(SWIG_As_int(obj6
));
3076 if (SWIG_arg_fail(7)) SWIG_fail
;
3081 arg8
= (bool)(SWIG_As_bool(obj7
));
3082 if (SWIG_arg_fail(8)) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 Py_INCREF(Py_None
); resultobj
= Py_None
;
3099 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3106 PyObject
* obj2
= 0 ;
3108 (char *) "self",(char *) "x",(char *) "y", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail
;
3115 arg2
= (int)(SWIG_As_int(obj1
));
3116 if (SWIG_arg_fail(2)) SWIG_fail
;
3119 arg3
= (int)(SWIG_As_int(obj2
));
3120 if (SWIG_arg_fail(3)) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 (arg1
)->Scroll(arg2
,arg3
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3129 Py_INCREF(Py_None
); resultobj
= Py_None
;
3136 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3142 PyObject
* obj1
= 0 ;
3144 (char *) "self",(char *) "orient", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3149 if (SWIG_arg_fail(1)) SWIG_fail
;
3151 arg2
= (int)(SWIG_As_int(obj1
));
3152 if (SWIG_arg_fail(2)) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= SWIG_From_int((int)(result
));
3170 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3176 PyObject
* obj1
= 0 ;
3177 PyObject
* obj2
= 0 ;
3179 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3184 if (SWIG_arg_fail(1)) SWIG_fail
;
3186 arg2
= (int)(SWIG_As_int(obj1
));
3187 if (SWIG_arg_fail(2)) SWIG_fail
;
3190 arg3
= (int)(SWIG_As_int(obj2
));
3191 if (SWIG_arg_fail(3)) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 Py_INCREF(Py_None
); resultobj
= Py_None
;
3207 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3213 PyObject
* obj1
= 0 ;
3214 PyObject
* obj2
= 0 ;
3216 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3221 if (SWIG_arg_fail(1)) SWIG_fail
;
3223 arg2
= (int)(SWIG_As_int(obj1
));
3224 if (SWIG_arg_fail(2)) SWIG_fail
;
3227 arg3
= (int)(SWIG_As_int(obj2
));
3228 if (SWIG_arg_fail(3)) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 (arg1
)->SetScrollRate(arg2
,arg3
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3237 Py_INCREF(Py_None
); resultobj
= Py_None
;
3244 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3247 int *arg2
= (int *) 0 ;
3248 int *arg3
= (int *) 0 ;
3253 PyObject
* obj0
= 0 ;
3255 (char *) "self", NULL
3258 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3259 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3262 if (SWIG_arg_fail(1)) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 Py_INCREF(Py_None
); resultobj
= Py_None
;
3271 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3272 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3273 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3274 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3281 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3286 PyObject
* obj0
= 0 ;
3287 PyObject
* obj1
= 0 ;
3288 PyObject
* obj2
= 0 ;
3290 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3295 if (SWIG_arg_fail(1)) SWIG_fail
;
3297 arg2
= (bool)(SWIG_As_bool(obj1
));
3298 if (SWIG_arg_fail(2)) SWIG_fail
;
3301 arg3
= (bool)(SWIG_As_bool(obj2
));
3302 if (SWIG_arg_fail(3)) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 (arg1
)->EnableScrolling(arg2
,arg3
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3318 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
;
3320 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3321 int *arg2
= (int *) 0 ;
3322 int *arg3
= (int *) 0 ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3333 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3336 if (SWIG_arg_fail(1)) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 Py_INCREF(Py_None
); resultobj
= Py_None
;
3345 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3346 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3347 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3348 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3355 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
;
3357 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3362 PyObject
* obj2
= 0 ;
3364 (char *) "self",(char *) "xs",(char *) "ys", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3369 if (SWIG_arg_fail(1)) SWIG_fail
;
3371 arg2
= (double)(SWIG_As_double(obj1
));
3372 if (SWIG_arg_fail(2)) SWIG_fail
;
3375 arg3
= (double)(SWIG_As_double(obj2
));
3376 if (SWIG_arg_fail(3)) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 (arg1
)->SetScale(arg2
,arg3
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 Py_INCREF(Py_None
); resultobj
= Py_None
;
3392 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3396 PyObject
* obj0
= 0 ;
3398 (char *) "self", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3403 if (SWIG_arg_fail(1)) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= SWIG_From_double((double)(result
));
3420 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3431 if (SWIG_arg_fail(1)) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3440 resultobj
= SWIG_From_double((double)(result
));
3448 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3449 PyObject
*resultobj
;
3450 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3455 PyObject
* obj1
= 0 ;
3457 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3459 if (SWIG_arg_fail(1)) SWIG_fail
;
3462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3472 wxPoint
* resultptr
;
3473 resultptr
= new wxPoint((wxPoint
&)(result
));
3474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3482 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3483 PyObject
*resultobj
;
3484 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3487 int *arg4
= (int *) 0 ;
3488 int *arg5
= (int *) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3495 PyObject
* obj2
= 0 ;
3497 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3498 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3499 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3501 if (SWIG_arg_fail(1)) SWIG_fail
;
3503 arg2
= (int)(SWIG_As_int(obj1
));
3504 if (SWIG_arg_fail(2)) SWIG_fail
;
3507 arg3
= (int)(SWIG_As_int(obj2
));
3508 if (SWIG_arg_fail(3)) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3518 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3519 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3520 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3521 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3528 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3533 argc
= PyObject_Length(args
);
3534 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3535 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3541 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3550 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3553 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3561 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3569 _v
= SWIG_Check_int(argv
[1]);
3571 _v
= SWIG_Check_int(argv
[2]);
3573 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3579 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3584 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3585 PyObject
*resultobj
;
3586 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3591 PyObject
* obj1
= 0 ;
3593 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3595 if (SWIG_arg_fail(1)) SWIG_fail
;
3598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 wxPoint
* resultptr
;
3609 resultptr
= new wxPoint((wxPoint
&)(result
));
3610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3618 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3619 PyObject
*resultobj
;
3620 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3623 int *arg4
= (int *) 0 ;
3624 int *arg5
= (int *) 0 ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3631 PyObject
* obj2
= 0 ;
3633 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3634 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3635 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3637 if (SWIG_arg_fail(1)) SWIG_fail
;
3639 arg2
= (int)(SWIG_As_int(obj1
));
3640 if (SWIG_arg_fail(2)) SWIG_fail
;
3643 arg3
= (int)(SWIG_As_int(obj2
));
3644 if (SWIG_arg_fail(3)) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 Py_INCREF(Py_None
); resultobj
= Py_None
;
3654 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3655 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3656 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3657 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3664 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3669 argc
= PyObject_Length(args
);
3670 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3671 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3677 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3686 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3689 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3697 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3705 _v
= SWIG_Check_int(argv
[1]);
3707 _v
= SWIG_Check_int(argv
[2]);
3709 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3715 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3720 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3722 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3723 PyObject
* obj0
= 0 ;
3725 (char *) "self", NULL
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3730 if (SWIG_arg_fail(1)) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 (arg1
)->AdjustScrollbars();
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3748 wxScrollWinEvent
*arg2
= 0 ;
3750 PyObject
* obj0
= 0 ;
3751 PyObject
* obj1
= 0 ;
3753 (char *) "self",(char *) "event", NULL
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3758 if (SWIG_arg_fail(1)) SWIG_fail
;
3760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3761 if (SWIG_arg_fail(2)) SWIG_fail
;
3763 SWIG_null_ref("wxScrollWinEvent");
3765 if (SWIG_arg_fail(2)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= SWIG_From_int((int)(result
));
3783 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3786 wxWindow
*arg2
= (wxWindow
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj1
= 0 ;
3790 (char *) "self",(char *) "target", NULL
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3795 if (SWIG_arg_fail(1)) SWIG_fail
;
3796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(2)) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 (arg1
)->SetTargetWindow(arg2
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 Py_INCREF(Py_None
); resultobj
= Py_None
;
3812 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3818 (char *) "self", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3823 if (SWIG_arg_fail(1)) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3832 resultobj
= wxPyMake_wxObject(result
, 0);
3840 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3846 PyObject
* obj1
= 0 ;
3848 (char *) "self",(char *) "rect", NULL
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3853 if (SWIG_arg_fail(1)) SWIG_fail
;
3856 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 Py_INCREF(Py_None
); resultobj
= Py_None
;
3872 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "self", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3883 if (SWIG_arg_fail(1)) SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3893 resultptr
= new wxRect((wxRect
&)(result
));
3894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3902 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3907 PyObject
* obj1
= 0 ;
3909 (char *) "self",(char *) "dc", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3914 if (SWIG_arg_fail(1)) SWIG_fail
;
3916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3917 if (SWIG_arg_fail(2)) SWIG_fail
;
3919 SWIG_null_ref("wxDC");
3921 if (SWIG_arg_fail(2)) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 (arg1
)->DoPrepareDC(*arg2
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3940 wxVisualAttributes result
;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "variant", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3949 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3950 if (SWIG_arg_fail(1)) SWIG_fail
;
3954 if (!wxPyCheckForApp()) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 wxVisualAttributes
* resultptr
;
3963 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3972 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3975 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
3977 return Py_BuildValue((char *)"");
3979 static int _wrap_FrameNameStr_set(PyObject
*) {
3980 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
3985 static PyObject
*_wrap_FrameNameStr_get(void) {
3990 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3992 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3999 static int _wrap_DialogNameStr_set(PyObject
*) {
4000 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4005 static PyObject
*_wrap_DialogNameStr_get(void) {
4010 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4012 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4019 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4020 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4025 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4030 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4032 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4039 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4040 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4045 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4050 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4052 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4059 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4062 bool arg2
= (bool) true ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4066 (char *) "self",(char *) "maximize", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4071 if (SWIG_arg_fail(1)) SWIG_fail
;
4074 arg2
= (bool)(SWIG_As_bool(obj1
));
4075 if (SWIG_arg_fail(2)) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 (arg1
)->Maximize(arg2
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 Py_INCREF(Py_None
); resultobj
= Py_None
;
4092 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "self", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4102 if (SWIG_arg_fail(1)) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 Py_INCREF(Py_None
); resultobj
= Py_None
;
4117 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4120 bool arg2
= (bool) true ;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4124 (char *) "self",(char *) "iconize", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4129 if (SWIG_arg_fail(1)) SWIG_fail
;
4132 arg2
= (bool)(SWIG_As_bool(obj1
));
4133 if (SWIG_arg_fail(2)) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 (arg1
)->Iconize(arg2
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 Py_INCREF(Py_None
); resultobj
= Py_None
;
4150 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "self", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4161 if (SWIG_arg_fail(1)) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4178 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4182 PyObject
* obj0
= 0 ;
4184 (char *) "self", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4189 if (SWIG_arg_fail(1)) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4206 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4217 if (SWIG_arg_fail(1)) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4227 resultptr
= new wxIcon((wxIcon
&)(result
));
4228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4236 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4243 (char *) "self",(char *) "icon", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4248 if (SWIG_arg_fail(1)) SWIG_fail
;
4250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4251 if (SWIG_arg_fail(2)) SWIG_fail
;
4253 SWIG_null_ref("wxIcon");
4255 if (SWIG_arg_fail(2)) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 Py_INCREF(Py_None
); resultobj
= Py_None
;
4271 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4273 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4274 wxIconBundle
*arg2
= 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4278 (char *) "self",(char *) "icons", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4283 if (SWIG_arg_fail(1)) SWIG_fail
;
4285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4286 if (SWIG_arg_fail(2)) SWIG_fail
;
4288 SWIG_null_ref("wxIconBundle");
4290 if (SWIG_arg_fail(2)) SWIG_fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4299 Py_INCREF(Py_None
); resultobj
= Py_None
;
4306 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4310 long arg3
= (long) wxFULLSCREEN_ALL
;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 PyObject
* obj2
= 0 ;
4316 (char *) "self",(char *) "show",(char *) "style", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4321 if (SWIG_arg_fail(1)) SWIG_fail
;
4323 arg2
= (bool)(SWIG_As_bool(obj1
));
4324 if (SWIG_arg_fail(2)) SWIG_fail
;
4328 arg3
= (long)(SWIG_As_long(obj2
));
4329 if (SWIG_arg_fail(3)) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4348 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4354 (char *) "self", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4376 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4379 wxString
*arg2
= 0 ;
4380 bool temp2
= false ;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4384 (char *) "self",(char *) "title", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
4392 if (arg2
== NULL
) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 (arg1
)->SetTitle((wxString
const &)*arg2
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 Py_INCREF(Py_None
); resultobj
= Py_None
;
4417 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4423 (char *) "self", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4449 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4452 wxRegion
*arg2
= 0 ;
4454 PyObject
* obj0
= 0 ;
4455 PyObject
* obj1
= 0 ;
4457 (char *) "self",(char *) "region", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4462 if (SWIG_arg_fail(1)) SWIG_fail
;
4464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4465 if (SWIG_arg_fail(2)) SWIG_fail
;
4467 SWIG_null_ref("wxRegion");
4469 if (SWIG_arg_fail(2)) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4487 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4490 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4494 (char *) "self",(char *) "flags", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4499 if (SWIG_arg_fail(1)) SWIG_fail
;
4502 arg2
= (int)(SWIG_As_int(obj1
));
4503 if (SWIG_arg_fail(2)) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 (arg1
)->RequestUserAttention(arg2
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4524 PyObject
* obj0
= 0 ;
4526 (char *) "self", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4531 if (SWIG_arg_fail(1)) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)(arg1
)->IsActive();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4548 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4555 (char *) "self",(char *) "on", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail
;
4562 arg2
= (bool)(SWIG_As_bool(obj1
));
4563 if (SWIG_arg_fail(2)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 (arg1
)->MacSetMetalAppearance(arg2
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4607 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4610 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4612 return Py_BuildValue((char *)"");
4614 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxWindow
*arg1
= (wxWindow
*) 0 ;
4617 int arg2
= (int) (int)-1 ;
4618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4624 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4625 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4628 bool temp3
= false ;
4631 bool temp7
= false ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 PyObject
* obj2
= 0 ;
4635 PyObject
* obj3
= 0 ;
4636 PyObject
* obj4
= 0 ;
4637 PyObject
* obj5
= 0 ;
4638 PyObject
* obj6
= 0 ;
4640 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4645 if (SWIG_arg_fail(1)) SWIG_fail
;
4648 arg2
= (int const)(SWIG_As_int(obj1
));
4649 if (SWIG_arg_fail(2)) SWIG_fail
;
4654 arg3
= wxString_in_helper(obj2
);
4655 if (arg3
== NULL
) SWIG_fail
;
4662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4673 arg6
= (long)(SWIG_As_long(obj5
));
4674 if (SWIG_arg_fail(6)) SWIG_fail
;
4679 arg7
= wxString_in_helper(obj6
);
4680 if (arg7
== NULL
) SWIG_fail
;
4685 if (!wxPyCheckForApp()) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4715 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4724 if (!wxPyCheckForApp()) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (wxFrame
*)new wxFrame();
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4738 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxFrame
*arg1
= (wxFrame
*) 0 ;
4741 wxWindow
*arg2
= (wxWindow
*) 0 ;
4742 int arg3
= (int) (int)-1 ;
4743 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4744 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4745 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4746 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4747 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4748 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4749 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4750 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4751 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4753 bool temp4
= false ;
4756 bool temp8
= false ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 PyObject
* obj2
= 0 ;
4760 PyObject
* obj3
= 0 ;
4761 PyObject
* obj4
= 0 ;
4762 PyObject
* obj5
= 0 ;
4763 PyObject
* obj6
= 0 ;
4764 PyObject
* obj7
= 0 ;
4766 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4771 if (SWIG_arg_fail(1)) SWIG_fail
;
4772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4773 if (SWIG_arg_fail(2)) SWIG_fail
;
4776 arg3
= (int const)(SWIG_As_int(obj2
));
4777 if (SWIG_arg_fail(3)) SWIG_fail
;
4782 arg4
= wxString_in_helper(obj3
);
4783 if (arg4
== NULL
) SWIG_fail
;
4790 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4796 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4801 arg7
= (long)(SWIG_As_long(obj6
));
4802 if (SWIG_arg_fail(7)) SWIG_fail
;
4807 arg8
= wxString_in_helper(obj7
);
4808 if (arg8
== NULL
) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4844 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxFrame
*arg1
= (wxFrame
*) 0 ;
4848 PyObject
* obj0
= 0 ;
4850 (char *) "self", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4855 if (SWIG_arg_fail(1)) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4864 wxPoint
* resultptr
;
4865 resultptr
= new wxPoint((wxPoint
&)(result
));
4866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4874 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxFrame
*arg1
= (wxFrame
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4879 (char *) "self", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->SendSizeEvent();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 Py_INCREF(Py_None
); resultobj
= Py_None
;
4899 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxFrame
*arg1
= (wxFrame
*) 0 ;
4902 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4903 PyObject
* obj0
= 0 ;
4904 PyObject
* obj1
= 0 ;
4906 (char *) "self",(char *) "menubar", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4911 if (SWIG_arg_fail(1)) SWIG_fail
;
4912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4913 if (SWIG_arg_fail(2)) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 (arg1
)->SetMenuBar(arg2
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxFrame
*arg1
= (wxFrame
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4939 if (SWIG_arg_fail(1)) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= wxPyMake_wxObject(result
, 0);
4956 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxFrame
*arg1
= (wxFrame
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4964 (char *) "self",(char *) "winid", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
4972 if (SWIG_arg_fail(2)) SWIG_fail
;
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 result
= (bool)(arg1
)->ProcessCommand(arg2
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4990 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxFrame
*arg1
= (wxFrame
*) 0 ;
4993 int arg2
= (int) 1 ;
4994 long arg3
= (long) wxST_SIZEGRIP
;
4995 int arg4
= (int) 0 ;
4996 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4997 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4998 wxStatusBar
*result
;
4999 bool temp5
= false ;
5000 PyObject
* obj0
= 0 ;
5001 PyObject
* obj1
= 0 ;
5002 PyObject
* obj2
= 0 ;
5003 PyObject
* obj3
= 0 ;
5004 PyObject
* obj4
= 0 ;
5006 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5011 if (SWIG_arg_fail(1)) SWIG_fail
;
5014 arg2
= (int)(SWIG_As_int(obj1
));
5015 if (SWIG_arg_fail(2)) SWIG_fail
;
5020 arg3
= (long)(SWIG_As_long(obj2
));
5021 if (SWIG_arg_fail(3)) SWIG_fail
;
5026 arg4
= (int)(SWIG_As_int(obj3
));
5027 if (SWIG_arg_fail(4)) SWIG_fail
;
5032 arg5
= wxString_in_helper(obj4
);
5033 if (arg5
== NULL
) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= wxPyMake_wxObject(result
, 0);
5061 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxFrame
*arg1
= (wxFrame
*) 0 ;
5064 wxStatusBar
*result
;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5072 if (SWIG_arg_fail(1)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= wxPyMake_wxObject(result
, 0);
5089 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxFrame
*arg1
= (wxFrame
*) 0 ;
5092 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "statBar", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail
;
5102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5103 if (SWIG_arg_fail(2)) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 (arg1
)->SetStatusBar(arg2
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 Py_INCREF(Py_None
); resultobj
= Py_None
;
5118 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxFrame
*arg1
= (wxFrame
*) 0 ;
5121 wxString
*arg2
= 0 ;
5122 int arg3
= (int) 0 ;
5123 bool temp2
= false ;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5126 PyObject
* obj2
= 0 ;
5128 (char *) "self",(char *) "text",(char *) "number", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5133 if (SWIG_arg_fail(1)) SWIG_fail
;
5135 arg2
= wxString_in_helper(obj1
);
5136 if (arg2
== NULL
) SWIG_fail
;
5141 arg3
= (int)(SWIG_As_int(obj2
));
5142 if (SWIG_arg_fail(3)) SWIG_fail
;
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 Py_INCREF(Py_None
); resultobj
= Py_None
;
5167 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 wxFrame
*arg1
= (wxFrame
*) 0 ;
5171 int *arg3
= (int *) 0 ;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5175 (char *) "self",(char *) "widths", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail
;
5182 arg2
= PyList_Size(obj1
);
5183 arg3
= int_LIST_helper(obj1
);
5184 if (arg3
== NULL
) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 if (arg3
) delete [] arg3
;
5200 if (arg3
) delete [] arg3
;
5206 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxFrame
*arg1
= (wxFrame
*) 0 ;
5209 wxString
*arg2
= 0 ;
5210 int arg3
= (int) 0 ;
5211 bool temp2
= false ;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj1
= 0 ;
5214 PyObject
* obj2
= 0 ;
5216 (char *) "self",(char *) "text",(char *) "number", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5221 if (SWIG_arg_fail(1)) SWIG_fail
;
5223 arg2
= wxString_in_helper(obj1
);
5224 if (arg2
== NULL
) SWIG_fail
;
5229 arg3
= (int)(SWIG_As_int(obj2
));
5230 if (SWIG_arg_fail(3)) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxFrame
*arg1
= (wxFrame
*) 0 ;
5258 int arg2
= (int) 0 ;
5259 PyObject
* obj0
= 0 ;
5260 PyObject
* obj1
= 0 ;
5262 (char *) "self",(char *) "number", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5267 if (SWIG_arg_fail(1)) SWIG_fail
;
5270 arg2
= (int)(SWIG_As_int(obj1
));
5271 if (SWIG_arg_fail(2)) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 (arg1
)->PopStatusText(arg2
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxFrame
*arg1
= (wxFrame
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5295 (char *) "self",(char *) "n", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5300 if (SWIG_arg_fail(1)) SWIG_fail
;
5302 arg2
= (int)(SWIG_As_int(obj1
));
5303 if (SWIG_arg_fail(2)) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 (arg1
)->SetStatusBarPane(arg2
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxFrame
*arg1
= (wxFrame
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "self", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= SWIG_From_int((int)(result
));
5347 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxFrame
*arg1
= (wxFrame
*) 0 ;
5350 long arg2
= (long) -1 ;
5351 int arg3
= (int) -1 ;
5352 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5353 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5355 bool temp4
= false ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 PyObject
* obj2
= 0 ;
5359 PyObject
* obj3
= 0 ;
5361 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5366 if (SWIG_arg_fail(1)) SWIG_fail
;
5369 arg2
= (long)(SWIG_As_long(obj1
));
5370 if (SWIG_arg_fail(2)) SWIG_fail
;
5375 arg3
= (int)(SWIG_As_int(obj2
));
5376 if (SWIG_arg_fail(3)) SWIG_fail
;
5381 arg4
= wxString_in_helper(obj3
);
5382 if (arg4
== NULL
) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= wxPyMake_wxObject(result
, 0);
5410 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxFrame
*arg1
= (wxFrame
*) 0 ;
5414 PyObject
* obj0
= 0 ;
5416 (char *) "self", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5421 if (SWIG_arg_fail(1)) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= wxPyMake_wxObject(result
, 0);
5438 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxFrame
*arg1
= (wxFrame
*) 0 ;
5441 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "toolbar", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail
;
5451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5452 if (SWIG_arg_fail(2)) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 (arg1
)->SetToolBar(arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 Py_INCREF(Py_None
); resultobj
= Py_None
;
5467 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxFrame
*arg1
= (wxFrame
*) 0 ;
5470 wxString
*arg2
= 0 ;
5472 bool temp2
= false ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5475 PyObject
* obj2
= 0 ;
5477 (char *) "self",(char *) "text",(char *) "show", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5482 if (SWIG_arg_fail(1)) SWIG_fail
;
5484 arg2
= wxString_in_helper(obj1
);
5485 if (arg2
== NULL
) SWIG_fail
;
5489 arg3
= (bool)(SWIG_As_bool(obj2
));
5490 if (SWIG_arg_fail(3)) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 Py_INCREF(Py_None
); resultobj
= Py_None
;
5514 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxFrame
*arg1
= (wxFrame
*) 0 ;
5517 wxMenu
*arg2
= (wxMenu
*) NULL
;
5518 PyObject
* obj0
= 0 ;
5519 PyObject
* obj1
= 0 ;
5521 (char *) "self",(char *) "menu", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail
;
5528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5529 if (SWIG_arg_fail(2)) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 (arg1
)->DoMenuUpdates(arg2
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 Py_INCREF(Py_None
); resultobj
= Py_None
;
5545 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5548 wxVisualAttributes result
;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "variant", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5557 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5558 if (SWIG_arg_fail(1)) SWIG_fail
;
5562 if (!wxPyCheckForApp()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 wxVisualAttributes
* resultptr
;
5571 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5580 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5585 return Py_BuildValue((char *)"");
5587 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxWindow
*arg1
= (wxWindow
*) 0 ;
5590 int arg2
= (int) (int)-1 ;
5591 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5597 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5598 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5601 bool temp3
= false ;
5604 bool temp7
= false ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5607 PyObject
* obj2
= 0 ;
5608 PyObject
* obj3
= 0 ;
5609 PyObject
* obj4
= 0 ;
5610 PyObject
* obj5
= 0 ;
5611 PyObject
* obj6
= 0 ;
5613 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5618 if (SWIG_arg_fail(1)) SWIG_fail
;
5621 arg2
= (int const)(SWIG_As_int(obj1
));
5622 if (SWIG_arg_fail(2)) SWIG_fail
;
5627 arg3
= wxString_in_helper(obj2
);
5628 if (arg3
== NULL
) SWIG_fail
;
5635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5646 arg6
= (long)(SWIG_As_long(obj5
));
5647 if (SWIG_arg_fail(6)) SWIG_fail
;
5652 arg7
= wxString_in_helper(obj6
);
5653 if (arg7
== NULL
) SWIG_fail
;
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5688 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
;
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5697 if (!wxPyCheckForApp()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (wxDialog
*)new wxDialog();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5711 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxDialog
*arg1
= (wxDialog
*) 0 ;
5714 wxWindow
*arg2
= (wxWindow
*) 0 ;
5715 int arg3
= (int) (int)-1 ;
5716 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5718 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5719 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5720 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5721 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5722 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5723 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5724 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5726 bool temp4
= false ;
5729 bool temp8
= false ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 PyObject
* obj2
= 0 ;
5733 PyObject
* obj3
= 0 ;
5734 PyObject
* obj4
= 0 ;
5735 PyObject
* obj5
= 0 ;
5736 PyObject
* obj6
= 0 ;
5737 PyObject
* obj7
= 0 ;
5739 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5744 if (SWIG_arg_fail(1)) SWIG_fail
;
5745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5746 if (SWIG_arg_fail(2)) SWIG_fail
;
5749 arg3
= (int const)(SWIG_As_int(obj2
));
5750 if (SWIG_arg_fail(3)) SWIG_fail
;
5755 arg4
= wxString_in_helper(obj3
);
5756 if (arg4
== NULL
) SWIG_fail
;
5763 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5769 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5774 arg7
= (long)(SWIG_As_long(obj6
));
5775 if (SWIG_arg_fail(7)) SWIG_fail
;
5780 arg8
= wxString_in_helper(obj7
);
5781 if (arg8
== NULL
) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5817 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxDialog
*arg1
= (wxDialog
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5824 (char *) "self",(char *) "returnCode", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5829 if (SWIG_arg_fail(1)) SWIG_fail
;
5831 arg2
= (int)(SWIG_As_int(obj1
));
5832 if (SWIG_arg_fail(2)) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 (arg1
)->SetReturnCode(arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 Py_INCREF(Py_None
); resultobj
= Py_None
;
5848 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
;
5850 wxDialog
*arg1
= (wxDialog
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5854 (char *) "self", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_From_int((int)(result
));
5876 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxDialog
*arg1
= (wxDialog
*) 0 ;
5879 wxString
*arg2
= 0 ;
5881 bool temp2
= false ;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5885 (char *) "self",(char *) "message", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5890 if (SWIG_arg_fail(1)) SWIG_fail
;
5892 arg2
= wxString_in_helper(obj1
);
5893 if (arg2
== NULL
) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= wxPyMake_wxSizer(result
, 0);
5920 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxDialog
*arg1
= (wxDialog
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5928 (char *) "self",(char *) "flags", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5933 if (SWIG_arg_fail(1)) SWIG_fail
;
5935 arg2
= (long)(SWIG_As_long(obj1
));
5936 if (SWIG_arg_fail(2)) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= wxPyMake_wxSizer(result
, 0);
5954 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxDialog
*arg1
= (wxDialog
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
5964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5965 if (SWIG_arg_fail(1)) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5982 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxDialog
*arg1
= (wxDialog
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
5992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5993 if (SWIG_arg_fail(1)) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (int)(arg1
)->ShowModal();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= SWIG_From_int((int)(result
));
6010 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxDialog
*arg1
= (wxDialog
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6017 (char *) "self",(char *) "retCode", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6022 if (SWIG_arg_fail(1)) SWIG_fail
;
6024 arg2
= (int)(SWIG_As_int(obj1
));
6025 if (SWIG_arg_fail(2)) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 (arg1
)->EndModal(arg2
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 Py_INCREF(Py_None
); resultobj
= Py_None
;
6041 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6044 wxVisualAttributes result
;
6045 PyObject
* obj0
= 0 ;
6047 (char *) "variant", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6053 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6058 if (!wxPyCheckForApp()) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 wxVisualAttributes
* resultptr
;
6067 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6076 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6079 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6081 return Py_BuildValue((char *)"");
6083 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxWindow
*arg1
= (wxWindow
*) 0 ;
6086 int arg2
= (int) (int)-1 ;
6087 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6088 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6093 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6094 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6096 wxMiniFrame
*result
;
6097 bool temp3
= false ;
6100 bool temp7
= false ;
6101 PyObject
* obj0
= 0 ;
6102 PyObject
* obj1
= 0 ;
6103 PyObject
* obj2
= 0 ;
6104 PyObject
* obj3
= 0 ;
6105 PyObject
* obj4
= 0 ;
6106 PyObject
* obj5
= 0 ;
6107 PyObject
* obj6
= 0 ;
6109 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6114 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 arg2
= (int const)(SWIG_As_int(obj1
));
6118 if (SWIG_arg_fail(2)) SWIG_fail
;
6123 arg3
= wxString_in_helper(obj2
);
6124 if (arg3
== NULL
) SWIG_fail
;
6131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6142 arg6
= (long)(SWIG_As_long(obj5
));
6143 if (SWIG_arg_fail(6)) SWIG_fail
;
6148 arg7
= wxString_in_helper(obj6
);
6149 if (arg7
== NULL
) SWIG_fail
;
6154 if (!wxPyCheckForApp()) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6184 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxMiniFrame
*result
;
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6193 if (!wxPyCheckForApp()) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (wxMiniFrame
*)new wxMiniFrame();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6207 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6210 wxWindow
*arg2
= (wxWindow
*) 0 ;
6211 int arg3
= (int) (int)-1 ;
6212 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6213 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6214 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6215 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6216 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6217 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6218 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6219 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6220 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6222 bool temp4
= false ;
6225 bool temp8
= false ;
6226 PyObject
* obj0
= 0 ;
6227 PyObject
* obj1
= 0 ;
6228 PyObject
* obj2
= 0 ;
6229 PyObject
* obj3
= 0 ;
6230 PyObject
* obj4
= 0 ;
6231 PyObject
* obj5
= 0 ;
6232 PyObject
* obj6
= 0 ;
6233 PyObject
* obj7
= 0 ;
6235 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6240 if (SWIG_arg_fail(1)) SWIG_fail
;
6241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6242 if (SWIG_arg_fail(2)) SWIG_fail
;
6245 arg3
= (int const)(SWIG_As_int(obj2
));
6246 if (SWIG_arg_fail(3)) SWIG_fail
;
6251 arg4
= wxString_in_helper(obj3
);
6252 if (arg4
== NULL
) SWIG_fail
;
6259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6270 arg7
= (long)(SWIG_As_long(obj6
));
6271 if (SWIG_arg_fail(7)) SWIG_fail
;
6276 arg8
= wxString_in_helper(obj7
);
6277 if (arg8
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6313 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6316 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6318 return Py_BuildValue((char *)"");
6320 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxBitmap
*arg1
= 0 ;
6323 wxWindow
*arg2
= (wxWindow
*) 0 ;
6325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6329 long arg6
= (long) wxNO_BORDER
;
6330 wxSplashScreenWindow
*result
;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6335 PyObject
* obj2
= 0 ;
6336 PyObject
* obj3
= 0 ;
6337 PyObject
* obj4
= 0 ;
6338 PyObject
* obj5
= 0 ;
6340 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6346 if (SWIG_arg_fail(1)) SWIG_fail
;
6348 SWIG_null_ref("wxBitmap");
6350 if (SWIG_arg_fail(1)) SWIG_fail
;
6352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6353 if (SWIG_arg_fail(2)) SWIG_fail
;
6355 arg3
= (int)(SWIG_As_int(obj2
));
6356 if (SWIG_arg_fail(3)) SWIG_fail
;
6361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6372 arg6
= (long)(SWIG_As_long(obj5
));
6373 if (SWIG_arg_fail(6)) SWIG_fail
;
6377 if (!wxPyCheckForApp()) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6391 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6394 wxBitmap
*arg2
= 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6398 (char *) "self",(char *) "bitmap", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6403 if (SWIG_arg_fail(1)) SWIG_fail
;
6405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6406 if (SWIG_arg_fail(2)) SWIG_fail
;
6408 SWIG_null_ref("wxBitmap");
6410 if (SWIG_arg_fail(2)) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 Py_INCREF(Py_None
); resultobj
= Py_None
;
6426 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "self", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6437 if (SWIG_arg_fail(1)) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6442 result
= (wxBitmap
*) &_result_ref
;
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 wxBitmap
* resultptr
= new wxBitmap(*result
);
6450 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6458 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6463 return Py_BuildValue((char *)"");
6465 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxBitmap
*arg1
= 0 ;
6470 wxWindow
*arg4
= (wxWindow
*) 0 ;
6471 int arg5
= (int) -1 ;
6472 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6473 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6474 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6475 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6476 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6477 wxSplashScreen
*result
;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6482 PyObject
* obj2
= 0 ;
6483 PyObject
* obj3
= 0 ;
6484 PyObject
* obj4
= 0 ;
6485 PyObject
* obj5
= 0 ;
6486 PyObject
* obj6
= 0 ;
6487 PyObject
* obj7
= 0 ;
6489 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6495 if (SWIG_arg_fail(1)) SWIG_fail
;
6497 SWIG_null_ref("wxBitmap");
6499 if (SWIG_arg_fail(1)) SWIG_fail
;
6502 arg2
= (long)(SWIG_As_long(obj1
));
6503 if (SWIG_arg_fail(2)) SWIG_fail
;
6506 arg3
= (int)(SWIG_As_int(obj2
));
6507 if (SWIG_arg_fail(3)) SWIG_fail
;
6509 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6510 if (SWIG_arg_fail(4)) SWIG_fail
;
6513 arg5
= (int)(SWIG_As_int(obj4
));
6514 if (SWIG_arg_fail(5)) SWIG_fail
;
6520 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6526 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6531 arg8
= (long)(SWIG_As_long(obj7
));
6532 if (SWIG_arg_fail(8)) SWIG_fail
;
6536 if (!wxPyCheckForApp()) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6550 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6556 (char *) "self", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6561 if (SWIG_arg_fail(1)) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_From_long((long)(result
));
6578 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6581 wxSplashScreenWindow
*result
;
6582 PyObject
* obj0
= 0 ;
6584 (char *) "self", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6589 if (SWIG_arg_fail(1)) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6604 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6610 (char *) "self", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6615 if (SWIG_arg_fail(1)) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_From_int((int)(result
));
6632 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6635 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6637 return Py_BuildValue((char *)"");
6639 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxWindow
*arg1
= (wxWindow
*) 0 ;
6642 int arg2
= (int) -1 ;
6643 long arg3
= (long) wxST_SIZEGRIP
;
6644 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6646 wxStatusBar
*result
;
6647 bool temp4
= false ;
6648 PyObject
* obj0
= 0 ;
6649 PyObject
* obj1
= 0 ;
6650 PyObject
* obj2
= 0 ;
6651 PyObject
* obj3
= 0 ;
6653 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6658 if (SWIG_arg_fail(1)) SWIG_fail
;
6661 arg2
= (int)(SWIG_As_int(obj1
));
6662 if (SWIG_arg_fail(2)) SWIG_fail
;
6667 arg3
= (long)(SWIG_As_long(obj2
));
6668 if (SWIG_arg_fail(3)) SWIG_fail
;
6673 arg4
= wxString_in_helper(obj3
);
6674 if (arg4
== NULL
) SWIG_fail
;
6679 if (!wxPyCheckForApp()) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6701 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxStatusBar
*result
;
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6710 if (!wxPyCheckForApp()) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= (wxStatusBar
*)new wxStatusBar();
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6724 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6727 wxWindow
*arg2
= (wxWindow
*) 0 ;
6728 int arg3
= (int) -1 ;
6729 long arg4
= (long) wxST_SIZEGRIP
;
6730 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6731 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6733 bool temp5
= false ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6736 PyObject
* obj2
= 0 ;
6737 PyObject
* obj3
= 0 ;
6738 PyObject
* obj4
= 0 ;
6740 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6745 if (SWIG_arg_fail(1)) SWIG_fail
;
6746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6747 if (SWIG_arg_fail(2)) SWIG_fail
;
6750 arg3
= (int)(SWIG_As_int(obj2
));
6751 if (SWIG_arg_fail(3)) SWIG_fail
;
6756 arg4
= (long)(SWIG_As_long(obj3
));
6757 if (SWIG_arg_fail(4)) SWIG_fail
;
6762 arg5
= wxString_in_helper(obj4
);
6763 if (arg5
== NULL
) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6791 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6794 int arg2
= (int) 1 ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6798 (char *) "self",(char *) "number", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6803 if (SWIG_arg_fail(1)) SWIG_fail
;
6806 arg2
= (int)(SWIG_As_int(obj1
));
6807 if (SWIG_arg_fail(2)) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 (arg1
)->SetFieldsCount(arg2
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 Py_INCREF(Py_None
); resultobj
= Py_None
;
6824 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6828 PyObject
* obj0
= 0 ;
6830 (char *) "self", NULL
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6835 if (SWIG_arg_fail(1)) SWIG_fail
;
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_From_int((int)(result
));
6852 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6855 wxString
*arg2
= 0 ;
6856 int arg3
= (int) 0 ;
6857 bool temp2
= false ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6860 PyObject
* obj2
= 0 ;
6862 (char *) "self",(char *) "text",(char *) "number", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6867 if (SWIG_arg_fail(1)) SWIG_fail
;
6869 arg2
= wxString_in_helper(obj1
);
6870 if (arg2
== NULL
) SWIG_fail
;
6875 arg3
= (int)(SWIG_As_int(obj2
));
6876 if (SWIG_arg_fail(3)) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 Py_INCREF(Py_None
); resultobj
= Py_None
;
6901 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
;
6903 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6904 int arg2
= (int) 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6909 (char *) "self",(char *) "number", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6914 if (SWIG_arg_fail(1)) SWIG_fail
;
6917 arg2
= (int)(SWIG_As_int(obj1
));
6918 if (SWIG_arg_fail(2)) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6941 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6944 wxString
*arg2
= 0 ;
6945 int arg3
= (int) 0 ;
6946 bool temp2
= false ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 PyObject
* obj2
= 0 ;
6951 (char *) "self",(char *) "text",(char *) "number", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6956 if (SWIG_arg_fail(1)) SWIG_fail
;
6958 arg2
= wxString_in_helper(obj1
);
6959 if (arg2
== NULL
) SWIG_fail
;
6964 arg3
= (int)(SWIG_As_int(obj2
));
6965 if (SWIG_arg_fail(3)) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 Py_INCREF(Py_None
); resultobj
= Py_None
;
6990 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6993 int arg2
= (int) 0 ;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6997 (char *) "self",(char *) "number", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7002 if (SWIG_arg_fail(1)) SWIG_fail
;
7005 arg2
= (int)(SWIG_As_int(obj1
));
7006 if (SWIG_arg_fail(2)) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 (arg1
)->PopStatusText(arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7027 int *arg3
= (int *) 0 ;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7031 (char *) "self",(char *) "widths", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7036 if (SWIG_arg_fail(1)) SWIG_fail
;
7038 arg2
= PyList_Size(obj1
);
7039 arg3
= int_LIST_helper(obj1
);
7040 if (arg3
== NULL
) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 Py_INCREF(Py_None
); resultobj
= Py_None
;
7051 if (arg3
) delete [] arg3
;
7056 if (arg3
) delete [] arg3
;
7062 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7066 int *arg3
= (int *) 0 ;
7067 PyObject
* obj0
= 0 ;
7068 PyObject
* obj1
= 0 ;
7070 (char *) "self",(char *) "styles", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7075 if (SWIG_arg_fail(1)) SWIG_fail
;
7077 arg2
= PyList_Size(obj1
);
7078 arg3
= int_LIST_helper(obj1
);
7079 if (arg3
== NULL
) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 Py_INCREF(Py_None
); resultobj
= Py_None
;
7090 if (arg3
) delete [] arg3
;
7095 if (arg3
) delete [] arg3
;
7101 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7107 PyObject
* obj1
= 0 ;
7109 (char *) "self",(char *) "i", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7114 if (SWIG_arg_fail(1)) SWIG_fail
;
7116 arg2
= (int)(SWIG_As_int(obj1
));
7117 if (SWIG_arg_fail(2)) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7128 resultptr
= new wxRect((wxRect
&)(result
));
7129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7137 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7144 (char *) "self",(char *) "height", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7149 if (SWIG_arg_fail(1)) SWIG_fail
;
7151 arg2
= (int)(SWIG_As_int(obj1
));
7152 if (SWIG_arg_fail(2)) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 (arg1
)->SetMinHeight(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 Py_INCREF(Py_None
); resultobj
= Py_None
;
7168 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
;
7170 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7172 PyObject
* obj0
= 0 ;
7174 (char *) "self", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7179 if (SWIG_arg_fail(1)) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_From_int((int)(result
));
7196 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7202 (char *) "self", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7207 if (SWIG_arg_fail(1)) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_From_int((int)(result
));
7224 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7227 wxVisualAttributes result
;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "variant", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7236 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7237 if (SWIG_arg_fail(1)) SWIG_fail
;
7241 if (!wxPyCheckForApp()) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 wxVisualAttributes
* resultptr
;
7250 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7259 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7262 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7264 return Py_BuildValue((char *)"");
7266 static int _wrap_SplitterNameStr_set(PyObject
*) {
7267 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7272 static PyObject
*_wrap_SplitterNameStr_get(void) {
7277 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7279 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7286 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxWindow
*arg1
= (wxWindow
*) 0 ;
7289 int arg2
= (int) -1 ;
7290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7294 long arg5
= (long) wxSP_3D
;
7295 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7296 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7297 wxSplitterWindow
*result
;
7300 bool temp6
= false ;
7301 PyObject
* obj0
= 0 ;
7302 PyObject
* obj1
= 0 ;
7303 PyObject
* obj2
= 0 ;
7304 PyObject
* obj3
= 0 ;
7305 PyObject
* obj4
= 0 ;
7306 PyObject
* obj5
= 0 ;
7308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7313 if (SWIG_arg_fail(1)) SWIG_fail
;
7316 arg2
= (int)(SWIG_As_int(obj1
));
7317 if (SWIG_arg_fail(2)) SWIG_fail
;
7323 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7329 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7334 arg5
= (long)(SWIG_As_long(obj4
));
7335 if (SWIG_arg_fail(5)) SWIG_fail
;
7340 arg6
= wxString_in_helper(obj5
);
7341 if (arg6
== NULL
) SWIG_fail
;
7346 if (!wxPyCheckForApp()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7368 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxSplitterWindow
*result
;
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7377 if (!wxPyCheckForApp()) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7391 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7394 wxWindow
*arg2
= (wxWindow
*) 0 ;
7395 int arg3
= (int) -1 ;
7396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7400 long arg6
= (long) wxSP_3D
;
7401 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7406 bool temp7
= false ;
7407 PyObject
* obj0
= 0 ;
7408 PyObject
* obj1
= 0 ;
7409 PyObject
* obj2
= 0 ;
7410 PyObject
* obj3
= 0 ;
7411 PyObject
* obj4
= 0 ;
7412 PyObject
* obj5
= 0 ;
7413 PyObject
* obj6
= 0 ;
7415 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7420 if (SWIG_arg_fail(1)) SWIG_fail
;
7421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(2)) SWIG_fail
;
7425 arg3
= (int)(SWIG_As_int(obj2
));
7426 if (SWIG_arg_fail(3)) SWIG_fail
;
7432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7443 arg6
= (long)(SWIG_As_long(obj5
));
7444 if (SWIG_arg_fail(6)) SWIG_fail
;
7449 arg7
= wxString_in_helper(obj6
);
7450 if (arg7
== NULL
) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7478 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7480 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7482 PyObject
* obj0
= 0 ;
7484 (char *) "self", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7489 if (SWIG_arg_fail(1)) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= wxPyMake_wxObject(result
, 0);
7506 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7510 PyObject
* obj0
= 0 ;
7512 (char *) "self", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7517 if (SWIG_arg_fail(1)) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= wxPyMake_wxObject(result
, 0);
7534 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "self",(char *) "mode", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail
;
7548 arg2
= (int)(SWIG_As_int(obj1
));
7549 if (SWIG_arg_fail(2)) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 (arg1
)->SetSplitMode(arg2
);
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 Py_INCREF(Py_None
); resultobj
= Py_None
;
7565 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7571 (char *) "self", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7576 if (SWIG_arg_fail(1)) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_From_int((result
));
7591 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7594 wxWindow
*arg2
= (wxWindow
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7596 PyObject
* obj1
= 0 ;
7598 (char *) "self",(char *) "window", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7603 if (SWIG_arg_fail(1)) SWIG_fail
;
7604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7605 if (SWIG_arg_fail(2)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 (arg1
)->Initialize(arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7623 wxWindow
*arg2
= (wxWindow
*) 0 ;
7624 wxWindow
*arg3
= (wxWindow
*) 0 ;
7625 int arg4
= (int) 0 ;
7627 PyObject
* obj0
= 0 ;
7628 PyObject
* obj1
= 0 ;
7629 PyObject
* obj2
= 0 ;
7630 PyObject
* obj3
= 0 ;
7632 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail
;
7638 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7639 if (SWIG_arg_fail(2)) SWIG_fail
;
7640 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7641 if (SWIG_arg_fail(3)) SWIG_fail
;
7644 arg4
= (int)(SWIG_As_int(obj3
));
7645 if (SWIG_arg_fail(4)) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7664 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7667 wxWindow
*arg2
= (wxWindow
*) 0 ;
7668 wxWindow
*arg3
= (wxWindow
*) 0 ;
7669 int arg4
= (int) 0 ;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7673 PyObject
* obj2
= 0 ;
7674 PyObject
* obj3
= 0 ;
7676 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7681 if (SWIG_arg_fail(1)) SWIG_fail
;
7682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7683 if (SWIG_arg_fail(2)) SWIG_fail
;
7684 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7685 if (SWIG_arg_fail(3)) SWIG_fail
;
7688 arg4
= (int)(SWIG_As_int(obj3
));
7689 if (SWIG_arg_fail(4)) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7708 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7711 wxWindow
*arg2
= (wxWindow
*) NULL
;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7716 (char *) "self",(char *) "toRemove", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7721 if (SWIG_arg_fail(1)) SWIG_fail
;
7723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7724 if (SWIG_arg_fail(2)) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (bool)(arg1
)->Unsplit(arg2
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7742 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7745 wxWindow
*arg2
= (wxWindow
*) 0 ;
7746 wxWindow
*arg3
= (wxWindow
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7750 PyObject
* obj2
= 0 ;
7752 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7757 if (SWIG_arg_fail(1)) SWIG_fail
;
7758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7759 if (SWIG_arg_fail(2)) SWIG_fail
;
7760 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(3)) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7778 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "self", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7788 if (SWIG_arg_fail(1)) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 (arg1
)->UpdateSize();
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 Py_INCREF(Py_None
); resultobj
= Py_None
;
7803 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "self", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7831 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7838 (char *) "self",(char *) "width", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7843 if (SWIG_arg_fail(1)) SWIG_fail
;
7845 arg2
= (int)(SWIG_As_int(obj1
));
7846 if (SWIG_arg_fail(2)) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 (arg1
)->SetSashSize(arg2
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 Py_INCREF(Py_None
); resultobj
= Py_None
;
7862 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7869 (char *) "self",(char *) "width", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7874 if (SWIG_arg_fail(1)) SWIG_fail
;
7876 arg2
= (int)(SWIG_As_int(obj1
));
7877 if (SWIG_arg_fail(2)) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 (arg1
)->SetBorderSize(arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 Py_INCREF(Py_None
); resultobj
= Py_None
;
7893 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_From_int((int)(result
));
7921 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7925 PyObject
* obj0
= 0 ;
7927 (char *) "self", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7932 if (SWIG_arg_fail(1)) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_From_int((int)(result
));
7949 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7953 bool arg3
= (bool) true ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7958 (char *) "self",(char *) "position",(char *) "redraw", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7963 if (SWIG_arg_fail(1)) SWIG_fail
;
7965 arg2
= (int)(SWIG_As_int(obj1
));
7966 if (SWIG_arg_fail(2)) SWIG_fail
;
7970 arg3
= (bool)(SWIG_As_bool(obj2
));
7971 if (SWIG_arg_fail(3)) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 (arg1
)->SetSashPosition(arg2
,arg3
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 Py_INCREF(Py_None
); resultobj
= Py_None
;
7988 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
7998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7999 if (SWIG_arg_fail(1)) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= SWIG_From_int((int)(result
));
8016 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8021 PyObject
* obj1
= 0 ;
8023 (char *) "self",(char *) "gravity", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail
;
8030 arg2
= (double)(SWIG_As_double(obj1
));
8031 if (SWIG_arg_fail(2)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 (arg1
)->SetSashGravity(arg2
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 Py_INCREF(Py_None
); resultobj
= Py_None
;
8047 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8058 if (SWIG_arg_fail(1)) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= SWIG_From_double((double)(result
));
8075 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8079 PyObject
* obj0
= 0 ;
8080 PyObject
* obj1
= 0 ;
8082 (char *) "self",(char *) "min", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 arg2
= (int)(SWIG_As_int(obj1
));
8090 if (SWIG_arg_fail(2)) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 (arg1
)->SetMinimumPaneSize(arg2
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 Py_INCREF(Py_None
); resultobj
= Py_None
;
8106 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8117 if (SWIG_arg_fail(1)) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= SWIG_From_int((int)(result
));
8134 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8139 int arg4
= (int) 5 ;
8141 PyObject
* obj0
= 0 ;
8142 PyObject
* obj1
= 0 ;
8143 PyObject
* obj2
= 0 ;
8144 PyObject
* obj3
= 0 ;
8146 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8151 if (SWIG_arg_fail(1)) SWIG_fail
;
8153 arg2
= (int)(SWIG_As_int(obj1
));
8154 if (SWIG_arg_fail(2)) SWIG_fail
;
8157 arg3
= (int)(SWIG_As_int(obj2
));
8158 if (SWIG_arg_fail(3)) SWIG_fail
;
8162 arg4
= (int)(SWIG_As_int(obj3
));
8163 if (SWIG_arg_fail(4)) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8182 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8185 PyObject
* obj0
= 0 ;
8187 (char *) "self", NULL
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8192 if (SWIG_arg_fail(1)) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 (arg1
)->SizeWindows();
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 Py_INCREF(Py_None
); resultobj
= Py_None
;
8207 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8214 (char *) "self",(char *) "needUpdating", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8219 if (SWIG_arg_fail(1)) SWIG_fail
;
8221 arg2
= (bool)(SWIG_As_bool(obj1
));
8222 if (SWIG_arg_fail(2)) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 (arg1
)->SetNeedUpdating(arg2
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 Py_INCREF(Py_None
); resultobj
= Py_None
;
8238 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8244 (char *) "self", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8249 if (SWIG_arg_fail(1)) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8266 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8269 wxVisualAttributes result
;
8270 PyObject
* obj0
= 0 ;
8272 (char *) "variant", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8278 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8279 if (SWIG_arg_fail(1)) SWIG_fail
;
8283 if (!wxPyCheckForApp()) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 wxVisualAttributes
* resultptr
;
8292 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8301 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8304 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8306 return Py_BuildValue((char *)"");
8308 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8311 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8312 wxSplitterEvent
*result
;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8316 (char *) "type",(char *) "splitter", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8322 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8323 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8328 if (SWIG_arg_fail(2)) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8344 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8351 (char *) "self",(char *) "pos", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8356 if (SWIG_arg_fail(1)) SWIG_fail
;
8358 arg2
= (int)(SWIG_As_int(obj1
));
8359 if (SWIG_arg_fail(2)) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 (arg1
)->SetSashPosition(arg2
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 Py_INCREF(Py_None
); resultobj
= Py_None
;
8375 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8379 PyObject
* obj0
= 0 ;
8381 (char *) "self", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8386 if (SWIG_arg_fail(1)) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_From_int((int)(result
));
8403 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8407 PyObject
* obj0
= 0 ;
8409 (char *) "self", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8414 if (SWIG_arg_fail(1)) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= wxPyMake_wxObject(result
, 0);
8431 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8437 (char *) "self", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8442 if (SWIG_arg_fail(1)) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_From_int((int)(result
));
8459 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8470 if (SWIG_arg_fail(1)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_From_int((int)(result
));
8487 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8490 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8492 return Py_BuildValue((char *)"");
8494 static int _wrap_SashNameStr_set(PyObject
*) {
8495 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8500 static PyObject
*_wrap_SashNameStr_get(void) {
8505 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8507 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8514 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8515 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8520 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8525 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8527 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8534 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxWindow
*arg1
= (wxWindow
*) 0 ;
8537 int arg2
= (int) -1 ;
8538 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8539 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8540 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8541 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8542 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8543 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8544 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8545 wxSashWindow
*result
;
8548 bool temp6
= false ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8552 PyObject
* obj3
= 0 ;
8553 PyObject
* obj4
= 0 ;
8554 PyObject
* obj5
= 0 ;
8556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail
;
8564 arg2
= (int)(SWIG_As_int(obj1
));
8565 if (SWIG_arg_fail(2)) SWIG_fail
;
8571 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8577 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8582 arg5
= (long)(SWIG_As_long(obj4
));
8583 if (SWIG_arg_fail(5)) SWIG_fail
;
8588 arg6
= wxString_in_helper(obj5
);
8589 if (arg6
== NULL
) SWIG_fail
;
8594 if (!wxPyCheckForApp()) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8616 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxSashWindow
*result
;
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8625 if (!wxPyCheckForApp()) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= (wxSashWindow
*)new wxSashWindow();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8639 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8642 wxWindow
*arg2
= (wxWindow
*) 0 ;
8643 int arg3
= (int) -1 ;
8644 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8645 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8646 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8647 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8648 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8649 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8650 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8654 bool temp7
= false ;
8655 PyObject
* obj0
= 0 ;
8656 PyObject
* obj1
= 0 ;
8657 PyObject
* obj2
= 0 ;
8658 PyObject
* obj3
= 0 ;
8659 PyObject
* obj4
= 0 ;
8660 PyObject
* obj5
= 0 ;
8661 PyObject
* obj6
= 0 ;
8663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8668 if (SWIG_arg_fail(1)) SWIG_fail
;
8669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8670 if (SWIG_arg_fail(2)) SWIG_fail
;
8673 arg3
= (int)(SWIG_As_int(obj2
));
8674 if (SWIG_arg_fail(3)) SWIG_fail
;
8680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8691 arg6
= (long)(SWIG_As_long(obj5
));
8692 if (SWIG_arg_fail(6)) SWIG_fail
;
8697 arg7
= wxString_in_helper(obj6
);
8698 if (arg7
== NULL
) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8726 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8729 wxSashEdgePosition arg2
;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 PyObject
* obj2
= 0 ;
8735 (char *) "self",(char *) "edge",(char *) "sash", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8740 if (SWIG_arg_fail(1)) SWIG_fail
;
8742 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8743 if (SWIG_arg_fail(2)) SWIG_fail
;
8746 arg3
= (bool)(SWIG_As_bool(obj2
));
8747 if (SWIG_arg_fail(3)) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 Py_INCREF(Py_None
); resultobj
= Py_None
;
8763 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8766 wxSashEdgePosition arg2
;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8771 (char *) "self",(char *) "edge", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail
;
8778 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8779 if (SWIG_arg_fail(2)) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8797 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8800 wxSashEdgePosition arg2
;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 PyObject
* obj2
= 0 ;
8806 (char *) "self",(char *) "edge",(char *) "border", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8811 if (SWIG_arg_fail(1)) SWIG_fail
;
8813 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8814 if (SWIG_arg_fail(2)) SWIG_fail
;
8817 arg3
= (bool)(SWIG_As_bool(obj2
));
8818 if (SWIG_arg_fail(3)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8834 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8837 wxSashEdgePosition arg2
;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8842 (char *) "self",(char *) "edge", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8847 if (SWIG_arg_fail(1)) SWIG_fail
;
8849 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8850 if (SWIG_arg_fail(2)) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8868 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8871 wxSashEdgePosition arg2
;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8876 (char *) "self",(char *) "edge", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8881 if (SWIG_arg_fail(1)) SWIG_fail
;
8883 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8884 if (SWIG_arg_fail(2)) SWIG_fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8894 resultobj
= SWIG_From_int((int)(result
));
8902 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8906 PyObject
* obj0
= 0 ;
8907 PyObject
* obj1
= 0 ;
8909 (char *) "self",(char *) "width", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail
;
8916 arg2
= (int)(SWIG_As_int(obj1
));
8917 if (SWIG_arg_fail(2)) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 (arg1
)->SetDefaultBorderSize(arg2
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8939 (char *) "self", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8944 if (SWIG_arg_fail(1)) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= SWIG_From_int((int)(result
));
8961 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8968 (char *) "self",(char *) "width", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8973 if (SWIG_arg_fail(1)) SWIG_fail
;
8975 arg2
= (int)(SWIG_As_int(obj1
));
8976 if (SWIG_arg_fail(2)) SWIG_fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 (arg1
)->SetExtraBorderSize(arg2
);
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8992 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "self", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9003 if (SWIG_arg_fail(1)) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= SWIG_From_int((int)(result
));
9020 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9024 PyObject
* obj0
= 0 ;
9025 PyObject
* obj1
= 0 ;
9027 (char *) "self",(char *) "min", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9032 if (SWIG_arg_fail(1)) SWIG_fail
;
9034 arg2
= (int)(SWIG_As_int(obj1
));
9035 if (SWIG_arg_fail(2)) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 (arg1
)->SetMinimumSizeX(arg2
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 Py_INCREF(Py_None
); resultobj
= Py_None
;
9051 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9058 (char *) "self",(char *) "min", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9063 if (SWIG_arg_fail(1)) SWIG_fail
;
9065 arg2
= (int)(SWIG_As_int(obj1
));
9066 if (SWIG_arg_fail(2)) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 (arg1
)->SetMinimumSizeY(arg2
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 Py_INCREF(Py_None
); resultobj
= Py_None
;
9082 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9088 (char *) "self", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9093 if (SWIG_arg_fail(1)) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= SWIG_From_int((int)(result
));
9110 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9114 PyObject
* obj0
= 0 ;
9116 (char *) "self", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9121 if (SWIG_arg_fail(1)) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_From_int((int)(result
));
9138 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9145 (char *) "self",(char *) "max", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9150 if (SWIG_arg_fail(1)) SWIG_fail
;
9152 arg2
= (int)(SWIG_As_int(obj1
));
9153 if (SWIG_arg_fail(2)) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 (arg1
)->SetMaximumSizeX(arg2
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 Py_INCREF(Py_None
); resultobj
= Py_None
;
9169 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9176 (char *) "self",(char *) "max", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9181 if (SWIG_arg_fail(1)) SWIG_fail
;
9183 arg2
= (int)(SWIG_As_int(obj1
));
9184 if (SWIG_arg_fail(2)) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 (arg1
)->SetMaximumSizeY(arg2
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 Py_INCREF(Py_None
); resultobj
= Py_None
;
9200 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9206 (char *) "self", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9211 if (SWIG_arg_fail(1)) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= SWIG_From_int((int)(result
));
9228 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9234 (char *) "self", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_From_int((int)(result
));
9256 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9261 int arg4
= (int) 2 ;
9262 wxSashEdgePosition result
;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9265 PyObject
* obj2
= 0 ;
9266 PyObject
* obj3
= 0 ;
9268 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
9276 if (SWIG_arg_fail(2)) SWIG_fail
;
9279 arg3
= (int)(SWIG_As_int(obj2
));
9280 if (SWIG_arg_fail(3)) SWIG_fail
;
9284 arg4
= (int)(SWIG_As_int(obj3
));
9285 if (SWIG_arg_fail(4)) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_From_int((result
));
9302 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 (arg1
)->SizeWindows();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 Py_INCREF(Py_None
); resultobj
= Py_None
;
9327 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9330 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9332 return Py_BuildValue((char *)"");
9334 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 int arg1
= (int) 0 ;
9337 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9338 wxSashEvent
*result
;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9342 (char *) "id",(char *) "edge", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9348 arg1
= (int)(SWIG_As_int(obj0
));
9349 if (SWIG_arg_fail(1)) SWIG_fail
;
9354 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9355 if (SWIG_arg_fail(2)) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9372 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9375 wxSashEdgePosition arg2
;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9379 (char *) "self",(char *) "edge", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9384 if (SWIG_arg_fail(1)) SWIG_fail
;
9386 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9387 if (SWIG_arg_fail(2)) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 Py_INCREF(Py_None
); resultobj
= Py_None
;
9403 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
;
9405 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9406 wxSashEdgePosition result
;
9407 PyObject
* obj0
= 0 ;
9409 (char *) "self", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9414 if (SWIG_arg_fail(1)) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_From_int((result
));
9429 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9437 (char *) "self",(char *) "rect", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9442 if (SWIG_arg_fail(1)) SWIG_fail
;
9445 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 Py_INCREF(Py_None
); resultobj
= Py_None
;
9461 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9472 if (SWIG_arg_fail(1)) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9482 resultptr
= new wxRect((wxRect
&)(result
));
9483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9491 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9494 wxSashDragStatus arg2
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9498 (char *) "self",(char *) "status", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail
;
9505 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9506 if (SWIG_arg_fail(2)) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 Py_INCREF(Py_None
); resultobj
= Py_None
;
9522 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9525 wxSashDragStatus result
;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9533 if (SWIG_arg_fail(1)) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_From_int((result
));
9548 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9551 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9553 return Py_BuildValue((char *)"");
9555 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 int arg1
= (int) 0 ;
9558 wxQueryLayoutInfoEvent
*result
;
9559 PyObject
* obj0
= 0 ;
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9567 arg1
= (int)(SWIG_As_int(obj0
));
9568 if (SWIG_arg_fail(1)) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9585 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9592 (char *) "self",(char *) "length", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9597 if (SWIG_arg_fail(1)) SWIG_fail
;
9599 arg2
= (int)(SWIG_As_int(obj1
));
9600 if (SWIG_arg_fail(2)) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 (arg1
)->SetRequestedLength(arg2
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 Py_INCREF(Py_None
); resultobj
= Py_None
;
9616 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9620 PyObject
* obj0
= 0 ;
9622 (char *) "self", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9627 if (SWIG_arg_fail(1)) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_From_int((int)(result
));
9644 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9651 (char *) "self",(char *) "flags", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9658 arg2
= (int)(SWIG_As_int(obj1
));
9659 if (SWIG_arg_fail(2)) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 (arg1
)->SetFlags(arg2
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 Py_INCREF(Py_None
); resultobj
= Py_None
;
9675 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9679 PyObject
* obj0
= 0 ;
9681 (char *) "self", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9686 if (SWIG_arg_fail(1)) SWIG_fail
;
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_From_int((int)(result
));
9703 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9711 (char *) "self",(char *) "size", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9716 if (SWIG_arg_fail(1)) SWIG_fail
;
9719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 (arg1
)->SetSize((wxSize
const &)*arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 Py_INCREF(Py_None
); resultobj
= Py_None
;
9735 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9741 (char *) "self", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9746 if (SWIG_arg_fail(1)) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9756 resultptr
= new wxSize((wxSize
&)(result
));
9757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9765 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9768 wxLayoutOrientation arg2
;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9772 (char *) "self",(char *) "orient", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail
;
9779 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9780 if (SWIG_arg_fail(2)) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9796 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9799 wxLayoutOrientation result
;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_From_int((result
));
9822 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9825 wxLayoutAlignment arg2
;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9829 (char *) "self",(char *) "align", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9834 if (SWIG_arg_fail(1)) SWIG_fail
;
9836 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9837 if (SWIG_arg_fail(2)) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 Py_INCREF(Py_None
); resultobj
= Py_None
;
9853 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9856 wxLayoutAlignment result
;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_From_int((result
));
9879 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9882 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9884 return Py_BuildValue((char *)"");
9886 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 int arg1
= (int) 0 ;
9889 wxCalculateLayoutEvent
*result
;
9890 PyObject
* obj0
= 0 ;
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9898 arg1
= (int)(SWIG_As_int(obj0
));
9899 if (SWIG_arg_fail(1)) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9916 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9923 (char *) "self",(char *) "flags", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9928 if (SWIG_arg_fail(1)) SWIG_fail
;
9930 arg2
= (int)(SWIG_As_int(obj1
));
9931 if (SWIG_arg_fail(2)) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 (arg1
)->SetFlags(arg2
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 Py_INCREF(Py_None
); resultobj
= Py_None
;
9947 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9953 (char *) "self", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9958 if (SWIG_arg_fail(1)) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_From_int((int)(result
));
9975 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9981 PyObject
* obj1
= 0 ;
9983 (char *) "self",(char *) "rect", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9988 if (SWIG_arg_fail(1)) SWIG_fail
;
9991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 (arg1
)->SetRect((wxRect
const &)*arg2
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 Py_INCREF(Py_None
); resultobj
= Py_None
;
10007 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10027 wxRect
* resultptr
;
10028 resultptr
= new wxRect((wxRect
&)(result
));
10029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10037 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10040 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10042 return Py_BuildValue((char *)"");
10044 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxWindow
*arg1
= (wxWindow
*) 0 ;
10047 int arg2
= (int) -1 ;
10048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10052 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10053 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10054 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10055 wxSashLayoutWindow
*result
;
10058 bool temp6
= false ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 PyObject
* obj2
= 0 ;
10062 PyObject
* obj3
= 0 ;
10063 PyObject
* obj4
= 0 ;
10064 PyObject
* obj5
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10071 if (SWIG_arg_fail(1)) SWIG_fail
;
10074 arg2
= (int)(SWIG_As_int(obj1
));
10075 if (SWIG_arg_fail(2)) SWIG_fail
;
10081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10092 arg5
= (long)(SWIG_As_long(obj4
));
10093 if (SWIG_arg_fail(5)) SWIG_fail
;
10098 arg6
= wxString_in_helper(obj5
);
10099 if (arg6
== NULL
) SWIG_fail
;
10104 if (!wxPyCheckForApp()) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10126 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxSashLayoutWindow
*result
;
10129 char *kwnames
[] = {
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10135 if (!wxPyCheckForApp()) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10149 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10152 wxWindow
*arg2
= (wxWindow
*) 0 ;
10153 int arg3
= (int) -1 ;
10154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10156 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10157 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10158 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10159 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10160 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10164 bool temp7
= false ;
10165 PyObject
* obj0
= 0 ;
10166 PyObject
* obj1
= 0 ;
10167 PyObject
* obj2
= 0 ;
10168 PyObject
* obj3
= 0 ;
10169 PyObject
* obj4
= 0 ;
10170 PyObject
* obj5
= 0 ;
10171 PyObject
* obj6
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10178 if (SWIG_arg_fail(1)) SWIG_fail
;
10179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10180 if (SWIG_arg_fail(2)) SWIG_fail
;
10183 arg3
= (int)(SWIG_As_int(obj2
));
10184 if (SWIG_arg_fail(3)) SWIG_fail
;
10190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10201 arg6
= (long)(SWIG_As_long(obj5
));
10202 if (SWIG_arg_fail(6)) SWIG_fail
;
10207 arg7
= wxString_in_helper(obj6
);
10208 if (arg7
== NULL
) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10236 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10239 wxLayoutAlignment result
;
10240 PyObject
* obj0
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10247 if (SWIG_arg_fail(1)) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= SWIG_From_int((result
));
10262 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10265 wxLayoutOrientation result
;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_From_int((result
));
10288 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10291 wxLayoutAlignment arg2
;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self",(char *) "alignment", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10300 if (SWIG_arg_fail(1)) SWIG_fail
;
10302 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10303 if (SWIG_arg_fail(2)) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self",(char *) "size", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10332 if (SWIG_arg_fail(1)) SWIG_fail
;
10335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 Py_INCREF(Py_None
); resultobj
= Py_None
;
10351 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10354 wxLayoutOrientation arg2
;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "orientation", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail
;
10365 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10366 if (SWIG_arg_fail(2)) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 Py_INCREF(Py_None
); resultobj
= Py_None
;
10382 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10385 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10387 return Py_BuildValue((char *)"");
10389 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxLayoutAlgorithm
*result
;
10392 char *kwnames
[] = {
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10411 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10421 if (SWIG_arg_fail(1)) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 Py_INCREF(Py_None
); resultobj
= Py_None
;
10436 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10439 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10440 wxRect
*arg3
= (wxRect
*) NULL
;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 PyObject
* obj2
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self",(char *) "frame",(char *) "rect", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10453 if (SWIG_arg_fail(2)) SWIG_fail
;
10455 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10456 if (SWIG_arg_fail(3)) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10477 wxFrame
*arg2
= (wxFrame
*) 0 ;
10478 wxWindow
*arg3
= (wxWindow
*) NULL
;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 PyObject
* obj2
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10489 if (SWIG_arg_fail(1)) SWIG_fail
;
10490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10491 if (SWIG_arg_fail(2)) SWIG_fail
;
10493 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10494 if (SWIG_arg_fail(3)) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10512 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10515 wxWindow
*arg2
= (wxWindow
*) 0 ;
10516 wxWindow
*arg3
= (wxWindow
*) NULL
;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10520 PyObject
* obj2
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10527 if (SWIG_arg_fail(1)) SWIG_fail
;
10528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10529 if (SWIG_arg_fail(2)) SWIG_fail
;
10531 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10532 if (SWIG_arg_fail(3)) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10550 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10553 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10555 return Py_BuildValue((char *)"");
10557 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
;
10559 wxWindow
*arg1
= (wxWindow
*) 0 ;
10560 int arg2
= (int) wxBORDER_NONE
;
10561 wxPopupWindow
*result
;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "parent",(char *) "flags", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10570 if (SWIG_arg_fail(1)) SWIG_fail
;
10573 arg2
= (int)(SWIG_As_int(obj1
));
10574 if (SWIG_arg_fail(2)) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10591 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxPopupWindow
*result
;
10594 char *kwnames
[] = {
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (wxPopupWindow
*)new wxPopupWindow();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10613 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10616 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10618 return Py_BuildValue((char *)"");
10620 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxWindow
*arg1
= (wxWindow
*) 0 ;
10623 int arg2
= (int) wxBORDER_NONE
;
10624 wxPyPopupTransientWindow
*result
;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "parent",(char *) "style", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10633 if (SWIG_arg_fail(1)) SWIG_fail
;
10636 arg2
= (int)(SWIG_As_int(obj1
));
10637 if (SWIG_arg_fail(2)) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10654 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxPyPopupTransientWindow
*result
;
10657 char *kwnames
[] = {
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10676 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10679 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10681 return Py_BuildValue((char *)"");
10683 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxWindow
*arg1
= (wxWindow
*) 0 ;
10686 wxString
*arg2
= 0 ;
10687 int arg3
= (int) 100 ;
10688 wxRect
*arg4
= (wxRect
*) NULL
;
10689 wxTipWindow
*result
;
10690 bool temp2
= false ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 PyObject
* obj3
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail
;
10703 arg2
= wxString_in_helper(obj1
);
10704 if (arg2
== NULL
) SWIG_fail
;
10709 arg3
= (int)(SWIG_As_int(obj2
));
10710 if (SWIG_arg_fail(3)) SWIG_fail
;
10714 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10715 if (SWIG_arg_fail(4)) SWIG_fail
;
10718 if (!wxPyCheckForApp()) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10740 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self",(char *) "rectBound", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10753 if (SWIG_arg_fail(1)) SWIG_fail
;
10756 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 Py_INCREF(Py_None
); resultobj
= Py_None
;
10772 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10782 if (SWIG_arg_fail(1)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10802 return Py_BuildValue((char *)"");
10804 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxWindow
*arg1
= (wxWindow
*) 0 ;
10807 int arg2
= (int) wxID_ANY
;
10808 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10809 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10810 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10811 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10812 long arg5
= (long) 0 ;
10813 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10814 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10815 wxPyVScrolledWindow
*result
;
10818 bool temp6
= false ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 PyObject
* obj3
= 0 ;
10823 PyObject
* obj4
= 0 ;
10824 PyObject
* obj5
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail
;
10834 arg2
= (int)(SWIG_As_int(obj1
));
10835 if (SWIG_arg_fail(2)) SWIG_fail
;
10841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10852 arg5
= (long)(SWIG_As_long(obj4
));
10853 if (SWIG_arg_fail(5)) SWIG_fail
;
10858 arg6
= wxString_in_helper(obj5
);
10859 if (arg6
== NULL
) SWIG_fail
;
10864 if (!wxPyCheckForApp()) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10886 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxPyVScrolledWindow
*result
;
10889 char *kwnames
[] = {
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10895 if (!wxPyCheckForApp()) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10909 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
;
10911 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10912 PyObject
*arg2
= (PyObject
*) 0 ;
10913 PyObject
*arg3
= (PyObject
*) 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 PyObject
* obj2
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self",(char *) "self",(char *) "_class", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
10923 if (SWIG_arg_fail(1)) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 Py_INCREF(Py_None
); resultobj
= Py_None
;
10940 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10943 wxWindow
*arg2
= (wxWindow
*) 0 ;
10944 int arg3
= (int) wxID_ANY
;
10945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10949 long arg6
= (long) 0 ;
10950 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
10951 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10955 bool temp7
= false ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 PyObject
* obj2
= 0 ;
10959 PyObject
* obj3
= 0 ;
10960 PyObject
* obj4
= 0 ;
10961 PyObject
* obj5
= 0 ;
10962 PyObject
* obj6
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
10969 if (SWIG_arg_fail(1)) SWIG_fail
;
10970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10971 if (SWIG_arg_fail(2)) SWIG_fail
;
10974 arg3
= (int)(SWIG_As_int(obj2
));
10975 if (SWIG_arg_fail(3)) SWIG_fail
;
10981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10992 arg6
= (long)(SWIG_As_long(obj5
));
10993 if (SWIG_arg_fail(6)) SWIG_fail
;
10998 arg7
= wxString_in_helper(obj6
);
10999 if (arg7
== NULL
) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11027 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "count", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11039 if (SWIG_arg_fail(1)) SWIG_fail
;
11041 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11042 if (SWIG_arg_fail(2)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 (arg1
)->SetLineCount(arg2
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "line", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail
;
11073 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11074 if (SWIG_arg_fail(2)) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11092 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self",(char *) "lines", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11105 if (SWIG_arg_fail(1)) SWIG_fail
;
11107 arg2
= (int)(SWIG_As_int(obj1
));
11108 if (SWIG_arg_fail(2)) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (bool)(arg1
)->ScrollLines(arg2
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11126 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self",(char *) "pages", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail
;
11141 arg2
= (int)(SWIG_As_int(obj1
));
11142 if (SWIG_arg_fail(2)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)(arg1
)->ScrollPages(arg2
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11160 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "line", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11172 if (SWIG_arg_fail(1)) SWIG_fail
;
11174 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11175 if (SWIG_arg_fail(2)) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->RefreshLine(arg2
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 PyObject
* obj2
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self",(char *) "from",(char *) "to", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail
;
11207 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11208 if (SWIG_arg_fail(2)) SWIG_fail
;
11211 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11212 if (SWIG_arg_fail(3)) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 (arg1
)->RefreshLines(arg2
,arg3
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 Py_INCREF(Py_None
); resultobj
= Py_None
;
11228 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 PyObject
* obj2
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self",(char *) "x",(char *) "y", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11243 if (SWIG_arg_fail(1)) SWIG_fail
;
11245 arg2
= (int)(SWIG_As_int(obj1
));
11246 if (SWIG_arg_fail(2)) SWIG_fail
;
11249 arg3
= (int)(SWIG_As_int(obj2
));
11250 if (SWIG_arg_fail(3)) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= SWIG_From_int((int)(result
));
11268 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11271 wxPoint
*arg2
= 0 ;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "pt", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11282 if (SWIG_arg_fail(1)) SWIG_fail
;
11285 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= SWIG_From_int((int)(result
));
11303 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11313 if (SWIG_arg_fail(1)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->RefreshAll();
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11339 if (SWIG_arg_fail(1)) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11356 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11367 if (SWIG_arg_fail(1)) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11384 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11395 if (SWIG_arg_fail(1)) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11412 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "line", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11425 if (SWIG_arg_fail(1)) SWIG_fail
;
11427 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11428 if (SWIG_arg_fail(2)) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11446 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11449 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11451 return Py_BuildValue((char *)"");
11453 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11454 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11459 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11464 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11466 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11473 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxWindow
*arg1
= (wxWindow
*) 0 ;
11476 int arg2
= (int) wxID_ANY
;
11477 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11478 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11479 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11480 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11481 long arg5
= (long) 0 ;
11482 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11483 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11484 wxPyVListBox
*result
;
11487 bool temp6
= false ;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 PyObject
* obj2
= 0 ;
11491 PyObject
* obj3
= 0 ;
11492 PyObject
* obj4
= 0 ;
11493 PyObject
* obj5
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail
;
11503 arg2
= (int)(SWIG_As_int(obj1
));
11504 if (SWIG_arg_fail(2)) SWIG_fail
;
11510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11516 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11521 arg5
= (long)(SWIG_As_long(obj4
));
11522 if (SWIG_arg_fail(5)) SWIG_fail
;
11527 arg6
= wxString_in_helper(obj5
);
11528 if (arg6
== NULL
) SWIG_fail
;
11533 if (!wxPyCheckForApp()) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11555 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxPyVListBox
*result
;
11558 char *kwnames
[] = {
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11564 if (!wxPyCheckForApp()) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (wxPyVListBox
*)new wxPyVListBox();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11578 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11581 PyObject
*arg2
= (PyObject
*) 0 ;
11582 PyObject
*arg3
= (PyObject
*) 0 ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 PyObject
* obj2
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self",(char *) "self",(char *) "_class", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11592 if (SWIG_arg_fail(1)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11612 wxWindow
*arg2
= (wxWindow
*) 0 ;
11613 int arg3
= (int) wxID_ANY
;
11614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11618 long arg6
= (long) 0 ;
11619 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11620 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11624 bool temp7
= false ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 PyObject
* obj2
= 0 ;
11628 PyObject
* obj3
= 0 ;
11629 PyObject
* obj4
= 0 ;
11630 PyObject
* obj5
= 0 ;
11631 PyObject
* obj6
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11638 if (SWIG_arg_fail(1)) SWIG_fail
;
11639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11640 if (SWIG_arg_fail(2)) SWIG_fail
;
11643 arg3
= (int)(SWIG_As_int(obj2
));
11644 if (SWIG_arg_fail(3)) SWIG_fail
;
11650 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11656 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11661 arg6
= (long)(SWIG_As_long(obj5
));
11662 if (SWIG_arg_fail(6)) SWIG_fail
;
11667 arg7
= wxString_in_helper(obj6
);
11668 if (arg7
== NULL
) SWIG_fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11696 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11700 PyObject
* obj0
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11707 if (SWIG_arg_fail(1)) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11724 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11728 PyObject
* obj0
= 0 ;
11729 char *kwnames
[] = {
11730 (char *) "self", NULL
11733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11735 if (SWIG_arg_fail(1)) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11752 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11756 PyObject
* obj0
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_From_int((int)(result
));
11780 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self",(char *) "item", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11793 if (SWIG_arg_fail(1)) SWIG_fail
;
11795 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11796 if (SWIG_arg_fail(2)) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11814 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11815 PyObject
*resultobj
;
11816 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self",(char *) "item", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11827 if (SWIG_arg_fail(1)) SWIG_fail
;
11829 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11830 if (SWIG_arg_fail(2)) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11848 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
11858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11876 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
11886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= result
;
11902 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11905 unsigned long arg2
;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "cookie", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
11918 if (SWIG_arg_fail(2)) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
;
11934 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
11944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11945 if (SWIG_arg_fail(1)) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 wxPoint
* resultptr
;
11955 resultptr
= new wxPoint((wxPoint
&)(result
));
11956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11964 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 char *kwnames
[] = {
11970 (char *) "self", NULL
11973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
11974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11975 if (SWIG_arg_fail(1)) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
11980 result
= (wxColour
*) &_result_ref
;
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
11993 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 PyObject
* obj1
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self",(char *) "count", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12005 if (SWIG_arg_fail(1)) SWIG_fail
;
12007 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12008 if (SWIG_arg_fail(2)) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->SetItemCount(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 Py_INCREF(Py_None
); resultobj
= Py_None
;
12024 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12034 if (SWIG_arg_fail(1)) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 Py_INCREF(Py_None
); resultobj
= Py_None
;
12049 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self",(char *) "selection", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail
;
12063 arg2
= (int)(SWIG_As_int(obj1
));
12064 if (SWIG_arg_fail(2)) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->SetSelection(arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 Py_INCREF(Py_None
); resultobj
= Py_None
;
12080 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12084 bool arg3
= (bool) true ;
12086 PyObject
* obj0
= 0 ;
12087 PyObject
* obj1
= 0 ;
12088 PyObject
* obj2
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self",(char *) "item",(char *) "select", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12095 if (SWIG_arg_fail(1)) SWIG_fail
;
12097 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12098 if (SWIG_arg_fail(2)) SWIG_fail
;
12102 arg3
= (bool)(SWIG_As_bool(obj2
));
12103 if (SWIG_arg_fail(3)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12122 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12128 PyObject
* obj0
= 0 ;
12129 PyObject
* obj1
= 0 ;
12130 PyObject
* obj2
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "from",(char *) "to", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12137 if (SWIG_arg_fail(1)) SWIG_fail
;
12139 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12140 if (SWIG_arg_fail(2)) SWIG_fail
;
12143 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12144 if (SWIG_arg_fail(3)) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12162 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "item", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12177 if (SWIG_arg_fail(2)) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 (arg1
)->Toggle(arg2
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 Py_INCREF(Py_None
); resultobj
= Py_None
;
12193 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (bool)(arg1
)->SelectAll();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12221 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12225 PyObject
* obj0
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (bool)(arg1
)->DeselectAll();
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12249 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12252 wxPoint
*arg2
= 0 ;
12254 PyObject
* obj0
= 0 ;
12255 PyObject
* obj1
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self",(char *) "pt", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail
;
12265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 Py_INCREF(Py_None
); resultobj
= Py_None
;
12281 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 PyObject
* obj1
= 0 ;
12288 PyObject
* obj2
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "x",(char *) "y", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12295 if (SWIG_arg_fail(1)) SWIG_fail
;
12297 arg2
= (int)(SWIG_As_int(obj1
));
12298 if (SWIG_arg_fail(2)) SWIG_fail
;
12301 arg3
= (int)(SWIG_As_int(obj2
));
12302 if (SWIG_arg_fail(3)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 (arg1
)->SetMargins(arg2
,arg3
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 Py_INCREF(Py_None
); resultobj
= Py_None
;
12318 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12321 wxColour
*arg2
= 0 ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self",(char *) "col", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail
;
12334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 Py_INCREF(Py_None
); resultobj
= Py_None
;
12350 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12353 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12355 return Py_BuildValue((char *)"");
12357 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxWindow
*arg1
= (wxWindow
*) 0 ;
12360 int arg2
= (int) wxID_ANY
;
12361 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12362 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12363 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12364 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12365 long arg5
= (long) 0 ;
12366 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12367 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12368 wxPyHtmlListBox
*result
;
12371 bool temp6
= false ;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 PyObject
* obj2
= 0 ;
12375 PyObject
* obj3
= 0 ;
12376 PyObject
* obj4
= 0 ;
12377 PyObject
* obj5
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail
;
12387 arg2
= (int)(SWIG_As_int(obj1
));
12388 if (SWIG_arg_fail(2)) SWIG_fail
;
12394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12400 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12405 arg5
= (long)(SWIG_As_long(obj4
));
12406 if (SWIG_arg_fail(5)) SWIG_fail
;
12411 arg6
= wxString_in_helper(obj5
);
12412 if (arg6
== NULL
) SWIG_fail
;
12417 if (!wxPyCheckForApp()) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12439 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxPyHtmlListBox
*result
;
12442 char *kwnames
[] = {
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12448 if (!wxPyCheckForApp()) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12462 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12465 PyObject
*arg2
= (PyObject
*) 0 ;
12466 PyObject
*arg3
= (PyObject
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 PyObject
* obj1
= 0 ;
12469 PyObject
* obj2
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self",(char *) "self",(char *) "_class", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12476 if (SWIG_arg_fail(1)) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 Py_INCREF(Py_None
); resultobj
= Py_None
;
12493 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12496 wxWindow
*arg2
= (wxWindow
*) 0 ;
12497 int arg3
= (int) wxID_ANY
;
12498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12502 long arg6
= (long) 0 ;
12503 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12508 bool temp7
= false ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 PyObject
* obj2
= 0 ;
12512 PyObject
* obj3
= 0 ;
12513 PyObject
* obj4
= 0 ;
12514 PyObject
* obj5
= 0 ;
12515 PyObject
* obj6
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail
;
12523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12524 if (SWIG_arg_fail(2)) SWIG_fail
;
12527 arg3
= (int)(SWIG_As_int(obj2
));
12528 if (SWIG_arg_fail(3)) SWIG_fail
;
12534 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12540 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12545 arg6
= (long)(SWIG_As_long(obj5
));
12546 if (SWIG_arg_fail(6)) SWIG_fail
;
12551 arg7
= wxString_in_helper(obj6
);
12552 if (arg7
== NULL
) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12580 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12590 if (SWIG_arg_fail(1)) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->RefreshAll();
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 Py_INCREF(Py_None
); resultobj
= Py_None
;
12605 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12609 PyObject
* obj0
= 0 ;
12610 PyObject
* obj1
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self",(char *) "count", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail
;
12619 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12620 if (SWIG_arg_fail(2)) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->SetItemCount(arg2
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12639 wxFileSystem
*result
;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12647 if (SWIG_arg_fail(1)) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12652 result
= (wxFileSystem
*) &_result_ref
;
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12665 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12668 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12670 return Py_BuildValue((char *)"");
12672 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxPyTaskBarIcon
*result
;
12675 char *kwnames
[] = {
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12681 if (!wxPyCheckForApp()) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12695 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12698 PyObject
*arg2
= (PyObject
*) 0 ;
12699 PyObject
*arg3
= (PyObject
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 PyObject
* obj2
= 0 ;
12704 PyObject
* obj3
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12715 arg4
= (int)(SWIG_As_int(obj3
));
12716 if (SWIG_arg_fail(4)) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 Py_INCREF(Py_None
); resultobj
= Py_None
;
12732 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12742 if (SWIG_arg_fail(1)) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 wxPyTaskBarIcon_Destroy(arg1
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 Py_INCREF(Py_None
); resultobj
= Py_None
;
12757 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12761 PyObject
* obj0
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12785 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12789 PyObject
* obj0
= 0 ;
12790 char *kwnames
[] = {
12791 (char *) "self", NULL
12794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12796 if (SWIG_arg_fail(1)) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12813 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12817 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12818 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12820 bool temp3
= false ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 PyObject
* obj2
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12830 if (SWIG_arg_fail(1)) SWIG_fail
;
12832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12833 if (SWIG_arg_fail(2)) SWIG_fail
;
12834 if (arg2
== NULL
) {
12835 SWIG_null_ref("wxIcon");
12837 if (SWIG_arg_fail(2)) SWIG_fail
;
12841 arg3
= wxString_in_helper(obj2
);
12842 if (arg3
== NULL
) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12870 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12874 PyObject
* obj0
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
12880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (bool)(arg1
)->RemoveIcon();
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12898 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12901 wxMenu
*arg2
= (wxMenu
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self",(char *) "menu", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
12910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12911 if (SWIG_arg_fail(1)) SWIG_fail
;
12912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
12913 if (SWIG_arg_fail(2)) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (bool)(arg1
)->PopupMenu(arg2
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12930 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
12932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12933 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
12935 return Py_BuildValue((char *)"");
12937 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12940 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
12941 wxTaskBarIconEvent
*result
;
12942 PyObject
* obj0
= 0 ;
12943 PyObject
* obj1
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "evtType",(char *) "tbIcon", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12950 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12951 if (SWIG_arg_fail(1)) SWIG_fail
;
12953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12954 if (SWIG_arg_fail(2)) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
12969 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
12971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12972 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
12974 return Py_BuildValue((char *)"");
12976 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
12977 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
12982 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
12987 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
12989 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
12996 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
12997 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13002 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13007 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13009 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13016 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13017 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13022 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13027 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13029 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13036 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13037 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13042 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13047 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13049 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13056 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13057 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13062 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13067 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13069 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13076 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13077 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13082 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13087 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13089 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13096 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxColourData
*result
;
13099 char *kwnames
[] = {
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (wxColourData
*)new wxColourData();
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13118 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxColourData
*arg1
= (wxColourData
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13128 if (SWIG_arg_fail(1)) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 Py_INCREF(Py_None
); resultobj
= Py_None
;
13143 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxColourData
*arg1
= (wxColourData
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13154 if (SWIG_arg_fail(1)) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (bool)(arg1
)->GetChooseFull();
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13171 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxColourData
*arg1
= (wxColourData
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13182 if (SWIG_arg_fail(1)) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (arg1
)->GetColour();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 wxColour
* resultptr
;
13192 resultptr
= new wxColour((wxColour
&)(result
));
13193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13201 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxColourData
*arg1
= (wxColourData
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "i", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13214 if (SWIG_arg_fail(1)) SWIG_fail
;
13216 arg2
= (int)(SWIG_As_int(obj1
));
13217 if (SWIG_arg_fail(2)) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (arg1
)->GetCustomColour(arg2
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13227 wxColour
* resultptr
;
13228 resultptr
= new wxColour((wxColour
&)(result
));
13229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13237 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxColourData
*arg1
= (wxColourData
*) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self",(char *) "flag", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13249 if (SWIG_arg_fail(1)) SWIG_fail
;
13251 arg2
= (int)(SWIG_As_int(obj1
));
13252 if (SWIG_arg_fail(2)) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 (arg1
)->SetChooseFull(arg2
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 Py_INCREF(Py_None
); resultobj
= Py_None
;
13268 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxColourData
*arg1
= (wxColourData
*) 0 ;
13271 wxColour
*arg2
= 0 ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "colour", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13281 if (SWIG_arg_fail(1)) SWIG_fail
;
13284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 (arg1
)->SetColour((wxColour
const &)*arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxColourData
*arg1
= (wxColourData
*) 0 ;
13304 wxColour
*arg3
= 0 ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 PyObject
* obj2
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "i",(char *) "colour", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13315 if (SWIG_arg_fail(1)) SWIG_fail
;
13317 arg2
= (int)(SWIG_As_int(obj1
));
13318 if (SWIG_arg_fail(2)) SWIG_fail
;
13322 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13338 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13341 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13343 return Py_BuildValue((char *)"");
13345 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxWindow
*arg1
= (wxWindow
*) 0 ;
13348 wxColourData
*arg2
= (wxColourData
*) NULL
;
13349 wxColourDialog
*result
;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "parent",(char *) "data", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13358 if (SWIG_arg_fail(1)) SWIG_fail
;
13360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13361 if (SWIG_arg_fail(2)) SWIG_fail
;
13364 if (!wxPyCheckForApp()) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13378 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13381 wxColourData
*result
;
13382 PyObject
* obj0
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13389 if (SWIG_arg_fail(1)) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13394 result
= (wxColourData
*) &_result_ref
;
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13407 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13410 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13412 return Py_BuildValue((char *)"");
13414 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxWindow
*arg1
= (wxWindow
*) 0 ;
13417 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13418 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13421 long arg4
= (long) 0 ;
13422 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13423 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13424 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13425 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13426 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13427 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13428 wxDirDialog
*result
;
13429 bool temp2
= false ;
13430 bool temp3
= false ;
13433 bool temp7
= false ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 PyObject
* obj2
= 0 ;
13437 PyObject
* obj3
= 0 ;
13438 PyObject
* obj4
= 0 ;
13439 PyObject
* obj5
= 0 ;
13440 PyObject
* obj6
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13447 if (SWIG_arg_fail(1)) SWIG_fail
;
13450 arg2
= wxString_in_helper(obj1
);
13451 if (arg2
== NULL
) SWIG_fail
;
13457 arg3
= wxString_in_helper(obj2
);
13458 if (arg3
== NULL
) SWIG_fail
;
13464 arg4
= (long)(SWIG_As_long(obj3
));
13465 if (SWIG_arg_fail(4)) SWIG_fail
;
13471 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13477 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13482 arg7
= wxString_in_helper(obj6
);
13483 if (arg7
== NULL
) SWIG_fail
;
13488 if (!wxPyCheckForApp()) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13526 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13537 if (SWIG_arg_fail(1)) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (arg1
)->GetPath();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13558 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13569 if (SWIG_arg_fail(1)) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (arg1
)->GetMessage();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13590 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13601 if (SWIG_arg_fail(1)) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (long)(arg1
)->GetStyle();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_From_long((long)(result
));
13618 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13621 wxString
*arg2
= 0 ;
13622 bool temp2
= false ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "message", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13631 if (SWIG_arg_fail(1)) SWIG_fail
;
13633 arg2
= wxString_in_helper(obj1
);
13634 if (arg2
== NULL
) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->SetMessage((wxString
const &)*arg2
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 Py_INCREF(Py_None
); resultobj
= Py_None
;
13659 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13662 wxString
*arg2
= 0 ;
13663 bool temp2
= false ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "self",(char *) "path", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13672 if (SWIG_arg_fail(1)) SWIG_fail
;
13674 arg2
= wxString_in_helper(obj1
);
13675 if (arg2
== NULL
) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 (arg1
)->SetPath((wxString
const &)*arg2
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 Py_INCREF(Py_None
); resultobj
= Py_None
;
13700 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13703 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13705 return Py_BuildValue((char *)"");
13707 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxWindow
*arg1
= (wxWindow
*) 0 ;
13710 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13711 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13712 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13713 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13714 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13715 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13716 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13717 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13718 long arg6
= (long) 0 ;
13719 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13720 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13721 wxFileDialog
*result
;
13722 bool temp2
= false ;
13723 bool temp3
= false ;
13724 bool temp4
= false ;
13725 bool temp5
= false ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 PyObject
* obj2
= 0 ;
13730 PyObject
* obj3
= 0 ;
13731 PyObject
* obj4
= 0 ;
13732 PyObject
* obj5
= 0 ;
13733 PyObject
* obj6
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13740 if (SWIG_arg_fail(1)) SWIG_fail
;
13743 arg2
= wxString_in_helper(obj1
);
13744 if (arg2
== NULL
) SWIG_fail
;
13750 arg3
= wxString_in_helper(obj2
);
13751 if (arg3
== NULL
) SWIG_fail
;
13757 arg4
= wxString_in_helper(obj3
);
13758 if (arg4
== NULL
) SWIG_fail
;
13764 arg5
= wxString_in_helper(obj4
);
13765 if (arg5
== NULL
) SWIG_fail
;
13771 arg6
= (long)(SWIG_As_long(obj5
));
13772 if (SWIG_arg_fail(6)) SWIG_fail
;
13778 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13782 if (!wxPyCheckForApp()) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13828 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13831 wxString
*arg2
= 0 ;
13832 bool temp2
= false ;
13833 PyObject
* obj0
= 0 ;
13834 PyObject
* obj1
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self",(char *) "message", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13841 if (SWIG_arg_fail(1)) SWIG_fail
;
13843 arg2
= wxString_in_helper(obj1
);
13844 if (arg2
== NULL
) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 (arg1
)->SetMessage((wxString
const &)*arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 Py_INCREF(Py_None
); resultobj
= Py_None
;
13869 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
;
13871 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13872 wxString
*arg2
= 0 ;
13873 bool temp2
= false ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self",(char *) "path", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13882 if (SWIG_arg_fail(1)) SWIG_fail
;
13884 arg2
= wxString_in_helper(obj1
);
13885 if (arg2
== NULL
) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 (arg1
)->SetPath((wxString
const &)*arg2
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 Py_INCREF(Py_None
); resultobj
= Py_None
;
13910 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
;
13912 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13913 wxString
*arg2
= 0 ;
13914 bool temp2
= false ;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self",(char *) "dir", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
13922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13923 if (SWIG_arg_fail(1)) SWIG_fail
;
13925 arg2
= wxString_in_helper(obj1
);
13926 if (arg2
== NULL
) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 (arg1
)->SetDirectory((wxString
const &)*arg2
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 Py_INCREF(Py_None
); resultobj
= Py_None
;
13951 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13954 wxString
*arg2
= 0 ;
13955 bool temp2
= false ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "name", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13964 if (SWIG_arg_fail(1)) SWIG_fail
;
13966 arg2
= wxString_in_helper(obj1
);
13967 if (arg2
== NULL
) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 (arg1
)->SetFilename((wxString
const &)*arg2
);
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 Py_INCREF(Py_None
); resultobj
= Py_None
;
13992 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
;
13994 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13995 wxString
*arg2
= 0 ;
13996 bool temp2
= false ;
13997 PyObject
* obj0
= 0 ;
13998 PyObject
* obj1
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self",(char *) "wildCard", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail
;
14007 arg2
= wxString_in_helper(obj1
);
14008 if (arg2
== NULL
) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 Py_INCREF(Py_None
); resultobj
= Py_None
;
14033 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 PyObject
* obj1
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "self",(char *) "style", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14045 if (SWIG_arg_fail(1)) SWIG_fail
;
14047 arg2
= (long)(SWIG_As_long(obj1
));
14048 if (SWIG_arg_fail(2)) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 (arg1
)->SetStyle(arg2
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 Py_INCREF(Py_None
); resultobj
= Py_None
;
14064 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "filterIndex", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14076 if (SWIG_arg_fail(1)) SWIG_fail
;
14078 arg2
= (int)(SWIG_As_int(obj1
));
14079 if (SWIG_arg_fail(2)) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 (arg1
)->SetFilterIndex(arg2
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 Py_INCREF(Py_None
); resultobj
= Py_None
;
14095 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14127 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14131 PyObject
* obj0
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14138 if (SWIG_arg_fail(1)) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14159 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14191 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14202 if (SWIG_arg_fail(1)) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14223 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14234 if (SWIG_arg_fail(1)) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14255 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
;
14257 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14266 if (SWIG_arg_fail(1)) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= SWIG_From_long((long)(result
));
14283 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_From_int((int)(result
));
14311 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14315 PyObject
* obj0
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= result
;
14337 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14348 if (SWIG_arg_fail(1)) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= result
;
14363 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14366 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14368 return Py_BuildValue((char *)"");
14370 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxWindow
*arg1
= (wxWindow
*) 0 ;
14373 wxString
*arg2
= 0 ;
14374 wxString
*arg3
= 0 ;
14375 int arg4
= (int) 0 ;
14376 wxString
*arg5
= (wxString
*) NULL
;
14377 long arg6
= (long) wxCHOICEDLG_STYLE
;
14378 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14379 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14380 wxMultiChoiceDialog
*result
;
14381 bool temp2
= false ;
14382 bool temp3
= false ;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj1
= 0 ;
14386 PyObject
* obj2
= 0 ;
14387 PyObject
* obj3
= 0 ;
14388 PyObject
* obj4
= 0 ;
14389 PyObject
* obj5
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14396 if (SWIG_arg_fail(1)) SWIG_fail
;
14398 arg2
= wxString_in_helper(obj1
);
14399 if (arg2
== NULL
) SWIG_fail
;
14403 arg3
= wxString_in_helper(obj2
);
14404 if (arg3
== NULL
) SWIG_fail
;
14409 arg4
= PyList_Size(obj3
);
14410 arg5
= wxString_LIST_helper(obj3
);
14411 if (arg5
== NULL
) SWIG_fail
;
14416 arg6
= (long)(SWIG_As_long(obj4
));
14417 if (SWIG_arg_fail(6)) SWIG_fail
;
14423 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14427 if (!wxPyCheckForApp()) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14444 if (arg5
) delete [] arg5
;
14457 if (arg5
) delete [] arg5
;
14463 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14466 wxArrayInt
*arg2
= 0 ;
14467 bool temp2
= false ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "selections", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14476 if (SWIG_arg_fail(1)) SWIG_fail
;
14478 if (! PySequence_Check(obj1
)) {
14479 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14482 arg2
= new wxArrayInt
;
14484 int i
, len
=PySequence_Length(obj1
);
14485 for (i
=0; i
<len
; i
++) {
14486 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14487 PyObject
* number
= PyNumber_Int(item
);
14488 arg2
->Add(PyInt_AS_LONG(number
));
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 Py_INCREF(Py_None
); resultobj
= Py_None
;
14502 if (temp2
) delete arg2
;
14507 if (temp2
) delete arg2
;
14513 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14524 if (SWIG_arg_fail(1)) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
;
14539 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14542 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14544 return Py_BuildValue((char *)"");
14546 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxWindow
*arg1
= (wxWindow
*) 0 ;
14549 wxString
*arg2
= 0 ;
14550 wxString
*arg3
= 0 ;
14552 wxString
*arg5
= (wxString
*) 0 ;
14553 long arg6
= (long) wxCHOICEDLG_STYLE
;
14554 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14555 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14556 wxSingleChoiceDialog
*result
;
14557 bool temp2
= false ;
14558 bool temp3
= false ;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 PyObject
* obj2
= 0 ;
14563 PyObject
* obj3
= 0 ;
14564 PyObject
* obj4
= 0 ;
14565 PyObject
* obj5
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14572 if (SWIG_arg_fail(1)) SWIG_fail
;
14574 arg2
= wxString_in_helper(obj1
);
14575 if (arg2
== NULL
) SWIG_fail
;
14579 arg3
= wxString_in_helper(obj2
);
14580 if (arg3
== NULL
) SWIG_fail
;
14584 arg4
= PyList_Size(obj3
);
14585 arg5
= wxString_LIST_helper(obj3
);
14586 if (arg5
== NULL
) SWIG_fail
;
14590 arg6
= (long)(SWIG_As_long(obj4
));
14591 if (SWIG_arg_fail(6)) SWIG_fail
;
14597 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14601 if (!wxPyCheckForApp()) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14618 if (arg5
) delete [] arg5
;
14631 if (arg5
) delete [] arg5
;
14637 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14648 if (SWIG_arg_fail(1)) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (int)(arg1
)->GetSelection();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_From_int((int)(result
));
14665 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14676 if (SWIG_arg_fail(1)) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (arg1
)->GetStringSelection();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14697 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self",(char *) "sel", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail
;
14711 arg2
= (int)(SWIG_As_int(obj1
));
14712 if (SWIG_arg_fail(2)) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 (arg1
)->SetSelection(arg2
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 Py_INCREF(Py_None
); resultobj
= Py_None
;
14728 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14731 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14733 return Py_BuildValue((char *)"");
14735 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxWindow
*arg1
= (wxWindow
*) 0 ;
14738 wxString
*arg2
= 0 ;
14739 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14740 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14741 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14742 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14743 long arg5
= (long) wxTextEntryDialogStyle
;
14744 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14745 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14746 wxTextEntryDialog
*result
;
14747 bool temp2
= false ;
14748 bool temp3
= false ;
14749 bool temp4
= false ;
14751 PyObject
* obj0
= 0 ;
14752 PyObject
* obj1
= 0 ;
14753 PyObject
* obj2
= 0 ;
14754 PyObject
* obj3
= 0 ;
14755 PyObject
* obj4
= 0 ;
14756 PyObject
* obj5
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14763 if (SWIG_arg_fail(1)) SWIG_fail
;
14765 arg2
= wxString_in_helper(obj1
);
14766 if (arg2
== NULL
) SWIG_fail
;
14771 arg3
= wxString_in_helper(obj2
);
14772 if (arg3
== NULL
) SWIG_fail
;
14778 arg4
= wxString_in_helper(obj3
);
14779 if (arg4
== NULL
) SWIG_fail
;
14785 arg5
= (long)(SWIG_As_long(obj4
));
14786 if (SWIG_arg_fail(5)) SWIG_fail
;
14792 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14796 if (!wxPyCheckForApp()) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14834 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14845 if (SWIG_arg_fail(1)) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (arg1
)->GetValue();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14866 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14869 wxString
*arg2
= 0 ;
14870 bool temp2
= false ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "value", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14879 if (SWIG_arg_fail(1)) SWIG_fail
;
14881 arg2
= wxString_in_helper(obj1
);
14882 if (arg2
== NULL
) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 (arg1
)->SetValue((wxString
const &)*arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 Py_INCREF(Py_None
); resultobj
= Py_None
;
14907 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
14909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14910 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
14912 return Py_BuildValue((char *)"");
14914 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
14915 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
14920 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
14925 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14927 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
14934 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxWindow
*arg1
= (wxWindow
*) 0 ;
14937 wxString
*arg2
= 0 ;
14938 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
14939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14940 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14941 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14942 long arg5
= (long) wxTextEntryDialogStyle
;
14943 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14944 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14945 wxPasswordEntryDialog
*result
;
14946 bool temp2
= false ;
14947 bool temp3
= false ;
14948 bool temp4
= false ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 PyObject
* obj2
= 0 ;
14953 PyObject
* obj3
= 0 ;
14954 PyObject
* obj4
= 0 ;
14955 PyObject
* obj5
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail
;
14964 arg2
= wxString_in_helper(obj1
);
14965 if (arg2
== NULL
) SWIG_fail
;
14970 arg3
= wxString_in_helper(obj2
);
14971 if (arg3
== NULL
) SWIG_fail
;
14977 arg4
= wxString_in_helper(obj3
);
14978 if (arg4
== NULL
) SWIG_fail
;
14984 arg5
= (long)(SWIG_As_long(obj4
));
14985 if (SWIG_arg_fail(5)) SWIG_fail
;
14991 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15032 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15035 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15037 return Py_BuildValue((char *)"");
15039 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
;
15041 wxFontData
*result
;
15042 char *kwnames
[] = {
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (wxFontData
*)new wxFontData();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15061 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxFontData
*arg1
= (wxFontData
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15071 if (SWIG_arg_fail(1)) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxFontData
*arg1
= (wxFontData
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "enable", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15098 if (SWIG_arg_fail(1)) SWIG_fail
;
15100 arg2
= (bool)(SWIG_As_bool(obj1
));
15101 if (SWIG_arg_fail(2)) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->EnableEffects(arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 Py_INCREF(Py_None
); resultobj
= Py_None
;
15117 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxFontData
*arg1
= (wxFontData
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15128 if (SWIG_arg_fail(1)) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (bool)(arg1
)->GetAllowSymbols();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15145 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxFontData
*arg1
= (wxFontData
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15156 if (SWIG_arg_fail(1)) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (arg1
)->GetColour();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 wxColour
* resultptr
;
15166 resultptr
= new wxColour((wxColour
&)(result
));
15167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15175 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxFontData
*arg1
= (wxFontData
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15186 if (SWIG_arg_fail(1)) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (arg1
)->GetChosenFont();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 wxFont
* resultptr
;
15196 resultptr
= new wxFont((wxFont
&)(result
));
15197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15205 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxFontData
*arg1
= (wxFontData
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (bool)(arg1
)->GetEnableEffects();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15233 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
;
15235 wxFontData
*arg1
= (wxFontData
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 char *kwnames
[] = {
15239 (char *) "self", NULL
15242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15244 if (SWIG_arg_fail(1)) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (arg1
)->GetInitialFont();
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15253 wxFont
* resultptr
;
15254 resultptr
= new wxFont((wxFont
&)(result
));
15255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15263 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxFontData
*arg1
= (wxFontData
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= (bool)(arg1
)->GetShowHelp();
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15291 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxFontData
*arg1
= (wxFontData
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self",(char *) "allowSymbols", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15303 if (SWIG_arg_fail(1)) SWIG_fail
;
15305 arg2
= (bool)(SWIG_As_bool(obj1
));
15306 if (SWIG_arg_fail(2)) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 (arg1
)->SetAllowSymbols(arg2
);
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 Py_INCREF(Py_None
); resultobj
= Py_None
;
15322 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxFontData
*arg1
= (wxFontData
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 PyObject
* obj1
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self",(char *) "font", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15334 if (SWIG_arg_fail(1)) SWIG_fail
;
15336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15337 if (SWIG_arg_fail(2)) SWIG_fail
;
15338 if (arg2
== NULL
) {
15339 SWIG_null_ref("wxFont");
15341 if (SWIG_arg_fail(2)) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 Py_INCREF(Py_None
); resultobj
= Py_None
;
15357 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxFontData
*arg1
= (wxFontData
*) 0 ;
15360 wxColour
*arg2
= 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self",(char *) "colour", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15370 if (SWIG_arg_fail(1)) SWIG_fail
;
15373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 (arg1
)->SetColour((wxColour
const &)*arg2
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 Py_INCREF(Py_None
); resultobj
= Py_None
;
15389 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxFontData
*arg1
= (wxFontData
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 PyObject
* obj1
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self",(char *) "font", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail
;
15403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15404 if (SWIG_arg_fail(2)) SWIG_fail
;
15405 if (arg2
== NULL
) {
15406 SWIG_null_ref("wxFont");
15408 if (SWIG_arg_fail(2)) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 Py_INCREF(Py_None
); resultobj
= Py_None
;
15424 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxFontData
*arg1
= (wxFontData
*) 0 ;
15429 PyObject
* obj0
= 0 ;
15430 PyObject
* obj1
= 0 ;
15431 PyObject
* obj2
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self",(char *) "min",(char *) "max", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail
;
15440 arg2
= (int)(SWIG_As_int(obj1
));
15441 if (SWIG_arg_fail(2)) SWIG_fail
;
15444 arg3
= (int)(SWIG_As_int(obj2
));
15445 if (SWIG_arg_fail(3)) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 (arg1
)->SetRange(arg2
,arg3
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 Py_INCREF(Py_None
); resultobj
= Py_None
;
15461 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxFontData
*arg1
= (wxFontData
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "showHelp", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail
;
15475 arg2
= (bool)(SWIG_As_bool(obj1
));
15476 if (SWIG_arg_fail(2)) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 (arg1
)->SetShowHelp(arg2
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 Py_INCREF(Py_None
); resultobj
= Py_None
;
15492 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15495 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15497 return Py_BuildValue((char *)"");
15499 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxWindow
*arg1
= (wxWindow
*) 0 ;
15502 wxFontData
*arg2
= 0 ;
15503 wxFontDialog
*result
;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "parent",(char *) "data", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15512 if (SWIG_arg_fail(1)) SWIG_fail
;
15514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15515 if (SWIG_arg_fail(2)) SWIG_fail
;
15516 if (arg2
== NULL
) {
15517 SWIG_null_ref("wxFontData");
15519 if (SWIG_arg_fail(2)) SWIG_fail
;
15522 if (!wxPyCheckForApp()) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15536 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15539 wxFontData
*result
;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15552 result
= (wxFontData
*) &_result_ref
;
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15565 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15568 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15570 return Py_BuildValue((char *)"");
15572 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxWindow
*arg1
= (wxWindow
*) 0 ;
15575 wxString
*arg2
= 0 ;
15576 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15577 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15578 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15581 wxMessageDialog
*result
;
15582 bool temp2
= false ;
15583 bool temp3
= false ;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 PyObject
* obj2
= 0 ;
15588 PyObject
* obj3
= 0 ;
15589 PyObject
* obj4
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15596 if (SWIG_arg_fail(1)) SWIG_fail
;
15598 arg2
= wxString_in_helper(obj1
);
15599 if (arg2
== NULL
) SWIG_fail
;
15604 arg3
= wxString_in_helper(obj2
);
15605 if (arg3
== NULL
) SWIG_fail
;
15611 arg4
= (long)(SWIG_As_long(obj3
));
15612 if (SWIG_arg_fail(4)) SWIG_fail
;
15618 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15622 if (!wxPyCheckForApp()) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15652 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15655 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15657 return Py_BuildValue((char *)"");
15659 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxString
*arg1
= 0 ;
15662 wxString
*arg2
= 0 ;
15663 int arg3
= (int) 100 ;
15664 wxWindow
*arg4
= (wxWindow
*) NULL
;
15665 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15666 wxProgressDialog
*result
;
15667 bool temp1
= false ;
15668 bool temp2
= false ;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 PyObject
* obj2
= 0 ;
15672 PyObject
* obj3
= 0 ;
15673 PyObject
* obj4
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15680 arg1
= wxString_in_helper(obj0
);
15681 if (arg1
== NULL
) SWIG_fail
;
15685 arg2
= wxString_in_helper(obj1
);
15686 if (arg2
== NULL
) SWIG_fail
;
15691 arg3
= (int)(SWIG_As_int(obj2
));
15692 if (SWIG_arg_fail(3)) SWIG_fail
;
15696 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15697 if (SWIG_arg_fail(4)) SWIG_fail
;
15701 arg5
= (int)(SWIG_As_int(obj4
));
15702 if (SWIG_arg_fail(5)) SWIG_fail
;
15706 if (!wxPyCheckForApp()) SWIG_fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15736 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15740 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15741 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15743 bool temp3
= false ;
15744 PyObject
* obj0
= 0 ;
15745 PyObject
* obj1
= 0 ;
15746 PyObject
* obj2
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail
;
15755 arg2
= (int)(SWIG_As_int(obj1
));
15756 if (SWIG_arg_fail(2)) SWIG_fail
;
15760 arg3
= wxString_in_helper(obj2
);
15761 if (arg3
== NULL
) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15799 if (SWIG_arg_fail(1)) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 Py_INCREF(Py_None
); resultobj
= Py_None
;
15814 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15817 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15819 return Py_BuildValue((char *)"");
15821 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15824 int arg2
= (int) 0 ;
15825 wxFindDialogEvent
*result
;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "commandType",(char *) "id", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15835 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15836 if (SWIG_arg_fail(1)) SWIG_fail
;
15841 arg2
= (int)(SWIG_As_int(obj1
));
15842 if (SWIG_arg_fail(2)) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
15859 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15863 PyObject
* obj0
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
15869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15870 if (SWIG_arg_fail(1)) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (int)(arg1
)->GetFlags();
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_From_int((int)(result
));
15887 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15891 PyObject
* obj0
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
15897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15898 if (SWIG_arg_fail(1)) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 wxString
const &_result_ref
= (arg1
)->GetFindString();
15903 result
= (wxString
*) &_result_ref
;
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15913 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15922 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15926 PyObject
* obj0
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
15932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15933 if (SWIG_arg_fail(1)) SWIG_fail
;
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
15938 result
= (wxString
*) &_result_ref
;
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15948 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15957 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15960 wxFindReplaceDialog
*result
;
15961 PyObject
* obj0
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
15967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15968 if (SWIG_arg_fail(1)) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
15983 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "flags", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
15994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail
;
15997 arg2
= (int)(SWIG_As_int(obj1
));
15998 if (SWIG_arg_fail(2)) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 (arg1
)->SetFlags(arg2
);
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 Py_INCREF(Py_None
); resultobj
= Py_None
;
16014 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16017 wxString
*arg2
= 0 ;
16018 bool temp2
= false ;
16019 PyObject
* obj0
= 0 ;
16020 PyObject
* obj1
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self",(char *) "str", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16027 if (SWIG_arg_fail(1)) SWIG_fail
;
16029 arg2
= wxString_in_helper(obj1
);
16030 if (arg2
== NULL
) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 (arg1
)->SetFindString((wxString
const &)*arg2
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 Py_INCREF(Py_None
); resultobj
= Py_None
;
16055 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16058 wxString
*arg2
= 0 ;
16059 bool temp2
= false ;
16060 PyObject
* obj0
= 0 ;
16061 PyObject
* obj1
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self",(char *) "str", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16068 if (SWIG_arg_fail(1)) SWIG_fail
;
16070 arg2
= wxString_in_helper(obj1
);
16071 if (arg2
== NULL
) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 Py_INCREF(Py_None
); resultobj
= Py_None
;
16096 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16099 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16101 return Py_BuildValue((char *)"");
16103 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 int arg1
= (int) 0 ;
16106 wxFindReplaceData
*result
;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "flags", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16115 arg1
= (int)(SWIG_As_int(obj0
));
16116 if (SWIG_arg_fail(1)) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16133 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16143 if (SWIG_arg_fail(1)) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 Py_INCREF(Py_None
); resultobj
= Py_None
;
16158 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16162 PyObject
* obj0
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16169 if (SWIG_arg_fail(1)) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 wxString
const &_result_ref
= (arg1
)->GetFindString();
16174 result
= (wxString
*) &_result_ref
;
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16184 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16193 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16209 result
= (wxString
*) &_result_ref
;
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16219 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16228 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16232 PyObject
* obj0
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16239 if (SWIG_arg_fail(1)) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (int)(arg1
)->GetFlags();
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_From_int((int)(result
));
16256 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self",(char *) "flags", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16268 if (SWIG_arg_fail(1)) SWIG_fail
;
16270 arg2
= (int)(SWIG_As_int(obj1
));
16271 if (SWIG_arg_fail(2)) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 (arg1
)->SetFlags(arg2
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 Py_INCREF(Py_None
); resultobj
= Py_None
;
16287 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16290 wxString
*arg2
= 0 ;
16291 bool temp2
= false ;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "str", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail
;
16302 arg2
= wxString_in_helper(obj1
);
16303 if (arg2
== NULL
) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 (arg1
)->SetFindString((wxString
const &)*arg2
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 Py_INCREF(Py_None
); resultobj
= Py_None
;
16328 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16331 wxString
*arg2
= 0 ;
16332 bool temp2
= false ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self",(char *) "str", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16341 if (SWIG_arg_fail(1)) SWIG_fail
;
16343 arg2
= wxString_in_helper(obj1
);
16344 if (arg2
== NULL
) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 Py_INCREF(Py_None
); resultobj
= Py_None
;
16369 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16372 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16374 return Py_BuildValue((char *)"");
16376 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxWindow
*arg1
= (wxWindow
*) 0 ;
16379 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16380 wxString
*arg3
= 0 ;
16381 int arg4
= (int) 0 ;
16382 wxFindReplaceDialog
*result
;
16383 bool temp3
= false ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 PyObject
* obj2
= 0 ;
16387 PyObject
* obj3
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16394 if (SWIG_arg_fail(1)) SWIG_fail
;
16395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16396 if (SWIG_arg_fail(2)) SWIG_fail
;
16398 arg3
= wxString_in_helper(obj2
);
16399 if (arg3
== NULL
) SWIG_fail
;
16404 arg4
= (int)(SWIG_As_int(obj3
));
16405 if (SWIG_arg_fail(4)) SWIG_fail
;
16409 if (!wxPyCheckForApp()) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16431 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxFindReplaceDialog
*result
;
16434 char *kwnames
[] = {
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16440 if (!wxPyCheckForApp()) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16454 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16457 wxWindow
*arg2
= (wxWindow
*) 0 ;
16458 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16459 wxString
*arg4
= 0 ;
16460 int arg5
= (int) 0 ;
16462 bool temp4
= false ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 PyObject
* obj2
= 0 ;
16466 PyObject
* obj3
= 0 ;
16467 PyObject
* obj4
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail
;
16475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16476 if (SWIG_arg_fail(2)) SWIG_fail
;
16477 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16478 if (SWIG_arg_fail(3)) SWIG_fail
;
16480 arg4
= wxString_in_helper(obj3
);
16481 if (arg4
== NULL
) SWIG_fail
;
16486 arg5
= (int)(SWIG_As_int(obj4
));
16487 if (SWIG_arg_fail(5)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16514 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16517 wxFindReplaceData
*result
;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16540 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16543 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 PyObject
* obj1
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self",(char *) "data", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16552 if (SWIG_arg_fail(1)) SWIG_fail
;
16553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16554 if (SWIG_arg_fail(2)) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->SetData(arg2
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16572 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16574 return Py_BuildValue((char *)"");
16576 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxWindow
*arg1
= (wxWindow
*) 0 ;
16579 int arg2
= (int) (int)-1 ;
16580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16586 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16587 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16588 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16589 wxMDIParentFrame
*result
;
16590 bool temp3
= false ;
16593 bool temp7
= false ;
16594 PyObject
* obj0
= 0 ;
16595 PyObject
* obj1
= 0 ;
16596 PyObject
* obj2
= 0 ;
16597 PyObject
* obj3
= 0 ;
16598 PyObject
* obj4
= 0 ;
16599 PyObject
* obj5
= 0 ;
16600 PyObject
* obj6
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16607 if (SWIG_arg_fail(1)) SWIG_fail
;
16610 arg2
= (int const)(SWIG_As_int(obj1
));
16611 if (SWIG_arg_fail(2)) SWIG_fail
;
16616 arg3
= wxString_in_helper(obj2
);
16617 if (arg3
== NULL
) SWIG_fail
;
16624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16635 arg6
= (long)(SWIG_As_long(obj5
));
16636 if (SWIG_arg_fail(6)) SWIG_fail
;
16641 arg7
= wxString_in_helper(obj6
);
16642 if (arg7
== NULL
) SWIG_fail
;
16647 if (!wxPyCheckForApp()) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16677 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxMDIParentFrame
*result
;
16680 char *kwnames
[] = {
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16686 if (!wxPyCheckForApp()) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16700 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16703 wxWindow
*arg2
= (wxWindow
*) 0 ;
16704 int arg3
= (int) (int)-1 ;
16705 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16707 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16708 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16709 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16710 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16711 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16712 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16713 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16715 bool temp4
= false ;
16718 bool temp8
= false ;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 PyObject
* obj2
= 0 ;
16722 PyObject
* obj3
= 0 ;
16723 PyObject
* obj4
= 0 ;
16724 PyObject
* obj5
= 0 ;
16725 PyObject
* obj6
= 0 ;
16726 PyObject
* obj7
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16733 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16735 if (SWIG_arg_fail(2)) SWIG_fail
;
16738 arg3
= (int const)(SWIG_As_int(obj2
));
16739 if (SWIG_arg_fail(3)) SWIG_fail
;
16744 arg4
= wxString_in_helper(obj3
);
16745 if (arg4
== NULL
) SWIG_fail
;
16752 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16758 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16763 arg7
= (long)(SWIG_As_long(obj6
));
16764 if (SWIG_arg_fail(7)) SWIG_fail
;
16769 arg8
= wxString_in_helper(obj7
);
16770 if (arg8
== NULL
) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16806 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16816 if (SWIG_arg_fail(1)) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 (arg1
)->ActivateNext();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 Py_INCREF(Py_None
); resultobj
= Py_None
;
16831 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16841 if (SWIG_arg_fail(1)) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 (arg1
)->ActivatePrevious();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 Py_INCREF(Py_None
); resultobj
= Py_None
;
16856 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
16865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16866 if (SWIG_arg_fail(1)) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 (arg1
)->ArrangeIcons();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 Py_INCREF(Py_None
); resultobj
= Py_None
;
16881 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
16890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16891 if (SWIG_arg_fail(1)) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 Py_INCREF(Py_None
); resultobj
= Py_None
;
16906 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16909 wxMDIChildFrame
*result
;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
16916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= wxPyMake_wxObject(result
, 0);
16934 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16937 wxMDIClientWindow
*result
;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
16944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16945 if (SWIG_arg_fail(1)) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= wxPyMake_wxObject(result
, 0);
16962 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
16972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (wxWindow
*)(arg1
)->GetToolBar();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= wxPyMake_wxObject(result
, 0);
16990 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16993 PyObject
* obj0
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "self", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
16999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17000 if (SWIG_arg_fail(1)) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 Py_INCREF(Py_None
); resultobj
= Py_None
;
17015 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17018 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17020 return Py_BuildValue((char *)"");
17022 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17025 int arg2
= (int) (int)-1 ;
17026 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17027 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17032 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17033 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17035 wxMDIChildFrame
*result
;
17036 bool temp3
= false ;
17039 bool temp7
= false ;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 PyObject
* obj2
= 0 ;
17043 PyObject
* obj3
= 0 ;
17044 PyObject
* obj4
= 0 ;
17045 PyObject
* obj5
= 0 ;
17046 PyObject
* obj6
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail
;
17056 arg2
= (int const)(SWIG_As_int(obj1
));
17057 if (SWIG_arg_fail(2)) SWIG_fail
;
17062 arg3
= wxString_in_helper(obj2
);
17063 if (arg3
== NULL
) SWIG_fail
;
17070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17081 arg6
= (long)(SWIG_As_long(obj5
));
17082 if (SWIG_arg_fail(6)) SWIG_fail
;
17087 arg7
= wxString_in_helper(obj6
);
17088 if (arg7
== NULL
) SWIG_fail
;
17093 if (!wxPyCheckForApp()) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17123 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxMDIChildFrame
*result
;
17126 char *kwnames
[] = {
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17132 if (!wxPyCheckForApp()) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17146 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17149 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17150 int arg3
= (int) (int)-1 ;
17151 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17152 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17153 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17154 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17155 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17156 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17157 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17158 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17159 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17161 bool temp4
= false ;
17164 bool temp8
= false ;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 PyObject
* obj2
= 0 ;
17168 PyObject
* obj3
= 0 ;
17169 PyObject
* obj4
= 0 ;
17170 PyObject
* obj5
= 0 ;
17171 PyObject
* obj6
= 0 ;
17172 PyObject
* obj7
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17179 if (SWIG_arg_fail(1)) SWIG_fail
;
17180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17181 if (SWIG_arg_fail(2)) SWIG_fail
;
17184 arg3
= (int const)(SWIG_As_int(obj2
));
17185 if (SWIG_arg_fail(3)) SWIG_fail
;
17190 arg4
= wxString_in_helper(obj3
);
17191 if (arg4
== NULL
) SWIG_fail
;
17198 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17204 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17209 arg7
= (long)(SWIG_As_long(obj6
));
17210 if (SWIG_arg_fail(7)) SWIG_fail
;
17215 arg8
= wxString_in_helper(obj7
);
17216 if (arg8
== NULL
) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17252 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 (arg1
)->Activate();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 Py_INCREF(Py_None
); resultobj
= Py_None
;
17277 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17280 bool arg2
= (bool) true ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "maximize", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17292 arg2
= (bool)(SWIG_As_bool(obj1
));
17293 if (SWIG_arg_fail(2)) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 (arg1
)->Maximize(arg2
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 Py_INCREF(Py_None
); resultobj
= Py_None
;
17335 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17338 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17340 return Py_BuildValue((char *)"");
17342 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17345 long arg2
= (long) 0 ;
17346 wxMDIClientWindow
*result
;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "parent",(char *) "style", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail
;
17358 arg2
= (long)(SWIG_As_long(obj1
));
17359 if (SWIG_arg_fail(2)) SWIG_fail
;
17363 if (!wxPyCheckForApp()) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17377 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxMDIClientWindow
*result
;
17380 char *kwnames
[] = {
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17386 if (!wxPyCheckForApp()) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17400 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17403 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17404 long arg3
= (long) 0 ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 PyObject
* obj2
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self",(char *) "parent",(char *) "style", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17415 if (SWIG_arg_fail(1)) SWIG_fail
;
17416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17417 if (SWIG_arg_fail(2)) SWIG_fail
;
17420 arg3
= (long)(SWIG_As_long(obj2
));
17421 if (SWIG_arg_fail(3)) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17440 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17443 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17445 return Py_BuildValue((char *)"");
17447 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxWindow
*arg1
= (wxWindow
*) 0 ;
17450 int arg2
= (int) (int)-1 ;
17451 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17452 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17453 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17454 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17455 long arg5
= (long) 0 ;
17456 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17457 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17458 wxPyWindow
*result
;
17461 bool temp6
= false ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 PyObject
* obj2
= 0 ;
17465 PyObject
* obj3
= 0 ;
17466 PyObject
* obj4
= 0 ;
17467 PyObject
* obj5
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17474 if (SWIG_arg_fail(1)) SWIG_fail
;
17477 arg2
= (int const)(SWIG_As_int(obj1
));
17478 if (SWIG_arg_fail(2)) SWIG_fail
;
17484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17495 arg5
= (long)(SWIG_As_long(obj4
));
17496 if (SWIG_arg_fail(5)) SWIG_fail
;
17501 arg6
= wxString_in_helper(obj5
);
17502 if (arg6
== NULL
) SWIG_fail
;
17507 if (!wxPyCheckForApp()) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17529 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxPyWindow
*result
;
17532 char *kwnames
[] = {
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17538 if (!wxPyCheckForApp()) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (wxPyWindow
*)new wxPyWindow();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17552 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17555 PyObject
*arg2
= (PyObject
*) 0 ;
17556 PyObject
*arg3
= (PyObject
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "self",(char *) "_class", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17566 if (SWIG_arg_fail(1)) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 Py_INCREF(Py_None
); resultobj
= Py_None
;
17583 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 PyObject
* obj1
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self",(char *) "size", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17596 if (SWIG_arg_fail(1)) SWIG_fail
;
17599 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 Py_INCREF(Py_None
); resultobj
= Py_None
;
17615 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 PyObject
* obj2
= 0 ;
17625 PyObject
* obj3
= 0 ;
17626 PyObject
* obj4
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17633 if (SWIG_arg_fail(1)) SWIG_fail
;
17635 arg2
= (int)(SWIG_As_int(obj1
));
17636 if (SWIG_arg_fail(2)) SWIG_fail
;
17639 arg3
= (int)(SWIG_As_int(obj2
));
17640 if (SWIG_arg_fail(3)) SWIG_fail
;
17643 arg4
= (int)(SWIG_As_int(obj3
));
17644 if (SWIG_arg_fail(4)) SWIG_fail
;
17647 arg5
= (int)(SWIG_As_int(obj4
));
17648 if (SWIG_arg_fail(5)) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 Py_INCREF(Py_None
); resultobj
= Py_None
;
17664 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17671 int arg6
= (int) wxSIZE_AUTO
;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 PyObject
* obj2
= 0 ;
17675 PyObject
* obj3
= 0 ;
17676 PyObject
* obj4
= 0 ;
17677 PyObject
* obj5
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17684 if (SWIG_arg_fail(1)) SWIG_fail
;
17686 arg2
= (int)(SWIG_As_int(obj1
));
17687 if (SWIG_arg_fail(2)) SWIG_fail
;
17690 arg3
= (int)(SWIG_As_int(obj2
));
17691 if (SWIG_arg_fail(3)) SWIG_fail
;
17694 arg4
= (int)(SWIG_As_int(obj3
));
17695 if (SWIG_arg_fail(4)) SWIG_fail
;
17698 arg5
= (int)(SWIG_As_int(obj4
));
17699 if (SWIG_arg_fail(5)) SWIG_fail
;
17703 arg6
= (int)(SWIG_As_int(obj5
));
17704 if (SWIG_arg_fail(6)) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 PyObject
* obj2
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self",(char *) "width",(char *) "height", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17735 if (SWIG_arg_fail(1)) SWIG_fail
;
17737 arg2
= (int)(SWIG_As_int(obj1
));
17738 if (SWIG_arg_fail(2)) SWIG_fail
;
17741 arg3
= (int)(SWIG_As_int(obj2
));
17742 if (SWIG_arg_fail(3)) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17758 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 PyObject
* obj2
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self",(char *) "x",(char *) "y", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17772 if (SWIG_arg_fail(1)) SWIG_fail
;
17774 arg2
= (int)(SWIG_As_int(obj1
));
17775 if (SWIG_arg_fail(2)) SWIG_fail
;
17778 arg3
= (int)(SWIG_As_int(obj2
));
17779 if (SWIG_arg_fail(3)) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 Py_INCREF(Py_None
); resultobj
= Py_None
;
17795 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17798 int *arg2
= (int *) 0 ;
17799 int *arg3
= (int *) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self", NULL
17809 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17810 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17813 if (SWIG_arg_fail(1)) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17822 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17823 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17824 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17825 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17832 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17835 int *arg2
= (int *) 0 ;
17836 int *arg3
= (int *) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "self", NULL
17846 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17847 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17850 if (SWIG_arg_fail(1)) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 Py_INCREF(Py_None
); resultobj
= Py_None
;
17859 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17860 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17861 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17862 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17869 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17872 int *arg2
= (int *) 0 ;
17873 int *arg3
= (int *) 0 ;
17878 PyObject
* obj0
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self", NULL
17883 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17884 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17887 if (SWIG_arg_fail(1)) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 Py_INCREF(Py_None
); resultobj
= Py_None
;
17896 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17897 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17898 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17899 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17906 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17917 if (SWIG_arg_fail(1)) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17926 wxSize
* resultptr
;
17927 resultptr
= new wxSize((wxSize
&)(result
));
17928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17936 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17947 if (SWIG_arg_fail(1)) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 wxSize
* resultptr
;
17957 resultptr
= new wxSize((wxSize
&)(result
));
17958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17966 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17968 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17976 if (SWIG_arg_fail(1)) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 (arg1
)->base_InitDialog();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (bool)(arg1
)->base_TransferDataToWindow();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18019 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18058 if (SWIG_arg_fail(1)) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 result
= (bool)(arg1
)->base_Validate();
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18075 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
;
18077 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18079 PyObject
* obj0
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18086 if (SWIG_arg_fail(1)) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18103 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18107 PyObject
* obj0
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18114 if (SWIG_arg_fail(1)) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18131 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18142 if (SWIG_arg_fail(1)) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18151 wxSize
* resultptr
;
18152 resultptr
= new wxSize((wxSize
&)(result
));
18153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18161 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18164 wxWindow
*arg2
= (wxWindow
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self",(char *) "child", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18173 if (SWIG_arg_fail(1)) SWIG_fail
;
18174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18175 if (SWIG_arg_fail(2)) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 (arg1
)->base_AddChild(arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 Py_INCREF(Py_None
); resultobj
= Py_None
;
18190 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18193 wxWindow
*arg2
= (wxWindow
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self",(char *) "child", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18202 if (SWIG_arg_fail(1)) SWIG_fail
;
18203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18204 if (SWIG_arg_fail(2)) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 (arg1
)->base_RemoveChild(arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 Py_INCREF(Py_None
); resultobj
= Py_None
;
18219 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18230 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18247 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18250 wxColour
*arg2
= 0 ;
18252 PyObject
* obj0
= 0 ;
18253 PyObject
* obj1
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "c", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18260 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 Py_INCREF(Py_None
); resultobj
= Py_None
;
18279 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18282 wxVisualAttributes result
;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (arg1
)->base_GetDefaultAttributes();
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 wxVisualAttributes
* resultptr
;
18300 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18309 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18312 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18314 return Py_BuildValue((char *)"");
18316 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxWindow
*arg1
= (wxWindow
*) 0 ;
18319 int arg2
= (int) (int)-1 ;
18320 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18321 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18322 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18323 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18324 long arg5
= (long) 0 ;
18325 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18326 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18330 bool temp6
= false ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 PyObject
* obj2
= 0 ;
18334 PyObject
* obj3
= 0 ;
18335 PyObject
* obj4
= 0 ;
18336 PyObject
* obj5
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18343 if (SWIG_arg_fail(1)) SWIG_fail
;
18346 arg2
= (int const)(SWIG_As_int(obj1
));
18347 if (SWIG_arg_fail(2)) SWIG_fail
;
18353 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18359 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18364 arg5
= (long)(SWIG_As_long(obj4
));
18365 if (SWIG_arg_fail(5)) SWIG_fail
;
18370 arg6
= wxString_in_helper(obj5
);
18371 if (arg6
== NULL
) SWIG_fail
;
18376 if (!wxPyCheckForApp()) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18398 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18401 char *kwnames
[] = {
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18407 if (!wxPyCheckForApp()) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (wxPyPanel
*)new wxPyPanel();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18421 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18424 PyObject
*arg2
= (PyObject
*) 0 ;
18425 PyObject
*arg3
= (PyObject
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "self",(char *) "_class", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18435 if (SWIG_arg_fail(1)) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 Py_INCREF(Py_None
); resultobj
= Py_None
;
18452 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "size", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail
;
18468 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18484 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 PyObject
* obj2
= 0 ;
18494 PyObject
* obj3
= 0 ;
18495 PyObject
* obj4
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18502 if (SWIG_arg_fail(1)) SWIG_fail
;
18504 arg2
= (int)(SWIG_As_int(obj1
));
18505 if (SWIG_arg_fail(2)) SWIG_fail
;
18508 arg3
= (int)(SWIG_As_int(obj2
));
18509 if (SWIG_arg_fail(3)) SWIG_fail
;
18512 arg4
= (int)(SWIG_As_int(obj3
));
18513 if (SWIG_arg_fail(4)) SWIG_fail
;
18516 arg5
= (int)(SWIG_As_int(obj4
));
18517 if (SWIG_arg_fail(5)) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 Py_INCREF(Py_None
); resultobj
= Py_None
;
18533 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18540 int arg6
= (int) wxSIZE_AUTO
;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 PyObject
* obj2
= 0 ;
18544 PyObject
* obj3
= 0 ;
18545 PyObject
* obj4
= 0 ;
18546 PyObject
* obj5
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18553 if (SWIG_arg_fail(1)) SWIG_fail
;
18555 arg2
= (int)(SWIG_As_int(obj1
));
18556 if (SWIG_arg_fail(2)) SWIG_fail
;
18559 arg3
= (int)(SWIG_As_int(obj2
));
18560 if (SWIG_arg_fail(3)) SWIG_fail
;
18563 arg4
= (int)(SWIG_As_int(obj3
));
18564 if (SWIG_arg_fail(4)) SWIG_fail
;
18567 arg5
= (int)(SWIG_As_int(obj4
));
18568 if (SWIG_arg_fail(5)) SWIG_fail
;
18572 arg6
= (int)(SWIG_As_int(obj5
));
18573 if (SWIG_arg_fail(6)) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 Py_INCREF(Py_None
); resultobj
= Py_None
;
18590 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 PyObject
* obj2
= 0 ;
18598 char *kwnames
[] = {
18599 (char *) "self",(char *) "width",(char *) "height", NULL
18602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18604 if (SWIG_arg_fail(1)) SWIG_fail
;
18606 arg2
= (int)(SWIG_As_int(obj1
));
18607 if (SWIG_arg_fail(2)) SWIG_fail
;
18610 arg3
= (int)(SWIG_As_int(obj2
));
18611 if (SWIG_arg_fail(3)) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 Py_INCREF(Py_None
); resultobj
= Py_None
;
18627 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 PyObject
* obj2
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "x",(char *) "y", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18641 if (SWIG_arg_fail(1)) SWIG_fail
;
18643 arg2
= (int)(SWIG_As_int(obj1
));
18644 if (SWIG_arg_fail(2)) SWIG_fail
;
18647 arg3
= (int)(SWIG_As_int(obj2
));
18648 if (SWIG_arg_fail(3)) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 Py_INCREF(Py_None
); resultobj
= Py_None
;
18664 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18667 int *arg2
= (int *) 0 ;
18668 int *arg3
= (int *) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self", NULL
18678 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18679 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18682 if (SWIG_arg_fail(1)) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 Py_INCREF(Py_None
); resultobj
= Py_None
;
18691 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18692 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18693 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18694 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18701 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18704 int *arg2
= (int *) 0 ;
18705 int *arg3
= (int *) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18716 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18719 if (SWIG_arg_fail(1)) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 Py_INCREF(Py_None
); resultobj
= Py_None
;
18728 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18729 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18730 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18731 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18738 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18741 int *arg2
= (int *) 0 ;
18742 int *arg3
= (int *) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self", NULL
18752 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18753 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18756 if (SWIG_arg_fail(1)) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 Py_INCREF(Py_None
); resultobj
= Py_None
;
18765 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18766 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18767 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18768 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18775 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18795 wxSize
* resultptr
;
18796 resultptr
= new wxSize((wxSize
&)(result
));
18797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18805 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18816 if (SWIG_arg_fail(1)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18825 wxSize
* resultptr
;
18826 resultptr
= new wxSize((wxSize
&)(result
));
18827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18835 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18838 PyObject
* obj0
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18845 if (SWIG_arg_fail(1)) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->base_InitDialog();
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 Py_INCREF(Py_None
); resultobj
= Py_None
;
18860 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (bool)(arg1
)->base_TransferDataToWindow();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18888 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18899 if (SWIG_arg_fail(1)) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18916 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
18926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18927 if (SWIG_arg_fail(1)) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 result
= (bool)(arg1
)->base_Validate();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18944 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18955 if (SWIG_arg_fail(1)) SWIG_fail
;
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18972 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
;
18974 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18983 if (SWIG_arg_fail(1)) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19000 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19011 if (SWIG_arg_fail(1)) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 wxSize
* resultptr
;
19021 resultptr
= new wxSize((wxSize
&)(result
));
19022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19030 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19033 wxWindow
*arg2
= (wxWindow
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "child", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail
;
19043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19044 if (SWIG_arg_fail(2)) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 (arg1
)->base_AddChild(arg2
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 Py_INCREF(Py_None
); resultobj
= Py_None
;
19059 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19062 wxWindow
*arg2
= (wxWindow
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self",(char *) "child", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19071 if (SWIG_arg_fail(1)) SWIG_fail
;
19072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19073 if (SWIG_arg_fail(2)) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 (arg1
)->base_RemoveChild(arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 Py_INCREF(Py_None
); resultobj
= Py_None
;
19088 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19099 if (SWIG_arg_fail(1)) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19116 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19119 wxColour
*arg2
= 0 ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self",(char *) "c", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19129 if (SWIG_arg_fail(1)) SWIG_fail
;
19132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 Py_INCREF(Py_None
); resultobj
= Py_None
;
19148 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19151 wxVisualAttributes result
;
19152 PyObject
* obj0
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19159 if (SWIG_arg_fail(1)) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (arg1
)->base_GetDefaultAttributes();
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19168 wxVisualAttributes
* resultptr
;
19169 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19178 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19181 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19183 return Py_BuildValue((char *)"");
19185 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxWindow
*arg1
= (wxWindow
*) 0 ;
19188 int arg2
= (int) (int)-1 ;
19189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19193 long arg5
= (long) 0 ;
19194 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19196 wxPyScrolledWindow
*result
;
19199 bool temp6
= false ;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 PyObject
* obj2
= 0 ;
19203 PyObject
* obj3
= 0 ;
19204 PyObject
* obj4
= 0 ;
19205 PyObject
* obj5
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19212 if (SWIG_arg_fail(1)) SWIG_fail
;
19215 arg2
= (int const)(SWIG_As_int(obj1
));
19216 if (SWIG_arg_fail(2)) SWIG_fail
;
19222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19228 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19233 arg5
= (long)(SWIG_As_long(obj4
));
19234 if (SWIG_arg_fail(5)) SWIG_fail
;
19239 arg6
= wxString_in_helper(obj5
);
19240 if (arg6
== NULL
) SWIG_fail
;
19245 if (!wxPyCheckForApp()) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19267 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxPyScrolledWindow
*result
;
19270 char *kwnames
[] = {
19274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19276 if (!wxPyCheckForApp()) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19290 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19293 PyObject
*arg2
= (PyObject
*) 0 ;
19294 PyObject
*arg3
= (PyObject
*) 0 ;
19295 PyObject
* obj0
= 0 ;
19296 PyObject
* obj1
= 0 ;
19297 PyObject
* obj2
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "self",(char *) "_class", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19304 if (SWIG_arg_fail(1)) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "size", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19334 if (SWIG_arg_fail(1)) SWIG_fail
;
19337 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 Py_INCREF(Py_None
); resultobj
= Py_None
;
19353 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 PyObject
* obj1
= 0 ;
19362 PyObject
* obj2
= 0 ;
19363 PyObject
* obj3
= 0 ;
19364 PyObject
* obj4
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19371 if (SWIG_arg_fail(1)) SWIG_fail
;
19373 arg2
= (int)(SWIG_As_int(obj1
));
19374 if (SWIG_arg_fail(2)) SWIG_fail
;
19377 arg3
= (int)(SWIG_As_int(obj2
));
19378 if (SWIG_arg_fail(3)) SWIG_fail
;
19381 arg4
= (int)(SWIG_As_int(obj3
));
19382 if (SWIG_arg_fail(4)) SWIG_fail
;
19385 arg5
= (int)(SWIG_As_int(obj4
));
19386 if (SWIG_arg_fail(5)) SWIG_fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 Py_INCREF(Py_None
); resultobj
= Py_None
;
19402 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19409 int arg6
= (int) wxSIZE_AUTO
;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 PyObject
* obj2
= 0 ;
19413 PyObject
* obj3
= 0 ;
19414 PyObject
* obj4
= 0 ;
19415 PyObject
* obj5
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19422 if (SWIG_arg_fail(1)) SWIG_fail
;
19424 arg2
= (int)(SWIG_As_int(obj1
));
19425 if (SWIG_arg_fail(2)) SWIG_fail
;
19428 arg3
= (int)(SWIG_As_int(obj2
));
19429 if (SWIG_arg_fail(3)) SWIG_fail
;
19432 arg4
= (int)(SWIG_As_int(obj3
));
19433 if (SWIG_arg_fail(4)) SWIG_fail
;
19436 arg5
= (int)(SWIG_As_int(obj4
));
19437 if (SWIG_arg_fail(5)) SWIG_fail
;
19441 arg6
= (int)(SWIG_As_int(obj5
));
19442 if (SWIG_arg_fail(6)) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 Py_INCREF(Py_None
); resultobj
= Py_None
;
19459 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 PyObject
* obj2
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self",(char *) "width",(char *) "height", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19473 if (SWIG_arg_fail(1)) SWIG_fail
;
19475 arg2
= (int)(SWIG_As_int(obj1
));
19476 if (SWIG_arg_fail(2)) SWIG_fail
;
19479 arg3
= (int)(SWIG_As_int(obj2
));
19480 if (SWIG_arg_fail(3)) SWIG_fail
;
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 Py_INCREF(Py_None
); resultobj
= Py_None
;
19496 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 PyObject
* obj2
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self",(char *) "x",(char *) "y", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19510 if (SWIG_arg_fail(1)) SWIG_fail
;
19512 arg2
= (int)(SWIG_As_int(obj1
));
19513 if (SWIG_arg_fail(2)) SWIG_fail
;
19516 arg3
= (int)(SWIG_As_int(obj2
));
19517 if (SWIG_arg_fail(3)) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19533 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19536 int *arg2
= (int *) 0 ;
19537 int *arg3
= (int *) 0 ;
19542 PyObject
* obj0
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self", NULL
19547 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19548 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19551 if (SWIG_arg_fail(1)) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19560 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19561 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19562 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19563 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19570 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
;
19572 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19573 int *arg2
= (int *) 0 ;
19574 int *arg3
= (int *) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19585 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19588 if (SWIG_arg_fail(1)) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 Py_INCREF(Py_None
); resultobj
= Py_None
;
19597 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19598 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19599 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19600 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19607 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19610 int *arg2
= (int *) 0 ;
19611 int *arg3
= (int *) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self", NULL
19621 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19622 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19625 if (SWIG_arg_fail(1)) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 Py_INCREF(Py_None
); resultobj
= Py_None
;
19634 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19635 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19636 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19637 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19644 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19655 if (SWIG_arg_fail(1)) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19664 wxSize
* resultptr
;
19665 resultptr
= new wxSize((wxSize
&)(result
));
19666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19674 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19678 PyObject
* obj0
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19685 if (SWIG_arg_fail(1)) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19694 wxSize
* resultptr
;
19695 resultptr
= new wxSize((wxSize
&)(result
));
19696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19704 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19714 if (SWIG_arg_fail(1)) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 (arg1
)->base_InitDialog();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 Py_INCREF(Py_None
); resultobj
= Py_None
;
19729 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (bool)(arg1
)->base_TransferDataToWindow();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19768 if (SWIG_arg_fail(1)) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19785 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->base_Validate();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19824 if (SWIG_arg_fail(1)) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19841 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19852 if (SWIG_arg_fail(1)) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 wxSize
* resultptr
;
19890 resultptr
= new wxSize((wxSize
&)(result
));
19891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19899 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19902 wxWindow
*arg2
= (wxWindow
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self",(char *) "child", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19911 if (SWIG_arg_fail(1)) SWIG_fail
;
19912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19913 if (SWIG_arg_fail(2)) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 (arg1
)->base_AddChild(arg2
);
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 Py_INCREF(Py_None
); resultobj
= Py_None
;
19928 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19931 wxWindow
*arg2
= (wxWindow
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "child", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail
;
19941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19942 if (SWIG_arg_fail(2)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->base_RemoveChild(arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19968 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19985 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19988 wxColour
*arg2
= 0 ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self",(char *) "c", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19998 if (SWIG_arg_fail(1)) SWIG_fail
;
20001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 Py_INCREF(Py_None
); resultobj
= Py_None
;
20017 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20020 wxVisualAttributes result
;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20028 if (SWIG_arg_fail(1)) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (arg1
)->base_GetDefaultAttributes();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20037 wxVisualAttributes
* resultptr
;
20038 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20047 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20050 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20052 return Py_BuildValue((char *)"");
20054 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20055 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20060 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20065 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20067 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20074 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20075 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20080 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20085 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20087 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20094 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20095 PyObject
*resultobj
;
20096 wxPrintData
*result
;
20098 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 result
= (wxPrintData
*)new wxPrintData();
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20113 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20114 PyObject
*resultobj
;
20115 wxPrintData
*arg1
= 0 ;
20116 wxPrintData
*result
;
20117 PyObject
* obj0
= 0 ;
20119 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20122 if (SWIG_arg_fail(1)) SWIG_fail
;
20123 if (arg1
== NULL
) {
20124 SWIG_null_ref("wxPrintData");
20126 if (SWIG_arg_fail(1)) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20142 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20147 argc
= PyObject_Length(args
);
20148 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20149 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20152 return _wrap_new_PrintData__SWIG_0(self
,args
);
20158 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20166 return _wrap_new_PrintData__SWIG_1(self
,args
);
20170 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20175 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20178 PyObject
* obj0
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 Py_INCREF(Py_None
); resultobj
= Py_None
;
20200 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 result
= (int)(arg1
)->GetNoCopies();
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= SWIG_From_int((int)(result
));
20228 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20232 PyObject
* obj0
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20239 if (SWIG_arg_fail(1)) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (bool)(arg1
)->GetCollate();
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20256 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "self", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20267 if (SWIG_arg_fail(1)) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= (int)(arg1
)->GetOrientation();
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= SWIG_From_int((int)(result
));
20284 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20295 if (SWIG_arg_fail(1)) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (bool)(arg1
)->Ok();
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20312 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20328 result
= (wxString
*) &_result_ref
;
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20338 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20347 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)(arg1
)->GetColour();
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20375 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20378 wxDuplexMode result
;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20386 if (SWIG_arg_fail(1)) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= SWIG_From_int((result
));
20401 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20404 wxPaperSize result
;
20405 PyObject
* obj0
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20412 if (SWIG_arg_fail(1)) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= SWIG_From_int((result
));
20427 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20438 if (SWIG_arg_fail(1)) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20443 result
= (wxSize
*) &_result_ref
;
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20456 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (int)(arg1
)->GetQuality();
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= SWIG_From_int((int)(result
));
20484 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20495 if (SWIG_arg_fail(1)) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (wxPrintBin
)(arg1
)->GetBin();
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_From_int((result
));
20510 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20513 wxPrintMode result
;
20514 PyObject
* obj0
= 0 ;
20515 char *kwnames
[] = {
20516 (char *) "self", NULL
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20521 if (SWIG_arg_fail(1)) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_From_int((result
));
20536 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "v", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20548 if (SWIG_arg_fail(1)) SWIG_fail
;
20550 arg2
= (int)(SWIG_As_int(obj1
));
20551 if (SWIG_arg_fail(2)) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 (arg1
)->SetNoCopies(arg2
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 Py_INCREF(Py_None
); resultobj
= Py_None
;
20567 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 char *kwnames
[] = {
20574 (char *) "self",(char *) "flag", NULL
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20579 if (SWIG_arg_fail(1)) SWIG_fail
;
20581 arg2
= (bool)(SWIG_As_bool(obj1
));
20582 if (SWIG_arg_fail(2)) SWIG_fail
;
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 (arg1
)->SetCollate(arg2
);
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20591 Py_INCREF(Py_None
); resultobj
= Py_None
;
20598 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self",(char *) "orient", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20610 if (SWIG_arg_fail(1)) SWIG_fail
;
20612 arg2
= (int)(SWIG_As_int(obj1
));
20613 if (SWIG_arg_fail(2)) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 (arg1
)->SetOrientation(arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 Py_INCREF(Py_None
); resultobj
= Py_None
;
20629 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20632 wxString
*arg2
= 0 ;
20633 bool temp2
= false ;
20634 PyObject
* obj0
= 0 ;
20635 PyObject
* obj1
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self",(char *) "name", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20642 if (SWIG_arg_fail(1)) SWIG_fail
;
20644 arg2
= wxString_in_helper(obj1
);
20645 if (arg2
== NULL
) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 Py_INCREF(Py_None
); resultobj
= Py_None
;
20670 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 PyObject
* obj1
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self",(char *) "colour", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20682 if (SWIG_arg_fail(1)) SWIG_fail
;
20684 arg2
= (bool)(SWIG_As_bool(obj1
));
20685 if (SWIG_arg_fail(2)) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 (arg1
)->SetColour(arg2
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 Py_INCREF(Py_None
); resultobj
= Py_None
;
20701 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20704 wxDuplexMode arg2
;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 char *kwnames
[] = {
20708 (char *) "self",(char *) "duplex", NULL
20711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20713 if (SWIG_arg_fail(1)) SWIG_fail
;
20715 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20716 if (SWIG_arg_fail(2)) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 Py_INCREF(Py_None
); resultobj
= Py_None
;
20732 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "self",(char *) "sizeId", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20744 if (SWIG_arg_fail(1)) SWIG_fail
;
20746 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20747 if (SWIG_arg_fail(2)) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 Py_INCREF(Py_None
); resultobj
= Py_None
;
20763 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self",(char *) "sz", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail
;
20779 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20788 Py_INCREF(Py_None
); resultobj
= Py_None
;
20795 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20799 PyObject
* obj0
= 0 ;
20800 PyObject
* obj1
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self",(char *) "quality", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
20810 if (SWIG_arg_fail(2)) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 (arg1
)->SetQuality(arg2
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 Py_INCREF(Py_None
); resultobj
= Py_None
;
20826 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 PyObject
* obj1
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "self",(char *) "bin", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20838 if (SWIG_arg_fail(1)) SWIG_fail
;
20840 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20841 if (SWIG_arg_fail(2)) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 (arg1
)->SetBin((wxPrintBin
)arg2
);
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 Py_INCREF(Py_None
); resultobj
= Py_None
;
20857 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "self",(char *) "printMode", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20869 if (SWIG_arg_fail(1)) SWIG_fail
;
20871 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
20872 if (SWIG_arg_fail(2)) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 Py_INCREF(Py_None
); resultobj
= Py_None
;
20888 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 char *kwnames
[] = {
20894 (char *) "self", NULL
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
20898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20899 if (SWIG_arg_fail(1)) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= ((wxPrintData
const *)arg1
)->GetFilename();
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20920 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20923 wxString
*arg2
= 0 ;
20924 bool temp2
= false ;
20925 PyObject
* obj0
= 0 ;
20926 PyObject
* obj1
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self",(char *) "filename", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
20932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20933 if (SWIG_arg_fail(1)) SWIG_fail
;
20935 arg2
= wxString_in_helper(obj1
);
20936 if (arg2
== NULL
) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 (arg1
)->SetFilename((wxString
const &)*arg2
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 Py_INCREF(Py_None
); resultobj
= Py_None
;
20961 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20965 PyObject
* obj0
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
20971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20972 if (SWIG_arg_fail(1)) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
20977 result
= (wxString
*) &_result_ref
;
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20987 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20996 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21012 result
= (wxString
*) &_result_ref
;
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21031 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21035 PyObject
* obj0
= 0 ;
21036 char *kwnames
[] = {
21037 (char *) "self", NULL
21040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21042 if (SWIG_arg_fail(1)) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21047 result
= (wxString
*) &_result_ref
;
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21057 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21066 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21077 if (SWIG_arg_fail(1)) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21082 result
= (wxString
*) &_result_ref
;
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21092 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21101 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21105 PyObject
* obj0
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21112 if (SWIG_arg_fail(1)) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (double)(arg1
)->GetPrinterScaleX();
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_From_double((double)(result
));
21129 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21140 if (SWIG_arg_fail(1)) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= (double)(arg1
)->GetPrinterScaleY();
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_From_double((double)(result
));
21157 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21159 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21161 PyObject
* obj0
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21168 if (SWIG_arg_fail(1)) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (long)(arg1
)->GetPrinterTranslateX();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_From_long((long)(result
));
21185 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21187 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21189 PyObject
* obj0
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "self", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21196 if (SWIG_arg_fail(1)) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (long)(arg1
)->GetPrinterTranslateY();
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_From_long((long)(result
));
21213 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21216 wxString
*arg2
= 0 ;
21217 bool temp2
= false ;
21218 PyObject
* obj0
= 0 ;
21219 PyObject
* obj1
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self",(char *) "command", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21226 if (SWIG_arg_fail(1)) SWIG_fail
;
21228 arg2
= wxString_in_helper(obj1
);
21229 if (arg2
== NULL
) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 Py_INCREF(Py_None
); resultobj
= Py_None
;
21254 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21257 wxString
*arg2
= 0 ;
21258 bool temp2
= false ;
21259 PyObject
* obj0
= 0 ;
21260 PyObject
* obj1
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self",(char *) "options", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21267 if (SWIG_arg_fail(1)) SWIG_fail
;
21269 arg2
= wxString_in_helper(obj1
);
21270 if (arg2
== NULL
) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 Py_INCREF(Py_None
); resultobj
= Py_None
;
21295 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21298 wxString
*arg2
= 0 ;
21299 bool temp2
= false ;
21300 PyObject
* obj0
= 0 ;
21301 PyObject
* obj1
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self",(char *) "command", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21308 if (SWIG_arg_fail(1)) SWIG_fail
;
21310 arg2
= wxString_in_helper(obj1
);
21311 if (arg2
== NULL
) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 Py_INCREF(Py_None
); resultobj
= Py_None
;
21336 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21339 wxString
*arg2
= 0 ;
21340 bool temp2
= false ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self",(char *) "path", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21349 if (SWIG_arg_fail(1)) SWIG_fail
;
21351 arg2
= wxString_in_helper(obj1
);
21352 if (arg2
== NULL
) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 Py_INCREF(Py_None
); resultobj
= Py_None
;
21377 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21381 PyObject
* obj0
= 0 ;
21382 PyObject
* obj1
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self",(char *) "x", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21389 if (SWIG_arg_fail(1)) SWIG_fail
;
21391 arg2
= (double)(SWIG_As_double(obj1
));
21392 if (SWIG_arg_fail(2)) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 (arg1
)->SetPrinterScaleX(arg2
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 Py_INCREF(Py_None
); resultobj
= Py_None
;
21408 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21412 PyObject
* obj0
= 0 ;
21413 PyObject
* obj1
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self",(char *) "y", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21420 if (SWIG_arg_fail(1)) SWIG_fail
;
21422 arg2
= (double)(SWIG_As_double(obj1
));
21423 if (SWIG_arg_fail(2)) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetPrinterScaleY(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21439 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "x",(char *) "y", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21455 arg2
= (double)(SWIG_As_double(obj1
));
21456 if (SWIG_arg_fail(2)) SWIG_fail
;
21459 arg3
= (double)(SWIG_As_double(obj2
));
21460 if (SWIG_arg_fail(3)) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 Py_INCREF(Py_None
); resultobj
= Py_None
;
21476 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21480 PyObject
* obj0
= 0 ;
21481 PyObject
* obj1
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self",(char *) "x", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21488 if (SWIG_arg_fail(1)) SWIG_fail
;
21490 arg2
= (long)(SWIG_As_long(obj1
));
21491 if (SWIG_arg_fail(2)) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 (arg1
)->SetPrinterTranslateX(arg2
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 Py_INCREF(Py_None
); resultobj
= Py_None
;
21507 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self",(char *) "y", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21519 if (SWIG_arg_fail(1)) SWIG_fail
;
21521 arg2
= (long)(SWIG_As_long(obj1
));
21522 if (SWIG_arg_fail(2)) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 (arg1
)->SetPrinterTranslateY(arg2
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 Py_INCREF(Py_None
); resultobj
= Py_None
;
21538 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 PyObject
* obj2
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "x",(char *) "y", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21552 if (SWIG_arg_fail(1)) SWIG_fail
;
21554 arg2
= (long)(SWIG_As_long(obj1
));
21555 if (SWIG_arg_fail(2)) SWIG_fail
;
21558 arg3
= (long)(SWIG_As_long(obj2
));
21559 if (SWIG_arg_fail(3)) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 Py_INCREF(Py_None
); resultobj
= Py_None
;
21575 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21578 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21580 return Py_BuildValue((char *)"");
21582 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21583 PyObject
*resultobj
;
21584 wxPageSetupDialogData
*result
;
21586 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21601 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21602 PyObject
*resultobj
;
21603 wxPageSetupDialogData
*arg1
= 0 ;
21604 wxPageSetupDialogData
*result
;
21605 PyObject
* obj0
= 0 ;
21607 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail
;
21611 if (arg1
== NULL
) {
21612 SWIG_null_ref("wxPageSetupDialogData");
21614 if (SWIG_arg_fail(1)) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21630 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21635 argc
= PyObject_Length(args
);
21636 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21637 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21640 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21646 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21654 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21658 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21663 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21664 PyObject
*resultobj
;
21665 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21673 if (SWIG_arg_fail(1)) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21688 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "flag", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21700 if (SWIG_arg_fail(1)) SWIG_fail
;
21702 arg2
= (bool)(SWIG_As_bool(obj1
));
21703 if (SWIG_arg_fail(2)) SWIG_fail
;
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 (arg1
)->EnableHelp(arg2
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21712 Py_INCREF(Py_None
); resultobj
= Py_None
;
21719 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "flag", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21731 if (SWIG_arg_fail(1)) SWIG_fail
;
21733 arg2
= (bool)(SWIG_As_bool(obj1
));
21734 if (SWIG_arg_fail(2)) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 (arg1
)->EnableMargins(arg2
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 Py_INCREF(Py_None
); resultobj
= Py_None
;
21750 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self",(char *) "flag", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21762 if (SWIG_arg_fail(1)) SWIG_fail
;
21764 arg2
= (bool)(SWIG_As_bool(obj1
));
21765 if (SWIG_arg_fail(2)) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 (arg1
)->EnableOrientation(arg2
);
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 Py_INCREF(Py_None
); resultobj
= Py_None
;
21781 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "self",(char *) "flag", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21793 if (SWIG_arg_fail(1)) SWIG_fail
;
21795 arg2
= (bool)(SWIG_As_bool(obj1
));
21796 if (SWIG_arg_fail(2)) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 (arg1
)->EnablePaper(arg2
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 Py_INCREF(Py_None
); resultobj
= Py_None
;
21812 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self",(char *) "flag", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21824 if (SWIG_arg_fail(1)) SWIG_fail
;
21826 arg2
= (bool)(SWIG_As_bool(obj1
));
21827 if (SWIG_arg_fail(2)) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 (arg1
)->EnablePrinter(arg2
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 Py_INCREF(Py_None
); resultobj
= Py_None
;
21843 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21854 if (SWIG_arg_fail(1)) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (bool)(arg1
)->GetDefaultMinMargins();
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21871 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
21881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21882 if (SWIG_arg_fail(1)) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (bool)(arg1
)->GetEnableMargins();
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21899 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
21909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (bool)(arg1
)->GetEnableOrientation();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21927 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
21937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21938 if (SWIG_arg_fail(1)) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= (bool)(arg1
)->GetEnablePaper();
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21955 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
21965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21966 if (SWIG_arg_fail(1)) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (bool)(arg1
)->GetEnablePrinter();
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21983 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21987 PyObject
* obj0
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21994 if (SWIG_arg_fail(1)) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 result
= (bool)(arg1
)->GetEnableHelp();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22011 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22022 if (SWIG_arg_fail(1)) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (bool)(arg1
)->GetDefaultInfo();
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22039 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22043 PyObject
* obj0
= 0 ;
22044 char *kwnames
[] = {
22045 (char *) "self", NULL
22048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22050 if (SWIG_arg_fail(1)) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (arg1
)->GetMarginTopLeft();
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22059 wxPoint
* resultptr
;
22060 resultptr
= new wxPoint((wxPoint
&)(result
));
22061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22069 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22073 PyObject
* obj0
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22080 if (SWIG_arg_fail(1)) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (arg1
)->GetMarginBottomRight();
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22089 wxPoint
* resultptr
;
22090 resultptr
= new wxPoint((wxPoint
&)(result
));
22091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22099 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22103 PyObject
* obj0
= 0 ;
22104 char *kwnames
[] = {
22105 (char *) "self", NULL
22108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22110 if (SWIG_arg_fail(1)) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (arg1
)->GetMinMarginTopLeft();
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22119 wxPoint
* resultptr
;
22120 resultptr
= new wxPoint((wxPoint
&)(result
));
22121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22129 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22131 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22133 PyObject
* obj0
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22140 if (SWIG_arg_fail(1)) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (arg1
)->GetMinMarginBottomRight();
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 wxPoint
* resultptr
;
22150 resultptr
= new wxPoint((wxPoint
&)(result
));
22151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22159 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22162 wxPaperSize result
;
22163 PyObject
* obj0
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22170 if (SWIG_arg_fail(1)) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= SWIG_From_int((result
));
22185 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22196 if (SWIG_arg_fail(1)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (arg1
)->GetPaperSize();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 wxSize
* resultptr
;
22206 resultptr
= new wxSize((wxSize
&)(result
));
22207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22215 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22218 wxPrintData
*result
;
22219 PyObject
* obj0
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22226 if (SWIG_arg_fail(1)) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22231 result
= (wxPrintData
*) &_result_ref
;
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22244 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22255 if (SWIG_arg_fail(1)) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)(arg1
)->Ok();
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22272 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self",(char *) "flag", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22284 if (SWIG_arg_fail(1)) SWIG_fail
;
22286 arg2
= (bool)(SWIG_As_bool(obj1
));
22287 if (SWIG_arg_fail(2)) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 (arg1
)->SetDefaultInfo(arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 Py_INCREF(Py_None
); resultobj
= Py_None
;
22303 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 PyObject
* obj1
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self",(char *) "flag", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail
;
22317 arg2
= (bool)(SWIG_As_bool(obj1
));
22318 if (SWIG_arg_fail(2)) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 (arg1
)->SetDefaultMinMargins(arg2
);
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 Py_INCREF(Py_None
); resultobj
= Py_None
;
22334 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22337 wxPoint
*arg2
= 0 ;
22339 PyObject
* obj0
= 0 ;
22340 PyObject
* obj1
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self",(char *) "pt", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22347 if (SWIG_arg_fail(1)) SWIG_fail
;
22350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 Py_INCREF(Py_None
); resultobj
= Py_None
;
22366 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22369 wxPoint
*arg2
= 0 ;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "self",(char *) "pt", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22379 if (SWIG_arg_fail(1)) SWIG_fail
;
22382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 Py_INCREF(Py_None
); resultobj
= Py_None
;
22398 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22401 wxPoint
*arg2
= 0 ;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self",(char *) "pt", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22411 if (SWIG_arg_fail(1)) SWIG_fail
;
22414 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 Py_INCREF(Py_None
); resultobj
= Py_None
;
22430 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22433 wxPoint
*arg2
= 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self",(char *) "pt", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail
;
22446 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 Py_INCREF(Py_None
); resultobj
= Py_None
;
22462 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "id", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail
;
22476 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22477 if (SWIG_arg_fail(2)) SWIG_fail
;
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 Py_INCREF(Py_None
); resultobj
= Py_None
;
22493 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
;
22495 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 PyObject
* obj1
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self",(char *) "size", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22506 if (SWIG_arg_fail(1)) SWIG_fail
;
22509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22528 wxPrintData
*arg2
= 0 ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self",(char *) "printData", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22537 if (SWIG_arg_fail(1)) SWIG_fail
;
22539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22540 if (SWIG_arg_fail(2)) SWIG_fail
;
22541 if (arg2
== NULL
) {
22542 SWIG_null_ref("wxPrintData");
22544 if (SWIG_arg_fail(2)) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 Py_INCREF(Py_None
); resultobj
= Py_None
;
22560 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22563 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22565 return Py_BuildValue((char *)"");
22567 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxWindow
*arg1
= (wxWindow
*) 0 ;
22570 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22571 wxPageSetupDialog
*result
;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "parent",(char *) "data", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22580 if (SWIG_arg_fail(1)) SWIG_fail
;
22582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22583 if (SWIG_arg_fail(2)) SWIG_fail
;
22586 if (!wxPyCheckForApp()) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22600 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22603 wxPageSetupDialogData
*result
;
22604 PyObject
* obj0
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22611 if (SWIG_arg_fail(1)) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22616 result
= (wxPageSetupDialogData
*) &_result_ref
;
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22629 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22632 wxPageSetupDialogData
*result
;
22633 PyObject
* obj0
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22640 if (SWIG_arg_fail(1)) SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22645 result
= (wxPageSetupDialogData
*) &_result_ref
;
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22658 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "self", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22669 if (SWIG_arg_fail(1)) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 result
= (int)(arg1
)->ShowModal();
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22678 resultobj
= SWIG_From_int((int)(result
));
22686 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22689 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22691 return Py_BuildValue((char *)"");
22693 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22694 PyObject
*resultobj
;
22695 wxPrintDialogData
*result
;
22697 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22712 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22713 PyObject
*resultobj
;
22714 wxPrintData
*arg1
= 0 ;
22715 wxPrintDialogData
*result
;
22716 PyObject
* obj0
= 0 ;
22718 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22721 if (SWIG_arg_fail(1)) SWIG_fail
;
22722 if (arg1
== NULL
) {
22723 SWIG_null_ref("wxPrintData");
22725 if (SWIG_arg_fail(1)) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22741 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22746 argc
= PyObject_Length(args
);
22747 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22748 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22751 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22757 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22765 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22769 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22774 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
22783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 Py_INCREF(Py_None
); resultobj
= Py_None
;
22799 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
22809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= SWIG_From_int((int)(result
));
22827 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
;
22829 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
22837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22838 if (SWIG_arg_fail(1)) SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22847 resultobj
= SWIG_From_int((int)(result
));
22855 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
22865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22866 if (SWIG_arg_fail(1)) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_From_int((int)(result
));
22883 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22894 if (SWIG_arg_fail(1)) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= SWIG_From_int((int)(result
));
22911 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
;
22913 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22915 PyObject
* obj0
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
22921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22922 if (SWIG_arg_fail(1)) SWIG_fail
;
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_From_int((int)(result
));
22939 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
;
22941 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22943 PyObject
* obj0
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
22949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22950 if (SWIG_arg_fail(1)) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22967 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
22977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22995 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22999 PyObject
* obj0
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23006 if (SWIG_arg_fail(1)) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23023 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
;
23025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23034 if (SWIG_arg_fail(1)) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23051 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23055 PyObject
* obj0
= 0 ;
23056 char *kwnames
[] = {
23057 (char *) "self", NULL
23060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23062 if (SWIG_arg_fail(1)) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23079 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
;
23081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 PyObject
* obj1
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self",(char *) "flag", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23091 if (SWIG_arg_fail(1)) SWIG_fail
;
23093 arg2
= (bool)(SWIG_As_bool(obj1
));
23094 if (SWIG_arg_fail(2)) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 (arg1
)->SetSetupDialog(arg2
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 Py_INCREF(Py_None
); resultobj
= Py_None
;
23110 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self",(char *) "v", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23122 if (SWIG_arg_fail(1)) SWIG_fail
;
23124 arg2
= (int)(SWIG_As_int(obj1
));
23125 if (SWIG_arg_fail(2)) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 (arg1
)->SetFromPage(arg2
);
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 Py_INCREF(Py_None
); resultobj
= Py_None
;
23141 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
;
23143 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 PyObject
* obj1
= 0 ;
23147 char *kwnames
[] = {
23148 (char *) "self",(char *) "v", NULL
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23153 if (SWIG_arg_fail(1)) SWIG_fail
;
23155 arg2
= (int)(SWIG_As_int(obj1
));
23156 if (SWIG_arg_fail(2)) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 (arg1
)->SetToPage(arg2
);
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 Py_INCREF(Py_None
); resultobj
= Py_None
;
23172 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self",(char *) "v", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23184 if (SWIG_arg_fail(1)) SWIG_fail
;
23186 arg2
= (int)(SWIG_As_int(obj1
));
23187 if (SWIG_arg_fail(2)) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 (arg1
)->SetMinPage(arg2
);
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 Py_INCREF(Py_None
); resultobj
= Py_None
;
23203 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self",(char *) "v", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23215 if (SWIG_arg_fail(1)) SWIG_fail
;
23217 arg2
= (int)(SWIG_As_int(obj1
));
23218 if (SWIG_arg_fail(2)) SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 (arg1
)->SetMaxPage(arg2
);
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 Py_INCREF(Py_None
); resultobj
= Py_None
;
23234 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23238 PyObject
* obj0
= 0 ;
23239 PyObject
* obj1
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self",(char *) "v", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23246 if (SWIG_arg_fail(1)) SWIG_fail
;
23248 arg2
= (int)(SWIG_As_int(obj1
));
23249 if (SWIG_arg_fail(2)) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 (arg1
)->SetNoCopies(arg2
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 Py_INCREF(Py_None
); resultobj
= Py_None
;
23265 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23267 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "flag", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23277 if (SWIG_arg_fail(1)) SWIG_fail
;
23279 arg2
= (bool)(SWIG_As_bool(obj1
));
23280 if (SWIG_arg_fail(2)) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 (arg1
)->SetAllPages(arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 Py_INCREF(Py_None
); resultobj
= Py_None
;
23296 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23300 PyObject
* obj0
= 0 ;
23301 PyObject
* obj1
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self",(char *) "flag", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23308 if (SWIG_arg_fail(1)) SWIG_fail
;
23310 arg2
= (bool)(SWIG_As_bool(obj1
));
23311 if (SWIG_arg_fail(2)) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 (arg1
)->SetSelection(arg2
);
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 Py_INCREF(Py_None
); resultobj
= Py_None
;
23327 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self",(char *) "flag", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23341 arg2
= (bool)(SWIG_As_bool(obj1
));
23342 if (SWIG_arg_fail(2)) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 (arg1
)->SetCollate(arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 Py_INCREF(Py_None
); resultobj
= Py_None
;
23358 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "flag", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23370 if (SWIG_arg_fail(1)) SWIG_fail
;
23372 arg2
= (bool)(SWIG_As_bool(obj1
));
23373 if (SWIG_arg_fail(2)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 (arg1
)->SetPrintToFile(arg2
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self",(char *) "flag", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23401 if (SWIG_arg_fail(1)) SWIG_fail
;
23403 arg2
= (bool)(SWIG_As_bool(obj1
));
23404 if (SWIG_arg_fail(2)) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 (arg1
)->EnablePrintToFile(arg2
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 Py_INCREF(Py_None
); resultobj
= Py_None
;
23420 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "flag", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23432 if (SWIG_arg_fail(1)) SWIG_fail
;
23434 arg2
= (bool)(SWIG_As_bool(obj1
));
23435 if (SWIG_arg_fail(2)) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 (arg1
)->EnableSelection(arg2
);
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 Py_INCREF(Py_None
); resultobj
= Py_None
;
23451 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self",(char *) "flag", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23463 if (SWIG_arg_fail(1)) SWIG_fail
;
23465 arg2
= (bool)(SWIG_As_bool(obj1
));
23466 if (SWIG_arg_fail(2)) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 (arg1
)->EnablePageNumbers(arg2
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 Py_INCREF(Py_None
); resultobj
= Py_None
;
23482 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self",(char *) "flag", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23494 if (SWIG_arg_fail(1)) SWIG_fail
;
23496 arg2
= (bool)(SWIG_As_bool(obj1
));
23497 if (SWIG_arg_fail(2)) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 (arg1
)->EnableHelp(arg2
);
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 Py_INCREF(Py_None
); resultobj
= Py_None
;
23513 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23541 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23569 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23580 if (SWIG_arg_fail(1)) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23597 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23599 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23601 PyObject
* obj0
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23608 if (SWIG_arg_fail(1)) SWIG_fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23625 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23629 PyObject
* obj0
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23636 if (SWIG_arg_fail(1)) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23653 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23656 wxPrintData
*result
;
23657 PyObject
* obj0
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "self", NULL
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23664 if (SWIG_arg_fail(1)) SWIG_fail
;
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23669 result
= (wxPrintData
*) &_result_ref
;
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23682 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23684 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23685 wxPrintData
*arg2
= 0 ;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self",(char *) "printData", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail
;
23696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23697 if (SWIG_arg_fail(2)) SWIG_fail
;
23698 if (arg2
== NULL
) {
23699 SWIG_null_ref("wxPrintData");
23701 if (SWIG_arg_fail(2)) SWIG_fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 Py_INCREF(Py_None
); resultobj
= Py_None
;
23717 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23720 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23722 return Py_BuildValue((char *)"");
23724 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxWindow
*arg1
= (wxWindow
*) 0 ;
23727 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23728 wxPrintDialog
*result
;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "parent",(char *) "data", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23737 if (SWIG_arg_fail(1)) SWIG_fail
;
23739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23740 if (SWIG_arg_fail(2)) SWIG_fail
;
23743 if (!wxPyCheckForApp()) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23757 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23761 PyObject
* obj0
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23768 if (SWIG_arg_fail(1)) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (int)(arg1
)->ShowModal();
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_From_int((int)(result
));
23785 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23788 wxPrintDialogData
*result
;
23789 PyObject
* obj0
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23796 if (SWIG_arg_fail(1)) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23801 result
= (wxPrintDialogData
*) &_result_ref
;
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23814 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23817 wxPrintData
*result
;
23818 PyObject
* obj0
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
23824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23830 result
= (wxPrintData
*) &_result_ref
;
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23843 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 char *kwnames
[] = {
23849 (char *) "self", NULL
23852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
23853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23854 if (SWIG_arg_fail(1)) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (wxDC
*)(arg1
)->GetPrintDC();
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= wxPyMake_wxObject(result
, 1);
23871 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
23873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23874 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
23876 return Py_BuildValue((char *)"");
23878 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
23882 PyObject
* obj0
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "data", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
23889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23890 if (SWIG_arg_fail(1)) SWIG_fail
;
23893 if (!wxPyCheckForApp()) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (wxPrinter
*)new wxPrinter(arg1
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
23907 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
23916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 Py_INCREF(Py_None
); resultobj
= Py_None
;
23932 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23935 wxWindow
*arg2
= (wxWindow
*) 0 ;
23936 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 PyObject
* obj2
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "parent",(char *) "printout", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23947 if (SWIG_arg_fail(1)) SWIG_fail
;
23948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23949 if (SWIG_arg_fail(2)) SWIG_fail
;
23950 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
23951 if (SWIG_arg_fail(3)) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= wxPyMake_wxObject(result
, 0);
23968 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23971 wxWindow
*arg2
= (wxWindow
*) 0 ;
23972 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
23973 wxString
*arg4
= 0 ;
23974 bool temp4
= false ;
23975 PyObject
* obj0
= 0 ;
23976 PyObject
* obj1
= 0 ;
23977 PyObject
* obj2
= 0 ;
23978 PyObject
* obj3
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23985 if (SWIG_arg_fail(1)) SWIG_fail
;
23986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23987 if (SWIG_arg_fail(2)) SWIG_fail
;
23988 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
23989 if (SWIG_arg_fail(3)) SWIG_fail
;
23991 arg4
= wxString_in_helper(obj3
);
23992 if (arg4
== NULL
) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 Py_INCREF(Py_None
); resultobj
= Py_None
;
24017 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24020 wxWindow
*arg2
= (wxWindow
*) 0 ;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self",(char *) "parent", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24030 if (SWIG_arg_fail(1)) SWIG_fail
;
24031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24032 if (SWIG_arg_fail(2)) SWIG_fail
;
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (bool)(arg1
)->Setup(arg2
);
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24049 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24051 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24052 wxWindow
*arg2
= (wxWindow
*) 0 ;
24053 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24054 bool arg4
= (bool) true ;
24056 PyObject
* obj0
= 0 ;
24057 PyObject
* obj1
= 0 ;
24058 PyObject
* obj2
= 0 ;
24059 PyObject
* obj3
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail
;
24067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24068 if (SWIG_arg_fail(2)) SWIG_fail
;
24069 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24070 if (SWIG_arg_fail(3)) SWIG_fail
;
24073 arg4
= (bool)(SWIG_As_bool(obj3
));
24074 if (SWIG_arg_fail(4)) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24093 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24096 wxWindow
*arg2
= (wxWindow
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self",(char *) "parent", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24106 if (SWIG_arg_fail(1)) SWIG_fail
;
24107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(2)) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= wxPyMake_wxObject(result
, 0);
24125 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24128 wxPrintDialogData
*result
;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24141 result
= (wxPrintDialogData
*) &_result_ref
;
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24154 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24165 if (SWIG_arg_fail(1)) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (bool)(arg1
)->GetAbort();
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24182 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxPrinterError result
;
24185 char *kwnames
[] = {
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (wxPrinterError
)wxPrinter::GetLastError();
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= SWIG_From_int((result
));
24204 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24207 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24209 return Py_BuildValue((char *)"");
24211 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24214 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24215 wxPyPrintout
*result
;
24216 bool temp1
= false ;
24217 PyObject
* obj0
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "title", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24225 arg1
= wxString_in_helper(obj0
);
24226 if (arg1
== NULL
) SWIG_fail
;
24231 if (!wxPyCheckForApp()) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= wxPyMake_wxObject(result
, 1);
24255 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24258 PyObject
*arg2
= (PyObject
*) 0 ;
24259 PyObject
*arg3
= (PyObject
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 PyObject
* obj2
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self",(char *) "self",(char *) "_class", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24269 if (SWIG_arg_fail(1)) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 Py_INCREF(Py_None
); resultobj
= Py_None
;
24286 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24297 if (SWIG_arg_fail(1)) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24318 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24329 if (SWIG_arg_fail(1)) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (wxDC
*)(arg1
)->GetDC();
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= wxPyMake_wxObject(result
, 0);
24346 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24349 wxDC
*arg2
= (wxDC
*) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self",(char *) "dc", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24358 if (SWIG_arg_fail(1)) SWIG_fail
;
24359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24360 if (SWIG_arg_fail(2)) SWIG_fail
;
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 (arg1
)->SetDC(arg2
);
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24368 Py_INCREF(Py_None
); resultobj
= Py_None
;
24375 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
;
24377 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 PyObject
* obj2
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self",(char *) "w",(char *) "h", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24389 if (SWIG_arg_fail(1)) SWIG_fail
;
24391 arg2
= (int)(SWIG_As_int(obj1
));
24392 if (SWIG_arg_fail(2)) SWIG_fail
;
24395 arg3
= (int)(SWIG_As_int(obj2
));
24396 if (SWIG_arg_fail(3)) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 Py_INCREF(Py_None
); resultobj
= Py_None
;
24412 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24415 int *arg2
= (int *) 0 ;
24416 int *arg3
= (int *) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self", NULL
24426 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24427 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24430 if (SWIG_arg_fail(1)) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 Py_INCREF(Py_None
); resultobj
= Py_None
;
24439 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24440 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24441 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24442 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24449 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 PyObject
* obj2
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "w",(char *) "h", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail
;
24465 arg2
= (int)(SWIG_As_int(obj1
));
24466 if (SWIG_arg_fail(2)) SWIG_fail
;
24469 arg3
= (int)(SWIG_As_int(obj2
));
24470 if (SWIG_arg_fail(3)) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24489 int *arg2
= (int *) 0 ;
24490 int *arg3
= (int *) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self", NULL
24500 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24501 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 Py_INCREF(Py_None
); resultobj
= Py_None
;
24513 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24514 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24515 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24516 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24523 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 PyObject
* obj2
= 0 ;
24531 char *kwnames
[] = {
24532 (char *) "self",(char *) "x",(char *) "y", NULL
24535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24537 if (SWIG_arg_fail(1)) SWIG_fail
;
24539 arg2
= (int)(SWIG_As_int(obj1
));
24540 if (SWIG_arg_fail(2)) SWIG_fail
;
24543 arg3
= (int)(SWIG_As_int(obj2
));
24544 if (SWIG_arg_fail(3)) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->SetPPIScreen(arg2
,arg3
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 Py_INCREF(Py_None
); resultobj
= Py_None
;
24560 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
;
24562 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24563 int *arg2
= (int *) 0 ;
24564 int *arg3
= (int *) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 char *kwnames
[] = {
24571 (char *) "self", NULL
24574 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24575 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 (arg1
)->GetPPIScreen(arg2
,arg3
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 Py_INCREF(Py_None
); resultobj
= Py_None
;
24587 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24588 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24589 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24590 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24597 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "x",(char *) "y", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 arg2
= (int)(SWIG_As_int(obj1
));
24614 if (SWIG_arg_fail(2)) SWIG_fail
;
24617 arg3
= (int)(SWIG_As_int(obj2
));
24618 if (SWIG_arg_fail(3)) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 Py_INCREF(Py_None
); resultobj
= Py_None
;
24634 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24637 int *arg2
= (int *) 0 ;
24638 int *arg3
= (int *) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 char *kwnames
[] = {
24645 (char *) "self", NULL
24648 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24649 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 Py_INCREF(Py_None
); resultobj
= Py_None
;
24661 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24662 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24663 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24664 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24671 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24682 if (SWIG_arg_fail(1)) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (bool)(arg1
)->IsPreview();
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24699 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24701 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self",(char *) "p", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24711 if (SWIG_arg_fail(1)) SWIG_fail
;
24713 arg2
= (bool)(SWIG_As_bool(obj1
));
24714 if (SWIG_arg_fail(2)) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 (arg1
)->SetIsPreview(arg2
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 Py_INCREF(Py_None
); resultobj
= Py_None
;
24730 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
;
24732 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 PyObject
* obj2
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24745 if (SWIG_arg_fail(1)) SWIG_fail
;
24747 arg2
= (int)(SWIG_As_int(obj1
));
24748 if (SWIG_arg_fail(2)) SWIG_fail
;
24751 arg3
= (int)(SWIG_As_int(obj2
));
24752 if (SWIG_arg_fail(3)) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24770 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
;
24772 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24773 PyObject
* obj0
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24780 if (SWIG_arg_fail(1)) SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 (arg1
)->base_OnEndDocument();
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 Py_INCREF(Py_None
); resultobj
= Py_None
;
24795 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
24804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 (arg1
)->base_OnBeginPrinting();
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 Py_INCREF(Py_None
); resultobj
= Py_None
;
24820 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
;
24822 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24823 PyObject
* obj0
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
24829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24830 if (SWIG_arg_fail(1)) SWIG_fail
;
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 (arg1
)->base_OnEndPrinting();
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24838 Py_INCREF(Py_None
); resultobj
= Py_None
;
24845 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
24854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24855 if (SWIG_arg_fail(1)) SWIG_fail
;
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 (arg1
)->base_OnPreparePrinting();
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 Py_INCREF(Py_None
); resultobj
= Py_None
;
24870 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 PyObject
* obj1
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "page", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24883 if (SWIG_arg_fail(1)) SWIG_fail
;
24885 arg2
= (int)(SWIG_As_int(obj1
));
24886 if (SWIG_arg_fail(2)) SWIG_fail
;
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (bool)(arg1
)->base_HasPage(arg2
);
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24904 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
;
24906 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24907 int *arg2
= (int *) 0 ;
24908 int *arg3
= (int *) 0 ;
24909 int *arg4
= (int *) 0 ;
24910 int *arg5
= (int *) 0 ;
24919 PyObject
* obj0
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "self", NULL
24924 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24925 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24926 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
24927 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
24929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24930 if (SWIG_arg_fail(1)) SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 Py_INCREF(Py_None
); resultobj
= Py_None
;
24939 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24940 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24941 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24942 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24943 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
24944 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
24945 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
24946 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
24953 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
24955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24956 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
24958 return Py_BuildValue((char *)"");
24960 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24963 wxWindow
*arg2
= (wxWindow
*) 0 ;
24964 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24965 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24966 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24967 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24968 long arg5
= (long) 0 ;
24969 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
24970 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24971 wxPreviewCanvas
*result
;
24974 bool temp6
= false ;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 PyObject
* obj2
= 0 ;
24978 PyObject
* obj3
= 0 ;
24979 PyObject
* obj4
= 0 ;
24980 PyObject
* obj5
= 0 ;
24981 char *kwnames
[] = {
24982 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
24987 if (SWIG_arg_fail(1)) SWIG_fail
;
24988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24989 if (SWIG_arg_fail(2)) SWIG_fail
;
24993 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24999 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25004 arg5
= (long)(SWIG_As_long(obj4
));
25005 if (SWIG_arg_fail(5)) SWIG_fail
;
25010 arg6
= wxString_in_helper(obj5
);
25011 if (arg6
== NULL
) SWIG_fail
;
25016 if (!wxPyCheckForApp()) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25038 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25041 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25043 return Py_BuildValue((char *)"");
25045 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25048 wxFrame
*arg2
= (wxFrame
*) 0 ;
25049 wxString
*arg3
= 0 ;
25050 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25051 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25052 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25053 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25054 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25055 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25056 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25057 wxPreviewFrame
*result
;
25058 bool temp3
= false ;
25061 bool temp7
= false ;
25062 PyObject
* obj0
= 0 ;
25063 PyObject
* obj1
= 0 ;
25064 PyObject
* obj2
= 0 ;
25065 PyObject
* obj3
= 0 ;
25066 PyObject
* obj4
= 0 ;
25067 PyObject
* obj5
= 0 ;
25068 PyObject
* obj6
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25075 if (SWIG_arg_fail(1)) SWIG_fail
;
25076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25077 if (SWIG_arg_fail(2)) SWIG_fail
;
25079 arg3
= wxString_in_helper(obj2
);
25080 if (arg3
== NULL
) SWIG_fail
;
25086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25097 arg6
= (long)(SWIG_As_long(obj5
));
25098 if (SWIG_arg_fail(6)) SWIG_fail
;
25103 arg7
= wxString_in_helper(obj6
);
25104 if (arg7
== NULL
) SWIG_fail
;
25109 if (!wxPyCheckForApp()) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25139 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25142 PyObject
* obj0
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "self", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25149 if (SWIG_arg_fail(1)) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 (arg1
)->Initialize();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 Py_INCREF(Py_None
); resultobj
= Py_None
;
25164 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25167 PyObject
* obj0
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25174 if (SWIG_arg_fail(1)) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 (arg1
)->CreateControlBar();
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 Py_INCREF(Py_None
); resultobj
= Py_None
;
25189 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
;
25191 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25192 PyObject
* obj0
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25199 if (SWIG_arg_fail(1)) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 (arg1
)->CreateCanvas();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 Py_INCREF(Py_None
); resultobj
= Py_None
;
25214 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
;
25216 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25217 wxPreviewControlBar
*result
;
25218 PyObject
* obj0
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25225 if (SWIG_arg_fail(1)) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25240 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25243 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25245 return Py_BuildValue((char *)"");
25247 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25251 wxWindow
*arg3
= (wxWindow
*) 0 ;
25252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25256 long arg6
= (long) wxTAB_TRAVERSAL
;
25257 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25258 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25259 wxPreviewControlBar
*result
;
25262 bool temp7
= false ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 PyObject
* obj2
= 0 ;
25266 PyObject
* obj3
= 0 ;
25267 PyObject
* obj4
= 0 ;
25268 PyObject
* obj5
= 0 ;
25269 PyObject
* obj6
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25276 if (SWIG_arg_fail(1)) SWIG_fail
;
25278 arg2
= (long)(SWIG_As_long(obj1
));
25279 if (SWIG_arg_fail(2)) SWIG_fail
;
25281 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25282 if (SWIG_arg_fail(3)) SWIG_fail
;
25286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25292 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25297 arg6
= (long)(SWIG_As_long(obj5
));
25298 if (SWIG_arg_fail(6)) SWIG_fail
;
25303 arg7
= wxString_in_helper(obj6
);
25304 if (arg7
== NULL
) SWIG_fail
;
25309 if (!wxPyCheckForApp()) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25331 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (int)(arg1
)->GetZoomControl();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_From_int((int)(result
));
25359 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25363 PyObject
* obj0
= 0 ;
25364 PyObject
* obj1
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self",(char *) "zoom", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25371 if (SWIG_arg_fail(1)) SWIG_fail
;
25373 arg2
= (int)(SWIG_As_int(obj1
));
25374 if (SWIG_arg_fail(2)) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 (arg1
)->SetZoomControl(arg2
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 Py_INCREF(Py_None
); resultobj
= Py_None
;
25390 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
;
25392 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25393 wxPrintPreview
*result
;
25394 PyObject
* obj0
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25401 if (SWIG_arg_fail(1)) SWIG_fail
;
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25416 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
;
25418 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25426 if (SWIG_arg_fail(1)) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 Py_INCREF(Py_None
); resultobj
= Py_None
;
25441 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25451 if (SWIG_arg_fail(1)) SWIG_fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 (arg1
)->OnPrevious();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 Py_INCREF(Py_None
); resultobj
= Py_None
;
25466 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25476 if (SWIG_arg_fail(1)) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 Py_INCREF(Py_None
); resultobj
= Py_None
;
25491 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25501 if (SWIG_arg_fail(1)) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 Py_INCREF(Py_None
); resultobj
= Py_None
;
25516 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25519 PyObject
* obj0
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25526 if (SWIG_arg_fail(1)) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 Py_INCREF(Py_None
); resultobj
= Py_None
;
25541 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25544 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25546 return Py_BuildValue((char *)"");
25548 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25549 PyObject
*resultobj
;
25550 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25551 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25552 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25553 wxPrintPreview
*result
;
25554 PyObject
* obj0
= 0 ;
25555 PyObject
* obj1
= 0 ;
25556 PyObject
* obj2
= 0 ;
25558 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25560 if (SWIG_arg_fail(1)) SWIG_fail
;
25561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25562 if (SWIG_arg_fail(2)) SWIG_fail
;
25564 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25565 if (SWIG_arg_fail(3)) SWIG_fail
;
25568 if (!wxPyCheckForApp()) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25582 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25583 PyObject
*resultobj
;
25584 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25585 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25586 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25587 wxPrintPreview
*result
;
25588 PyObject
* obj0
= 0 ;
25589 PyObject
* obj1
= 0 ;
25590 PyObject
* obj2
= 0 ;
25592 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25594 if (SWIG_arg_fail(1)) SWIG_fail
;
25595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25596 if (SWIG_arg_fail(2)) SWIG_fail
;
25597 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25598 if (SWIG_arg_fail(3)) SWIG_fail
;
25600 if (!wxPyCheckForApp()) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25614 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25619 argc
= PyObject_Length(args
);
25620 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25621 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25623 if ((argc
>= 2) && (argc
<= 3)) {
25627 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25637 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25646 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25650 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25658 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25667 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25677 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25687 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25695 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25701 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25706 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "pageNum", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25719 if (SWIG_arg_fail(1)) SWIG_fail
;
25721 arg2
= (int)(SWIG_As_int(obj1
));
25722 if (SWIG_arg_fail(2)) SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25740 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25744 PyObject
* obj0
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25751 if (SWIG_arg_fail(1)) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (int)(arg1
)->GetCurrentPage();
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_From_int((int)(result
));
25768 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25771 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "printout", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail
;
25781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25782 if (SWIG_arg_fail(2)) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 (arg1
)->SetPrintout(arg2
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 Py_INCREF(Py_None
); resultobj
= Py_None
;
25797 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25800 wxPyPrintout
*result
;
25801 PyObject
* obj0
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
25807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25808 if (SWIG_arg_fail(1)) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= wxPyMake_wxObject(result
, 0);
25825 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25828 wxPyPrintout
*result
;
25829 PyObject
* obj0
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
25835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25836 if (SWIG_arg_fail(1)) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25845 resultobj
= wxPyMake_wxObject(result
, 0);
25853 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
;
25855 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25856 wxFrame
*arg2
= (wxFrame
*) 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "frame", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
25864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25865 if (SWIG_arg_fail(1)) SWIG_fail
;
25866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25867 if (SWIG_arg_fail(2)) SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 (arg1
)->SetFrame(arg2
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 Py_INCREF(Py_None
); resultobj
= Py_None
;
25882 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
;
25884 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25885 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self",(char *) "canvas", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail
;
25895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
25896 if (SWIG_arg_fail(2)) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 (arg1
)->SetCanvas(arg2
);
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25904 Py_INCREF(Py_None
); resultobj
= Py_None
;
25911 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25915 PyObject
* obj0
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
25921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25922 if (SWIG_arg_fail(1)) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (wxFrame
*)(arg1
)->GetFrame();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= wxPyMake_wxObject(result
, 0);
25939 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25942 wxPreviewCanvas
*result
;
25943 PyObject
* obj0
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self", NULL
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
25949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25950 if (SWIG_arg_fail(1)) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
25965 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25968 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25971 PyObject
* obj0
= 0 ;
25972 PyObject
* obj1
= 0 ;
25973 PyObject
* obj2
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self",(char *) "canvas",(char *) "dc", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25980 if (SWIG_arg_fail(1)) SWIG_fail
;
25981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
25982 if (SWIG_arg_fail(2)) SWIG_fail
;
25984 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25985 if (SWIG_arg_fail(3)) SWIG_fail
;
25986 if (arg3
== NULL
) {
25987 SWIG_null_ref("wxDC");
25989 if (SWIG_arg_fail(3)) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26007 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26010 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 PyObject
* obj2
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26022 if (SWIG_arg_fail(1)) SWIG_fail
;
26023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26024 if (SWIG_arg_fail(2)) SWIG_fail
;
26026 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26027 if (SWIG_arg_fail(3)) SWIG_fail
;
26028 if (arg3
== NULL
) {
26029 SWIG_null_ref("wxDC");
26031 if (SWIG_arg_fail(3)) SWIG_fail
;
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26049 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26054 PyObject
* obj0
= 0 ;
26055 PyObject
* obj1
= 0 ;
26056 char *kwnames
[] = {
26057 (char *) "self",(char *) "pageNum", NULL
26060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26062 if (SWIG_arg_fail(1)) SWIG_fail
;
26064 arg2
= (int)(SWIG_As_int(obj1
));
26065 if (SWIG_arg_fail(2)) SWIG_fail
;
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (bool)(arg1
)->RenderPage(arg2
);
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26083 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
;
26085 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26086 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self",(char *) "canvas", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26095 if (SWIG_arg_fail(1)) SWIG_fail
;
26096 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26097 if (SWIG_arg_fail(2)) SWIG_fail
;
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 (arg1
)->AdjustScrollbars(arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 Py_INCREF(Py_None
); resultobj
= Py_None
;
26112 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26115 wxPrintDialogData
*result
;
26116 PyObject
* obj0
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26123 if (SWIG_arg_fail(1)) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26128 result
= (wxPrintDialogData
*) &_result_ref
;
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26141 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "percent", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26153 if (SWIG_arg_fail(1)) SWIG_fail
;
26155 arg2
= (int)(SWIG_As_int(obj1
));
26156 if (SWIG_arg_fail(2)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 (arg1
)->SetZoom(arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 Py_INCREF(Py_None
); resultobj
= Py_None
;
26172 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 char *kwnames
[] = {
26178 (char *) "self", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26183 if (SWIG_arg_fail(1)) SWIG_fail
;
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26186 result
= (int)(arg1
)->GetZoom();
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_From_int((int)(result
));
26200 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26204 PyObject
* obj0
= 0 ;
26205 char *kwnames
[] = {
26206 (char *) "self", NULL
26209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26211 if (SWIG_arg_fail(1)) SWIG_fail
;
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 result
= (int)(arg1
)->GetMaxPage();
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= SWIG_From_int((int)(result
));
26228 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
;
26230 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26232 PyObject
* obj0
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26239 if (SWIG_arg_fail(1)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (int)(arg1
)->GetMinPage();
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_From_int((int)(result
));
26256 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26258 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26260 PyObject
* obj0
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26267 if (SWIG_arg_fail(1)) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 result
= (bool)(arg1
)->Ok();
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26284 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "ok", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26296 if (SWIG_arg_fail(1)) SWIG_fail
;
26298 arg2
= (bool)(SWIG_As_bool(obj1
));
26299 if (SWIG_arg_fail(2)) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 (arg1
)->SetOk(arg2
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 Py_INCREF(Py_None
); resultobj
= Py_None
;
26315 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 char *kwnames
[] = {
26323 (char *) "self",(char *) "interactive", NULL
26326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26328 if (SWIG_arg_fail(1)) SWIG_fail
;
26330 arg2
= (bool)(SWIG_As_bool(obj1
));
26331 if (SWIG_arg_fail(2)) SWIG_fail
;
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (bool)(arg1
)->Print(arg2
);
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26349 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
;
26351 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26352 PyObject
* obj0
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26359 if (SWIG_arg_fail(1)) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 (arg1
)->DetermineScaling();
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 Py_INCREF(Py_None
); resultobj
= Py_None
;
26374 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26377 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26379 return Py_BuildValue((char *)"");
26381 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26382 PyObject
*resultobj
;
26383 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26384 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26385 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26386 wxPyPrintPreview
*result
;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 PyObject
* obj2
= 0 ;
26391 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26393 if (SWIG_arg_fail(1)) SWIG_fail
;
26394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26395 if (SWIG_arg_fail(2)) SWIG_fail
;
26397 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26398 if (SWIG_arg_fail(3)) SWIG_fail
;
26401 if (!wxPyCheckForApp()) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26415 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26416 PyObject
*resultobj
;
26417 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26418 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26419 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26420 wxPyPrintPreview
*result
;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 PyObject
* obj2
= 0 ;
26425 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26427 if (SWIG_arg_fail(1)) SWIG_fail
;
26428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26429 if (SWIG_arg_fail(2)) SWIG_fail
;
26430 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26431 if (SWIG_arg_fail(3)) SWIG_fail
;
26433 if (!wxPyCheckForApp()) SWIG_fail
;
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26447 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26452 argc
= PyObject_Length(args
);
26453 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26454 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26456 if ((argc
>= 2) && (argc
<= 3)) {
26460 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26470 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26479 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26483 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26491 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26500 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26510 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26520 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26528 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26534 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26539 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
;
26541 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26542 PyObject
*arg2
= (PyObject
*) 0 ;
26543 PyObject
*arg3
= (PyObject
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 PyObject
* obj2
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self",(char *) "self",(char *) "_class", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26553 if (SWIG_arg_fail(1)) SWIG_fail
;
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 Py_INCREF(Py_None
); resultobj
= Py_None
;
26570 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self",(char *) "pageNum", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail
;
26585 arg2
= (int)(SWIG_As_int(obj1
));
26586 if (SWIG_arg_fail(2)) SWIG_fail
;
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26604 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26607 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 PyObject
* obj2
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26619 if (SWIG_arg_fail(1)) SWIG_fail
;
26620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26621 if (SWIG_arg_fail(2)) SWIG_fail
;
26623 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26624 if (SWIG_arg_fail(3)) SWIG_fail
;
26625 if (arg3
== NULL
) {
26626 SWIG_null_ref("wxDC");
26628 if (SWIG_arg_fail(3)) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26646 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
;
26648 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26649 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26652 PyObject
* obj0
= 0 ;
26653 PyObject
* obj1
= 0 ;
26654 PyObject
* obj2
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26661 if (SWIG_arg_fail(1)) SWIG_fail
;
26662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26663 if (SWIG_arg_fail(2)) SWIG_fail
;
26665 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(3)) SWIG_fail
;
26667 if (arg3
== NULL
) {
26668 SWIG_null_ref("wxDC");
26670 if (SWIG_arg_fail(3)) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self",(char *) "pageNum", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26701 if (SWIG_arg_fail(1)) SWIG_fail
;
26703 arg2
= (int)(SWIG_As_int(obj1
));
26704 if (SWIG_arg_fail(2)) SWIG_fail
;
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26722 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
;
26724 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self",(char *) "percent", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26734 if (SWIG_arg_fail(1)) SWIG_fail
;
26736 arg2
= (int)(SWIG_As_int(obj1
));
26737 if (SWIG_arg_fail(2)) SWIG_fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 (arg1
)->base_SetZoom(arg2
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 Py_INCREF(Py_None
); resultobj
= Py_None
;
26753 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "self",(char *) "interactive", NULL
26764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26766 if (SWIG_arg_fail(1)) SWIG_fail
;
26768 arg2
= (bool)(SWIG_As_bool(obj1
));
26769 if (SWIG_arg_fail(2)) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 result
= (bool)(arg1
)->base_Print(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26787 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26797 if (SWIG_arg_fail(1)) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 (arg1
)->base_DetermineScaling();
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 Py_INCREF(Py_None
); resultobj
= Py_None
;
26812 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26815 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
26817 return Py_BuildValue((char *)"");
26819 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
;
26821 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26822 wxFrame
*arg2
= (wxFrame
*) 0 ;
26823 wxString
*arg3
= 0 ;
26824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26828 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
26829 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
26830 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26831 wxPyPreviewFrame
*result
;
26832 bool temp3
= false ;
26835 bool temp7
= false ;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 PyObject
* obj3
= 0 ;
26840 PyObject
* obj4
= 0 ;
26841 PyObject
* obj5
= 0 ;
26842 PyObject
* obj6
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26849 if (SWIG_arg_fail(1)) SWIG_fail
;
26850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26851 if (SWIG_arg_fail(2)) SWIG_fail
;
26853 arg3
= wxString_in_helper(obj2
);
26854 if (arg3
== NULL
) SWIG_fail
;
26860 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26866 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26871 arg6
= (long)(SWIG_As_long(obj5
));
26872 if (SWIG_arg_fail(6)) SWIG_fail
;
26877 arg7
= wxString_in_helper(obj6
);
26878 if (arg7
== NULL
) SWIG_fail
;
26883 if (!wxPyCheckForApp()) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
26913 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26916 PyObject
*arg2
= (PyObject
*) 0 ;
26917 PyObject
*arg3
= (PyObject
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 PyObject
* obj2
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "self",(char *) "_class", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26927 if (SWIG_arg_fail(1)) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 Py_INCREF(Py_None
); resultobj
= Py_None
;
26944 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26947 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char *kwnames
[] = {
26951 (char *) "self",(char *) "canvas", NULL
26954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26956 if (SWIG_arg_fail(1)) SWIG_fail
;
26957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26958 if (SWIG_arg_fail(2)) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 (arg1
)->SetPreviewCanvas(arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 Py_INCREF(Py_None
); resultobj
= Py_None
;
26973 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26976 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self",(char *) "bar", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
26984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
26985 if (SWIG_arg_fail(1)) SWIG_fail
;
26986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26987 if (SWIG_arg_fail(2)) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->SetControlBar(arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 Py_INCREF(Py_None
); resultobj
= Py_None
;
27002 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 (arg1
)->base_Initialize();
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27020 Py_INCREF(Py_None
); resultobj
= Py_None
;
27027 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27028 PyObject
*resultobj
;
27029 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 char *kwnames
[] = {
27032 (char *) "self", NULL
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27037 if (SWIG_arg_fail(1)) SWIG_fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 (arg1
)->base_CreateCanvas();
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 Py_INCREF(Py_None
); resultobj
= Py_None
;
27052 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27055 PyObject
* obj0
= 0 ;
27056 char *kwnames
[] = {
27057 (char *) "self", NULL
27060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27062 if (SWIG_arg_fail(1)) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 (arg1
)->base_CreateControlBar();
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 Py_INCREF(Py_None
); resultobj
= Py_None
;
27077 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27080 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27082 return Py_BuildValue((char *)"");
27084 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27088 wxWindow
*arg3
= (wxWindow
*) 0 ;
27089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27093 long arg6
= (long) 0 ;
27094 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27096 wxPyPreviewControlBar
*result
;
27099 bool temp7
= false ;
27100 PyObject
* obj0
= 0 ;
27101 PyObject
* obj1
= 0 ;
27102 PyObject
* obj2
= 0 ;
27103 PyObject
* obj3
= 0 ;
27104 PyObject
* obj4
= 0 ;
27105 PyObject
* obj5
= 0 ;
27106 PyObject
* obj6
= 0 ;
27107 char *kwnames
[] = {
27108 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27113 if (SWIG_arg_fail(1)) SWIG_fail
;
27115 arg2
= (long)(SWIG_As_long(obj1
));
27116 if (SWIG_arg_fail(2)) SWIG_fail
;
27118 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27119 if (SWIG_arg_fail(3)) SWIG_fail
;
27123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27134 arg6
= (long)(SWIG_As_long(obj5
));
27135 if (SWIG_arg_fail(6)) SWIG_fail
;
27140 arg7
= wxString_in_helper(obj6
);
27141 if (arg7
== NULL
) SWIG_fail
;
27146 if (!wxPyCheckForApp()) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27168 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27171 PyObject
*arg2
= (PyObject
*) 0 ;
27172 PyObject
*arg3
= (PyObject
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 PyObject
* obj2
= 0 ;
27176 char *kwnames
[] = {
27177 (char *) "self",(char *) "self",(char *) "_class", NULL
27180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27182 if (SWIG_arg_fail(1)) SWIG_fail
;
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 Py_INCREF(Py_None
); resultobj
= Py_None
;
27199 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27202 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27203 PyObject
* obj0
= 0 ;
27204 PyObject
* obj1
= 0 ;
27205 char *kwnames
[] = {
27206 (char *) "self",(char *) "preview", NULL
27209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27211 if (SWIG_arg_fail(1)) SWIG_fail
;
27212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27213 if (SWIG_arg_fail(2)) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 (arg1
)->SetPrintPreview(arg2
);
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 Py_INCREF(Py_None
); resultobj
= Py_None
;
27228 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
;
27230 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27231 PyObject
* obj0
= 0 ;
27232 char *kwnames
[] = {
27233 (char *) "self", NULL
27236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27238 if (SWIG_arg_fail(1)) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 (arg1
)->base_CreateButtons();
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 Py_INCREF(Py_None
); resultobj
= Py_None
;
27253 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self",(char *) "zoom", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27265 if (SWIG_arg_fail(1)) SWIG_fail
;
27267 arg2
= (int)(SWIG_As_int(obj1
));
27268 if (SWIG_arg_fail(2)) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 (arg1
)->base_SetZoomControl(arg2
);
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 Py_INCREF(Py_None
); resultobj
= Py_None
;
27284 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27287 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27289 return Py_BuildValue((char *)"");
27291 static PyMethodDef SwigMethods
[] = {
27292 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27293 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27294 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27295 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27296 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27297 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27298 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27299 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27300 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27301 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27302 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27303 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27304 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27305 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27306 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27307 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27308 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27309 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27310 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27311 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27312 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27313 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27314 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27315 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27316 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27317 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27318 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27319 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27320 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27321 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27322 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27323 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27324 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27325 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27326 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27327 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27328 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27329 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27330 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27331 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27332 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27333 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27334 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27335 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27336 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27337 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27338 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27339 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27340 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27341 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27342 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27343 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27344 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27345 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27346 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27347 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27348 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27349 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27350 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27351 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27352 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27353 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27354 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27355 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27356 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27357 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27358 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27359 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27360 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27361 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27362 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27363 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27364 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27365 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27366 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27367 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27368 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27369 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27370 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27371 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27372 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27373 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27374 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27375 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27376 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27377 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27378 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27379 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27380 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27381 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27382 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27383 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27384 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27385 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27386 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27387 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27388 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27389 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27390 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27391 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27392 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27393 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27394 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27395 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27396 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27397 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27398 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27399 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27400 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27401 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27402 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27403 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27404 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27405 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27406 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27407 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27408 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27409 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27410 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27411 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27412 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27413 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27414 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27415 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27416 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27417 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27418 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27419 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27420 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27421 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27422 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27423 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27424 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27425 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27426 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27427 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27428 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27429 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27430 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27431 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27432 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27433 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27434 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27435 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27436 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27437 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27438 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27439 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27440 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27441 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27442 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27443 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27444 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27445 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27446 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27447 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27448 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27449 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27450 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27451 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27452 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27453 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27454 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27455 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27456 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27457 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27458 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27459 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27460 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27461 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27462 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27463 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27464 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27465 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27466 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27467 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27468 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27469 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27470 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27471 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27472 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27473 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27474 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27475 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27476 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27477 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27478 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27479 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27480 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27481 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27482 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27484 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27487 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27489 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27495 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27496 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27504 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27505 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27510 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27513 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27516 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27520 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27538 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27564 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27572 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27581 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27583 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27592 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27595 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27602 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27620 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27624 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27629 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27633 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27635 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27651 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27654 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27656 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27660 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27669 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27678 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27684 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27696 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27703 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27707 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27733 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27759 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27785 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27786 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
27831 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
27832 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
27863 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
27868 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
27869 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
27902 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
27908 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
27919 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
27942 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
27944 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
27950 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
27960 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
27961 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
27984 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
27985 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
27994 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28002 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28008 { NULL
, NULL
, 0, NULL
}
28012 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28014 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28015 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28017 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28020 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28021 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28023 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28024 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28026 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28027 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28029 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28030 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28032 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28033 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28035 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28036 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28038 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28039 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28041 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28042 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28044 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28047 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28048 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28050 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28051 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28053 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28054 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28056 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28057 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28059 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28060 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28062 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28063 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28065 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28066 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28068 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28069 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28071 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28072 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28074 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28075 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28077 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28078 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28080 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28081 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28083 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28084 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28086 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28087 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28089 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28090 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28092 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28093 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28095 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28096 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28098 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28099 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28101 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28102 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28104 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28105 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28107 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28108 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28110 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28111 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28113 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28114 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28116 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28117 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28119 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28120 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28122 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28123 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28125 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28126 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28128 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28129 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28131 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28132 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28134 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28135 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28137 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28138 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28140 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28141 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28143 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28144 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28146 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28149 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28152 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28155 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28156 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28158 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28159 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28161 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28162 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28164 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28165 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28167 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28170 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28173 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28176 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28179 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28182 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28185 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28188 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28191 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28192 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28194 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28195 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28197 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28200 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28203 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28206 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28207 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28209 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28212 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28213 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28215 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28216 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28218 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28219 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28221 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28222 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28224 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28227 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28228 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28230 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28231 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28233 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28236 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28237 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28239 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28242 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28245 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28248 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28249 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28251 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28254 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28255 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28257 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28260 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28263 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28266 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28269 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28272 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28273 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28275 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28278 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28281 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28284 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28287 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28290 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28293 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28294 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28296 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28297 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28299 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28300 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28302 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28303 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28305 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28306 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28308 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28309 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28311 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28312 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28314 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28315 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28317 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28318 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28320 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28321 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28323 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28324 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28326 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28329 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28332 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28333 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28335 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28336 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28338 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28339 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28341 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28342 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28344 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28345 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28347 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28348 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28350 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28351 return (void *)((wxObject
*) ((wxSizer
*) x
));
28353 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28354 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28356 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28359 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28362 static void *_p_wxEventTo_p_wxObject(void *x
) {
28363 return (void *)((wxObject
*) ((wxEvent
*) x
));
28365 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28366 return (void *)((wxObject
*) ((wxFontData
*) x
));
28368 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28369 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28371 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28372 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28374 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28375 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28377 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28378 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28380 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28381 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28383 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28384 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28386 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28389 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28390 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28392 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28393 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28395 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28396 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28398 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28399 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28401 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28402 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28404 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28405 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28407 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28410 static void *_p_wxControlTo_p_wxObject(void *x
) {
28411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28413 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28414 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28416 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28419 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28420 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28422 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28423 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28425 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28426 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28428 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28431 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28432 return (void *)((wxObject
*) ((wxColourData
*) x
));
28434 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28435 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28437 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28440 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28443 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28446 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28449 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28452 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28455 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28458 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28461 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28464 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28467 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28470 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28471 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28473 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28474 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28476 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28477 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28479 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28480 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28482 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28483 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28485 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28486 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28488 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28489 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28491 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28492 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28494 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28495 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28497 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28498 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28500 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28501 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28503 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28504 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28506 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28509 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28510 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28512 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28513 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28515 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28516 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28518 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28521 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28522 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28524 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28525 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28527 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28528 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28530 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28531 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28533 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28534 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28536 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28537 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28539 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28540 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28542 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28543 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28545 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28548 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28551 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28552 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28554 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28557 static void *_p_wxImageTo_p_wxObject(void *x
) {
28558 return (void *)((wxObject
*) ((wxImage
*) x
));
28560 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28563 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28564 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28566 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28567 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28569 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28570 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28572 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28575 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28578 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28581 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28582 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28584 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28585 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28587 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28590 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28591 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28593 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28596 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28599 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28602 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28605 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28608 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28611 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28614 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28617 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28620 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28623 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28626 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28629 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28632 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28633 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28635 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28636 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28638 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28639 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28641 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28644 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28647 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28650 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28653 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28656 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28657 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28659 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28660 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28662 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28663 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28665 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28668 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28669 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28671 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28672 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28674 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28675 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28677 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28678 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28680 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28681 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28683 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28686 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28687 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28689 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28692 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28695 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28696 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28698 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28699 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28701 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28704 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28707 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28708 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28710 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28711 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28713 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28716 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28717 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28719 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28720 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28722 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28723 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28725 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28726 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28728 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28729 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28731 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28732 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28734 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28735 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28737 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28738 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28740 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28741 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28743 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28744 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28746 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28747 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28749 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28750 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28752 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28753 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28755 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28756 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28758 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28759 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28761 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28762 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28764 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28765 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28767 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28768 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28770 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28771 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28773 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28774 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28776 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28777 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28779 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28780 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28782 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28783 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28785 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28786 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28788 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28789 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28791 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28792 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28794 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28795 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28797 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
28798 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
28800 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28801 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28803 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
28804 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28806 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
28807 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28809 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
28810 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28812 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
28813 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28815 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
28816 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28818 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
28819 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28821 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
28822 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28824 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
28825 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28827 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
28828 return (void *)((wxWindow
*) ((wxPanel
*) x
));
28830 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
28831 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
28833 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
28834 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28836 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
28837 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28839 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
28840 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28842 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
28843 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
28845 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
28846 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28848 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
28849 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
28851 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
28852 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
28854 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
28855 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
28857 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
28858 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
28860 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
28861 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
28863 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
28864 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
28866 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
28867 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28869 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28870 return (void *)((wxWindow
*) ((wxControl
*) x
));
28872 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
28873 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28875 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
28876 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28878 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
28879 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28881 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28882 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28884 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
28885 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
28887 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
28888 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28890 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
28891 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28893 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
28894 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28896 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
28897 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
28899 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
28900 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28902 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
28903 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
28905 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
28906 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28908 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
28909 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28911 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
28912 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28914 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
28915 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
28917 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
28918 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28920 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
28921 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28923 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
28924 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28926 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
28927 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28929 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
28930 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
28932 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
28933 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
28935 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
28936 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
28938 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
28939 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
28941 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
28942 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28944 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
28945 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28947 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
28948 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
28950 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
28951 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28953 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
28954 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
28956 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
28957 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
28959 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
28960 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
28962 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
28963 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28965 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
28966 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28968 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
28969 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28971 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
28972 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28974 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
28975 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
28977 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
28978 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28980 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
28981 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
28983 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
28984 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28986 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28987 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28989 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28990 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28992 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28993 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28995 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28996 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28998 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
28999 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29001 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29002 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29004 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29005 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29007 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29008 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29010 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29011 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29013 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29014 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29016 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29017 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29019 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29020 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29022 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}};
29023 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}};
29024 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}};
29025 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}};
29026 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}};
29027 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}};
29028 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_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}};
29029 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}};
29030 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}};
29031 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}};
29032 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}};
29033 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}};
29034 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}};
29035 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}};
29036 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}};
29037 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}};
29038 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}};
29039 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}};
29040 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}};
29041 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}};
29042 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}};
29043 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}};
29044 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}};
29045 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}};
29046 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}};
29047 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}};
29048 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}};
29049 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}};
29050 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}};
29051 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}};
29052 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}};
29053 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}};
29054 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}};
29055 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}};
29056 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}};
29057 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}};
29058 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}};
29059 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}};
29060 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}};
29061 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}};
29062 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}};
29063 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}};
29064 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29065 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}};
29066 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}};
29067 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}};
29068 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}};
29069 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}};
29070 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}};
29071 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29072 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}};
29073 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}};
29074 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}};
29075 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}};
29076 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}};
29077 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}};
29078 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}};
29079 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_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_wxIconizeEvent", _p_wxIconizeEventTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_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_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_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29080 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}};
29081 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}};
29082 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29083 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}};
29084 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}};
29085 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}};
29086 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}};
29087 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29088 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}};
29089 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29090 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29091 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}};
29092 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}};
29093 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}};
29094 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}};
29095 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}};
29096 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}};
29097 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}};
29098 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}};
29099 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}};
29100 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}};
29101 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}};
29102 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}};
29103 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}};
29104 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}};
29105 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}};
29106 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}};
29107 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}};
29108 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}};
29109 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}};
29110 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}};
29111 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_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}};
29112 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}};
29113 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}};
29114 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}};
29115 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}};
29116 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}};
29117 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}};
29119 static swig_type_info
*swig_types_initial
[] = {
29120 _swigt__p_wxQueryLayoutInfoEvent
,
29121 _swigt__p_wxPreviewFrame
,
29122 _swigt__p_wxPyPreviewFrame
,
29123 _swigt__p_wxPyPanel
,
29125 _swigt__p_wxFontData
,
29127 _swigt__p_wxPrintData
,
29128 _swigt__p_wxTaskBarIcon
,
29129 _swigt__p_wxPyTaskBarIcon
,
29130 _swigt__p_wxIconBundle
,
29131 _swigt__p_wxLayoutAlgorithm
,
29132 _swigt__p_wxFindDialogEvent
,
29133 _swigt__p_wxPreviewCanvas
,
29135 _swigt__p_wxSplitterEvent
,
29136 _swigt__p_wxRegion
,
29138 _swigt__std__ptrdiff_t
,
29139 _swigt__p_wxFindReplaceData
,
29144 _swigt__p_wxVisualAttributes
,
29145 _swigt__p_wxMDIChildFrame
,
29146 _swigt__p_wxColourData
,
29147 _swigt__p_wxNotifyEvent
,
29148 _swigt__p_wxPyWindow
,
29149 _swigt__p_form_ops_t
,
29150 _swigt__p_wxSplashScreen
,
29151 _swigt__p_wxPasswordEntryDialog
,
29152 _swigt__p_wxSingleChoiceDialog
,
29153 _swigt__p_wxMultiChoiceDialog
,
29154 _swigt__p_wxFileDialog
,
29155 _swigt__p_wxTextEntryDialog
,
29156 _swigt__p_wxMessageDialog
,
29157 _swigt__p_wxProgressDialog
,
29158 _swigt__p_wxFindReplaceDialog
,
29159 _swigt__p_wxPrinter
,
29160 _swigt__p_wxArrayInt
,
29161 _swigt__p_wxDuplexMode
,
29162 _swigt__p_wxEvtHandler
,
29163 _swigt__p_wxCalculateLayoutEvent
,
29164 _swigt__p_wxPyHtmlListBox
,
29165 _swigt__p_wxPyVListBox
,
29168 _swigt__p_wxMiniFrame
,
29170 _swigt__p_wxPyPrintout
,
29171 _swigt__p_wxTaskBarIconEvent
,
29172 _swigt__p_wxScrollWinEvent
,
29173 _swigt__p_wxPaperSize
,
29174 _swigt__p_wxStatusBar
,
29175 _swigt__p_wxMDIParentFrame
,
29177 _swigt__p_wxObject
,
29178 _swigt__p_unsigned_long
,
29179 _swigt__p_wxTipWindow
,
29180 _swigt__p_wxPyPopupTransientWindow
,
29181 _swigt__p_wxSashLayoutWindow
,
29182 _swigt__p_wxSplitterWindow
,
29183 _swigt__p_wxSplashScreenWindow
,
29184 _swigt__p_wxPyVScrolledWindow
,
29185 _swigt__p_wxPopupWindow
,
29186 _swigt__p_wxSashWindow
,
29187 _swigt__p_wxTopLevelWindow
,
29188 _swigt__p_wxWindow
,
29189 _swigt__p_wxScrolledWindow
,
29190 _swigt__p_wxMenuBar
,
29191 _swigt__p_wxMDIClientWindow
,
29192 _swigt__p_wxPyScrolledWindow
,
29193 _swigt__p_wxPrintPreview
,
29194 _swigt__p_wxSashEvent
,
29195 _swigt__p_wxString
,
29196 _swigt__p_wxPyPrintPreview
,
29197 _swigt__p_wxDirDialog
,
29198 _swigt__p_wxColourDialog
,
29199 _swigt__p_wxDialog
,
29201 _swigt__p_wxFontDialog
,
29202 _swigt__p_wxPageSetupDialog
,
29203 _swigt__p_wxPrintDialog
,
29204 _swigt__p_wxFileSystem
,
29205 _swigt__p_wxBitmap
,
29206 _swigt__unsigned_int
,
29207 _swigt__p_unsigned_int
,
29208 _swigt__p_unsigned_char
,
29209 _swigt__p_wxCommandEvent
,
29210 _swigt__p_wxPreviewControlBar
,
29211 _swigt__p_wxPyPreviewControlBar
,
29212 _swigt__p_wxColour
,
29213 _swigt__p_wxToolBar
,
29214 _swigt__p_wxPageSetupDialogData
,
29215 _swigt__p_wxPrintDialogData
,
29220 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29222 static swig_const_info swig_const_table
[] = {
29223 {0, 0, 0, 0.0, 0, 0}};
29234 /* Python-specific SWIG API */
29235 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29236 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29237 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29239 /* -----------------------------------------------------------------------------
29240 * global variable support code.
29241 * ----------------------------------------------------------------------------- */
29243 typedef struct swig_globalvar
{
29244 char *name
; /* Name of global variable */
29245 PyObject
*(*get_attr
)(); /* Return the current value */
29246 int (*set_attr
)(PyObject
*); /* Set the value */
29247 struct swig_globalvar
*next
;
29250 typedef struct swig_varlinkobject
{
29252 swig_globalvar
*vars
;
29253 } swig_varlinkobject
;
29256 swig_varlink_repr(swig_varlinkobject
*v
) {
29258 return PyString_FromString("<Swig global variables>");
29262 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29263 swig_globalvar
*var
;
29265 fprintf(fp
,"Swig global variables { ");
29266 for (var
= v
->vars
; var
; var
=var
->next
) {
29267 fprintf(fp
,"%s", var
->name
);
29268 if (var
->next
) fprintf(fp
,", ");
29270 fprintf(fp
," }\n");
29275 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29276 swig_globalvar
*var
= v
->vars
;
29278 if (strcmp(var
->name
,n
) == 0) {
29279 return (*var
->get_attr
)();
29283 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29288 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29289 swig_globalvar
*var
= v
->vars
;
29291 if (strcmp(var
->name
,n
) == 0) {
29292 return (*var
->set_attr
)(p
);
29296 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29300 static PyTypeObject varlinktype
= {
29301 PyObject_HEAD_INIT(0)
29302 0, /* Number of items in variable part (ob_size) */
29303 (char *)"swigvarlink", /* Type name (tp_name) */
29304 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29305 0, /* Itemsize (tp_itemsize) */
29306 0, /* Deallocator (tp_dealloc) */
29307 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29308 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29309 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29310 0, /* tp_compare */
29311 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29312 0, /* tp_as_number */
29313 0, /* tp_as_sequence */
29314 0, /* tp_as_mapping */
29318 0, /* tp_getattro */
29319 0, /* tp_setattro */
29320 0, /* tp_as_buffer */
29323 #if PY_VERSION_HEX >= 0x02000000
29324 0, /* tp_traverse */
29327 #if PY_VERSION_HEX >= 0x02010000
29328 0, /* tp_richcompare */
29329 0, /* tp_weaklistoffset */
29331 #if PY_VERSION_HEX >= 0x02020000
29332 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29334 #if PY_VERSION_HEX >= 0x02030000
29337 #ifdef COUNT_ALLOCS
29338 0,0,0,0 /* tp_alloc -> tp_next */
29342 /* Create a variable linking object for use later */
29344 SWIG_Python_newvarlink(void) {
29345 swig_varlinkobject
*result
= 0;
29346 result
= PyMem_NEW(swig_varlinkobject
,1);
29347 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29348 result
->ob_type
= &varlinktype
;
29350 result
->ob_refcnt
= 0;
29351 Py_XINCREF((PyObject
*) result
);
29352 return ((PyObject
*) result
);
29356 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29357 swig_varlinkobject
*v
;
29358 swig_globalvar
*gv
;
29359 v
= (swig_varlinkobject
*) p
;
29360 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29361 gv
->name
= (char *) malloc(strlen(name
)+1);
29362 strcpy(gv
->name
,name
);
29363 gv
->get_attr
= get_attr
;
29364 gv
->set_attr
= set_attr
;
29365 gv
->next
= v
->vars
;
29369 /* -----------------------------------------------------------------------------
29370 * constants/methods manipulation
29371 * ----------------------------------------------------------------------------- */
29373 /* Install Constants */
29375 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29378 for (i
= 0; constants
[i
].type
; i
++) {
29379 switch(constants
[i
].type
) {
29381 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29383 case SWIG_PY_FLOAT
:
29384 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29386 case SWIG_PY_STRING
:
29387 if (constants
[i
].pvalue
) {
29388 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29390 Py_INCREF(Py_None
);
29394 case SWIG_PY_POINTER
:
29395 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29397 case SWIG_PY_BINARY
:
29398 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29405 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29411 /* -----------------------------------------------------------------------------*/
29412 /* Fix SwigMethods to carry the callback ptrs when needed */
29413 /* -----------------------------------------------------------------------------*/
29416 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29417 swig_const_info
*const_table
,
29418 swig_type_info
**types
,
29419 swig_type_info
**types_initial
) {
29421 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29422 char *c
= methods
[i
].ml_doc
;
29423 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29425 swig_const_info
*ci
= 0;
29426 char *name
= c
+ 10;
29427 for (j
= 0; const_table
[j
].type
; j
++) {
29428 if (strncmp(const_table
[j
].name
, name
,
29429 strlen(const_table
[j
].name
)) == 0) {
29430 ci
= &(const_table
[j
]);
29435 size_t shift
= (ci
->ptype
) - types
;
29436 swig_type_info
*ty
= types_initial
[shift
];
29437 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29438 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29439 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29441 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29442 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29444 strncpy(buff
, "swig_ptr: ", 10);
29446 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29447 methods
[i
].ml_doc
= ndoc
;
29453 /* -----------------------------------------------------------------------------*
29454 * Initialize type list
29455 * -----------------------------------------------------------------------------*/
29457 #if PY_MAJOR_VERSION < 2
29458 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29459 is copied out of Python/modsupport.c in python version 2.3.4 */
29461 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29464 if (!PyModule_Check(m
)) {
29465 PyErr_SetString(PyExc_TypeError
,
29466 "PyModule_AddObject() needs module as first arg");
29470 PyErr_SetString(PyExc_TypeError
,
29471 "PyModule_AddObject() needs non-NULL value");
29475 dict
= PyModule_GetDict(m
);
29476 if (dict
== NULL
) {
29477 /* Internal error -- modules must have a dict! */
29478 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29479 PyModule_GetName(m
));
29482 if (PyDict_SetItemString(dict
, name
, o
))
29489 static swig_type_info
**
29490 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29491 static PyMethodDef swig_empty_runtime_method_table
[] = {
29493 NULL
, NULL
, 0, NULL
29497 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29498 swig_empty_runtime_method_table
);
29499 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29500 if (pointer
&& module) {
29501 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29503 return type_list_handle
;
29506 static swig_type_info
**
29507 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29508 swig_type_info
**type_pointer
;
29510 /* first check if module already created */
29511 type_pointer
= SWIG_Python_GetTypeListHandle();
29512 if (type_pointer
) {
29513 return type_pointer
;
29515 /* create a new module and variable */
29516 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29524 /* -----------------------------------------------------------------------------*
29525 * Partial Init method
29526 * -----------------------------------------------------------------------------*/
29528 #ifdef SWIG_LINK_RUNTIME
29532 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29538 SWIGEXPORT(void) SWIG_init(void) {
29539 static PyObject
*SWIG_globals
= 0;
29540 static int typeinit
= 0;
29543 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29545 /* Fix SwigMethods to carry the callback ptrs when needed */
29546 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29548 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29549 d
= PyModule_GetDict(m
);
29552 #ifdef SWIG_LINK_RUNTIME
29553 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29555 # ifndef SWIG_STATIC_RUNTIME
29556 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29559 for (i
= 0; swig_types_initial
[i
]; i
++) {
29560 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29564 SWIG_InstallConstants(d
,swig_const_table
);
29566 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29567 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29568 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29569 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29570 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29572 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29575 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29578 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29581 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29584 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29587 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29590 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29593 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29596 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29599 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29602 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29605 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29608 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29611 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29614 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29617 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29620 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29623 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29626 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29629 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29632 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29635 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29638 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29641 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29644 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29647 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29650 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29653 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29656 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29659 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29662 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29665 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29668 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29671 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29674 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29677 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29680 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29683 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29686 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29689 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29692 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29695 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29698 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29700 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29702 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29705 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29708 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29711 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29714 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29717 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29720 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29723 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29726 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
29729 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
29732 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
29735 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
29738 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
29741 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
29743 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
29744 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
29745 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
29746 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
29747 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
29748 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
29750 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
29753 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
29756 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
29759 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
29762 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
29765 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
29768 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
29771 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
29774 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
29777 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
29780 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
29783 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
29786 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
29789 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
29792 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
29794 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
29796 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
29799 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
29802 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
29805 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
29808 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
29811 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
29814 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
29817 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
29820 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
29823 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
29826 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
29828 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
29829 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
29830 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
29832 // Map renamed classes back to their common name for OOR
29833 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
29834 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
29835 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
29837 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
29838 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
29839 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
29840 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
29841 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
29842 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
29843 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
29844 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29845 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29846 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
29847 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29848 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
29849 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
29851 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
29854 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
29856 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
29858 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
29861 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
29864 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
29867 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
29870 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
29873 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
29876 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
29878 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
29879 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
29880 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
29881 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
29882 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
29884 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
29887 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
29890 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
29893 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
29896 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
29899 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
29902 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
29905 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
29907 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
29908 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
29910 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
29913 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
29916 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
29919 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
29922 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
29925 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
29928 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
29931 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
29934 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
29937 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
29940 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
29943 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
29946 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
29949 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
29952 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
29955 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
29958 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
29961 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
29964 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
29967 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
29970 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
29973 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
29976 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
29979 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
29982 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
29985 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
29988 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
29991 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
29994 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
29997 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30000 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30003 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30006 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30009 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30012 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30015 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30018 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30021 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30024 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30027 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");