1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxFontData swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxPrintData swig_types[7]
1349 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1352 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357 #define SWIGTYPE_p_wxRegion swig_types[16]
1358 #define SWIGTYPE_ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367 #define SWIGTYPE_p_wxColourData swig_types[26]
1368 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1370 #define SWIGTYPE_p_form_ops_t swig_types[29]
1371 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1376 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380 #define SWIGTYPE_p_wxPrinter swig_types[39]
1381 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1382 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387 #define SWIGTYPE_p_wxRect swig_types[46]
1388 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389 #define SWIGTYPE_p_char swig_types[48]
1390 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391 #define SWIGTYPE_p_wxFrame swig_types[50]
1392 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1396 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1397 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398 #define SWIGTYPE_p_wxPoint swig_types[57]
1399 #define SWIGTYPE_p_wxObject swig_types[58]
1400 #define SWIGTYPE_p_unsigned_long swig_types[59]
1401 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1402 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1404 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1405 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1407 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1409 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410 #define SWIGTYPE_p_wxWindow swig_types[69]
1411 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1413 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1420 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1421 #define SWIGTYPE_p_wxDialog swig_types[80]
1422 #define SWIGTYPE_p_wxPanel swig_types[81]
1423 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1427 #define SWIGTYPE_p_wxBitmap swig_types[86]
1428 #define SWIGTYPE_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_int swig_types[88]
1430 #define SWIGTYPE_p_unsigned_char swig_types[89]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxToolBar swig_types[94]
1436 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438 static swig_type_info
*swig_types
[98];
1440 /* -------- TYPES TABLE (END) -------- */
1443 /*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_windows_
1448 #define SWIG_name "_windows_"
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyEmptyString(wxEmptyString
);
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1463 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1466 if (value
< min_value
) {
1468 PyErr_Format(PyExc_OverflowError
,
1469 "value %ld is less than '%s' minimum %ld",
1470 value
, errmsg
, min_value
);
1473 } else if (value
> max_value
) {
1475 PyErr_Format(PyExc_OverflowError
,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value
, errmsg
, max_value
);
1486 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1488 if (PyNumber_Check(obj
)) {
1489 if (val
) *val
= PyInt_AsLong(obj
);
1493 SWIG_type_error("number", obj
);
1499 #if INT_MAX != LONG_MAX
1501 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1503 const char* errmsg
= val
? "int" : (char*)0;
1505 if (SWIG_AsVal_long(obj
, &v
)) {
1506 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1507 if (val
) *val
= (int)(v
);
1516 SWIG_type_error(errmsg
, obj
);
1522 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1524 return SWIG_AsVal_long(obj
,(long*)val
);
1530 SWIG_As_int(PyObject
* obj
)
1533 if (!SWIG_AsVal_int(obj
, &v
)) {
1535 this is needed to make valgrind/purify happier.
1537 memset((void*)&v
, 0, sizeof(int));
1543 SWIGINTERNSHORT
long
1544 SWIG_As_long(PyObject
* obj
)
1547 if (!SWIG_AsVal_long(obj
, &v
)) {
1549 this is needed to make valgrind/purify happier.
1551 memset((void*)&v
, 0, sizeof(long));
1558 SWIG_Check_int(PyObject
* obj
)
1560 return SWIG_AsVal_int(obj
, (int*)0);
1565 SWIG_Check_long(PyObject
* obj
)
1567 return SWIG_AsVal_long(obj
, (long*)0);
1572 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1574 if (obj
== Py_True
) {
1575 if (val
) *val
= true;
1578 if (obj
== Py_False
) {
1579 if (val
) *val
= false;
1583 if (SWIG_AsVal_int(obj
, &res
)) {
1584 if (val
) *val
= res
? true : false;
1590 SWIG_type_error("bool", obj
);
1596 SWIGINTERNSHORT
bool
1597 SWIG_As_bool(PyObject
* obj
)
1600 if (!SWIG_AsVal_bool(obj
, &v
)) {
1602 this is needed to make valgrind/purify happier.
1604 memset((void*)&v
, 0, sizeof(bool));
1611 SWIG_Check_bool(PyObject
* obj
)
1613 return SWIG_AsVal_bool(obj
, (bool*)0);
1617 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1618 #define SWIG_From_int PyInt_FromLong
1622 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1628 } else if (target
== Py_None
) {
1632 if (!PyTuple_Check(target
)) {
1634 target
= PyTuple_New(1);
1635 PyTuple_SetItem(target
, 0, o2
);
1637 o3
= PyTuple_New(1);
1638 PyTuple_SetItem(o3
, 0, o
);
1641 target
= PySequence_Concat(o2
, o3
);
1651 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1653 if (PyNumber_Check(obj
)) {
1654 if (val
) *val
= PyFloat_AsDouble(obj
);
1658 SWIG_type_error("number", obj
);
1664 SWIGINTERNSHORT
double
1665 SWIG_As_double(PyObject
* obj
)
1668 if (!SWIG_AsVal_double(obj
, &v
)) {
1670 this is needed to make valgrind/purify happier.
1672 memset((void*)&v
, 0, sizeof(double));
1679 SWIG_Check_double(PyObject
* obj
)
1681 return SWIG_AsVal_double(obj
, (double*)0);
1685 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1686 #define SWIG_From_double PyFloat_FromDouble
1689 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1690 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1691 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1692 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1693 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1694 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1696 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1697 #define SWIG_From_long PyInt_FromLong
1702 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1704 self
->GetFieldRect(i
, r
);
1707 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1708 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1709 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1711 #include <wx/popupwin.h>
1714 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1717 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1718 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1719 : wxPopupTransientWindow(parent
, style
) {}
1721 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1722 DEC_PYCALLBACK__(OnDismiss
);
1723 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1728 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1729 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1730 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1733 #include <wx/tipwin.h>
1735 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1736 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1739 #include <wx/tipwin.h>
1742 #include <wx/vscroll.h>
1745 class wxPyVScrolledWindow
: public wxVScrolledWindow
1747 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1749 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1751 wxPyVScrolledWindow(wxWindow
*parent
,
1752 wxWindowID id
= wxID_ANY
,
1753 const wxPoint
& pos
= wxDefaultPosition
,
1754 const wxSize
& size
= wxDefaultSize
,
1756 const wxString
& name
= wxPyPanelNameStr
)
1757 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1760 // Overridable virtuals
1762 // this function must be overridden in the derived class and it should
1763 // return the height of the given line in pixels
1764 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1767 // this function doesn't have to be overridden but it may be useful to do
1768 // it if calculating the lines heights is a relatively expensive operation
1769 // as it gives the user code a possibility to calculate several of them at
1772 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1773 // shouldn't rely on the latter being called for all lines in the interval
1774 // specified here. It is also possible that OnGetLineHeight() will be
1775 // called for the lines outside of this interval, so this is really just a
1776 // hint, not a promise.
1778 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1780 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1783 // when the number of lines changes, we try to estimate the total height
1784 // of all lines which is a rather expensive operation in terms of lines
1785 // access, so if the user code may estimate the average height
1786 // better/faster than we do, it should override this function to implement
1789 // this function should return the best guess for the total height it may
1791 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1794 // Also expose some other interesting protected methods
1797 // find the index of the line we need to show at the top of the window such
1798 // that the last (fully or partially) visible line is the given one
1799 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1800 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1802 // get the total height of the lines between lineMin (inclusive) and
1803 // lineMax (exclusive)
1804 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1805 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1811 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1813 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1814 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1815 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1819 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1822 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1823 SWIG_type_error("unsigned number", obj
);
1826 *val
= (unsigned long)v
;
1831 SWIGINTERNSHORT
unsigned long
1832 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1835 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1837 this is needed to make valgrind/purify happier.
1839 memset((void*)&v
, 0, sizeof(unsigned long));
1846 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1848 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1852 SWIGINTERNSHORT PyObject
*
1853 SWIG_From_unsigned_SS_long(unsigned long value
)
1855 return (value
> LONG_MAX
) ?
1856 PyLong_FromUnsignedLong(value
)
1857 : PyInt_FromLong((long)(value
));
1861 #include <wx/vlbox.h>
1863 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1865 class wxPyVListBox
: public wxVListBox
1867 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1869 wxPyVListBox() : wxVListBox() {}
1871 wxPyVListBox(wxWindow
*parent
,
1872 wxWindowID id
= wxID_ANY
,
1873 const wxPoint
& pos
= wxDefaultPosition
,
1874 const wxSize
& size
= wxDefaultSize
,
1876 const wxString
& name
= wxPyVListBoxNameStr
)
1877 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1880 // Overridable virtuals
1882 // the derived class must implement this function to actually draw the item
1883 // with the given index on the provided DC
1884 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1885 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1888 // the derived class must implement this method to return the height of the
1890 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1894 // this method may be used to draw separators between the lines; note that
1895 // the rectangle may be modified, typically to deflate it a bit before
1896 // passing to OnDrawItem()
1898 // the base class version doesn't do anything
1899 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1900 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1903 // this method is used to draw the items background and, maybe, a border
1906 // the base class version implements a reasonable default behaviour which
1907 // consists in drawing the selected item with the standard background
1908 // colour and drawing a border around the item if it is either selected or
1910 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1911 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1917 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1919 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1920 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1921 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1922 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1925 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1926 unsigned long cookie
= 0;
1927 int selected
= self
->GetFirstSelected(cookie
);
1928 bool blocked
= wxPyBeginBlockThreads();
1929 PyObject
* tup
= PyTuple_New(2);
1930 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1931 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1932 wxPyEndBlockThreads(blocked
);
1935 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1936 int selected
= self
->GetNextSelected(cookie
);
1937 bool blocked
= wxPyBeginBlockThreads();
1938 PyObject
* tup
= PyTuple_New(2);
1939 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1940 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1941 wxPyEndBlockThreads(blocked
);
1945 #include <wx/htmllbox.h>
1948 class wxPyHtmlListBox
: public wxHtmlListBox
1950 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1952 wxPyHtmlListBox() : wxHtmlListBox() {}
1954 wxPyHtmlListBox(wxWindow
*parent
,
1955 wxWindowID id
= wxID_ANY
,
1956 const wxPoint
& pos
= wxDefaultPosition
,
1957 const wxSize
& size
= wxDefaultSize
,
1959 const wxString
& name
= wxPyVListBoxNameStr
)
1960 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1963 // Overridable virtuals
1965 // this method must be implemented in the derived class and should return
1966 // the body (i.e. without <html>) of the HTML for the given item
1967 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1969 // this function may be overridden to decorate HTML returned by OnGetItem()
1970 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1973 // // this method allows to customize the selection appearance: it may be used
1974 // // to specify the colour of the text which normally has the given colour
1975 // // colFg when it is inside the selection
1977 // // by default, the original colour is not used at all and all text has the
1978 // // same (default for this system) colour inside selection
1979 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1981 // // this is the same as GetSelectedTextColour() but allows to customize the
1982 // // background colour -- this is even more rarely used as you can change it
1983 // // globally using SetSelectionBackground()
1984 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1991 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1993 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1994 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2000 #ifndef wxHAS_TASK_BAR_ICON
2001 // implement dummy classes for platforms that don't have it
2003 class wxTaskBarIcon
: public wxEvtHandler
2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2010 class wxTaskBarIconEvent
: public wxEvent
2013 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2014 { wxPyRaiseNotImplemented(); }
2015 virtual wxEvent
* Clone() const { return NULL
; }
2016 bool IsOk() const { return false; }
2017 bool IsIconInstalled() const { return false; }
2018 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2019 bool RemoveIcon() { return false; }
2020 bool PopupMenu(wxMenu
*menu
) { return false; }
2024 wxEVT_TASKBAR_MOVE
= 0,
2025 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2026 wxEVT_TASKBAR_LEFT_UP
= 0,
2027 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2028 wxEVT_TASKBAR_RIGHT_UP
= 0,
2029 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2030 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2035 // Otherwise make a class that can virtualize CreatePopupMenu
2036 class wxPyTaskBarIcon
: public wxTaskBarIcon
2038 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2040 wxPyTaskBarIcon() : wxTaskBarIcon()
2043 wxMenu
* CreatePopupMenu() {
2044 wxMenu
*rval
= NULL
;
2046 bool blocked
= wxPyBeginBlockThreads();
2047 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2050 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2052 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2057 wxPyEndBlockThreads(blocked
);
2059 rval
= wxTaskBarIcon::CreatePopupMenu();
2066 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2070 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2074 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2075 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2076 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2077 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2078 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2079 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2080 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2082 self
->GetFilenames(arr
);
2083 return wxArrayString2PyList_helper(arr
);
2085 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2087 self
->GetPaths(arr
);
2088 return wxArrayString2PyList_helper(arr
);
2090 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2091 return wxArrayInt2PyList_helper(self
->GetSelections());
2093 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
2094 return new wxSingleChoiceDialog(parent
, message
, caption
,
2095 choices
, choices_array
, NULL
, style
, pos
);
2097 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2101 // C++ version of Python aware wxWindow
2102 class wxPyWindow
: public wxWindow
2104 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2106 wxPyWindow() : wxWindow() {}
2107 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2108 const wxPoint
& pos
= wxDefaultPosition
,
2109 const wxSize
& size
= wxDefaultSize
,
2111 const wxString
& name
= wxPyPanelNameStr
)
2112 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2114 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2116 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2117 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2125 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2126 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2128 DEC_PYCALLBACK__(InitDialog
);
2129 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2130 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2131 DEC_PYCALLBACK_BOOL_(Validate
);
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2135 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2137 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2141 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2144 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2149 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2151 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2152 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2153 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2154 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2160 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2161 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2163 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2164 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2165 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2166 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2169 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2170 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2175 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2176 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2177 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2179 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2181 // C++ version of Python aware wxPanel
2182 class wxPyPanel
: public wxPanel
2184 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2186 wxPyPanel() : wxPanel() {}
2187 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2188 const wxPoint
& pos
= wxDefaultPosition
,
2189 const wxSize
& size
= wxDefaultSize
,
2191 const wxString
& name
= wxPyPanelNameStr
)
2192 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2194 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2197 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2198 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2199 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2200 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2203 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2204 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2206 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2207 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2209 DEC_PYCALLBACK__(InitDialog
);
2210 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2211 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2212 DEC_PYCALLBACK_BOOL_(Validate
);
2214 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2215 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2216 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2218 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2219 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2221 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2222 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2223 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2225 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2230 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2232 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2233 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2234 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2235 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2237 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2238 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2239 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2241 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2242 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2244 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2245 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2246 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2247 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2250 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2251 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2253 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2254 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2256 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2257 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2258 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2260 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2262 // C++ version of Python aware wxScrolledWindow
2263 class wxPyScrolledWindow
: public wxScrolledWindow
2265 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2267 wxPyScrolledWindow() : wxScrolledWindow() {}
2268 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2269 const wxPoint
& pos
= wxDefaultPosition
,
2270 const wxSize
& size
= wxDefaultSize
,
2272 const wxString
& name
= wxPyPanelNameStr
)
2273 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2275 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2278 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2289 DEC_PYCALLBACK__(InitDialog
);
2290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2292 DEC_PYCALLBACK_BOOL_(Validate
);
2294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2296 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2302 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2310 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2312 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2313 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2314 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2315 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2317 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2321 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2322 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2324 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2325 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2326 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2327 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2330 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2331 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2333 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2336 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2337 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2338 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2340 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2343 #include "wx/wxPython/printfw.h"
2346 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2347 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2350 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2352 // Since this one would be tough and ugly to do with the Macros...
2353 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2354 bool hadErr
= false;
2357 bool blocked
= wxPyBeginBlockThreads();
2358 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2359 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2360 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2363 val
= PyTuple_GetItem(result
, 0);
2364 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2367 val
= PyTuple_GetItem(result
, 1);
2368 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2371 val
= PyTuple_GetItem(result
, 2);
2372 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2375 val
= PyTuple_GetItem(result
, 3);
2376 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2383 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2388 wxPyEndBlockThreads(blocked
);
2390 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2393 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2394 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2398 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2399 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2400 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2401 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2402 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2403 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2404 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2410 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2411 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2412 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2415 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2416 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2419 bool blocked = wxPyBeginBlockThreads(); \
2420 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2421 PyObject* win = wxPyMake_wxObject(a,false); \
2422 PyObject* dc = wxPyMake_wxObject(&b,false); \
2423 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2427 wxPyEndBlockThreads(blocked); \
2429 rval = PCLASS::CBNAME(a, b); \
2432 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2433 return PCLASS::CBNAME(a, b); \
2439 class wxPyPrintPreview
: public wxPrintPreview
2441 DECLARE_CLASS(wxPyPrintPreview
)
2443 wxPyPrintPreview(wxPyPrintout
* printout
,
2444 wxPyPrintout
* printoutForPrinting
,
2445 wxPrintDialogData
* data
=NULL
)
2446 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2448 wxPyPrintPreview(wxPyPrintout
* printout
,
2449 wxPyPrintout
* printoutForPrinting
,
2450 wxPrintData
* data
=NULL
)
2451 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2454 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2455 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2456 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2457 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2458 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2459 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2460 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2465 // Stupid renamed classes... Fix this in 2.5...
2466 #if defined(__WXMSW__)
2467 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2468 #elif defined(__WXMAC__)
2469 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2471 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2474 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2475 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2476 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2477 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2478 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2479 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2480 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2483 class wxPyPreviewFrame
: public wxPreviewFrame
2485 DECLARE_CLASS(wxPyPreviewFrame
);
2487 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2488 const wxString
& title
,
2489 const wxPoint
& pos
= wxDefaultPosition
,
2490 const wxSize
& size
= wxDefaultSize
,
2491 long style
= wxDEFAULT_FRAME_STYLE
,
2492 const wxString
& name
= wxPyFrameNameStr
)
2493 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2496 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2497 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2499 DEC_PYCALLBACK_VOID_(Initialize
);
2500 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2501 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2506 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2508 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2509 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2510 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2513 class wxPyPreviewControlBar
: public wxPreviewControlBar
2515 DECLARE_CLASS(wxPyPreviewControlBar
);
2517 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2520 const wxPoint
& pos
= wxDefaultPosition
,
2521 const wxSize
& size
= wxDefaultSize
,
2523 const wxString
& name
= wxPyPanelNameStr
)
2524 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2527 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2529 DEC_PYCALLBACK_VOID_(CreateButtons
);
2530 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2535 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2536 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2537 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2542 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
*resultobj
;
2544 wxWindow
*arg1
= (wxWindow
*) 0 ;
2545 int arg2
= (int) (int)-1 ;
2546 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2547 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2548 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2549 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2550 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2551 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2552 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2556 bool temp6
= false ;
2557 PyObject
* obj0
= 0 ;
2558 PyObject
* obj1
= 0 ;
2559 PyObject
* obj2
= 0 ;
2560 PyObject
* obj3
= 0 ;
2561 PyObject
* obj4
= 0 ;
2562 PyObject
* obj5
= 0 ;
2564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2569 if (SWIG_arg_fail(1)) SWIG_fail
;
2572 arg2
= (int const)(SWIG_As_int(obj1
));
2573 if (SWIG_arg_fail(2)) SWIG_fail
;
2579 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2585 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2590 arg5
= (long)(SWIG_As_long(obj4
));
2591 if (SWIG_arg_fail(5)) SWIG_fail
;
2596 arg6
= wxString_in_helper(obj5
);
2597 if (arg6
== NULL
) SWIG_fail
;
2602 if (!wxPyCheckForApp()) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2624 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2633 if (!wxPyCheckForApp()) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 result
= (wxPanel
*)new wxPanel();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2647 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxPanel
*arg1
= (wxPanel
*) 0 ;
2650 wxWindow
*arg2
= (wxWindow
*) 0 ;
2651 int arg3
= (int) (int)-1 ;
2652 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2653 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2654 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2655 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2656 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2657 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2658 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2662 bool temp7
= false ;
2663 PyObject
* obj0
= 0 ;
2664 PyObject
* obj1
= 0 ;
2665 PyObject
* obj2
= 0 ;
2666 PyObject
* obj3
= 0 ;
2667 PyObject
* obj4
= 0 ;
2668 PyObject
* obj5
= 0 ;
2669 PyObject
* obj6
= 0 ;
2671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2676 if (SWIG_arg_fail(1)) SWIG_fail
;
2677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2678 if (SWIG_arg_fail(2)) SWIG_fail
;
2681 arg3
= (int const)(SWIG_As_int(obj2
));
2682 if (SWIG_arg_fail(3)) SWIG_fail
;
2688 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2694 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2699 arg6
= (long)(SWIG_As_long(obj5
));
2700 if (SWIG_arg_fail(6)) SWIG_fail
;
2705 arg7
= wxString_in_helper(obj6
);
2706 if (arg7
== NULL
) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2734 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxPanel
*arg1
= (wxPanel
*) 0 ;
2737 PyObject
* obj0
= 0 ;
2739 (char *) "self", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2744 if (SWIG_arg_fail(1)) SWIG_fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 (arg1
)->InitDialog();
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2752 Py_INCREF(Py_None
); resultobj
= Py_None
;
2759 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxPanel
*arg1
= (wxPanel
*) 0 ;
2762 PyObject
* obj0
= 0 ;
2764 (char *) "self", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2769 if (SWIG_arg_fail(1)) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxPanel
*arg1
= (wxPanel
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "self", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 (arg1
)->SetFocusIgnoringChildren();
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 Py_INCREF(Py_None
); resultobj
= Py_None
;
2809 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2812 wxVisualAttributes result
;
2813 PyObject
* obj0
= 0 ;
2815 (char *) "variant", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2821 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2822 if (SWIG_arg_fail(1)) SWIG_fail
;
2826 if (!wxPyCheckForApp()) SWIG_fail
;
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2834 wxVisualAttributes
* resultptr
;
2835 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2844 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2847 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2849 return Py_BuildValue((char *)"");
2851 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2853 wxWindow
*arg1
= (wxWindow
*) 0 ;
2854 int arg2
= (int) (int)-1 ;
2855 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2856 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2857 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2858 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2859 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2860 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2861 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2862 wxScrolledWindow
*result
;
2865 bool temp6
= false ;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2868 PyObject
* obj2
= 0 ;
2869 PyObject
* obj3
= 0 ;
2870 PyObject
* obj4
= 0 ;
2871 PyObject
* obj5
= 0 ;
2873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail
;
2881 arg2
= (int const)(SWIG_As_int(obj1
));
2882 if (SWIG_arg_fail(2)) SWIG_fail
;
2888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2894 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2899 arg5
= (long)(SWIG_As_long(obj4
));
2900 if (SWIG_arg_fail(5)) SWIG_fail
;
2905 arg6
= wxString_in_helper(obj5
);
2906 if (arg6
== NULL
) SWIG_fail
;
2911 if (!wxPyCheckForApp()) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2933 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 wxScrolledWindow
*result
;
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2942 if (!wxPyCheckForApp()) SWIG_fail
;
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2956 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
*resultobj
;
2958 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2959 wxWindow
*arg2
= (wxWindow
*) 0 ;
2960 int arg3
= (int) (int)-1 ;
2961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2965 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2966 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2971 bool temp7
= false ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2974 PyObject
* obj2
= 0 ;
2975 PyObject
* obj3
= 0 ;
2976 PyObject
* obj4
= 0 ;
2977 PyObject
* obj5
= 0 ;
2978 PyObject
* obj6
= 0 ;
2980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2985 if (SWIG_arg_fail(1)) SWIG_fail
;
2986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail
;
2990 arg3
= (int const)(SWIG_As_int(obj2
));
2991 if (SWIG_arg_fail(3)) SWIG_fail
;
2997 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3003 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3008 arg6
= (long)(SWIG_As_long(obj5
));
3009 if (SWIG_arg_fail(6)) SWIG_fail
;
3014 arg7
= wxString_in_helper(obj6
);
3015 if (arg7
== NULL
) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3043 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3050 int arg6
= (int) 0 ;
3051 int arg7
= (int) 0 ;
3052 bool arg8
= (bool) false ;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3055 PyObject
* obj2
= 0 ;
3056 PyObject
* obj3
= 0 ;
3057 PyObject
* obj4
= 0 ;
3058 PyObject
* obj5
= 0 ;
3059 PyObject
* obj6
= 0 ;
3060 PyObject
* obj7
= 0 ;
3062 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3067 if (SWIG_arg_fail(1)) SWIG_fail
;
3069 arg2
= (int)(SWIG_As_int(obj1
));
3070 if (SWIG_arg_fail(2)) SWIG_fail
;
3073 arg3
= (int)(SWIG_As_int(obj2
));
3074 if (SWIG_arg_fail(3)) SWIG_fail
;
3077 arg4
= (int)(SWIG_As_int(obj3
));
3078 if (SWIG_arg_fail(4)) SWIG_fail
;
3081 arg5
= (int)(SWIG_As_int(obj4
));
3082 if (SWIG_arg_fail(5)) SWIG_fail
;
3086 arg6
= (int)(SWIG_As_int(obj5
));
3087 if (SWIG_arg_fail(6)) SWIG_fail
;
3092 arg7
= (int)(SWIG_As_int(obj6
));
3093 if (SWIG_arg_fail(7)) SWIG_fail
;
3098 arg8
= (bool)(SWIG_As_bool(obj7
));
3099 if (SWIG_arg_fail(8)) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 Py_INCREF(Py_None
); resultobj
= Py_None
;
3116 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3123 PyObject
* obj2
= 0 ;
3125 (char *) "self",(char *) "x",(char *) "y", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3130 if (SWIG_arg_fail(1)) SWIG_fail
;
3132 arg2
= (int)(SWIG_As_int(obj1
));
3133 if (SWIG_arg_fail(2)) SWIG_fail
;
3136 arg3
= (int)(SWIG_As_int(obj2
));
3137 if (SWIG_arg_fail(3)) SWIG_fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 (arg1
)->Scroll(arg2
,arg3
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 Py_INCREF(Py_None
); resultobj
= Py_None
;
3153 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3158 PyObject
* obj0
= 0 ;
3159 PyObject
* obj1
= 0 ;
3161 (char *) "self",(char *) "orient", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3166 if (SWIG_arg_fail(1)) SWIG_fail
;
3168 arg2
= (int)(SWIG_As_int(obj1
));
3169 if (SWIG_arg_fail(2)) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= SWIG_From_int((int)(result
));
3187 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
;
3189 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3192 PyObject
* obj0
= 0 ;
3193 PyObject
* obj1
= 0 ;
3194 PyObject
* obj2
= 0 ;
3196 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail
;
3203 arg2
= (int)(SWIG_As_int(obj1
));
3204 if (SWIG_arg_fail(2)) SWIG_fail
;
3207 arg3
= (int)(SWIG_As_int(obj2
));
3208 if (SWIG_arg_fail(3)) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 Py_INCREF(Py_None
); resultobj
= Py_None
;
3224 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3229 PyObject
* obj0
= 0 ;
3230 PyObject
* obj1
= 0 ;
3231 PyObject
* obj2
= 0 ;
3233 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail
;
3240 arg2
= (int)(SWIG_As_int(obj1
));
3241 if (SWIG_arg_fail(2)) SWIG_fail
;
3244 arg3
= (int)(SWIG_As_int(obj2
));
3245 if (SWIG_arg_fail(3)) SWIG_fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 (arg1
)->SetScrollRate(arg2
,arg3
);
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 Py_INCREF(Py_None
); resultobj
= Py_None
;
3261 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3264 int *arg2
= (int *) 0 ;
3265 int *arg3
= (int *) 0 ;
3270 PyObject
* obj0
= 0 ;
3272 (char *) "self", NULL
3275 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3276 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 Py_INCREF(Py_None
); resultobj
= Py_None
;
3288 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3289 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3290 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3291 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3298 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3303 PyObject
* obj0
= 0 ;
3304 PyObject
* obj1
= 0 ;
3305 PyObject
* obj2
= 0 ;
3307 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail
;
3314 arg2
= (bool)(SWIG_As_bool(obj1
));
3315 if (SWIG_arg_fail(2)) SWIG_fail
;
3318 arg3
= (bool)(SWIG_As_bool(obj2
));
3319 if (SWIG_arg_fail(3)) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 (arg1
)->EnableScrolling(arg2
,arg3
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 Py_INCREF(Py_None
); resultobj
= Py_None
;
3335 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3338 int *arg2
= (int *) 0 ;
3339 int *arg3
= (int *) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self", NULL
3349 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3350 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3362 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3363 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3364 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3365 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3372 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3379 PyObject
* obj2
= 0 ;
3381 (char *) "self",(char *) "xs",(char *) "ys", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3386 if (SWIG_arg_fail(1)) SWIG_fail
;
3388 arg2
= (double)(SWIG_As_double(obj1
));
3389 if (SWIG_arg_fail(2)) SWIG_fail
;
3392 arg3
= (double)(SWIG_As_double(obj2
));
3393 if (SWIG_arg_fail(3)) SWIG_fail
;
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 (arg1
)->SetScale(arg2
,arg3
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3402 Py_INCREF(Py_None
); resultobj
= Py_None
;
3409 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3411 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3413 PyObject
* obj0
= 0 ;
3415 (char *) "self", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= SWIG_From_double((double)(result
));
3437 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3441 PyObject
* obj0
= 0 ;
3443 (char *) "self", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3448 if (SWIG_arg_fail(1)) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= SWIG_From_double((double)(result
));
3465 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3466 PyObject
*resultobj
;
3467 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3474 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3476 if (SWIG_arg_fail(1)) SWIG_fail
;
3479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3489 wxPoint
* resultptr
;
3490 resultptr
= new wxPoint((wxPoint
&)(result
));
3491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3499 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3500 PyObject
*resultobj
;
3501 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3504 int *arg4
= (int *) 0 ;
3505 int *arg5
= (int *) 0 ;
3510 PyObject
* obj0
= 0 ;
3511 PyObject
* obj1
= 0 ;
3512 PyObject
* obj2
= 0 ;
3514 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3515 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3516 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3518 if (SWIG_arg_fail(1)) SWIG_fail
;
3520 arg2
= (int)(SWIG_As_int(obj1
));
3521 if (SWIG_arg_fail(2)) SWIG_fail
;
3524 arg3
= (int)(SWIG_As_int(obj2
));
3525 if (SWIG_arg_fail(3)) SWIG_fail
;
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3534 Py_INCREF(Py_None
); resultobj
= Py_None
;
3535 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3536 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3537 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3538 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3545 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3550 argc
= PyObject_Length(args
);
3551 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3552 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3558 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3567 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3570 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3578 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3586 _v
= SWIG_Check_int(argv
[1]);
3588 _v
= SWIG_Check_int(argv
[2]);
3590 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3596 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3601 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3602 PyObject
*resultobj
;
3603 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3607 PyObject
* obj0
= 0 ;
3608 PyObject
* obj1
= 0 ;
3610 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 wxPoint
* resultptr
;
3626 resultptr
= new wxPoint((wxPoint
&)(result
));
3627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3635 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3636 PyObject
*resultobj
;
3637 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3640 int *arg4
= (int *) 0 ;
3641 int *arg5
= (int *) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3648 PyObject
* obj2
= 0 ;
3650 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3651 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3652 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail
;
3656 arg2
= (int)(SWIG_As_int(obj1
));
3657 if (SWIG_arg_fail(2)) SWIG_fail
;
3660 arg3
= (int)(SWIG_As_int(obj2
));
3661 if (SWIG_arg_fail(3)) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3672 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3673 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3674 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3681 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3686 argc
= PyObject_Length(args
);
3687 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3688 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3694 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3703 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3706 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3714 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3722 _v
= SWIG_Check_int(argv
[1]);
3724 _v
= SWIG_Check_int(argv
[2]);
3726 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3732 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3737 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3742 (char *) "self", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->AdjustScrollbars();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 Py_INCREF(Py_None
); resultobj
= Py_None
;
3762 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3765 wxScrollWinEvent
*arg2
= 0 ;
3767 PyObject
* obj0
= 0 ;
3768 PyObject
* obj1
= 0 ;
3770 (char *) "self",(char *) "event", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail
;
3777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3778 if (SWIG_arg_fail(2)) SWIG_fail
;
3780 SWIG_null_ref("wxScrollWinEvent");
3782 if (SWIG_arg_fail(2)) SWIG_fail
;
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= SWIG_From_int((int)(result
));
3800 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3803 wxWindow
*arg2
= (wxWindow
*) 0 ;
3804 PyObject
* obj0
= 0 ;
3805 PyObject
* obj1
= 0 ;
3807 (char *) "self",(char *) "target", NULL
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3812 if (SWIG_arg_fail(1)) SWIG_fail
;
3813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3814 if (SWIG_arg_fail(2)) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 (arg1
)->SetTargetWindow(arg2
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 Py_INCREF(Py_None
); resultobj
= Py_None
;
3829 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
;
3831 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3833 PyObject
* obj0
= 0 ;
3835 (char *) "self", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3840 if (SWIG_arg_fail(1)) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= wxPyMake_wxObject(result
, 0);
3857 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3862 PyObject
* obj1
= 0 ;
3864 (char *) "self",(char *) "dc", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail
;
3871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3872 if (SWIG_arg_fail(2)) SWIG_fail
;
3874 SWIG_null_ref("wxDC");
3876 if (SWIG_arg_fail(2)) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 (arg1
)->DoPrepareDC(*arg2
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3892 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3895 wxVisualAttributes result
;
3896 PyObject
* obj0
= 0 ;
3898 (char *) "variant", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3904 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3905 if (SWIG_arg_fail(1)) SWIG_fail
;
3909 if (!wxPyCheckForApp()) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3917 wxVisualAttributes
* resultptr
;
3918 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3927 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
3932 return Py_BuildValue((char *)"");
3934 static int _wrap_FrameNameStr_set(PyObject
*) {
3935 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
3940 static PyObject
*_wrap_FrameNameStr_get(void) {
3945 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3947 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3954 static int _wrap_DialogNameStr_set(PyObject
*) {
3955 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
3960 static PyObject
*_wrap_DialogNameStr_get(void) {
3965 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
3967 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
3974 static int _wrap_StatusLineNameStr_set(PyObject
*) {
3975 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
3980 static PyObject
*_wrap_StatusLineNameStr_get(void) {
3985 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
3987 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
3994 static int _wrap_ToolBarNameStr_set(PyObject
*) {
3995 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4000 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4005 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4007 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4014 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4016 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4017 bool arg2
= (bool) true ;
4018 PyObject
* obj0
= 0 ;
4019 PyObject
* obj1
= 0 ;
4021 (char *) "self",(char *) "maximize", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4026 if (SWIG_arg_fail(1)) SWIG_fail
;
4029 arg2
= (bool)(SWIG_As_bool(obj1
));
4030 if (SWIG_arg_fail(2)) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 (arg1
)->Maximize(arg2
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 Py_INCREF(Py_None
); resultobj
= Py_None
;
4047 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4052 (char *) "self", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 Py_INCREF(Py_None
); resultobj
= Py_None
;
4072 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4075 bool arg2
= (bool) true ;
4076 PyObject
* obj0
= 0 ;
4077 PyObject
* obj1
= 0 ;
4079 (char *) "self",(char *) "iconize", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail
;
4087 arg2
= (bool)(SWIG_As_bool(obj1
));
4088 if (SWIG_arg_fail(2)) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 (arg1
)->Iconize(arg2
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 Py_INCREF(Py_None
); resultobj
= Py_None
;
4105 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4111 (char *) "self", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4116 if (SWIG_arg_fail(1)) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4133 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4144 if (SWIG_arg_fail(1)) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4161 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "self", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4172 if (SWIG_arg_fail(1)) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4182 resultptr
= new wxIcon((wxIcon
&)(result
));
4183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4191 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4198 (char *) "self",(char *) "icon", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4203 if (SWIG_arg_fail(1)) SWIG_fail
;
4205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4206 if (SWIG_arg_fail(2)) SWIG_fail
;
4208 SWIG_null_ref("wxIcon");
4210 if (SWIG_arg_fail(2)) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 Py_INCREF(Py_None
); resultobj
= Py_None
;
4226 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
;
4228 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4229 wxIconBundle
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4233 (char *) "self",(char *) "icons", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4238 if (SWIG_arg_fail(1)) SWIG_fail
;
4240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4241 if (SWIG_arg_fail(2)) SWIG_fail
;
4243 SWIG_null_ref("wxIconBundle");
4245 if (SWIG_arg_fail(2)) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4265 long arg3
= (long) wxFULLSCREEN_ALL
;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 PyObject
* obj2
= 0 ;
4271 (char *) "self",(char *) "show",(char *) "style", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4276 if (SWIG_arg_fail(1)) SWIG_fail
;
4278 arg2
= (bool)(SWIG_As_bool(obj1
));
4279 if (SWIG_arg_fail(2)) SWIG_fail
;
4283 arg3
= (long)(SWIG_As_long(obj2
));
4284 if (SWIG_arg_fail(3)) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4303 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4307 PyObject
* obj0
= 0 ;
4309 (char *) "self", NULL
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4314 if (SWIG_arg_fail(1)) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4331 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4334 wxString
*arg2
= 0 ;
4335 bool temp2
= false ;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4339 (char *) "self",(char *) "title", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail
;
4346 arg2
= wxString_in_helper(obj1
);
4347 if (arg2
== NULL
) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 (arg1
)->SetTitle((wxString
const &)*arg2
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 Py_INCREF(Py_None
); resultobj
= Py_None
;
4372 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4376 PyObject
* obj0
= 0 ;
4378 (char *) "self", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail
;
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4404 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
;
4406 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4407 wxRegion
*arg2
= 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4412 (char *) "self",(char *) "region", NULL
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4417 if (SWIG_arg_fail(1)) SWIG_fail
;
4419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4420 if (SWIG_arg_fail(2)) SWIG_fail
;
4422 SWIG_null_ref("wxRegion");
4424 if (SWIG_arg_fail(2)) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4442 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4444 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4445 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4449 (char *) "self",(char *) "flags", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail
;
4457 arg2
= (int)(SWIG_As_int(obj1
));
4458 if (SWIG_arg_fail(2)) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->RequestUserAttention(arg2
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 Py_INCREF(Py_None
); resultobj
= Py_None
;
4475 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4479 PyObject
* obj0
= 0 ;
4481 (char *) "self", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4486 if (SWIG_arg_fail(1)) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)(arg1
)->IsActive();
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4503 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "on", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4515 if (SWIG_arg_fail(1)) SWIG_fail
;
4517 arg2
= (bool)(SWIG_As_bool(obj1
));
4518 if (SWIG_arg_fail(2)) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 Py_INCREF(Py_None
); resultobj
= Py_None
;
4534 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4538 PyObject
* obj0
= 0 ;
4540 (char *) "self", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4545 if (SWIG_arg_fail(1)) SWIG_fail
;
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4562 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4565 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4567 return Py_BuildValue((char *)"");
4569 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxWindow
*arg1
= (wxWindow
*) 0 ;
4572 int arg2
= (int) (int)-1 ;
4573 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4574 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4575 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4576 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4577 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4578 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4579 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4580 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4581 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4583 bool temp3
= false ;
4586 bool temp7
= false ;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4589 PyObject
* obj2
= 0 ;
4590 PyObject
* obj3
= 0 ;
4591 PyObject
* obj4
= 0 ;
4592 PyObject
* obj5
= 0 ;
4593 PyObject
* obj6
= 0 ;
4595 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4600 if (SWIG_arg_fail(1)) SWIG_fail
;
4603 arg2
= (int const)(SWIG_As_int(obj1
));
4604 if (SWIG_arg_fail(2)) SWIG_fail
;
4609 arg3
= wxString_in_helper(obj2
);
4610 if (arg3
== NULL
) SWIG_fail
;
4617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4628 arg6
= (long)(SWIG_As_long(obj5
));
4629 if (SWIG_arg_fail(6)) SWIG_fail
;
4634 arg7
= wxString_in_helper(obj6
);
4635 if (arg7
== NULL
) SWIG_fail
;
4640 if (!wxPyCheckForApp()) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4670 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4679 if (!wxPyCheckForApp()) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxFrame
*)new wxFrame();
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4693 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxFrame
*arg1
= (wxFrame
*) 0 ;
4696 wxWindow
*arg2
= (wxWindow
*) 0 ;
4697 int arg3
= (int) (int)-1 ;
4698 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4699 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4700 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4701 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4702 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4703 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4704 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4705 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4706 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4708 bool temp4
= false ;
4711 bool temp8
= false ;
4712 PyObject
* obj0
= 0 ;
4713 PyObject
* obj1
= 0 ;
4714 PyObject
* obj2
= 0 ;
4715 PyObject
* obj3
= 0 ;
4716 PyObject
* obj4
= 0 ;
4717 PyObject
* obj5
= 0 ;
4718 PyObject
* obj6
= 0 ;
4719 PyObject
* obj7
= 0 ;
4721 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail
;
4727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4728 if (SWIG_arg_fail(2)) SWIG_fail
;
4731 arg3
= (int const)(SWIG_As_int(obj2
));
4732 if (SWIG_arg_fail(3)) SWIG_fail
;
4737 arg4
= wxString_in_helper(obj3
);
4738 if (arg4
== NULL
) SWIG_fail
;
4745 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4751 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4756 arg7
= (long)(SWIG_As_long(obj6
));
4757 if (SWIG_arg_fail(7)) SWIG_fail
;
4762 arg8
= wxString_in_helper(obj7
);
4763 if (arg8
== NULL
) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4799 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 wxFrame
*arg1
= (wxFrame
*) 0 ;
4803 PyObject
* obj0
= 0 ;
4805 (char *) "self", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4810 if (SWIG_arg_fail(1)) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 wxPoint
* resultptr
;
4820 resultptr
= new wxPoint((wxPoint
&)(result
));
4821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4829 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxFrame
*arg1
= (wxFrame
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4834 (char *) "self", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 (arg1
)->SendSizeEvent();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 Py_INCREF(Py_None
); resultobj
= Py_None
;
4854 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxFrame
*arg1
= (wxFrame
*) 0 ;
4857 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4861 (char *) "self",(char *) "menubar", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4866 if (SWIG_arg_fail(1)) SWIG_fail
;
4867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4868 if (SWIG_arg_fail(2)) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 (arg1
)->SetMenuBar(arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 Py_INCREF(Py_None
); resultobj
= Py_None
;
4883 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxFrame
*arg1
= (wxFrame
*) 0 ;
4887 PyObject
* obj0
= 0 ;
4889 (char *) "self", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4894 if (SWIG_arg_fail(1)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= wxPyMake_wxObject(result
, 0);
4911 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxFrame
*arg1
= (wxFrame
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4919 (char *) "self",(char *) "winid", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4924 if (SWIG_arg_fail(1)) SWIG_fail
;
4926 arg2
= (int)(SWIG_As_int(obj1
));
4927 if (SWIG_arg_fail(2)) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 result
= (bool)(arg1
)->ProcessCommand(arg2
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4945 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxFrame
*arg1
= (wxFrame
*) 0 ;
4948 int arg2
= (int) 1 ;
4949 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4950 int arg4
= (int) 0 ;
4951 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4952 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4953 wxStatusBar
*result
;
4954 bool temp5
= false ;
4955 PyObject
* obj0
= 0 ;
4956 PyObject
* obj1
= 0 ;
4957 PyObject
* obj2
= 0 ;
4958 PyObject
* obj3
= 0 ;
4959 PyObject
* obj4
= 0 ;
4961 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4966 if (SWIG_arg_fail(1)) SWIG_fail
;
4969 arg2
= (int)(SWIG_As_int(obj1
));
4970 if (SWIG_arg_fail(2)) SWIG_fail
;
4975 arg3
= (long)(SWIG_As_long(obj2
));
4976 if (SWIG_arg_fail(3)) SWIG_fail
;
4981 arg4
= (int)(SWIG_As_int(obj3
));
4982 if (SWIG_arg_fail(4)) SWIG_fail
;
4987 arg5
= wxString_in_helper(obj4
);
4988 if (arg5
== NULL
) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= wxPyMake_wxObject(result
, 0);
5016 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxFrame
*arg1
= (wxFrame
*) 0 ;
5019 wxStatusBar
*result
;
5020 PyObject
* obj0
= 0 ;
5022 (char *) "self", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5027 if (SWIG_arg_fail(1)) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= wxPyMake_wxObject(result
, 0);
5044 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxFrame
*arg1
= (wxFrame
*) 0 ;
5047 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5051 (char *) "self",(char *) "statBar", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail
;
5057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5058 if (SWIG_arg_fail(2)) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 (arg1
)->SetStatusBar(arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxFrame
*arg1
= (wxFrame
*) 0 ;
5076 wxString
*arg2
= 0 ;
5077 int arg3
= (int) 0 ;
5078 bool temp2
= false ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 PyObject
* obj2
= 0 ;
5083 (char *) "self",(char *) "text",(char *) "number", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5088 if (SWIG_arg_fail(1)) SWIG_fail
;
5090 arg2
= wxString_in_helper(obj1
);
5091 if (arg2
== NULL
) SWIG_fail
;
5096 arg3
= (int)(SWIG_As_int(obj2
));
5097 if (SWIG_arg_fail(3)) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxFrame
*arg1
= (wxFrame
*) 0 ;
5126 int *arg3
= (int *) 0 ;
5127 PyObject
* obj0
= 0 ;
5128 PyObject
* obj1
= 0 ;
5130 (char *) "self",(char *) "widths", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail
;
5137 arg2
= PyList_Size(obj1
);
5138 arg3
= int_LIST_helper(obj1
);
5139 if (arg3
== NULL
) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 Py_INCREF(Py_None
); resultobj
= Py_None
;
5150 if (arg3
) delete [] arg3
;
5155 if (arg3
) delete [] arg3
;
5161 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxFrame
*arg1
= (wxFrame
*) 0 ;
5164 wxString
*arg2
= 0 ;
5165 int arg3
= (int) 0 ;
5166 bool temp2
= false ;
5167 PyObject
* obj0
= 0 ;
5168 PyObject
* obj1
= 0 ;
5169 PyObject
* obj2
= 0 ;
5171 (char *) "self",(char *) "text",(char *) "number", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5176 if (SWIG_arg_fail(1)) SWIG_fail
;
5178 arg2
= wxString_in_helper(obj1
);
5179 if (arg2
== NULL
) SWIG_fail
;
5184 arg3
= (int)(SWIG_As_int(obj2
));
5185 if (SWIG_arg_fail(3)) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 Py_INCREF(Py_None
); resultobj
= Py_None
;
5210 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxFrame
*arg1
= (wxFrame
*) 0 ;
5213 int arg2
= (int) 0 ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5217 (char *) "self",(char *) "number", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail
;
5225 arg2
= (int)(SWIG_As_int(obj1
));
5226 if (SWIG_arg_fail(2)) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 (arg1
)->PopStatusText(arg2
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 Py_INCREF(Py_None
); resultobj
= Py_None
;
5243 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxFrame
*arg1
= (wxFrame
*) 0 ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5250 (char *) "self",(char *) "n", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5255 if (SWIG_arg_fail(1)) SWIG_fail
;
5257 arg2
= (int)(SWIG_As_int(obj1
));
5258 if (SWIG_arg_fail(2)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 (arg1
)->SetStatusBarPane(arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 Py_INCREF(Py_None
); resultobj
= Py_None
;
5274 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxFrame
*arg1
= (wxFrame
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5280 (char *) "self", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5285 if (SWIG_arg_fail(1)) SWIG_fail
;
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_From_int((int)(result
));
5302 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxFrame
*arg1
= (wxFrame
*) 0 ;
5305 long arg2
= (long) -1 ;
5306 int arg3
= (int) -1 ;
5307 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5308 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5310 bool temp4
= false ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 PyObject
* obj2
= 0 ;
5314 PyObject
* obj3
= 0 ;
5316 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5321 if (SWIG_arg_fail(1)) SWIG_fail
;
5324 arg2
= (long)(SWIG_As_long(obj1
));
5325 if (SWIG_arg_fail(2)) SWIG_fail
;
5330 arg3
= (int)(SWIG_As_int(obj2
));
5331 if (SWIG_arg_fail(3)) SWIG_fail
;
5336 arg4
= wxString_in_helper(obj3
);
5337 if (arg4
== NULL
) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= wxPyMake_wxObject(result
, 0);
5365 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxFrame
*arg1
= (wxFrame
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5371 (char *) "self", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= wxPyMake_wxObject(result
, 0);
5393 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxFrame
*arg1
= (wxFrame
*) 0 ;
5396 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5400 (char *) "self",(char *) "toolbar", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail
;
5406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5407 if (SWIG_arg_fail(2)) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 (arg1
)->SetToolBar(arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 Py_INCREF(Py_None
); resultobj
= Py_None
;
5422 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxFrame
*arg1
= (wxFrame
*) 0 ;
5425 wxString
*arg2
= 0 ;
5427 bool temp2
= false ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 PyObject
* obj2
= 0 ;
5432 (char *) "self",(char *) "text",(char *) "show", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail
;
5439 arg2
= wxString_in_helper(obj1
);
5440 if (arg2
== NULL
) SWIG_fail
;
5444 arg3
= (bool)(SWIG_As_bool(obj2
));
5445 if (SWIG_arg_fail(3)) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 Py_INCREF(Py_None
); resultobj
= Py_None
;
5469 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxFrame
*arg1
= (wxFrame
*) 0 ;
5472 wxMenu
*arg2
= (wxMenu
*) NULL
;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "self",(char *) "menu", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5481 if (SWIG_arg_fail(1)) SWIG_fail
;
5483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5484 if (SWIG_arg_fail(2)) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 (arg1
)->DoMenuUpdates(arg2
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 Py_INCREF(Py_None
); resultobj
= Py_None
;
5500 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5503 wxVisualAttributes result
;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "variant", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5512 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5513 if (SWIG_arg_fail(1)) SWIG_fail
;
5517 if (!wxPyCheckForApp()) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5525 wxVisualAttributes
* resultptr
;
5526 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5535 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5538 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5540 return Py_BuildValue((char *)"");
5542 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 wxWindow
*arg1
= (wxWindow
*) 0 ;
5545 int arg2
= (int) (int)-1 ;
5546 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5547 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5552 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5553 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5554 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5556 bool temp3
= false ;
5559 bool temp7
= false ;
5560 PyObject
* obj0
= 0 ;
5561 PyObject
* obj1
= 0 ;
5562 PyObject
* obj2
= 0 ;
5563 PyObject
* obj3
= 0 ;
5564 PyObject
* obj4
= 0 ;
5565 PyObject
* obj5
= 0 ;
5566 PyObject
* obj6
= 0 ;
5568 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5573 if (SWIG_arg_fail(1)) SWIG_fail
;
5576 arg2
= (int const)(SWIG_As_int(obj1
));
5577 if (SWIG_arg_fail(2)) SWIG_fail
;
5582 arg3
= wxString_in_helper(obj2
);
5583 if (arg3
== NULL
) SWIG_fail
;
5590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5601 arg6
= (long)(SWIG_As_long(obj5
));
5602 if (SWIG_arg_fail(6)) SWIG_fail
;
5607 arg7
= wxString_in_helper(obj6
);
5608 if (arg7
== NULL
) SWIG_fail
;
5613 if (!wxPyCheckForApp()) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5643 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5652 if (!wxPyCheckForApp()) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (wxDialog
*)new wxDialog();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5666 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxDialog
*arg1
= (wxDialog
*) 0 ;
5669 wxWindow
*arg2
= (wxWindow
*) 0 ;
5670 int arg3
= (int) (int)-1 ;
5671 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5672 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5673 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5674 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5675 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5676 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5677 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5678 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5679 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5681 bool temp4
= false ;
5684 bool temp8
= false ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5687 PyObject
* obj2
= 0 ;
5688 PyObject
* obj3
= 0 ;
5689 PyObject
* obj4
= 0 ;
5690 PyObject
* obj5
= 0 ;
5691 PyObject
* obj6
= 0 ;
5692 PyObject
* obj7
= 0 ;
5694 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5699 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5701 if (SWIG_arg_fail(2)) SWIG_fail
;
5704 arg3
= (int const)(SWIG_As_int(obj2
));
5705 if (SWIG_arg_fail(3)) SWIG_fail
;
5710 arg4
= wxString_in_helper(obj3
);
5711 if (arg4
== NULL
) SWIG_fail
;
5718 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5724 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5729 arg7
= (long)(SWIG_As_long(obj6
));
5730 if (SWIG_arg_fail(7)) SWIG_fail
;
5735 arg8
= wxString_in_helper(obj7
);
5736 if (arg8
== NULL
) SWIG_fail
;
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5772 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxDialog
*arg1
= (wxDialog
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5777 PyObject
* obj1
= 0 ;
5779 (char *) "self",(char *) "returnCode", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5784 if (SWIG_arg_fail(1)) SWIG_fail
;
5786 arg2
= (int)(SWIG_As_int(obj1
));
5787 if (SWIG_arg_fail(2)) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 (arg1
)->SetReturnCode(arg2
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 Py_INCREF(Py_None
); resultobj
= Py_None
;
5803 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxDialog
*arg1
= (wxDialog
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5809 (char *) "self", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_From_int((int)(result
));
5831 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxDialog
*arg1
= (wxDialog
*) 0 ;
5834 wxString
*arg2
= 0 ;
5836 bool temp2
= false ;
5837 PyObject
* obj0
= 0 ;
5838 PyObject
* obj1
= 0 ;
5840 (char *) "self",(char *) "message", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5845 if (SWIG_arg_fail(1)) SWIG_fail
;
5847 arg2
= wxString_in_helper(obj1
);
5848 if (arg2
== NULL
) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= wxPyMake_wxSizer(result
, 0);
5875 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxDialog
*arg1
= (wxDialog
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5883 (char *) "self",(char *) "flags", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail
;
5890 arg2
= (long)(SWIG_As_long(obj1
));
5891 if (SWIG_arg_fail(2)) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= wxPyMake_wxSizer(result
, 0);
5909 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxDialog
*arg1
= (wxDialog
*) 0 ;
5913 wxStdDialogButtonSizer
*result
;
5914 PyObject
* obj0
= 0 ;
5915 PyObject
* obj1
= 0 ;
5917 (char *) "self",(char *) "flags", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5922 if (SWIG_arg_fail(1)) SWIG_fail
;
5924 arg2
= (long)(SWIG_As_long(obj1
));
5925 if (SWIG_arg_fail(2)) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
5941 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxDialog
*arg1
= (wxDialog
*) 0 ;
5945 PyObject
* obj0
= 0 ;
5947 (char *) "self", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
5951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5952 if (SWIG_arg_fail(1)) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5969 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxDialog
*arg1
= (wxDialog
*) 0 ;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "self", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
5979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5980 if (SWIG_arg_fail(1)) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (int)(arg1
)->ShowModal();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_From_int((int)(result
));
5997 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxDialog
*arg1
= (wxDialog
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6004 (char *) "self",(char *) "retCode", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail
;
6011 arg2
= (int)(SWIG_As_int(obj1
));
6012 if (SWIG_arg_fail(2)) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 (arg1
)->EndModal(arg2
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 Py_INCREF(Py_None
); resultobj
= Py_None
;
6028 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6031 wxVisualAttributes result
;
6032 PyObject
* obj0
= 0 ;
6034 (char *) "variant", NULL
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6040 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6041 if (SWIG_arg_fail(1)) SWIG_fail
;
6045 if (!wxPyCheckForApp()) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6053 wxVisualAttributes
* resultptr
;
6054 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6063 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6066 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6068 return Py_BuildValue((char *)"");
6070 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxWindow
*arg1
= (wxWindow
*) 0 ;
6073 int arg2
= (int) (int)-1 ;
6074 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6075 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6080 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6081 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6082 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6083 wxMiniFrame
*result
;
6084 bool temp3
= false ;
6087 bool temp7
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 PyObject
* obj4
= 0 ;
6093 PyObject
* obj5
= 0 ;
6094 PyObject
* obj6
= 0 ;
6096 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6101 if (SWIG_arg_fail(1)) SWIG_fail
;
6104 arg2
= (int const)(SWIG_As_int(obj1
));
6105 if (SWIG_arg_fail(2)) SWIG_fail
;
6110 arg3
= wxString_in_helper(obj2
);
6111 if (arg3
== NULL
) SWIG_fail
;
6118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6129 arg6
= (long)(SWIG_As_long(obj5
));
6130 if (SWIG_arg_fail(6)) SWIG_fail
;
6135 arg7
= wxString_in_helper(obj6
);
6136 if (arg7
== NULL
) SWIG_fail
;
6141 if (!wxPyCheckForApp()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6171 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxMiniFrame
*result
;
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6180 if (!wxPyCheckForApp()) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (wxMiniFrame
*)new wxMiniFrame();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6194 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6197 wxWindow
*arg2
= (wxWindow
*) 0 ;
6198 int arg3
= (int) (int)-1 ;
6199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6201 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6202 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6203 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6204 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6205 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6206 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6207 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6209 bool temp4
= false ;
6212 bool temp8
= false ;
6213 PyObject
* obj0
= 0 ;
6214 PyObject
* obj1
= 0 ;
6215 PyObject
* obj2
= 0 ;
6216 PyObject
* obj3
= 0 ;
6217 PyObject
* obj4
= 0 ;
6218 PyObject
* obj5
= 0 ;
6219 PyObject
* obj6
= 0 ;
6220 PyObject
* obj7
= 0 ;
6222 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail
;
6228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6229 if (SWIG_arg_fail(2)) SWIG_fail
;
6232 arg3
= (int const)(SWIG_As_int(obj2
));
6233 if (SWIG_arg_fail(3)) SWIG_fail
;
6238 arg4
= wxString_in_helper(obj3
);
6239 if (arg4
== NULL
) SWIG_fail
;
6246 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6252 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6257 arg7
= (long)(SWIG_As_long(obj6
));
6258 if (SWIG_arg_fail(7)) SWIG_fail
;
6263 arg8
= wxString_in_helper(obj7
);
6264 if (arg8
== NULL
) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6300 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6303 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6305 return Py_BuildValue((char *)"");
6307 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxBitmap
*arg1
= 0 ;
6310 wxWindow
*arg2
= (wxWindow
*) 0 ;
6312 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6313 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6314 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6315 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6316 long arg6
= (long) wxNO_BORDER
;
6317 wxSplashScreenWindow
*result
;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6322 PyObject
* obj2
= 0 ;
6323 PyObject
* obj3
= 0 ;
6324 PyObject
* obj4
= 0 ;
6325 PyObject
* obj5
= 0 ;
6327 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6333 if (SWIG_arg_fail(1)) SWIG_fail
;
6335 SWIG_null_ref("wxBitmap");
6337 if (SWIG_arg_fail(1)) SWIG_fail
;
6339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6340 if (SWIG_arg_fail(2)) SWIG_fail
;
6342 arg3
= (int)(SWIG_As_int(obj2
));
6343 if (SWIG_arg_fail(3)) SWIG_fail
;
6348 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6354 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6359 arg6
= (long)(SWIG_As_long(obj5
));
6360 if (SWIG_arg_fail(6)) SWIG_fail
;
6364 if (!wxPyCheckForApp()) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6378 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6381 wxBitmap
*arg2
= 0 ;
6382 PyObject
* obj0
= 0 ;
6383 PyObject
* obj1
= 0 ;
6385 (char *) "self",(char *) "bitmap", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6390 if (SWIG_arg_fail(1)) SWIG_fail
;
6392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6393 if (SWIG_arg_fail(2)) SWIG_fail
;
6395 SWIG_null_ref("wxBitmap");
6397 if (SWIG_arg_fail(2)) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 Py_INCREF(Py_None
); resultobj
= Py_None
;
6413 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6424 if (SWIG_arg_fail(1)) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6429 result
= (wxBitmap
*) &_result_ref
;
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 wxBitmap
* resultptr
= new wxBitmap(*result
);
6437 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6445 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6448 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6450 return Py_BuildValue((char *)"");
6452 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxBitmap
*arg1
= 0 ;
6457 wxWindow
*arg4
= (wxWindow
*) 0 ;
6458 int arg5
= (int) -1 ;
6459 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6460 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6461 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6462 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6463 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6464 wxSplashScreen
*result
;
6467 PyObject
* obj0
= 0 ;
6468 PyObject
* obj1
= 0 ;
6469 PyObject
* obj2
= 0 ;
6470 PyObject
* obj3
= 0 ;
6471 PyObject
* obj4
= 0 ;
6472 PyObject
* obj5
= 0 ;
6473 PyObject
* obj6
= 0 ;
6474 PyObject
* obj7
= 0 ;
6476 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6482 if (SWIG_arg_fail(1)) SWIG_fail
;
6484 SWIG_null_ref("wxBitmap");
6486 if (SWIG_arg_fail(1)) SWIG_fail
;
6489 arg2
= (long)(SWIG_As_long(obj1
));
6490 if (SWIG_arg_fail(2)) SWIG_fail
;
6493 arg3
= (int)(SWIG_As_int(obj2
));
6494 if (SWIG_arg_fail(3)) SWIG_fail
;
6496 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6497 if (SWIG_arg_fail(4)) SWIG_fail
;
6500 arg5
= (int)(SWIG_As_int(obj4
));
6501 if (SWIG_arg_fail(5)) SWIG_fail
;
6507 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6513 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6518 arg8
= (long)(SWIG_As_long(obj7
));
6519 if (SWIG_arg_fail(8)) SWIG_fail
;
6523 if (!wxPyCheckForApp()) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6537 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6543 (char *) "self", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_From_long((long)(result
));
6565 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6568 wxSplashScreenWindow
*result
;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6576 if (SWIG_arg_fail(1)) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6591 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6602 if (SWIG_arg_fail(1)) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_From_int((int)(result
));
6619 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6622 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6624 return Py_BuildValue((char *)"");
6626 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
;
6628 wxWindow
*arg1
= (wxWindow
*) 0 ;
6629 int arg2
= (int) -1 ;
6630 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
6631 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6632 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6633 wxStatusBar
*result
;
6634 bool temp4
= false ;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6637 PyObject
* obj2
= 0 ;
6638 PyObject
* obj3
= 0 ;
6640 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6645 if (SWIG_arg_fail(1)) SWIG_fail
;
6648 arg2
= (int)(SWIG_As_int(obj1
));
6649 if (SWIG_arg_fail(2)) SWIG_fail
;
6654 arg3
= (long)(SWIG_As_long(obj2
));
6655 if (SWIG_arg_fail(3)) SWIG_fail
;
6660 arg4
= wxString_in_helper(obj3
);
6661 if (arg4
== NULL
) SWIG_fail
;
6666 if (!wxPyCheckForApp()) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6688 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxStatusBar
*result
;
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6697 if (!wxPyCheckForApp()) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (wxStatusBar
*)new wxStatusBar();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6711 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6714 wxWindow
*arg2
= (wxWindow
*) 0 ;
6715 int arg3
= (int) -1 ;
6716 long arg4
= (long) wxST_SIZEGRIP
;
6717 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6718 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6720 bool temp5
= false ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6724 PyObject
* obj3
= 0 ;
6725 PyObject
* obj4
= 0 ;
6727 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6732 if (SWIG_arg_fail(1)) SWIG_fail
;
6733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6734 if (SWIG_arg_fail(2)) SWIG_fail
;
6737 arg3
= (int)(SWIG_As_int(obj2
));
6738 if (SWIG_arg_fail(3)) SWIG_fail
;
6743 arg4
= (long)(SWIG_As_long(obj3
));
6744 if (SWIG_arg_fail(4)) SWIG_fail
;
6749 arg5
= wxString_in_helper(obj4
);
6750 if (arg5
== NULL
) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6778 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6781 int arg2
= (int) 1 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6785 (char *) "self",(char *) "number", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6790 if (SWIG_arg_fail(1)) SWIG_fail
;
6793 arg2
= (int)(SWIG_As_int(obj1
));
6794 if (SWIG_arg_fail(2)) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 (arg1
)->SetFieldsCount(arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6811 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6817 (char *) "self", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6822 if (SWIG_arg_fail(1)) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_From_int((int)(result
));
6839 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6842 wxString
*arg2
= 0 ;
6843 int arg3
= (int) 0 ;
6844 bool temp2
= false ;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6847 PyObject
* obj2
= 0 ;
6849 (char *) "self",(char *) "text",(char *) "number", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail
;
6856 arg2
= wxString_in_helper(obj1
);
6857 if (arg2
== NULL
) SWIG_fail
;
6862 arg3
= (int)(SWIG_As_int(obj2
));
6863 if (SWIG_arg_fail(3)) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6888 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6891 int arg2
= (int) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6896 (char *) "self",(char *) "number", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6901 if (SWIG_arg_fail(1)) SWIG_fail
;
6904 arg2
= (int)(SWIG_As_int(obj1
));
6905 if (SWIG_arg_fail(2)) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6928 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6931 wxString
*arg2
= 0 ;
6932 int arg3
= (int) 0 ;
6933 bool temp2
= false ;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6936 PyObject
* obj2
= 0 ;
6938 (char *) "self",(char *) "text",(char *) "number", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6943 if (SWIG_arg_fail(1)) SWIG_fail
;
6945 arg2
= wxString_in_helper(obj1
);
6946 if (arg2
== NULL
) SWIG_fail
;
6951 arg3
= (int)(SWIG_As_int(obj2
));
6952 if (SWIG_arg_fail(3)) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 Py_INCREF(Py_None
); resultobj
= Py_None
;
6977 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6980 int arg2
= (int) 0 ;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6984 (char *) "self",(char *) "number", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6989 if (SWIG_arg_fail(1)) SWIG_fail
;
6992 arg2
= (int)(SWIG_As_int(obj1
));
6993 if (SWIG_arg_fail(2)) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 (arg1
)->PopStatusText(arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7014 int *arg3
= (int *) 0 ;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7018 (char *) "self",(char *) "widths", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7023 if (SWIG_arg_fail(1)) SWIG_fail
;
7025 arg2
= PyList_Size(obj1
);
7026 arg3
= int_LIST_helper(obj1
);
7027 if (arg3
== NULL
) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 Py_INCREF(Py_None
); resultobj
= Py_None
;
7038 if (arg3
) delete [] arg3
;
7043 if (arg3
) delete [] arg3
;
7049 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7053 int *arg3
= (int *) 0 ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7057 (char *) "self",(char *) "styles", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7062 if (SWIG_arg_fail(1)) SWIG_fail
;
7064 arg2
= PyList_Size(obj1
);
7065 arg3
= int_LIST_helper(obj1
);
7066 if (arg3
== NULL
) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 Py_INCREF(Py_None
); resultobj
= Py_None
;
7077 if (arg3
) delete [] arg3
;
7082 if (arg3
) delete [] arg3
;
7088 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7096 (char *) "self",(char *) "i", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail
;
7103 arg2
= (int)(SWIG_As_int(obj1
));
7104 if (SWIG_arg_fail(2)) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7115 resultptr
= new wxRect((wxRect
&)(result
));
7116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7124 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "self",(char *) "height", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail
;
7138 arg2
= (int)(SWIG_As_int(obj1
));
7139 if (SWIG_arg_fail(2)) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 (arg1
)->SetMinHeight(arg2
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7155 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "self", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7166 if (SWIG_arg_fail(1)) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= SWIG_From_int((int)(result
));
7183 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7189 (char *) "self", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_From_int((int)(result
));
7211 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7214 wxVisualAttributes result
;
7215 PyObject
* obj0
= 0 ;
7217 (char *) "variant", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7223 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7224 if (SWIG_arg_fail(1)) SWIG_fail
;
7228 if (!wxPyCheckForApp()) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7236 wxVisualAttributes
* resultptr
;
7237 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7246 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7249 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7251 return Py_BuildValue((char *)"");
7253 static int _wrap_SplitterNameStr_set(PyObject
*) {
7254 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7259 static PyObject
*_wrap_SplitterNameStr_get(void) {
7264 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7266 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7273 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxWindow
*arg1
= (wxWindow
*) 0 ;
7276 int arg2
= (int) -1 ;
7277 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7278 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7279 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7280 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7281 long arg5
= (long) wxSP_3D
;
7282 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7283 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7284 wxSplitterWindow
*result
;
7287 bool temp6
= false ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7290 PyObject
* obj2
= 0 ;
7291 PyObject
* obj3
= 0 ;
7292 PyObject
* obj4
= 0 ;
7293 PyObject
* obj5
= 0 ;
7295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7300 if (SWIG_arg_fail(1)) SWIG_fail
;
7303 arg2
= (int)(SWIG_As_int(obj1
));
7304 if (SWIG_arg_fail(2)) SWIG_fail
;
7310 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7316 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7321 arg5
= (long)(SWIG_As_long(obj4
));
7322 if (SWIG_arg_fail(5)) SWIG_fail
;
7327 arg6
= wxString_in_helper(obj5
);
7328 if (arg6
== NULL
) SWIG_fail
;
7333 if (!wxPyCheckForApp()) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7355 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxSplitterWindow
*result
;
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7364 if (!wxPyCheckForApp()) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7378 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7381 wxWindow
*arg2
= (wxWindow
*) 0 ;
7382 int arg3
= (int) -1 ;
7383 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7384 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7385 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7386 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7387 long arg6
= (long) wxSP_3D
;
7388 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7389 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7393 bool temp7
= false ;
7394 PyObject
* obj0
= 0 ;
7395 PyObject
* obj1
= 0 ;
7396 PyObject
* obj2
= 0 ;
7397 PyObject
* obj3
= 0 ;
7398 PyObject
* obj4
= 0 ;
7399 PyObject
* obj5
= 0 ;
7400 PyObject
* obj6
= 0 ;
7402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail
;
7408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(2)) SWIG_fail
;
7412 arg3
= (int)(SWIG_As_int(obj2
));
7413 if (SWIG_arg_fail(3)) SWIG_fail
;
7419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7430 arg6
= (long)(SWIG_As_long(obj5
));
7431 if (SWIG_arg_fail(6)) SWIG_fail
;
7436 arg7
= wxString_in_helper(obj6
);
7437 if (arg7
== NULL
) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7465 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7469 PyObject
* obj0
= 0 ;
7471 (char *) "self", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7476 if (SWIG_arg_fail(1)) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= wxPyMake_wxObject(result
, 0);
7493 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7499 (char *) "self", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= wxPyMake_wxObject(result
, 0);
7521 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "mode", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7535 arg2
= (int)(SWIG_As_int(obj1
));
7536 if (SWIG_arg_fail(2)) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 (arg1
)->SetSplitMode(arg2
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 Py_INCREF(Py_None
); resultobj
= Py_None
;
7552 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "self", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7563 if (SWIG_arg_fail(1)) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_From_int((result
));
7578 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7581 wxWindow
*arg2
= (wxWindow
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7585 (char *) "self",(char *) "window", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail
;
7591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7592 if (SWIG_arg_fail(2)) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 (arg1
)->Initialize(arg2
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7610 wxWindow
*arg2
= (wxWindow
*) 0 ;
7611 wxWindow
*arg3
= (wxWindow
*) 0 ;
7612 int arg4
= (int) 0 ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7617 PyObject
* obj3
= 0 ;
7619 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail
;
7625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7626 if (SWIG_arg_fail(2)) SWIG_fail
;
7627 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7628 if (SWIG_arg_fail(3)) SWIG_fail
;
7631 arg4
= (int)(SWIG_As_int(obj3
));
7632 if (SWIG_arg_fail(4)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7651 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7654 wxWindow
*arg2
= (wxWindow
*) 0 ;
7655 wxWindow
*arg3
= (wxWindow
*) 0 ;
7656 int arg4
= (int) 0 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7660 PyObject
* obj2
= 0 ;
7661 PyObject
* obj3
= 0 ;
7663 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7668 if (SWIG_arg_fail(1)) SWIG_fail
;
7669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7670 if (SWIG_arg_fail(2)) SWIG_fail
;
7671 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(3)) SWIG_fail
;
7675 arg4
= (int)(SWIG_As_int(obj3
));
7676 if (SWIG_arg_fail(4)) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7695 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7698 wxWindow
*arg2
= (wxWindow
*) NULL
;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7703 (char *) "self",(char *) "toRemove", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7708 if (SWIG_arg_fail(1)) SWIG_fail
;
7710 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7711 if (SWIG_arg_fail(2)) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (bool)(arg1
)->Unsplit(arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7729 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7732 wxWindow
*arg2
= (wxWindow
*) 0 ;
7733 wxWindow
*arg3
= (wxWindow
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7737 PyObject
* obj2
= 0 ;
7739 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7744 if (SWIG_arg_fail(1)) SWIG_fail
;
7745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7746 if (SWIG_arg_fail(2)) SWIG_fail
;
7747 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7748 if (SWIG_arg_fail(3)) SWIG_fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7765 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7768 PyObject
* obj0
= 0 ;
7770 (char *) "self", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7775 if (SWIG_arg_fail(1)) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 (arg1
)->UpdateSize();
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 Py_INCREF(Py_None
); resultobj
= Py_None
;
7790 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7818 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7825 (char *) "self",(char *) "width", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail
;
7832 arg2
= (int)(SWIG_As_int(obj1
));
7833 if (SWIG_arg_fail(2)) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 (arg1
)->SetSashSize(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7856 (char *) "self",(char *) "width", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail
;
7863 arg2
= (int)(SWIG_As_int(obj1
));
7864 if (SWIG_arg_fail(2)) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 (arg1
)->SetBorderSize(arg2
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 Py_INCREF(Py_None
); resultobj
= Py_None
;
7880 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "self", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7891 if (SWIG_arg_fail(1)) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= SWIG_From_int((int)(result
));
7908 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7919 if (SWIG_arg_fail(1)) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_From_int((int)(result
));
7936 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7940 bool arg3
= (bool) true ;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7943 PyObject
* obj2
= 0 ;
7945 (char *) "self",(char *) "position",(char *) "redraw", NULL
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7950 if (SWIG_arg_fail(1)) SWIG_fail
;
7952 arg2
= (int)(SWIG_As_int(obj1
));
7953 if (SWIG_arg_fail(2)) SWIG_fail
;
7957 arg3
= (bool)(SWIG_As_bool(obj2
));
7958 if (SWIG_arg_fail(3)) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->SetSashPosition(arg2
,arg3
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7975 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7979 PyObject
* obj0
= 0 ;
7981 (char *) "self", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
7985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7986 if (SWIG_arg_fail(1)) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= SWIG_From_int((int)(result
));
8003 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8008 PyObject
* obj1
= 0 ;
8010 (char *) "self",(char *) "gravity", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail
;
8017 arg2
= (double)(SWIG_As_double(obj1
));
8018 if (SWIG_arg_fail(2)) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 (arg1
)->SetSashGravity(arg2
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 Py_INCREF(Py_None
); resultobj
= Py_None
;
8034 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= SWIG_From_double((double)(result
));
8062 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8069 (char *) "self",(char *) "min", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8074 if (SWIG_arg_fail(1)) SWIG_fail
;
8076 arg2
= (int)(SWIG_As_int(obj1
));
8077 if (SWIG_arg_fail(2)) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 (arg1
)->SetMinimumPaneSize(arg2
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= SWIG_From_int((int)(result
));
8121 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8126 int arg4
= (int) 5 ;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8130 PyObject
* obj2
= 0 ;
8131 PyObject
* obj3
= 0 ;
8133 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail
;
8140 arg2
= (int)(SWIG_As_int(obj1
));
8141 if (SWIG_arg_fail(2)) SWIG_fail
;
8144 arg3
= (int)(SWIG_As_int(obj2
));
8145 if (SWIG_arg_fail(3)) SWIG_fail
;
8149 arg4
= (int)(SWIG_As_int(obj3
));
8150 if (SWIG_arg_fail(4)) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8169 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "self", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8179 if (SWIG_arg_fail(1)) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 (arg1
)->SizeWindows();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 Py_INCREF(Py_None
); resultobj
= Py_None
;
8194 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8199 PyObject
* obj1
= 0 ;
8201 (char *) "self",(char *) "needUpdating", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8206 if (SWIG_arg_fail(1)) SWIG_fail
;
8208 arg2
= (bool)(SWIG_As_bool(obj1
));
8209 if (SWIG_arg_fail(2)) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 (arg1
)->SetNeedUpdating(arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8231 (char *) "self", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8253 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8256 wxVisualAttributes result
;
8257 PyObject
* obj0
= 0 ;
8259 (char *) "variant", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8265 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8266 if (SWIG_arg_fail(1)) SWIG_fail
;
8270 if (!wxPyCheckForApp()) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 wxVisualAttributes
* resultptr
;
8279 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8288 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8291 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8293 return Py_BuildValue((char *)"");
8295 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8298 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8299 wxSplitterEvent
*result
;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8303 (char *) "type",(char *) "splitter", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8310 if (SWIG_arg_fail(1)) SWIG_fail
;
8314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8315 if (SWIG_arg_fail(2)) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8331 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
;
8333 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8335 PyObject
* obj0
= 0 ;
8336 PyObject
* obj1
= 0 ;
8338 (char *) "self",(char *) "pos", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail
;
8345 arg2
= (int)(SWIG_As_int(obj1
));
8346 if (SWIG_arg_fail(2)) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 (arg1
)->SetSashPosition(arg2
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 Py_INCREF(Py_None
); resultobj
= Py_None
;
8362 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8368 (char *) "self", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8373 if (SWIG_arg_fail(1)) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= SWIG_From_int((int)(result
));
8390 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "self", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8401 if (SWIG_arg_fail(1)) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= wxPyMake_wxObject(result
, 0);
8418 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8422 PyObject
* obj0
= 0 ;
8424 (char *) "self", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8429 if (SWIG_arg_fail(1)) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= SWIG_From_int((int)(result
));
8446 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8457 if (SWIG_arg_fail(1)) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_From_int((int)(result
));
8474 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8477 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8479 return Py_BuildValue((char *)"");
8481 static int _wrap_SashNameStr_set(PyObject
*) {
8482 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8487 static PyObject
*_wrap_SashNameStr_get(void) {
8492 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8494 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8501 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8502 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8507 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8512 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8514 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8521 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxWindow
*arg1
= (wxWindow
*) 0 ;
8524 int arg2
= (int) -1 ;
8525 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8526 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8527 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8528 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8529 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8530 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8531 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8532 wxSashWindow
*result
;
8535 bool temp6
= false ;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj1
= 0 ;
8538 PyObject
* obj2
= 0 ;
8539 PyObject
* obj3
= 0 ;
8540 PyObject
* obj4
= 0 ;
8541 PyObject
* obj5
= 0 ;
8543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8548 if (SWIG_arg_fail(1)) SWIG_fail
;
8551 arg2
= (int)(SWIG_As_int(obj1
));
8552 if (SWIG_arg_fail(2)) SWIG_fail
;
8558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8564 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8569 arg5
= (long)(SWIG_As_long(obj4
));
8570 if (SWIG_arg_fail(5)) SWIG_fail
;
8575 arg6
= wxString_in_helper(obj5
);
8576 if (arg6
== NULL
) SWIG_fail
;
8581 if (!wxPyCheckForApp()) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8603 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxSashWindow
*result
;
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8612 if (!wxPyCheckForApp()) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= (wxSashWindow
*)new wxSashWindow();
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8626 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
;
8628 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8629 wxWindow
*arg2
= (wxWindow
*) 0 ;
8630 int arg3
= (int) -1 ;
8631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8635 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8636 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8641 bool temp7
= false ;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8644 PyObject
* obj2
= 0 ;
8645 PyObject
* obj3
= 0 ;
8646 PyObject
* obj4
= 0 ;
8647 PyObject
* obj5
= 0 ;
8648 PyObject
* obj6
= 0 ;
8650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8655 if (SWIG_arg_fail(1)) SWIG_fail
;
8656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8657 if (SWIG_arg_fail(2)) SWIG_fail
;
8660 arg3
= (int)(SWIG_As_int(obj2
));
8661 if (SWIG_arg_fail(3)) SWIG_fail
;
8667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8678 arg6
= (long)(SWIG_As_long(obj5
));
8679 if (SWIG_arg_fail(6)) SWIG_fail
;
8684 arg7
= wxString_in_helper(obj6
);
8685 if (arg7
== NULL
) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8713 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8716 wxSashEdgePosition arg2
;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8720 PyObject
* obj2
= 0 ;
8722 (char *) "self",(char *) "edge",(char *) "sash", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8727 if (SWIG_arg_fail(1)) SWIG_fail
;
8729 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8730 if (SWIG_arg_fail(2)) SWIG_fail
;
8733 arg3
= (bool)(SWIG_As_bool(obj2
));
8734 if (SWIG_arg_fail(3)) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8753 wxSashEdgePosition arg2
;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8758 (char *) "self",(char *) "edge", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8763 if (SWIG_arg_fail(1)) SWIG_fail
;
8765 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8766 if (SWIG_arg_fail(2)) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8784 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8787 wxSashEdgePosition arg2
;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8793 (char *) "self",(char *) "edge",(char *) "border", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail
;
8800 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8801 if (SWIG_arg_fail(2)) SWIG_fail
;
8804 arg3
= (bool)(SWIG_As_bool(obj2
));
8805 if (SWIG_arg_fail(3)) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8824 wxSashEdgePosition arg2
;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8829 (char *) "self",(char *) "edge", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail
;
8836 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8837 if (SWIG_arg_fail(2)) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8855 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8858 wxSashEdgePosition arg2
;
8860 PyObject
* obj0
= 0 ;
8861 PyObject
* obj1
= 0 ;
8863 (char *) "self",(char *) "edge", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8868 if (SWIG_arg_fail(1)) SWIG_fail
;
8870 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8871 if (SWIG_arg_fail(2)) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_From_int((int)(result
));
8889 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8896 (char *) "self",(char *) "width", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8901 if (SWIG_arg_fail(1)) SWIG_fail
;
8903 arg2
= (int)(SWIG_As_int(obj1
));
8904 if (SWIG_arg_fail(2)) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 (arg1
)->SetDefaultBorderSize(arg2
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8924 PyObject
* obj0
= 0 ;
8926 (char *) "self", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8931 if (SWIG_arg_fail(1)) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_From_int((int)(result
));
8948 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "self",(char *) "width", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail
;
8962 arg2
= (int)(SWIG_As_int(obj1
));
8963 if (SWIG_arg_fail(2)) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 (arg1
)->SetExtraBorderSize(arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 Py_INCREF(Py_None
); resultobj
= Py_None
;
8979 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8985 (char *) "self", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
8989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_From_int((int)(result
));
9007 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9014 (char *) "self",(char *) "min", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9019 if (SWIG_arg_fail(1)) SWIG_fail
;
9021 arg2
= (int)(SWIG_As_int(obj1
));
9022 if (SWIG_arg_fail(2)) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 (arg1
)->SetMinimumSizeX(arg2
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9045 (char *) "self",(char *) "min", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail
;
9052 arg2
= (int)(SWIG_As_int(obj1
));
9053 if (SWIG_arg_fail(2)) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 (arg1
)->SetMinimumSizeY(arg2
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_From_int((int)(result
));
9097 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "self", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_From_int((int)(result
));
9125 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9132 (char *) "self",(char *) "max", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail
;
9139 arg2
= (int)(SWIG_As_int(obj1
));
9140 if (SWIG_arg_fail(2)) SWIG_fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 (arg1
)->SetMaximumSizeX(arg2
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 Py_INCREF(Py_None
); resultobj
= Py_None
;
9156 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9161 PyObject
* obj1
= 0 ;
9163 (char *) "self",(char *) "max", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9170 arg2
= (int)(SWIG_As_int(obj1
));
9171 if (SWIG_arg_fail(2)) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 (arg1
)->SetMaximumSizeY(arg2
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 Py_INCREF(Py_None
); resultobj
= Py_None
;
9187 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9193 (char *) "self", NULL
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9198 if (SWIG_arg_fail(1)) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_From_int((int)(result
));
9215 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9219 PyObject
* obj0
= 0 ;
9221 (char *) "self", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9226 if (SWIG_arg_fail(1)) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= SWIG_From_int((int)(result
));
9243 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9248 int arg4
= (int) 2 ;
9249 wxSashEdgePosition result
;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9252 PyObject
* obj2
= 0 ;
9253 PyObject
* obj3
= 0 ;
9255 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9260 if (SWIG_arg_fail(1)) SWIG_fail
;
9262 arg2
= (int)(SWIG_As_int(obj1
));
9263 if (SWIG_arg_fail(2)) SWIG_fail
;
9266 arg3
= (int)(SWIG_As_int(obj2
));
9267 if (SWIG_arg_fail(3)) SWIG_fail
;
9271 arg4
= (int)(SWIG_As_int(obj3
));
9272 if (SWIG_arg_fail(4)) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_From_int((result
));
9289 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "self", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9299 if (SWIG_arg_fail(1)) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 (arg1
)->SizeWindows();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 Py_INCREF(Py_None
); resultobj
= Py_None
;
9314 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9317 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9319 return Py_BuildValue((char *)"");
9321 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 int arg1
= (int) 0 ;
9324 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9325 wxSashEvent
*result
;
9326 PyObject
* obj0
= 0 ;
9327 PyObject
* obj1
= 0 ;
9329 (char *) "id",(char *) "edge", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9335 arg1
= (int)(SWIG_As_int(obj0
));
9336 if (SWIG_arg_fail(1)) SWIG_fail
;
9341 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9342 if (SWIG_arg_fail(2)) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9359 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9362 wxSashEdgePosition arg2
;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9366 (char *) "self",(char *) "edge", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail
;
9373 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9374 if (SWIG_arg_fail(2)) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 Py_INCREF(Py_None
); resultobj
= Py_None
;
9390 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9393 wxSashEdgePosition result
;
9394 PyObject
* obj0
= 0 ;
9396 (char *) "self", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_From_int((result
));
9416 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9422 PyObject
* obj1
= 0 ;
9424 (char *) "self",(char *) "rect", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail
;
9432 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 Py_INCREF(Py_None
); resultobj
= Py_None
;
9448 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9450 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "self", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9459 if (SWIG_arg_fail(1)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9469 resultptr
= new wxRect((wxRect
&)(result
));
9470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9478 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
;
9480 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9481 wxSashDragStatus arg2
;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9485 (char *) "self",(char *) "status", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9490 if (SWIG_arg_fail(1)) SWIG_fail
;
9492 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9493 if (SWIG_arg_fail(2)) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 Py_INCREF(Py_None
); resultobj
= Py_None
;
9509 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9512 wxSashDragStatus result
;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_From_int((result
));
9535 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9538 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9540 return Py_BuildValue((char *)"");
9542 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 int arg1
= (int) 0 ;
9545 wxQueryLayoutInfoEvent
*result
;
9546 PyObject
* obj0
= 0 ;
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9554 arg1
= (int)(SWIG_As_int(obj0
));
9555 if (SWIG_arg_fail(1)) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9572 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9576 PyObject
* obj0
= 0 ;
9577 PyObject
* obj1
= 0 ;
9579 (char *) "self",(char *) "length", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9584 if (SWIG_arg_fail(1)) SWIG_fail
;
9586 arg2
= (int)(SWIG_As_int(obj1
));
9587 if (SWIG_arg_fail(2)) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 (arg1
)->SetRequestedLength(arg2
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 Py_INCREF(Py_None
); resultobj
= Py_None
;
9603 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9607 PyObject
* obj0
= 0 ;
9609 (char *) "self", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9614 if (SWIG_arg_fail(1)) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_From_int((int)(result
));
9631 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
;
9633 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9638 (char *) "self",(char *) "flags", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9643 if (SWIG_arg_fail(1)) SWIG_fail
;
9645 arg2
= (int)(SWIG_As_int(obj1
));
9646 if (SWIG_arg_fail(2)) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 (arg1
)->SetFlags(arg2
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 Py_INCREF(Py_None
); resultobj
= Py_None
;
9662 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9666 PyObject
* obj0
= 0 ;
9668 (char *) "self", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9673 if (SWIG_arg_fail(1)) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_From_int((int)(result
));
9690 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9698 (char *) "self",(char *) "size", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9703 if (SWIG_arg_fail(1)) SWIG_fail
;
9706 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 (arg1
)->SetSize((wxSize
const &)*arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 Py_INCREF(Py_None
); resultobj
= Py_None
;
9722 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9728 (char *) "self", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9733 if (SWIG_arg_fail(1)) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9743 resultptr
= new wxSize((wxSize
&)(result
));
9744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9752 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
;
9754 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9755 wxLayoutOrientation arg2
;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9759 (char *) "self",(char *) "orient", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail
;
9766 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9767 if (SWIG_arg_fail(2)) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 Py_INCREF(Py_None
); resultobj
= Py_None
;
9783 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9786 wxLayoutOrientation result
;
9787 PyObject
* obj0
= 0 ;
9789 (char *) "self", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_From_int((result
));
9809 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9812 wxLayoutAlignment arg2
;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9816 (char *) "self",(char *) "align", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9821 if (SWIG_arg_fail(1)) SWIG_fail
;
9823 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9824 if (SWIG_arg_fail(2)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 Py_INCREF(Py_None
); resultobj
= Py_None
;
9840 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9843 wxLayoutAlignment result
;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9851 if (SWIG_arg_fail(1)) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= SWIG_From_int((result
));
9866 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9869 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9871 return Py_BuildValue((char *)"");
9873 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 int arg1
= (int) 0 ;
9876 wxCalculateLayoutEvent
*result
;
9877 PyObject
* obj0
= 0 ;
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9885 arg1
= (int)(SWIG_As_int(obj0
));
9886 if (SWIG_arg_fail(1)) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9903 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9908 PyObject
* obj1
= 0 ;
9910 (char *) "self",(char *) "flags", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9915 if (SWIG_arg_fail(1)) SWIG_fail
;
9917 arg2
= (int)(SWIG_As_int(obj1
));
9918 if (SWIG_arg_fail(2)) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 (arg1
)->SetFlags(arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 Py_INCREF(Py_None
); resultobj
= Py_None
;
9934 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_From_int((int)(result
));
9962 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9970 (char *) "self",(char *) "rect", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail
;
9978 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 (arg1
)->SetRect((wxRect
const &)*arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 Py_INCREF(Py_None
); resultobj
= Py_None
;
9994 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9998 PyObject
* obj0
= 0 ;
10000 (char *) "self", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10005 if (SWIG_arg_fail(1)) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10014 wxRect
* resultptr
;
10015 resultptr
= new wxRect((wxRect
&)(result
));
10016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10024 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10027 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10029 return Py_BuildValue((char *)"");
10031 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxWindow
*arg1
= (wxWindow
*) 0 ;
10034 int arg2
= (int) -1 ;
10035 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10036 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10037 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10038 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10039 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10040 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10041 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10042 wxSashLayoutWindow
*result
;
10045 bool temp6
= false ;
10046 PyObject
* obj0
= 0 ;
10047 PyObject
* obj1
= 0 ;
10048 PyObject
* obj2
= 0 ;
10049 PyObject
* obj3
= 0 ;
10050 PyObject
* obj4
= 0 ;
10051 PyObject
* obj5
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10058 if (SWIG_arg_fail(1)) SWIG_fail
;
10061 arg2
= (int)(SWIG_As_int(obj1
));
10062 if (SWIG_arg_fail(2)) SWIG_fail
;
10068 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10074 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10079 arg5
= (long)(SWIG_As_long(obj4
));
10080 if (SWIG_arg_fail(5)) SWIG_fail
;
10085 arg6
= wxString_in_helper(obj5
);
10086 if (arg6
== NULL
) SWIG_fail
;
10091 if (!wxPyCheckForApp()) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10113 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxSashLayoutWindow
*result
;
10116 char *kwnames
[] = {
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10122 if (!wxPyCheckForApp()) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10136 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10139 wxWindow
*arg2
= (wxWindow
*) 0 ;
10140 int arg3
= (int) -1 ;
10141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10145 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10146 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10147 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10151 bool temp7
= false ;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 PyObject
* obj2
= 0 ;
10155 PyObject
* obj3
= 0 ;
10156 PyObject
* obj4
= 0 ;
10157 PyObject
* obj5
= 0 ;
10158 PyObject
* obj6
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail
;
10166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10167 if (SWIG_arg_fail(2)) SWIG_fail
;
10170 arg3
= (int)(SWIG_As_int(obj2
));
10171 if (SWIG_arg_fail(3)) SWIG_fail
;
10177 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10183 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10188 arg6
= (long)(SWIG_As_long(obj5
));
10189 if (SWIG_arg_fail(6)) SWIG_fail
;
10194 arg7
= wxString_in_helper(obj6
);
10195 if (arg7
== NULL
) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10223 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10225 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10226 wxLayoutAlignment result
;
10227 PyObject
* obj0
= 0 ;
10228 char *kwnames
[] = {
10229 (char *) "self", NULL
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10234 if (SWIG_arg_fail(1)) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_From_int((result
));
10249 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10252 wxLayoutOrientation result
;
10253 PyObject
* obj0
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10260 if (SWIG_arg_fail(1)) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_From_int((result
));
10275 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10278 wxLayoutAlignment arg2
;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self",(char *) "alignment", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail
;
10289 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10290 if (SWIG_arg_fail(2)) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 Py_INCREF(Py_None
); resultobj
= Py_None
;
10306 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self",(char *) "size", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail
;
10322 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10341 wxLayoutOrientation arg2
;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self",(char *) "orientation", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10350 if (SWIG_arg_fail(1)) SWIG_fail
;
10352 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10353 if (SWIG_arg_fail(2)) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 Py_INCREF(Py_None
); resultobj
= Py_None
;
10369 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10372 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10374 return Py_BuildValue((char *)"");
10376 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxLayoutAlgorithm
*result
;
10379 char *kwnames
[] = {
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10398 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10401 PyObject
* obj0
= 0 ;
10402 char *kwnames
[] = {
10403 (char *) "self", NULL
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10408 if (SWIG_arg_fail(1)) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 Py_INCREF(Py_None
); resultobj
= Py_None
;
10423 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10426 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10427 wxRect
*arg3
= (wxRect
*) NULL
;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 PyObject
* obj2
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self",(char *) "frame",(char *) "rect", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10438 if (SWIG_arg_fail(1)) SWIG_fail
;
10439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10440 if (SWIG_arg_fail(2)) SWIG_fail
;
10442 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10443 if (SWIG_arg_fail(3)) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10461 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10464 wxFrame
*arg2
= (wxFrame
*) 0 ;
10465 wxWindow
*arg3
= (wxWindow
*) NULL
;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10476 if (SWIG_arg_fail(1)) SWIG_fail
;
10477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10478 if (SWIG_arg_fail(2)) SWIG_fail
;
10480 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10481 if (SWIG_arg_fail(3)) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10499 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10502 wxWindow
*arg2
= (wxWindow
*) 0 ;
10503 wxWindow
*arg3
= (wxWindow
*) NULL
;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 PyObject
* obj2
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10514 if (SWIG_arg_fail(1)) SWIG_fail
;
10515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10516 if (SWIG_arg_fail(2)) SWIG_fail
;
10518 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10519 if (SWIG_arg_fail(3)) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10537 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10540 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10542 return Py_BuildValue((char *)"");
10544 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxWindow
*arg1
= (wxWindow
*) 0 ;
10547 int arg2
= (int) wxBORDER_NONE
;
10548 wxPopupWindow
*result
;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "parent",(char *) "flags", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail
;
10560 arg2
= (int)(SWIG_As_int(obj1
));
10561 if (SWIG_arg_fail(2)) SWIG_fail
;
10565 if (!wxPyCheckForApp()) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10579 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxPopupWindow
*result
;
10582 char *kwnames
[] = {
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10588 if (!wxPyCheckForApp()) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (wxPopupWindow
*)new wxPopupWindow();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10602 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10605 wxWindow
*arg2
= (wxWindow
*) 0 ;
10606 int arg3
= (int) wxBORDER_NONE
;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 PyObject
* obj2
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self",(char *) "parent",(char *) "flags", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail
;
10618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10619 if (SWIG_arg_fail(2)) SWIG_fail
;
10622 arg3
= (int)(SWIG_As_int(obj2
));
10623 if (SWIG_arg_fail(3)) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10645 wxPoint
*arg2
= 0 ;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 PyObject
* obj2
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail
;
10661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10665 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10684 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10686 return Py_BuildValue((char *)"");
10688 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxWindow
*arg1
= (wxWindow
*) 0 ;
10691 int arg2
= (int) wxBORDER_NONE
;
10692 wxPyPopupTransientWindow
*result
;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "parent",(char *) "style", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail
;
10704 arg2
= (int)(SWIG_As_int(obj1
));
10705 if (SWIG_arg_fail(2)) SWIG_fail
;
10709 if (!wxPyCheckForApp()) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10723 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxPyPopupTransientWindow
*result
;
10726 char *kwnames
[] = {
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10732 if (!wxPyCheckForApp()) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10746 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10749 PyObject
*arg2
= (PyObject
*) 0 ;
10750 PyObject
*arg3
= (PyObject
*) 0 ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 PyObject
* obj2
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self",(char *) "self",(char *) "_class", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 Py_INCREF(Py_None
); resultobj
= Py_None
;
10777 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10780 wxWindow
*arg2
= (wxWindow
*) NULL
;
10781 PyObject
* obj0
= 0 ;
10782 PyObject
* obj1
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self",(char *) "focus", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10789 if (SWIG_arg_fail(1)) SWIG_fail
;
10791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10792 if (SWIG_arg_fail(2)) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->Popup(arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 Py_INCREF(Py_None
); resultobj
= Py_None
;
10808 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10818 if (SWIG_arg_fail(1)) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10836 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10838 return Py_BuildValue((char *)"");
10840 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxWindow
*arg1
= (wxWindow
*) 0 ;
10843 wxString
*arg2
= 0 ;
10844 int arg3
= (int) 100 ;
10845 wxRect
*arg4
= (wxRect
*) NULL
;
10846 wxTipWindow
*result
;
10847 bool temp2
= false ;
10848 PyObject
* obj0
= 0 ;
10849 PyObject
* obj1
= 0 ;
10850 PyObject
* obj2
= 0 ;
10851 PyObject
* obj3
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10858 if (SWIG_arg_fail(1)) SWIG_fail
;
10860 arg2
= wxString_in_helper(obj1
);
10861 if (arg2
== NULL
) SWIG_fail
;
10866 arg3
= (int)(SWIG_As_int(obj2
));
10867 if (SWIG_arg_fail(3)) SWIG_fail
;
10871 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10872 if (SWIG_arg_fail(4)) SWIG_fail
;
10875 if (!wxPyCheckForApp()) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10897 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self",(char *) "rectBound", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail
;
10913 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10929 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10957 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10959 return Py_BuildValue((char *)"");
10961 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxWindow
*arg1
= (wxWindow
*) 0 ;
10964 int arg2
= (int) wxID_ANY
;
10965 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10966 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10967 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10968 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10969 long arg5
= (long) 0 ;
10970 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10971 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10972 wxPyVScrolledWindow
*result
;
10975 bool temp6
= false ;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 PyObject
* obj2
= 0 ;
10979 PyObject
* obj3
= 0 ;
10980 PyObject
* obj4
= 0 ;
10981 PyObject
* obj5
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail
;
10991 arg2
= (int)(SWIG_As_int(obj1
));
10992 if (SWIG_arg_fail(2)) SWIG_fail
;
10998 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11004 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11009 arg5
= (long)(SWIG_As_long(obj4
));
11010 if (SWIG_arg_fail(5)) SWIG_fail
;
11015 arg6
= wxString_in_helper(obj5
);
11016 if (arg6
== NULL
) SWIG_fail
;
11021 if (!wxPyCheckForApp()) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11043 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxPyVScrolledWindow
*result
;
11046 char *kwnames
[] = {
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11052 if (!wxPyCheckForApp()) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11066 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11069 PyObject
*arg2
= (PyObject
*) 0 ;
11070 PyObject
*arg3
= (PyObject
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 PyObject
* obj2
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "self",(char *) "_class", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11080 if (SWIG_arg_fail(1)) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 Py_INCREF(Py_None
); resultobj
= Py_None
;
11097 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11100 wxWindow
*arg2
= (wxWindow
*) 0 ;
11101 int arg3
= (int) wxID_ANY
;
11102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11106 long arg6
= (long) 0 ;
11107 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11112 bool temp7
= false ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 PyObject
* obj2
= 0 ;
11116 PyObject
* obj3
= 0 ;
11117 PyObject
* obj4
= 0 ;
11118 PyObject
* obj5
= 0 ;
11119 PyObject
* obj6
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11128 if (SWIG_arg_fail(2)) SWIG_fail
;
11131 arg3
= (int)(SWIG_As_int(obj2
));
11132 if (SWIG_arg_fail(3)) SWIG_fail
;
11138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11149 arg6
= (long)(SWIG_As_long(obj5
));
11150 if (SWIG_arg_fail(6)) SWIG_fail
;
11155 arg7
= wxString_in_helper(obj6
);
11156 if (arg7
== NULL
) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 PyObject
* obj1
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self",(char *) "count", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail
;
11198 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11199 if (SWIG_arg_fail(2)) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 (arg1
)->SetLineCount(arg2
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 Py_INCREF(Py_None
); resultobj
= Py_None
;
11215 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "line", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11228 if (SWIG_arg_fail(1)) SWIG_fail
;
11230 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11231 if (SWIG_arg_fail(2)) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11249 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "lines", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail
;
11264 arg2
= (int)(SWIG_As_int(obj1
));
11265 if (SWIG_arg_fail(2)) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (bool)(arg1
)->ScrollLines(arg2
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11283 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self",(char *) "pages", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11296 if (SWIG_arg_fail(1)) SWIG_fail
;
11298 arg2
= (int)(SWIG_As_int(obj1
));
11299 if (SWIG_arg_fail(2)) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (bool)(arg1
)->ScrollPages(arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11317 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11321 PyObject
* obj0
= 0 ;
11322 PyObject
* obj1
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self",(char *) "line", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail
;
11331 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11332 if (SWIG_arg_fail(2)) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->RefreshLine(arg2
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11348 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 PyObject
* obj2
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "from",(char *) "to", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail
;
11364 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11365 if (SWIG_arg_fail(2)) SWIG_fail
;
11368 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11369 if (SWIG_arg_fail(3)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 (arg1
)->RefreshLines(arg2
,arg3
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 Py_INCREF(Py_None
); resultobj
= Py_None
;
11385 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 PyObject
* obj1
= 0 ;
11393 PyObject
* obj2
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "x",(char *) "y", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 arg2
= (int)(SWIG_As_int(obj1
));
11403 if (SWIG_arg_fail(2)) SWIG_fail
;
11406 arg3
= (int)(SWIG_As_int(obj2
));
11407 if (SWIG_arg_fail(3)) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_From_int((int)(result
));
11425 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11428 wxPoint
*arg2
= 0 ;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self",(char *) "pt", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11439 if (SWIG_arg_fail(1)) SWIG_fail
;
11442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_From_int((int)(result
));
11460 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11470 if (SWIG_arg_fail(1)) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 (arg1
)->RefreshAll();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 Py_INCREF(Py_None
); resultobj
= Py_None
;
11485 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11496 if (SWIG_arg_fail(1)) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11513 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11541 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11552 if (SWIG_arg_fail(1)) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11569 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "line", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11582 if (SWIG_arg_fail(1)) SWIG_fail
;
11584 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11585 if (SWIG_arg_fail(2)) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11603 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11606 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11608 return Py_BuildValue((char *)"");
11610 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11611 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11616 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11621 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11623 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11630 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxWindow
*arg1
= (wxWindow
*) 0 ;
11633 int arg2
= (int) wxID_ANY
;
11634 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11635 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11636 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11637 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11638 long arg5
= (long) 0 ;
11639 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11640 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11641 wxPyVListBox
*result
;
11644 bool temp6
= false ;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 PyObject
* obj2
= 0 ;
11648 PyObject
* obj3
= 0 ;
11649 PyObject
* obj4
= 0 ;
11650 PyObject
* obj5
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail
;
11660 arg2
= (int)(SWIG_As_int(obj1
));
11661 if (SWIG_arg_fail(2)) SWIG_fail
;
11667 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11673 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11678 arg5
= (long)(SWIG_As_long(obj4
));
11679 if (SWIG_arg_fail(5)) SWIG_fail
;
11684 arg6
= wxString_in_helper(obj5
);
11685 if (arg6
== NULL
) SWIG_fail
;
11690 if (!wxPyCheckForApp()) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11712 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxPyVListBox
*result
;
11715 char *kwnames
[] = {
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11721 if (!wxPyCheckForApp()) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (wxPyVListBox
*)new wxPyVListBox();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11735 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11738 PyObject
*arg2
= (PyObject
*) 0 ;
11739 PyObject
*arg3
= (PyObject
*) 0 ;
11740 PyObject
* obj0
= 0 ;
11741 PyObject
* obj1
= 0 ;
11742 PyObject
* obj2
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "self",(char *) "_class", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 Py_INCREF(Py_None
); resultobj
= Py_None
;
11766 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11769 wxWindow
*arg2
= (wxWindow
*) 0 ;
11770 int arg3
= (int) wxID_ANY
;
11771 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11772 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11773 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11774 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11775 long arg6
= (long) 0 ;
11776 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11777 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11781 bool temp7
= false ;
11782 PyObject
* obj0
= 0 ;
11783 PyObject
* obj1
= 0 ;
11784 PyObject
* obj2
= 0 ;
11785 PyObject
* obj3
= 0 ;
11786 PyObject
* obj4
= 0 ;
11787 PyObject
* obj5
= 0 ;
11788 PyObject
* obj6
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11795 if (SWIG_arg_fail(1)) SWIG_fail
;
11796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11797 if (SWIG_arg_fail(2)) SWIG_fail
;
11800 arg3
= (int)(SWIG_As_int(obj2
));
11801 if (SWIG_arg_fail(3)) SWIG_fail
;
11807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11818 arg6
= (long)(SWIG_As_long(obj5
));
11819 if (SWIG_arg_fail(6)) SWIG_fail
;
11824 arg7
= wxString_in_helper(obj6
);
11825 if (arg7
== NULL
) SWIG_fail
;
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11853 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11881 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11909 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_From_int((int)(result
));
11937 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "item", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail
;
11952 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11953 if (SWIG_arg_fail(2)) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11971 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self",(char *) "item", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11984 if (SWIG_arg_fail(1)) SWIG_fail
;
11986 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11987 if (SWIG_arg_fail(2)) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12005 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12033 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12044 if (SWIG_arg_fail(1)) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= result
;
12059 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12062 unsigned long arg2
;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "self",(char *) "cookie", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12072 if (SWIG_arg_fail(1)) SWIG_fail
;
12074 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12075 if (SWIG_arg_fail(2)) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= result
;
12091 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12102 if (SWIG_arg_fail(1)) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12111 wxPoint
* resultptr
;
12112 resultptr
= new wxPoint((wxPoint
&)(result
));
12113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12121 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12137 result
= (wxColour
*) &_result_ref
;
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12150 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self",(char *) "count", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12162 if (SWIG_arg_fail(1)) SWIG_fail
;
12164 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12165 if (SWIG_arg_fail(2)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 (arg1
)->SetItemCount(arg2
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 Py_INCREF(Py_None
); resultobj
= Py_None
;
12181 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12191 if (SWIG_arg_fail(1)) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12206 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 PyObject
* obj1
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self",(char *) "selection", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12218 if (SWIG_arg_fail(1)) SWIG_fail
;
12220 arg2
= (int)(SWIG_As_int(obj1
));
12221 if (SWIG_arg_fail(2)) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 (arg1
)->SetSelection(arg2
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 Py_INCREF(Py_None
); resultobj
= Py_None
;
12237 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12241 bool arg3
= (bool) true ;
12243 PyObject
* obj0
= 0 ;
12244 PyObject
* obj1
= 0 ;
12245 PyObject
* obj2
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self",(char *) "item",(char *) "select", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12252 if (SWIG_arg_fail(1)) SWIG_fail
;
12254 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12255 if (SWIG_arg_fail(2)) SWIG_fail
;
12259 arg3
= (bool)(SWIG_As_bool(obj2
));
12260 if (SWIG_arg_fail(3)) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12279 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 PyObject
* obj1
= 0 ;
12287 PyObject
* obj2
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self",(char *) "from",(char *) "to", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12294 if (SWIG_arg_fail(1)) SWIG_fail
;
12296 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12297 if (SWIG_arg_fail(2)) SWIG_fail
;
12300 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12301 if (SWIG_arg_fail(3)) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12319 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self",(char *) "item", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",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
;
12333 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12334 if (SWIG_arg_fail(2)) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 (arg1
)->Toggle(arg2
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 Py_INCREF(Py_None
); resultobj
= Py_None
;
12350 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12361 if (SWIG_arg_fail(1)) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (bool)(arg1
)->SelectAll();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12378 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)(arg1
)->DeselectAll();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12406 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12409 wxPoint
*arg2
= 0 ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "pt", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail
;
12422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 Py_INCREF(Py_None
); resultobj
= Py_None
;
12438 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 PyObject
* obj2
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self",(char *) "x",(char *) "y", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12452 if (SWIG_arg_fail(1)) SWIG_fail
;
12454 arg2
= (int)(SWIG_As_int(obj1
));
12455 if (SWIG_arg_fail(2)) SWIG_fail
;
12458 arg3
= (int)(SWIG_As_int(obj2
));
12459 if (SWIG_arg_fail(3)) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetMargins(arg2
,arg3
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12475 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12478 wxColour
*arg2
= 0 ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self",(char *) "col", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12488 if (SWIG_arg_fail(1)) SWIG_fail
;
12491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 Py_INCREF(Py_None
); resultobj
= Py_None
;
12507 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12510 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12512 return Py_BuildValue((char *)"");
12514 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxWindow
*arg1
= (wxWindow
*) 0 ;
12517 int arg2
= (int) wxID_ANY
;
12518 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12519 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12520 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12521 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12522 long arg5
= (long) 0 ;
12523 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12524 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12525 wxPyHtmlListBox
*result
;
12528 bool temp6
= false ;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 PyObject
* obj2
= 0 ;
12532 PyObject
* obj3
= 0 ;
12533 PyObject
* obj4
= 0 ;
12534 PyObject
* obj5
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12541 if (SWIG_arg_fail(1)) SWIG_fail
;
12544 arg2
= (int)(SWIG_As_int(obj1
));
12545 if (SWIG_arg_fail(2)) SWIG_fail
;
12551 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12557 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12562 arg5
= (long)(SWIG_As_long(obj4
));
12563 if (SWIG_arg_fail(5)) SWIG_fail
;
12568 arg6
= wxString_in_helper(obj5
);
12569 if (arg6
== NULL
) SWIG_fail
;
12574 if (!wxPyCheckForApp()) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12596 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxPyHtmlListBox
*result
;
12599 char *kwnames
[] = {
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12605 if (!wxPyCheckForApp()) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12619 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12622 PyObject
*arg2
= (PyObject
*) 0 ;
12623 PyObject
*arg3
= (PyObject
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 PyObject
* obj2
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "self",(char *) "_class", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12633 if (SWIG_arg_fail(1)) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12653 wxWindow
*arg2
= (wxWindow
*) 0 ;
12654 int arg3
= (int) wxID_ANY
;
12655 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12656 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12657 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12658 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12659 long arg6
= (long) 0 ;
12660 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12661 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12665 bool temp7
= false ;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 PyObject
* obj2
= 0 ;
12669 PyObject
* obj3
= 0 ;
12670 PyObject
* obj4
= 0 ;
12671 PyObject
* obj5
= 0 ;
12672 PyObject
* obj6
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12681 if (SWIG_arg_fail(2)) SWIG_fail
;
12684 arg3
= (int)(SWIG_As_int(obj2
));
12685 if (SWIG_arg_fail(3)) SWIG_fail
;
12691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12697 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12702 arg6
= (long)(SWIG_As_long(obj5
));
12703 if (SWIG_arg_fail(6)) SWIG_fail
;
12708 arg7
= wxString_in_helper(obj6
);
12709 if (arg7
== NULL
) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12737 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12740 PyObject
* obj0
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 (arg1
)->RefreshAll();
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 Py_INCREF(Py_None
); resultobj
= Py_None
;
12762 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self",(char *) "count", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail
;
12776 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12777 if (SWIG_arg_fail(2)) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 (arg1
)->SetItemCount(arg2
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 Py_INCREF(Py_None
); resultobj
= Py_None
;
12793 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12796 wxFileSystem
*result
;
12797 PyObject
* obj0
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12804 if (SWIG_arg_fail(1)) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12809 result
= (wxFileSystem
*) &_result_ref
;
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12822 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12825 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12827 return Py_BuildValue((char *)"");
12829 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxPyTaskBarIcon
*result
;
12832 char *kwnames
[] = {
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12838 if (!wxPyCheckForApp()) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12852 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12855 PyObject
*arg2
= (PyObject
*) 0 ;
12856 PyObject
*arg3
= (PyObject
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 PyObject
* obj1
= 0 ;
12860 PyObject
* obj2
= 0 ;
12861 PyObject
* obj3
= 0 ;
12862 char *kwnames
[] = {
12863 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12868 if (SWIG_arg_fail(1)) SWIG_fail
;
12872 arg4
= (int)(SWIG_As_int(obj3
));
12873 if (SWIG_arg_fail(4)) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 wxPyTaskBarIcon_Destroy(arg1
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12942 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12970 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12974 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12975 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12977 bool temp3
= false ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 PyObject
* obj2
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12987 if (SWIG_arg_fail(1)) SWIG_fail
;
12989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12990 if (SWIG_arg_fail(2)) SWIG_fail
;
12991 if (arg2
== NULL
) {
12992 SWIG_null_ref("wxIcon");
12994 if (SWIG_arg_fail(2)) SWIG_fail
;
12998 arg3
= wxString_in_helper(obj2
);
12999 if (arg3
== NULL
) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13027 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->RemoveIcon();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13058 wxMenu
*arg2
= (wxMenu
*) 0 ;
13060 PyObject
* obj0
= 0 ;
13061 PyObject
* obj1
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self",(char *) "menu", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail
;
13069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13070 if (SWIG_arg_fail(2)) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (bool)(arg1
)->PopupMenu(arg2
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13087 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13090 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13092 return Py_BuildValue((char *)"");
13094 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
;
13097 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13098 wxTaskBarIconEvent
*result
;
13099 PyObject
* obj0
= 0 ;
13100 PyObject
* obj1
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "evtType",(char *) "tbIcon", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13107 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13108 if (SWIG_arg_fail(1)) SWIG_fail
;
13110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13111 if (SWIG_arg_fail(2)) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13126 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13129 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13131 return Py_BuildValue((char *)"");
13133 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13134 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13139 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13144 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13146 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13153 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13154 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13159 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13164 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13166 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13173 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13174 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13179 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13184 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13186 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13193 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13194 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13199 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13204 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13206 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13213 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13214 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13219 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13224 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13226 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13233 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13234 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13239 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13244 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13246 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13253 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxColourData
*result
;
13256 char *kwnames
[] = {
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (wxColourData
*)new wxColourData();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13275 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxColourData
*arg1
= (wxColourData
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13285 if (SWIG_arg_fail(1)) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxColourData
*arg1
= (wxColourData
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13311 if (SWIG_arg_fail(1)) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (bool)(arg1
)->GetChooseFull();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13328 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxColourData
*arg1
= (wxColourData
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13339 if (SWIG_arg_fail(1)) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (arg1
)->GetColour();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13348 wxColour
* resultptr
;
13349 resultptr
= new wxColour((wxColour
&)(result
));
13350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13358 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxColourData
*arg1
= (wxColourData
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self",(char *) "i", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13371 if (SWIG_arg_fail(1)) SWIG_fail
;
13373 arg2
= (int)(SWIG_As_int(obj1
));
13374 if (SWIG_arg_fail(2)) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (arg1
)->GetCustomColour(arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 wxColour
* resultptr
;
13385 resultptr
= new wxColour((wxColour
&)(result
));
13386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13394 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxColourData
*arg1
= (wxColourData
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "flag", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13406 if (SWIG_arg_fail(1)) SWIG_fail
;
13408 arg2
= (int)(SWIG_As_int(obj1
));
13409 if (SWIG_arg_fail(2)) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 (arg1
)->SetChooseFull(arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxColourData
*arg1
= (wxColourData
*) 0 ;
13428 wxColour
*arg2
= 0 ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "colour", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13438 if (SWIG_arg_fail(1)) SWIG_fail
;
13441 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 (arg1
)->SetColour((wxColour
const &)*arg2
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 Py_INCREF(Py_None
); resultobj
= Py_None
;
13457 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxColourData
*arg1
= (wxColourData
*) 0 ;
13461 wxColour
*arg3
= 0 ;
13463 PyObject
* obj0
= 0 ;
13464 PyObject
* obj1
= 0 ;
13465 PyObject
* obj2
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self",(char *) "i",(char *) "colour", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13472 if (SWIG_arg_fail(1)) SWIG_fail
;
13474 arg2
= (int)(SWIG_As_int(obj1
));
13475 if (SWIG_arg_fail(2)) SWIG_fail
;
13479 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 Py_INCREF(Py_None
); resultobj
= Py_None
;
13495 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13498 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13500 return Py_BuildValue((char *)"");
13502 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxWindow
*arg1
= (wxWindow
*) 0 ;
13505 wxColourData
*arg2
= (wxColourData
*) NULL
;
13506 wxColourDialog
*result
;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "parent",(char *) "data", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13515 if (SWIG_arg_fail(1)) SWIG_fail
;
13517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13518 if (SWIG_arg_fail(2)) SWIG_fail
;
13521 if (!wxPyCheckForApp()) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13535 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13538 wxColourData
*result
;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13546 if (SWIG_arg_fail(1)) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13551 result
= (wxColourData
*) &_result_ref
;
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13564 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13567 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13569 return Py_BuildValue((char *)"");
13571 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxWindow
*arg1
= (wxWindow
*) 0 ;
13574 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13575 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13576 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13577 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13578 long arg4
= (long) 0 ;
13579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13581 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13582 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13583 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13584 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13585 wxDirDialog
*result
;
13586 bool temp2
= false ;
13587 bool temp3
= false ;
13590 bool temp7
= false ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 PyObject
* obj2
= 0 ;
13594 PyObject
* obj3
= 0 ;
13595 PyObject
* obj4
= 0 ;
13596 PyObject
* obj5
= 0 ;
13597 PyObject
* obj6
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13604 if (SWIG_arg_fail(1)) SWIG_fail
;
13607 arg2
= wxString_in_helper(obj1
);
13608 if (arg2
== NULL
) SWIG_fail
;
13614 arg3
= wxString_in_helper(obj2
);
13615 if (arg3
== NULL
) SWIG_fail
;
13621 arg4
= (long)(SWIG_As_long(obj3
));
13622 if (SWIG_arg_fail(4)) SWIG_fail
;
13628 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13634 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13639 arg7
= wxString_in_helper(obj6
);
13640 if (arg7
== NULL
) SWIG_fail
;
13645 if (!wxPyCheckForApp()) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13683 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13694 if (SWIG_arg_fail(1)) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (arg1
)->GetPath();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13715 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13719 PyObject
* obj0
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13726 if (SWIG_arg_fail(1)) SWIG_fail
;
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= (arg1
)->GetMessage();
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13747 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
;
13749 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13751 PyObject
* obj0
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13758 if (SWIG_arg_fail(1)) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (long)(arg1
)->GetStyle();
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_From_long((long)(result
));
13775 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13778 wxString
*arg2
= 0 ;
13779 bool temp2
= false ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "self",(char *) "message", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13788 if (SWIG_arg_fail(1)) SWIG_fail
;
13790 arg2
= wxString_in_helper(obj1
);
13791 if (arg2
== NULL
) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 (arg1
)->SetMessage((wxString
const &)*arg2
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 Py_INCREF(Py_None
); resultobj
= Py_None
;
13816 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
;
13818 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13819 wxString
*arg2
= 0 ;
13820 bool temp2
= false ;
13821 PyObject
* obj0
= 0 ;
13822 PyObject
* obj1
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "self",(char *) "path", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13829 if (SWIG_arg_fail(1)) SWIG_fail
;
13831 arg2
= wxString_in_helper(obj1
);
13832 if (arg2
== NULL
) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 (arg1
)->SetPath((wxString
const &)*arg2
);
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 Py_INCREF(Py_None
); resultobj
= Py_None
;
13857 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13860 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13862 return Py_BuildValue((char *)"");
13864 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxWindow
*arg1
= (wxWindow
*) 0 ;
13867 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13868 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13871 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13872 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13873 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13874 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13875 long arg6
= (long) 0 ;
13876 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13877 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13878 wxFileDialog
*result
;
13879 bool temp2
= false ;
13880 bool temp3
= false ;
13881 bool temp4
= false ;
13882 bool temp5
= false ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 PyObject
* obj2
= 0 ;
13887 PyObject
* obj3
= 0 ;
13888 PyObject
* obj4
= 0 ;
13889 PyObject
* obj5
= 0 ;
13890 PyObject
* obj6
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13897 if (SWIG_arg_fail(1)) SWIG_fail
;
13900 arg2
= wxString_in_helper(obj1
);
13901 if (arg2
== NULL
) SWIG_fail
;
13907 arg3
= wxString_in_helper(obj2
);
13908 if (arg3
== NULL
) SWIG_fail
;
13914 arg4
= wxString_in_helper(obj3
);
13915 if (arg4
== NULL
) SWIG_fail
;
13921 arg5
= wxString_in_helper(obj4
);
13922 if (arg5
== NULL
) SWIG_fail
;
13928 arg6
= (long)(SWIG_As_long(obj5
));
13929 if (SWIG_arg_fail(6)) SWIG_fail
;
13935 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13939 if (!wxPyCheckForApp()) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13985 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13988 wxString
*arg2
= 0 ;
13989 bool temp2
= false ;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self",(char *) "message", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13998 if (SWIG_arg_fail(1)) SWIG_fail
;
14000 arg2
= wxString_in_helper(obj1
);
14001 if (arg2
== NULL
) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 (arg1
)->SetMessage((wxString
const &)*arg2
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 Py_INCREF(Py_None
); resultobj
= Py_None
;
14026 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14029 wxString
*arg2
= 0 ;
14030 bool temp2
= false ;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "self",(char *) "path", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail
;
14041 arg2
= wxString_in_helper(obj1
);
14042 if (arg2
== NULL
) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->SetPath((wxString
const &)*arg2
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14070 wxString
*arg2
= 0 ;
14071 bool temp2
= false ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self",(char *) "dir", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14080 if (SWIG_arg_fail(1)) SWIG_fail
;
14082 arg2
= wxString_in_helper(obj1
);
14083 if (arg2
== NULL
) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 Py_INCREF(Py_None
); resultobj
= Py_None
;
14108 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14111 wxString
*arg2
= 0 ;
14112 bool temp2
= false ;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "name", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14121 if (SWIG_arg_fail(1)) SWIG_fail
;
14123 arg2
= wxString_in_helper(obj1
);
14124 if (arg2
== NULL
) SWIG_fail
;
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 (arg1
)->SetFilename((wxString
const &)*arg2
);
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 Py_INCREF(Py_None
); resultobj
= Py_None
;
14149 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14152 wxString
*arg2
= 0 ;
14153 bool temp2
= false ;
14154 PyObject
* obj0
= 0 ;
14155 PyObject
* obj1
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self",(char *) "wildCard", NULL
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14162 if (SWIG_arg_fail(1)) SWIG_fail
;
14164 arg2
= wxString_in_helper(obj1
);
14165 if (arg2
== NULL
) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 Py_INCREF(Py_None
); resultobj
= Py_None
;
14190 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 PyObject
* obj1
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self",(char *) "style", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14202 if (SWIG_arg_fail(1)) SWIG_fail
;
14204 arg2
= (long)(SWIG_As_long(obj1
));
14205 if (SWIG_arg_fail(2)) SWIG_fail
;
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 (arg1
)->SetStyle(arg2
);
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 Py_INCREF(Py_None
); resultobj
= Py_None
;
14221 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 PyObject
* obj1
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self",(char *) "filterIndex", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14233 if (SWIG_arg_fail(1)) SWIG_fail
;
14235 arg2
= (int)(SWIG_As_int(obj1
));
14236 if (SWIG_arg_fail(2)) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 (arg1
)->SetFilterIndex(arg2
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 Py_INCREF(Py_None
); resultobj
= Py_None
;
14252 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14284 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14316 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14348 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14380 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14391 if (SWIG_arg_fail(1)) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14412 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= SWIG_From_long((long)(result
));
14440 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= SWIG_From_int((int)(result
));
14468 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14479 if (SWIG_arg_fail(1)) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= result
;
14494 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14505 if (SWIG_arg_fail(1)) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= result
;
14520 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14523 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14525 return Py_BuildValue((char *)"");
14527 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxWindow
*arg1
= (wxWindow
*) 0 ;
14530 wxString
*arg2
= 0 ;
14531 wxString
*arg3
= 0 ;
14532 int arg4
= (int) 0 ;
14533 wxString
*arg5
= (wxString
*) NULL
;
14534 long arg6
= (long) wxCHOICEDLG_STYLE
;
14535 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14536 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14537 wxMultiChoiceDialog
*result
;
14538 bool temp2
= false ;
14539 bool temp3
= false ;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 PyObject
* obj2
= 0 ;
14544 PyObject
* obj3
= 0 ;
14545 PyObject
* obj4
= 0 ;
14546 PyObject
* obj5
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail
;
14555 arg2
= wxString_in_helper(obj1
);
14556 if (arg2
== NULL
) SWIG_fail
;
14560 arg3
= wxString_in_helper(obj2
);
14561 if (arg3
== NULL
) SWIG_fail
;
14566 arg4
= PyList_Size(obj3
);
14567 arg5
= wxString_LIST_helper(obj3
);
14568 if (arg5
== NULL
) SWIG_fail
;
14573 arg6
= (long)(SWIG_As_long(obj4
));
14574 if (SWIG_arg_fail(6)) SWIG_fail
;
14580 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14584 if (!wxPyCheckForApp()) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14601 if (arg5
) delete [] arg5
;
14614 if (arg5
) delete [] arg5
;
14620 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14623 wxArrayInt
*arg2
= 0 ;
14624 bool temp2
= false ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self",(char *) "selections", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail
;
14635 if (! PySequence_Check(obj1
)) {
14636 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14639 arg2
= new wxArrayInt
;
14641 int i
, len
=PySequence_Length(obj1
);
14642 for (i
=0; i
<len
; i
++) {
14643 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14644 PyObject
* number
= PyNumber_Int(item
);
14645 arg2
->Add(PyInt_AS_LONG(number
));
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 Py_INCREF(Py_None
); resultobj
= Py_None
;
14659 if (temp2
) delete arg2
;
14664 if (temp2
) delete arg2
;
14670 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= result
;
14696 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14699 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14701 return Py_BuildValue((char *)"");
14703 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxWindow
*arg1
= (wxWindow
*) 0 ;
14706 wxString
*arg2
= 0 ;
14707 wxString
*arg3
= 0 ;
14709 wxString
*arg5
= (wxString
*) 0 ;
14710 long arg6
= (long) wxCHOICEDLG_STYLE
;
14711 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14712 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14713 wxSingleChoiceDialog
*result
;
14714 bool temp2
= false ;
14715 bool temp3
= false ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 PyObject
* obj2
= 0 ;
14720 PyObject
* obj3
= 0 ;
14721 PyObject
* obj4
= 0 ;
14722 PyObject
* obj5
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail
;
14731 arg2
= wxString_in_helper(obj1
);
14732 if (arg2
== NULL
) SWIG_fail
;
14736 arg3
= wxString_in_helper(obj2
);
14737 if (arg3
== NULL
) SWIG_fail
;
14741 arg4
= PyList_Size(obj3
);
14742 arg5
= wxString_LIST_helper(obj3
);
14743 if (arg5
== NULL
) SWIG_fail
;
14747 arg6
= (long)(SWIG_As_long(obj4
));
14748 if (SWIG_arg_fail(6)) SWIG_fail
;
14754 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14758 if (!wxPyCheckForApp()) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14775 if (arg5
) delete [] arg5
;
14788 if (arg5
) delete [] arg5
;
14794 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (int)(arg1
)->GetSelection();
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= SWIG_From_int((int)(result
));
14822 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14826 PyObject
* obj0
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (arg1
)->GetStringSelection();
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14854 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self",(char *) "sel", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14866 if (SWIG_arg_fail(1)) SWIG_fail
;
14868 arg2
= (int)(SWIG_As_int(obj1
));
14869 if (SWIG_arg_fail(2)) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->SetSelection(arg2
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14885 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14888 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14890 return Py_BuildValue((char *)"");
14892 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxWindow
*arg1
= (wxWindow
*) 0 ;
14895 wxString
*arg2
= 0 ;
14896 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14897 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14898 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14899 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14900 long arg5
= (long) wxTextEntryDialogStyle
;
14901 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14902 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14903 wxTextEntryDialog
*result
;
14904 bool temp2
= false ;
14905 bool temp3
= false ;
14906 bool temp4
= false ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 PyObject
* obj3
= 0 ;
14912 PyObject
* obj4
= 0 ;
14913 PyObject
* obj5
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail
;
14922 arg2
= wxString_in_helper(obj1
);
14923 if (arg2
== NULL
) SWIG_fail
;
14928 arg3
= wxString_in_helper(obj2
);
14929 if (arg3
== NULL
) SWIG_fail
;
14935 arg4
= wxString_in_helper(obj3
);
14936 if (arg4
== NULL
) SWIG_fail
;
14942 arg5
= (long)(SWIG_As_long(obj4
));
14943 if (SWIG_arg_fail(5)) SWIG_fail
;
14949 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14953 if (!wxPyCheckForApp()) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14991 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15002 if (SWIG_arg_fail(1)) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (arg1
)->GetValue();
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15023 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15026 wxString
*arg2
= 0 ;
15027 bool temp2
= false ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self",(char *) "value", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail
;
15038 arg2
= wxString_in_helper(obj1
);
15039 if (arg2
== NULL
) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 (arg1
)->SetValue((wxString
const &)*arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 Py_INCREF(Py_None
); resultobj
= Py_None
;
15064 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15067 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15069 return Py_BuildValue((char *)"");
15071 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15072 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15077 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15082 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15084 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15091 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxWindow
*arg1
= (wxWindow
*) 0 ;
15094 wxString
*arg2
= 0 ;
15095 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15096 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15097 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15098 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15099 long arg5
= (long) wxTextEntryDialogStyle
;
15100 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15101 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15102 wxPasswordEntryDialog
*result
;
15103 bool temp2
= false ;
15104 bool temp3
= false ;
15105 bool temp4
= false ;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 PyObject
* obj2
= 0 ;
15110 PyObject
* obj3
= 0 ;
15111 PyObject
* obj4
= 0 ;
15112 PyObject
* obj5
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15119 if (SWIG_arg_fail(1)) SWIG_fail
;
15121 arg2
= wxString_in_helper(obj1
);
15122 if (arg2
== NULL
) SWIG_fail
;
15127 arg3
= wxString_in_helper(obj2
);
15128 if (arg3
== NULL
) SWIG_fail
;
15134 arg4
= wxString_in_helper(obj3
);
15135 if (arg4
== NULL
) SWIG_fail
;
15141 arg5
= (long)(SWIG_As_long(obj4
));
15142 if (SWIG_arg_fail(5)) SWIG_fail
;
15148 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15189 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15192 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15194 return Py_BuildValue((char *)"");
15196 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxFontData
*result
;
15199 char *kwnames
[] = {
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (wxFontData
*)new wxFontData();
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15218 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxFontData
*arg1
= (wxFontData
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15228 if (SWIG_arg_fail(1)) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 Py_INCREF(Py_None
); resultobj
= Py_None
;
15243 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxFontData
*arg1
= (wxFontData
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self",(char *) "enable", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15255 if (SWIG_arg_fail(1)) SWIG_fail
;
15257 arg2
= (bool)(SWIG_As_bool(obj1
));
15258 if (SWIG_arg_fail(2)) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 (arg1
)->EnableEffects(arg2
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 Py_INCREF(Py_None
); resultobj
= Py_None
;
15274 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxFontData
*arg1
= (wxFontData
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (bool)(arg1
)->GetAllowSymbols();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15302 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxFontData
*arg1
= (wxFontData
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (arg1
)->GetColour();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 wxColour
* resultptr
;
15323 resultptr
= new wxColour((wxColour
&)(result
));
15324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15332 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxFontData
*arg1
= (wxFontData
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (arg1
)->GetChosenFont();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 wxFont
* resultptr
;
15353 resultptr
= new wxFont((wxFont
&)(result
));
15354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15362 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxFontData
*arg1
= (wxFontData
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15373 if (SWIG_arg_fail(1)) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (bool)(arg1
)->GetEnableEffects();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15390 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxFontData
*arg1
= (wxFontData
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= (arg1
)->GetInitialFont();
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15410 wxFont
* resultptr
;
15411 resultptr
= new wxFont((wxFont
&)(result
));
15412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15420 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxFontData
*arg1
= (wxFontData
*) 0 ;
15424 PyObject
* obj0
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail
;
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 result
= (bool)(arg1
)->GetShowHelp();
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15448 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxFontData
*arg1
= (wxFontData
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self",(char *) "allowSymbols", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15460 if (SWIG_arg_fail(1)) SWIG_fail
;
15462 arg2
= (bool)(SWIG_As_bool(obj1
));
15463 if (SWIG_arg_fail(2)) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 (arg1
)->SetAllowSymbols(arg2
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 Py_INCREF(Py_None
); resultobj
= Py_None
;
15479 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxFontData
*arg1
= (wxFontData
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 PyObject
* obj1
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self",(char *) "font", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail
;
15493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15494 if (SWIG_arg_fail(2)) SWIG_fail
;
15495 if (arg2
== NULL
) {
15496 SWIG_null_ref("wxFont");
15498 if (SWIG_arg_fail(2)) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 Py_INCREF(Py_None
); resultobj
= Py_None
;
15514 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxFontData
*arg1
= (wxFontData
*) 0 ;
15517 wxColour
*arg2
= 0 ;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "colour", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15527 if (SWIG_arg_fail(1)) SWIG_fail
;
15530 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 (arg1
)->SetColour((wxColour
const &)*arg2
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 Py_INCREF(Py_None
); resultobj
= Py_None
;
15546 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxFontData
*arg1
= (wxFontData
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 PyObject
* obj1
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self",(char *) "font", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail
;
15560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15561 if (SWIG_arg_fail(2)) SWIG_fail
;
15562 if (arg2
== NULL
) {
15563 SWIG_null_ref("wxFont");
15565 if (SWIG_arg_fail(2)) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 Py_INCREF(Py_None
); resultobj
= Py_None
;
15581 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxFontData
*arg1
= (wxFontData
*) 0 ;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 PyObject
* obj2
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "min",(char *) "max", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail
;
15597 arg2
= (int)(SWIG_As_int(obj1
));
15598 if (SWIG_arg_fail(2)) SWIG_fail
;
15601 arg3
= (int)(SWIG_As_int(obj2
));
15602 if (SWIG_arg_fail(3)) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 (arg1
)->SetRange(arg2
,arg3
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 Py_INCREF(Py_None
); resultobj
= Py_None
;
15618 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxFontData
*arg1
= (wxFontData
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "showHelp", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail
;
15632 arg2
= (bool)(SWIG_As_bool(obj1
));
15633 if (SWIG_arg_fail(2)) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 (arg1
)->SetShowHelp(arg2
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 Py_INCREF(Py_None
); resultobj
= Py_None
;
15649 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15652 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15654 return Py_BuildValue((char *)"");
15656 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxWindow
*arg1
= (wxWindow
*) 0 ;
15659 wxFontData
*arg2
= 0 ;
15660 wxFontDialog
*result
;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "parent",(char *) "data", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15669 if (SWIG_arg_fail(1)) SWIG_fail
;
15671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15672 if (SWIG_arg_fail(2)) SWIG_fail
;
15673 if (arg2
== NULL
) {
15674 SWIG_null_ref("wxFontData");
15676 if (SWIG_arg_fail(2)) SWIG_fail
;
15679 if (!wxPyCheckForApp()) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15693 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15696 wxFontData
*result
;
15697 PyObject
* obj0
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15704 if (SWIG_arg_fail(1)) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15709 result
= (wxFontData
*) &_result_ref
;
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15722 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15725 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15727 return Py_BuildValue((char *)"");
15729 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxWindow
*arg1
= (wxWindow
*) 0 ;
15732 wxString
*arg2
= 0 ;
15733 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15734 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15735 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15736 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15737 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15738 wxMessageDialog
*result
;
15739 bool temp2
= false ;
15740 bool temp3
= false ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 PyObject
* obj2
= 0 ;
15745 PyObject
* obj3
= 0 ;
15746 PyObject
* obj4
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail
;
15755 arg2
= wxString_in_helper(obj1
);
15756 if (arg2
== NULL
) SWIG_fail
;
15761 arg3
= wxString_in_helper(obj2
);
15762 if (arg3
== NULL
) SWIG_fail
;
15768 arg4
= (long)(SWIG_As_long(obj3
));
15769 if (SWIG_arg_fail(4)) SWIG_fail
;
15775 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15779 if (!wxPyCheckForApp()) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15809 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15812 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15814 return Py_BuildValue((char *)"");
15816 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxString
*arg1
= 0 ;
15819 wxString
*arg2
= 0 ;
15820 int arg3
= (int) 100 ;
15821 wxWindow
*arg4
= (wxWindow
*) NULL
;
15822 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15823 wxProgressDialog
*result
;
15824 bool temp1
= false ;
15825 bool temp2
= false ;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 PyObject
* obj2
= 0 ;
15829 PyObject
* obj3
= 0 ;
15830 PyObject
* obj4
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15837 arg1
= wxString_in_helper(obj0
);
15838 if (arg1
== NULL
) SWIG_fail
;
15842 arg2
= wxString_in_helper(obj1
);
15843 if (arg2
== NULL
) SWIG_fail
;
15848 arg3
= (int)(SWIG_As_int(obj2
));
15849 if (SWIG_arg_fail(3)) SWIG_fail
;
15853 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15854 if (SWIG_arg_fail(4)) SWIG_fail
;
15858 arg5
= (int)(SWIG_As_int(obj4
));
15859 if (SWIG_arg_fail(5)) SWIG_fail
;
15863 if (!wxPyCheckForApp()) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15893 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15897 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15898 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15900 bool temp3
= false ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 PyObject
* obj2
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15910 if (SWIG_arg_fail(1)) SWIG_fail
;
15912 arg2
= (int)(SWIG_As_int(obj1
));
15913 if (SWIG_arg_fail(2)) SWIG_fail
;
15917 arg3
= wxString_in_helper(obj2
);
15918 if (arg3
== NULL
) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15946 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15956 if (SWIG_arg_fail(1)) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 Py_INCREF(Py_None
); resultobj
= Py_None
;
15971 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15974 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15976 return Py_BuildValue((char *)"");
15978 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15981 int arg2
= (int) 0 ;
15982 wxFindDialogEvent
*result
;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "commandType",(char *) "id", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15992 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15993 if (SWIG_arg_fail(1)) SWIG_fail
;
15998 arg2
= (int)(SWIG_As_int(obj1
));
15999 if (SWIG_arg_fail(2)) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16016 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (int)(arg1
)->GetFlags();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 resultobj
= SWIG_From_int((int)(result
));
16044 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16055 if (SWIG_arg_fail(1)) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 wxString
const &_result_ref
= (arg1
)->GetFindString();
16060 result
= (wxString
*) &_result_ref
;
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16070 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16079 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16090 if (SWIG_arg_fail(1)) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16095 result
= (wxString
*) &_result_ref
;
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16114 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16117 wxFindReplaceDialog
*result
;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16125 if (SWIG_arg_fail(1)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16140 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self",(char *) "flags", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail
;
16154 arg2
= (int)(SWIG_As_int(obj1
));
16155 if (SWIG_arg_fail(2)) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 (arg1
)->SetFlags(arg2
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 Py_INCREF(Py_None
); resultobj
= Py_None
;
16171 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16174 wxString
*arg2
= 0 ;
16175 bool temp2
= false ;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "str", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16184 if (SWIG_arg_fail(1)) SWIG_fail
;
16186 arg2
= wxString_in_helper(obj1
);
16187 if (arg2
== NULL
) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 (arg1
)->SetFindString((wxString
const &)*arg2
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 Py_INCREF(Py_None
); resultobj
= Py_None
;
16212 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16215 wxString
*arg2
= 0 ;
16216 bool temp2
= false ;
16217 PyObject
* obj0
= 0 ;
16218 PyObject
* obj1
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self",(char *) "str", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16225 if (SWIG_arg_fail(1)) SWIG_fail
;
16227 arg2
= wxString_in_helper(obj1
);
16228 if (arg2
== NULL
) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 Py_INCREF(Py_None
); resultobj
= Py_None
;
16253 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16256 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16258 return Py_BuildValue((char *)"");
16260 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
;
16262 int arg1
= (int) 0 ;
16263 wxFindReplaceData
*result
;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "flags", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16272 arg1
= (int)(SWIG_As_int(obj0
));
16273 if (SWIG_arg_fail(1)) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16290 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 Py_INCREF(Py_None
); resultobj
= Py_None
;
16315 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16319 PyObject
* obj0
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 wxString
const &_result_ref
= (arg1
)->GetFindString();
16331 result
= (wxString
*) &_result_ref
;
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16341 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16350 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16366 result
= (wxString
*) &_result_ref
;
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16376 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16385 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16396 if (SWIG_arg_fail(1)) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= (int)(arg1
)->GetFlags();
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= SWIG_From_int((int)(result
));
16413 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self",(char *) "flags", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16425 if (SWIG_arg_fail(1)) SWIG_fail
;
16427 arg2
= (int)(SWIG_As_int(obj1
));
16428 if (SWIG_arg_fail(2)) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 (arg1
)->SetFlags(arg2
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 Py_INCREF(Py_None
); resultobj
= Py_None
;
16444 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16447 wxString
*arg2
= 0 ;
16448 bool temp2
= false ;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self",(char *) "str", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail
;
16459 arg2
= wxString_in_helper(obj1
);
16460 if (arg2
== NULL
) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 (arg1
)->SetFindString((wxString
const &)*arg2
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 Py_INCREF(Py_None
); resultobj
= Py_None
;
16485 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16488 wxString
*arg2
= 0 ;
16489 bool temp2
= false ;
16490 PyObject
* obj0
= 0 ;
16491 PyObject
* obj1
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "str", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16498 if (SWIG_arg_fail(1)) SWIG_fail
;
16500 arg2
= wxString_in_helper(obj1
);
16501 if (arg2
== NULL
) SWIG_fail
;
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16511 Py_INCREF(Py_None
); resultobj
= Py_None
;
16526 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16529 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16531 return Py_BuildValue((char *)"");
16533 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxWindow
*arg1
= (wxWindow
*) 0 ;
16536 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16537 wxString
*arg3
= 0 ;
16538 int arg4
= (int) 0 ;
16539 wxFindReplaceDialog
*result
;
16540 bool temp3
= false ;
16541 PyObject
* obj0
= 0 ;
16542 PyObject
* obj1
= 0 ;
16543 PyObject
* obj2
= 0 ;
16544 PyObject
* obj3
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16551 if (SWIG_arg_fail(1)) SWIG_fail
;
16552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16553 if (SWIG_arg_fail(2)) SWIG_fail
;
16555 arg3
= wxString_in_helper(obj2
);
16556 if (arg3
== NULL
) SWIG_fail
;
16561 arg4
= (int)(SWIG_As_int(obj3
));
16562 if (SWIG_arg_fail(4)) SWIG_fail
;
16566 if (!wxPyCheckForApp()) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16588 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxFindReplaceDialog
*result
;
16591 char *kwnames
[] = {
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16597 if (!wxPyCheckForApp()) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16611 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16614 wxWindow
*arg2
= (wxWindow
*) 0 ;
16615 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16616 wxString
*arg4
= 0 ;
16617 int arg5
= (int) 0 ;
16619 bool temp4
= false ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 PyObject
* obj2
= 0 ;
16623 PyObject
* obj3
= 0 ;
16624 PyObject
* obj4
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail
;
16632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16633 if (SWIG_arg_fail(2)) SWIG_fail
;
16634 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16635 if (SWIG_arg_fail(3)) SWIG_fail
;
16637 arg4
= wxString_in_helper(obj3
);
16638 if (arg4
== NULL
) SWIG_fail
;
16643 arg5
= (int)(SWIG_As_int(obj4
));
16644 if (SWIG_arg_fail(5)) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16671 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16674 wxFindReplaceData
*result
;
16675 PyObject
* obj0
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16697 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
;
16699 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16700 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16701 PyObject
* obj0
= 0 ;
16702 PyObject
* obj1
= 0 ;
16703 char *kwnames
[] = {
16704 (char *) "self",(char *) "data", NULL
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16709 if (SWIG_arg_fail(1)) SWIG_fail
;
16710 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16711 if (SWIG_arg_fail(2)) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 (arg1
)->SetData(arg2
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16719 Py_INCREF(Py_None
); resultobj
= Py_None
;
16726 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16729 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16731 return Py_BuildValue((char *)"");
16733 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxWindow
*arg1
= (wxWindow
*) 0 ;
16736 int arg2
= (int) (int)-1 ;
16737 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16738 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16739 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16740 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16741 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16742 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16743 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16744 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16746 wxMDIParentFrame
*result
;
16747 bool temp3
= false ;
16750 bool temp7
= false ;
16751 PyObject
* obj0
= 0 ;
16752 PyObject
* obj1
= 0 ;
16753 PyObject
* obj2
= 0 ;
16754 PyObject
* obj3
= 0 ;
16755 PyObject
* obj4
= 0 ;
16756 PyObject
* obj5
= 0 ;
16757 PyObject
* obj6
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16764 if (SWIG_arg_fail(1)) SWIG_fail
;
16767 arg2
= (int const)(SWIG_As_int(obj1
));
16768 if (SWIG_arg_fail(2)) SWIG_fail
;
16773 arg3
= wxString_in_helper(obj2
);
16774 if (arg3
== NULL
) SWIG_fail
;
16781 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16787 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16792 arg6
= (long)(SWIG_As_long(obj5
));
16793 if (SWIG_arg_fail(6)) SWIG_fail
;
16798 arg7
= wxString_in_helper(obj6
);
16799 if (arg7
== NULL
) SWIG_fail
;
16804 if (!wxPyCheckForApp()) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16834 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxMDIParentFrame
*result
;
16837 char *kwnames
[] = {
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16843 if (!wxPyCheckForApp()) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16857 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16860 wxWindow
*arg2
= (wxWindow
*) 0 ;
16861 int arg3
= (int) (int)-1 ;
16862 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16863 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16868 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16869 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16870 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16872 bool temp4
= false ;
16875 bool temp8
= false ;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 PyObject
* obj2
= 0 ;
16879 PyObject
* obj3
= 0 ;
16880 PyObject
* obj4
= 0 ;
16881 PyObject
* obj5
= 0 ;
16882 PyObject
* obj6
= 0 ;
16883 PyObject
* obj7
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16890 if (SWIG_arg_fail(1)) SWIG_fail
;
16891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16892 if (SWIG_arg_fail(2)) SWIG_fail
;
16895 arg3
= (int const)(SWIG_As_int(obj2
));
16896 if (SWIG_arg_fail(3)) SWIG_fail
;
16901 arg4
= wxString_in_helper(obj3
);
16902 if (arg4
== NULL
) SWIG_fail
;
16909 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16915 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16920 arg7
= (long)(SWIG_As_long(obj6
));
16921 if (SWIG_arg_fail(7)) SWIG_fail
;
16926 arg8
= wxString_in_helper(obj7
);
16927 if (arg8
== NULL
) SWIG_fail
;
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16963 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",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 (arg1
)->ActivateNext();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16981 Py_INCREF(Py_None
); resultobj
= Py_None
;
16988 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16991 PyObject
* obj0
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 (arg1
)->ActivatePrevious();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 Py_INCREF(Py_None
); resultobj
= Py_None
;
17013 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17016 PyObject
* obj0
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "self", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17023 if (SWIG_arg_fail(1)) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 (arg1
)->ArrangeIcons();
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 Py_INCREF(Py_None
); resultobj
= Py_None
;
17038 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17048 if (SWIG_arg_fail(1)) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 Py_INCREF(Py_None
); resultobj
= Py_None
;
17063 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17066 wxMDIChildFrame
*result
;
17067 PyObject
* obj0
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17074 if (SWIG_arg_fail(1)) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= wxPyMake_wxObject(result
, 0);
17091 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17094 wxMDIClientWindow
*result
;
17095 PyObject
* obj0
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17102 if (SWIG_arg_fail(1)) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= wxPyMake_wxObject(result
, 0);
17119 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17123 PyObject
* obj0
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17130 if (SWIG_arg_fail(1)) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxWindow
*)(arg1
)->GetToolBar();
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= wxPyMake_wxObject(result
, 0);
17147 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
17156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 Py_INCREF(Py_None
); resultobj
= Py_None
;
17172 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17175 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17177 return Py_BuildValue((char *)"");
17179 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17182 int arg2
= (int) (int)-1 ;
17183 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17184 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17185 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17186 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17187 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17188 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17189 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17190 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17192 wxMDIChildFrame
*result
;
17193 bool temp3
= false ;
17196 bool temp7
= false ;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 PyObject
* obj2
= 0 ;
17200 PyObject
* obj3
= 0 ;
17201 PyObject
* obj4
= 0 ;
17202 PyObject
* obj5
= 0 ;
17203 PyObject
* obj6
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17210 if (SWIG_arg_fail(1)) SWIG_fail
;
17213 arg2
= (int const)(SWIG_As_int(obj1
));
17214 if (SWIG_arg_fail(2)) SWIG_fail
;
17219 arg3
= wxString_in_helper(obj2
);
17220 if (arg3
== NULL
) SWIG_fail
;
17227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17238 arg6
= (long)(SWIG_As_long(obj5
));
17239 if (SWIG_arg_fail(6)) SWIG_fail
;
17244 arg7
= wxString_in_helper(obj6
);
17245 if (arg7
== NULL
) SWIG_fail
;
17250 if (!wxPyCheckForApp()) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17280 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxMDIChildFrame
*result
;
17283 char *kwnames
[] = {
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17289 if (!wxPyCheckForApp()) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17303 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17306 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17307 int arg3
= (int) (int)-1 ;
17308 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17309 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17310 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17311 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17312 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17313 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17314 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17315 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17318 bool temp4
= false ;
17321 bool temp8
= false ;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 PyObject
* obj2
= 0 ;
17325 PyObject
* obj3
= 0 ;
17326 PyObject
* obj4
= 0 ;
17327 PyObject
* obj5
= 0 ;
17328 PyObject
* obj6
= 0 ;
17329 PyObject
* obj7
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17336 if (SWIG_arg_fail(1)) SWIG_fail
;
17337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17338 if (SWIG_arg_fail(2)) SWIG_fail
;
17341 arg3
= (int const)(SWIG_As_int(obj2
));
17342 if (SWIG_arg_fail(3)) SWIG_fail
;
17347 arg4
= wxString_in_helper(obj3
);
17348 if (arg4
== NULL
) SWIG_fail
;
17355 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17361 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17366 arg7
= (long)(SWIG_As_long(obj6
));
17367 if (SWIG_arg_fail(7)) SWIG_fail
;
17372 arg8
= wxString_in_helper(obj7
);
17373 if (arg8
== NULL
) SWIG_fail
;
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17409 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17419 if (SWIG_arg_fail(1)) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 (arg1
)->Activate();
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 Py_INCREF(Py_None
); resultobj
= Py_None
;
17434 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17437 bool arg2
= (bool) true ;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 char *kwnames
[] = {
17441 (char *) "self",(char *) "maximize", NULL
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17446 if (SWIG_arg_fail(1)) SWIG_fail
;
17449 arg2
= (bool)(SWIG_As_bool(obj1
));
17450 if (SWIG_arg_fail(2)) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 (arg1
)->Maximize(arg2
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 Py_INCREF(Py_None
); resultobj
= Py_None
;
17467 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17477 if (SWIG_arg_fail(1)) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 Py_INCREF(Py_None
); resultobj
= Py_None
;
17492 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17495 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17497 return Py_BuildValue((char *)"");
17499 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17502 long arg2
= (long) 0 ;
17503 wxMDIClientWindow
*result
;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "parent",(char *) "style", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail
;
17515 arg2
= (long)(SWIG_As_long(obj1
));
17516 if (SWIG_arg_fail(2)) SWIG_fail
;
17520 if (!wxPyCheckForApp()) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17534 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxMDIClientWindow
*result
;
17537 char *kwnames
[] = {
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17543 if (!wxPyCheckForApp()) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17557 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17560 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17561 long arg3
= (long) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 PyObject
* obj2
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "parent",(char *) "style", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17572 if (SWIG_arg_fail(1)) SWIG_fail
;
17573 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17574 if (SWIG_arg_fail(2)) SWIG_fail
;
17577 arg3
= (long)(SWIG_As_long(obj2
));
17578 if (SWIG_arg_fail(3)) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17597 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17600 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17602 return Py_BuildValue((char *)"");
17604 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxWindow
*arg1
= (wxWindow
*) 0 ;
17607 int arg2
= (int) (int)-1 ;
17608 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17609 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17610 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17611 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17612 long arg5
= (long) 0 ;
17613 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17614 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17615 wxPyWindow
*result
;
17618 bool temp6
= false ;
17619 PyObject
* obj0
= 0 ;
17620 PyObject
* obj1
= 0 ;
17621 PyObject
* obj2
= 0 ;
17622 PyObject
* obj3
= 0 ;
17623 PyObject
* obj4
= 0 ;
17624 PyObject
* obj5
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17631 if (SWIG_arg_fail(1)) SWIG_fail
;
17634 arg2
= (int const)(SWIG_As_int(obj1
));
17635 if (SWIG_arg_fail(2)) SWIG_fail
;
17641 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17647 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17652 arg5
= (long)(SWIG_As_long(obj4
));
17653 if (SWIG_arg_fail(5)) SWIG_fail
;
17658 arg6
= wxString_in_helper(obj5
);
17659 if (arg6
== NULL
) SWIG_fail
;
17664 if (!wxPyCheckForApp()) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17686 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxPyWindow
*result
;
17689 char *kwnames
[] = {
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17695 if (!wxPyCheckForApp()) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (wxPyWindow
*)new wxPyWindow();
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17709 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17712 PyObject
*arg2
= (PyObject
*) 0 ;
17713 PyObject
*arg3
= (PyObject
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 PyObject
* obj2
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self",(char *) "self",(char *) "_class", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17723 if (SWIG_arg_fail(1)) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 Py_INCREF(Py_None
); resultobj
= Py_None
;
17740 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj1
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "size", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail
;
17756 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 Py_INCREF(Py_None
); resultobj
= Py_None
;
17772 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17779 PyObject
* obj0
= 0 ;
17780 PyObject
* obj1
= 0 ;
17781 PyObject
* obj2
= 0 ;
17782 PyObject
* obj3
= 0 ;
17783 PyObject
* obj4
= 0 ;
17784 char *kwnames
[] = {
17785 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail
;
17792 arg2
= (int)(SWIG_As_int(obj1
));
17793 if (SWIG_arg_fail(2)) SWIG_fail
;
17796 arg3
= (int)(SWIG_As_int(obj2
));
17797 if (SWIG_arg_fail(3)) SWIG_fail
;
17800 arg4
= (int)(SWIG_As_int(obj3
));
17801 if (SWIG_arg_fail(4)) SWIG_fail
;
17804 arg5
= (int)(SWIG_As_int(obj4
));
17805 if (SWIG_arg_fail(5)) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 Py_INCREF(Py_None
); resultobj
= Py_None
;
17821 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17828 int arg6
= (int) wxSIZE_AUTO
;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 PyObject
* obj2
= 0 ;
17832 PyObject
* obj3
= 0 ;
17833 PyObject
* obj4
= 0 ;
17834 PyObject
* obj5
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17841 if (SWIG_arg_fail(1)) SWIG_fail
;
17843 arg2
= (int)(SWIG_As_int(obj1
));
17844 if (SWIG_arg_fail(2)) SWIG_fail
;
17847 arg3
= (int)(SWIG_As_int(obj2
));
17848 if (SWIG_arg_fail(3)) SWIG_fail
;
17851 arg4
= (int)(SWIG_As_int(obj3
));
17852 if (SWIG_arg_fail(4)) SWIG_fail
;
17855 arg5
= (int)(SWIG_As_int(obj4
));
17856 if (SWIG_arg_fail(5)) SWIG_fail
;
17860 arg6
= (int)(SWIG_As_int(obj5
));
17861 if (SWIG_arg_fail(6)) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 PyObject
* obj2
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "width",(char *) "height", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 arg2
= (int)(SWIG_As_int(obj1
));
17895 if (SWIG_arg_fail(2)) SWIG_fail
;
17898 arg3
= (int)(SWIG_As_int(obj2
));
17899 if (SWIG_arg_fail(3)) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 Py_INCREF(Py_None
); resultobj
= Py_None
;
17915 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 PyObject
* obj2
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self",(char *) "x",(char *) "y", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail
;
17931 arg2
= (int)(SWIG_As_int(obj1
));
17932 if (SWIG_arg_fail(2)) SWIG_fail
;
17935 arg3
= (int)(SWIG_As_int(obj2
));
17936 if (SWIG_arg_fail(3)) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 Py_INCREF(Py_None
); resultobj
= Py_None
;
17952 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17955 int *arg2
= (int *) 0 ;
17956 int *arg3
= (int *) 0 ;
17961 PyObject
* obj0
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self", NULL
17966 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17967 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 Py_INCREF(Py_None
); resultobj
= Py_None
;
17979 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17980 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17981 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17982 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17989 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17992 int *arg2
= (int *) 0 ;
17993 int *arg3
= (int *) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 Py_INCREF(Py_None
); resultobj
= Py_None
;
18016 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18017 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18018 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18019 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18026 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18029 int *arg2
= (int *) 0 ;
18030 int *arg3
= (int *) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18041 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18044 if (SWIG_arg_fail(1)) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18054 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18055 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18056 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18063 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 wxSize
* resultptr
;
18084 resultptr
= new wxSize((wxSize
&)(result
));
18085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18093 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 wxSize
* resultptr
;
18114 resultptr
= new wxSize((wxSize
&)(result
));
18115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18123 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18133 if (SWIG_arg_fail(1)) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 (arg1
)->base_InitDialog();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18159 if (SWIG_arg_fail(1)) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (bool)(arg1
)->base_TransferDataToWindow();
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18176 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18187 if (SWIG_arg_fail(1)) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18204 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18208 PyObject
* obj0
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (bool)(arg1
)->base_Validate();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18232 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18243 if (SWIG_arg_fail(1)) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18260 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18288 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18292 PyObject
* obj0
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18299 if (SWIG_arg_fail(1)) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 wxSize
* resultptr
;
18309 resultptr
= new wxSize((wxSize
&)(result
));
18310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18318 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18321 wxWindow
*arg2
= (wxWindow
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self",(char *) "child", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18330 if (SWIG_arg_fail(1)) SWIG_fail
;
18331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18332 if (SWIG_arg_fail(2)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 (arg1
)->base_AddChild(arg2
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 Py_INCREF(Py_None
); resultobj
= Py_None
;
18347 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18350 wxWindow
*arg2
= (wxWindow
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "child", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail
;
18360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18361 if (SWIG_arg_fail(2)) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 (arg1
)->base_RemoveChild(arg2
);
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 Py_INCREF(Py_None
); resultobj
= Py_None
;
18376 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18387 if (SWIG_arg_fail(1)) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18404 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18407 wxColour
*arg2
= 0 ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "c", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 Py_INCREF(Py_None
); resultobj
= Py_None
;
18436 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18439 wxVisualAttributes result
;
18440 PyObject
* obj0
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (arg1
)->base_GetDefaultAttributes();
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 wxVisualAttributes
* resultptr
;
18457 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18466 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18469 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18471 return Py_BuildValue((char *)"");
18473 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxWindow
*arg1
= (wxWindow
*) 0 ;
18476 int arg2
= (int) (int)-1 ;
18477 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18478 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18479 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18480 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18481 long arg5
= (long) 0 ;
18482 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18483 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18487 bool temp6
= false ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 PyObject
* obj2
= 0 ;
18491 PyObject
* obj3
= 0 ;
18492 PyObject
* obj4
= 0 ;
18493 PyObject
* obj5
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18500 if (SWIG_arg_fail(1)) SWIG_fail
;
18503 arg2
= (int const)(SWIG_As_int(obj1
));
18504 if (SWIG_arg_fail(2)) SWIG_fail
;
18510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18516 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18521 arg5
= (long)(SWIG_As_long(obj4
));
18522 if (SWIG_arg_fail(5)) SWIG_fail
;
18527 arg6
= wxString_in_helper(obj5
);
18528 if (arg6
== NULL
) SWIG_fail
;
18533 if (!wxPyCheckForApp()) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18555 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18558 char *kwnames
[] = {
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18564 if (!wxPyCheckForApp()) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (wxPyPanel
*)new wxPyPanel();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18578 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18581 PyObject
*arg2
= (PyObject
*) 0 ;
18582 PyObject
*arg3
= (PyObject
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 PyObject
* obj2
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "self",(char *) "_class", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18592 if (SWIG_arg_fail(1)) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 Py_INCREF(Py_None
); resultobj
= Py_None
;
18609 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self",(char *) "size", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18622 if (SWIG_arg_fail(1)) SWIG_fail
;
18625 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 Py_INCREF(Py_None
); resultobj
= Py_None
;
18641 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 PyObject
* obj2
= 0 ;
18651 PyObject
* obj3
= 0 ;
18652 PyObject
* obj4
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18659 if (SWIG_arg_fail(1)) SWIG_fail
;
18661 arg2
= (int)(SWIG_As_int(obj1
));
18662 if (SWIG_arg_fail(2)) SWIG_fail
;
18665 arg3
= (int)(SWIG_As_int(obj2
));
18666 if (SWIG_arg_fail(3)) SWIG_fail
;
18669 arg4
= (int)(SWIG_As_int(obj3
));
18670 if (SWIG_arg_fail(4)) SWIG_fail
;
18673 arg5
= (int)(SWIG_As_int(obj4
));
18674 if (SWIG_arg_fail(5)) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 Py_INCREF(Py_None
); resultobj
= Py_None
;
18690 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18697 int arg6
= (int) wxSIZE_AUTO
;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 PyObject
* obj2
= 0 ;
18701 PyObject
* obj3
= 0 ;
18702 PyObject
* obj4
= 0 ;
18703 PyObject
* obj5
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18710 if (SWIG_arg_fail(1)) SWIG_fail
;
18712 arg2
= (int)(SWIG_As_int(obj1
));
18713 if (SWIG_arg_fail(2)) SWIG_fail
;
18716 arg3
= (int)(SWIG_As_int(obj2
));
18717 if (SWIG_arg_fail(3)) SWIG_fail
;
18720 arg4
= (int)(SWIG_As_int(obj3
));
18721 if (SWIG_arg_fail(4)) SWIG_fail
;
18724 arg5
= (int)(SWIG_As_int(obj4
));
18725 if (SWIG_arg_fail(5)) SWIG_fail
;
18729 arg6
= (int)(SWIG_As_int(obj5
));
18730 if (SWIG_arg_fail(6)) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 Py_INCREF(Py_None
); resultobj
= Py_None
;
18747 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 PyObject
* obj2
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self",(char *) "width",(char *) "height", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail
;
18763 arg2
= (int)(SWIG_As_int(obj1
));
18764 if (SWIG_arg_fail(2)) SWIG_fail
;
18767 arg3
= (int)(SWIG_As_int(obj2
));
18768 if (SWIG_arg_fail(3)) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 Py_INCREF(Py_None
); resultobj
= Py_None
;
18784 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 PyObject
* obj1
= 0 ;
18791 PyObject
* obj2
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self",(char *) "x",(char *) "y", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail
;
18800 arg2
= (int)(SWIG_As_int(obj1
));
18801 if (SWIG_arg_fail(2)) SWIG_fail
;
18804 arg3
= (int)(SWIG_As_int(obj2
));
18805 if (SWIG_arg_fail(3)) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 Py_INCREF(Py_None
); resultobj
= Py_None
;
18821 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18823 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18824 int *arg2
= (int *) 0 ;
18825 int *arg3
= (int *) 0 ;
18830 PyObject
* obj0
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "self", NULL
18835 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18836 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail
;
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 Py_INCREF(Py_None
); resultobj
= Py_None
;
18848 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18849 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18850 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18851 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18858 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18861 int *arg2
= (int *) 0 ;
18862 int *arg3
= (int *) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self", NULL
18872 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18873 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18876 if (SWIG_arg_fail(1)) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18886 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18887 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18888 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18895 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18898 int *arg2
= (int *) 0 ;
18899 int *arg3
= (int *) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18910 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 Py_INCREF(Py_None
); resultobj
= Py_None
;
18922 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18923 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18924 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18925 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18932 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 wxSize
* resultptr
;
18953 resultptr
= new wxSize((wxSize
&)(result
));
18954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18962 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18966 PyObject
* obj0
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18982 wxSize
* resultptr
;
18983 resultptr
= new wxSize((wxSize
&)(result
));
18984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18992 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19002 if (SWIG_arg_fail(1)) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 (arg1
)->base_InitDialog();
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 Py_INCREF(Py_None
); resultobj
= Py_None
;
19017 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19028 if (SWIG_arg_fail(1)) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (bool)(arg1
)->base_TransferDataToWindow();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19045 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19073 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (bool)(arg1
)->base_Validate();
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19101 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19112 if (SWIG_arg_fail(1)) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19129 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19140 if (SWIG_arg_fail(1)) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19157 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19168 if (SWIG_arg_fail(1)) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19177 wxSize
* resultptr
;
19178 resultptr
= new wxSize((wxSize
&)(result
));
19179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19187 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19190 wxWindow
*arg2
= (wxWindow
*) 0 ;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self",(char *) "child", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail
;
19200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19201 if (SWIG_arg_fail(2)) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->base_AddChild(arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 Py_INCREF(Py_None
); resultobj
= Py_None
;
19216 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19219 wxWindow
*arg2
= (wxWindow
*) 0 ;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self",(char *) "child", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail
;
19229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19230 if (SWIG_arg_fail(2)) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 (arg1
)->base_RemoveChild(arg2
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 Py_INCREF(Py_None
); resultobj
= Py_None
;
19245 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19249 PyObject
* obj0
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19273 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19276 wxColour
*arg2
= 0 ;
19278 PyObject
* obj0
= 0 ;
19279 PyObject
* obj1
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self",(char *) "c", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19286 if (SWIG_arg_fail(1)) SWIG_fail
;
19289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 Py_INCREF(Py_None
); resultobj
= Py_None
;
19305 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19308 wxVisualAttributes result
;
19309 PyObject
* obj0
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (arg1
)->base_GetDefaultAttributes();
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19325 wxVisualAttributes
* resultptr
;
19326 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19335 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19338 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19340 return Py_BuildValue((char *)"");
19342 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxWindow
*arg1
= (wxWindow
*) 0 ;
19345 int arg2
= (int) (int)-1 ;
19346 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19347 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19348 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19349 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19350 long arg5
= (long) 0 ;
19351 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19352 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19353 wxPyScrolledWindow
*result
;
19356 bool temp6
= false ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 PyObject
* obj3
= 0 ;
19361 PyObject
* obj4
= 0 ;
19362 PyObject
* obj5
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail
;
19372 arg2
= (int const)(SWIG_As_int(obj1
));
19373 if (SWIG_arg_fail(2)) SWIG_fail
;
19379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19385 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19390 arg5
= (long)(SWIG_As_long(obj4
));
19391 if (SWIG_arg_fail(5)) SWIG_fail
;
19396 arg6
= wxString_in_helper(obj5
);
19397 if (arg6
== NULL
) SWIG_fail
;
19402 if (!wxPyCheckForApp()) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19424 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxPyScrolledWindow
*result
;
19427 char *kwnames
[] = {
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19433 if (!wxPyCheckForApp()) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19447 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19450 PyObject
*arg2
= (PyObject
*) 0 ;
19451 PyObject
*arg3
= (PyObject
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 PyObject
* obj2
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self",(char *) "self",(char *) "_class", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19461 if (SWIG_arg_fail(1)) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self",(char *) "size", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19491 if (SWIG_arg_fail(1)) SWIG_fail
;
19494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19500 wxPyEndAllowThreads(__tstate
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19503 Py_INCREF(Py_None
); resultobj
= Py_None
;
19510 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19512 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 PyObject
* obj2
= 0 ;
19520 PyObject
* obj3
= 0 ;
19521 PyObject
* obj4
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19528 if (SWIG_arg_fail(1)) SWIG_fail
;
19530 arg2
= (int)(SWIG_As_int(obj1
));
19531 if (SWIG_arg_fail(2)) SWIG_fail
;
19534 arg3
= (int)(SWIG_As_int(obj2
));
19535 if (SWIG_arg_fail(3)) SWIG_fail
;
19538 arg4
= (int)(SWIG_As_int(obj3
));
19539 if (SWIG_arg_fail(4)) SWIG_fail
;
19542 arg5
= (int)(SWIG_As_int(obj4
));
19543 if (SWIG_arg_fail(5)) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 Py_INCREF(Py_None
); resultobj
= Py_None
;
19559 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19566 int arg6
= (int) wxSIZE_AUTO
;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 PyObject
* obj2
= 0 ;
19570 PyObject
* obj3
= 0 ;
19571 PyObject
* obj4
= 0 ;
19572 PyObject
* obj5
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail
;
19581 arg2
= (int)(SWIG_As_int(obj1
));
19582 if (SWIG_arg_fail(2)) SWIG_fail
;
19585 arg3
= (int)(SWIG_As_int(obj2
));
19586 if (SWIG_arg_fail(3)) SWIG_fail
;
19589 arg4
= (int)(SWIG_As_int(obj3
));
19590 if (SWIG_arg_fail(4)) SWIG_fail
;
19593 arg5
= (int)(SWIG_As_int(obj4
));
19594 if (SWIG_arg_fail(5)) SWIG_fail
;
19598 arg6
= (int)(SWIG_As_int(obj5
));
19599 if (SWIG_arg_fail(6)) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 Py_INCREF(Py_None
); resultobj
= Py_None
;
19616 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 PyObject
* obj2
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "width",(char *) "height", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19630 if (SWIG_arg_fail(1)) SWIG_fail
;
19632 arg2
= (int)(SWIG_As_int(obj1
));
19633 if (SWIG_arg_fail(2)) SWIG_fail
;
19636 arg3
= (int)(SWIG_As_int(obj2
));
19637 if (SWIG_arg_fail(3)) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 PyObject
* obj2
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self",(char *) "x",(char *) "y", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19667 if (SWIG_arg_fail(1)) SWIG_fail
;
19669 arg2
= (int)(SWIG_As_int(obj1
));
19670 if (SWIG_arg_fail(2)) SWIG_fail
;
19673 arg3
= (int)(SWIG_As_int(obj2
));
19674 if (SWIG_arg_fail(3)) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 Py_INCREF(Py_None
); resultobj
= Py_None
;
19690 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19693 int *arg2
= (int *) 0 ;
19694 int *arg3
= (int *) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self", NULL
19704 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19705 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19708 if (SWIG_arg_fail(1)) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 Py_INCREF(Py_None
); resultobj
= Py_None
;
19717 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19718 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19719 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19720 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19727 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19730 int *arg2
= (int *) 0 ;
19731 int *arg3
= (int *) 0 ;
19736 PyObject
* obj0
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self", NULL
19741 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19742 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 Py_INCREF(Py_None
); resultobj
= Py_None
;
19754 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19755 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19756 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19757 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19764 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19767 int *arg2
= (int *) 0 ;
19768 int *arg3
= (int *) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self", NULL
19778 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19779 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19782 if (SWIG_arg_fail(1)) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 Py_INCREF(Py_None
); resultobj
= Py_None
;
19791 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19792 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19793 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19794 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19801 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19812 if (SWIG_arg_fail(1)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 wxSize
* resultptr
;
19822 resultptr
= new wxSize((wxSize
&)(result
));
19823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19831 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19851 wxSize
* resultptr
;
19852 resultptr
= new wxSize((wxSize
&)(result
));
19853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19861 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19871 if (SWIG_arg_fail(1)) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 (arg1
)->base_InitDialog();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 Py_INCREF(Py_None
); resultobj
= Py_None
;
19886 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= (bool)(arg1
)->base_TransferDataToWindow();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19914 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19925 if (SWIG_arg_fail(1)) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19942 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (bool)(arg1
)->base_Validate();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19970 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19981 if (SWIG_arg_fail(1)) SWIG_fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19998 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20009 if (SWIG_arg_fail(1)) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20026 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20037 if (SWIG_arg_fail(1)) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 wxSize
* resultptr
;
20047 resultptr
= new wxSize((wxSize
&)(result
));
20048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20056 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20059 wxWindow
*arg2
= (wxWindow
*) 0 ;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj1
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "child", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20068 if (SWIG_arg_fail(1)) SWIG_fail
;
20069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20070 if (SWIG_arg_fail(2)) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 (arg1
)->base_AddChild(arg2
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 Py_INCREF(Py_None
); resultobj
= Py_None
;
20085 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20088 wxWindow
*arg2
= (wxWindow
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 PyObject
* obj1
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self",(char *) "child", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20097 if (SWIG_arg_fail(1)) SWIG_fail
;
20098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20099 if (SWIG_arg_fail(2)) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 (arg1
)->base_RemoveChild(arg2
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 Py_INCREF(Py_None
); resultobj
= Py_None
;
20114 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
;
20116 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20118 PyObject
* obj0
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "self", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20125 if (SWIG_arg_fail(1)) SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20142 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20145 wxColour
*arg2
= 0 ;
20147 PyObject
* obj0
= 0 ;
20148 PyObject
* obj1
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "self",(char *) "c", NULL
20153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail
;
20158 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 Py_INCREF(Py_None
); resultobj
= Py_None
;
20174 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20177 wxVisualAttributes result
;
20178 PyObject
* obj0
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (arg1
)->base_GetDefaultAttributes();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20194 wxVisualAttributes
* resultptr
;
20195 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20204 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20207 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20209 return Py_BuildValue((char *)"");
20211 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20212 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20217 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20222 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20224 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20231 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20232 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20237 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20242 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20244 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20251 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20252 PyObject
*resultobj
;
20253 wxPrintData
*result
;
20255 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 result
= (wxPrintData
*)new wxPrintData();
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20270 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20271 PyObject
*resultobj
;
20272 wxPrintData
*arg1
= 0 ;
20273 wxPrintData
*result
;
20274 PyObject
* obj0
= 0 ;
20276 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail
;
20280 if (arg1
== NULL
) {
20281 SWIG_null_ref("wxPrintData");
20283 if (SWIG_arg_fail(1)) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20299 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20304 argc
= PyObject_Length(args
);
20305 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20306 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20309 return _wrap_new_PrintData__SWIG_0(self
,args
);
20315 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20323 return _wrap_new_PrintData__SWIG_1(self
,args
);
20327 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20332 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20342 if (SWIG_arg_fail(1)) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 Py_INCREF(Py_None
); resultobj
= Py_None
;
20357 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
;
20359 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20361 PyObject
* obj0
= 0 ;
20362 char *kwnames
[] = {
20363 (char *) "self", NULL
20366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20368 if (SWIG_arg_fail(1)) SWIG_fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 result
= (int)(arg1
)->GetNoCopies();
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= SWIG_From_int((int)(result
));
20385 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
;
20387 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (bool)(arg1
)->GetCollate();
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20413 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (int)(arg1
)->GetOrientation();
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_From_int((int)(result
));
20441 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20452 if (SWIG_arg_fail(1)) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (bool)(arg1
)->Ok();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20469 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20485 result
= (wxString
*) &_result_ref
;
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20495 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20504 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20508 PyObject
* obj0
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20515 if (SWIG_arg_fail(1)) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 result
= (bool)(arg1
)->GetColour();
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20532 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20535 wxDuplexMode result
;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= SWIG_From_int((result
));
20558 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20560 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20561 wxPaperSize result
;
20562 PyObject
* obj0
= 0 ;
20563 char *kwnames
[] = {
20564 (char *) "self", NULL
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20569 if (SWIG_arg_fail(1)) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_From_int((result
));
20584 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20595 if (SWIG_arg_fail(1)) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20600 result
= (wxSize
*) &_result_ref
;
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20613 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (int)(arg1
)->GetQuality();
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_From_int((int)(result
));
20641 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (wxPrintBin
)(arg1
)->GetBin();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= SWIG_From_int((result
));
20667 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20670 wxPrintMode result
;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_From_int((result
));
20693 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "v", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20705 if (SWIG_arg_fail(1)) SWIG_fail
;
20707 arg2
= (int)(SWIG_As_int(obj1
));
20708 if (SWIG_arg_fail(2)) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->SetNoCopies(arg2
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 Py_INCREF(Py_None
); resultobj
= Py_None
;
20724 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self",(char *) "flag", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail
;
20738 arg2
= (bool)(SWIG_As_bool(obj1
));
20739 if (SWIG_arg_fail(2)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 (arg1
)->SetCollate(arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "orient", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20767 if (SWIG_arg_fail(1)) SWIG_fail
;
20769 arg2
= (int)(SWIG_As_int(obj1
));
20770 if (SWIG_arg_fail(2)) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 (arg1
)->SetOrientation(arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 Py_INCREF(Py_None
); resultobj
= Py_None
;
20786 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20789 wxString
*arg2
= 0 ;
20790 bool temp2
= false ;
20791 PyObject
* obj0
= 0 ;
20792 PyObject
* obj1
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self",(char *) "name", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail
;
20801 arg2
= wxString_in_helper(obj1
);
20802 if (arg2
== NULL
) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 Py_INCREF(Py_None
); resultobj
= Py_None
;
20827 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self",(char *) "colour", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20839 if (SWIG_arg_fail(1)) SWIG_fail
;
20841 arg2
= (bool)(SWIG_As_bool(obj1
));
20842 if (SWIG_arg_fail(2)) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 (arg1
)->SetColour(arg2
);
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20851 Py_INCREF(Py_None
); resultobj
= Py_None
;
20858 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20861 wxDuplexMode arg2
;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self",(char *) "duplex", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20870 if (SWIG_arg_fail(1)) SWIG_fail
;
20872 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20873 if (SWIG_arg_fail(2)) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 Py_INCREF(Py_None
); resultobj
= Py_None
;
20889 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self",(char *) "sizeId", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20901 if (SWIG_arg_fail(1)) SWIG_fail
;
20903 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20904 if (SWIG_arg_fail(2)) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 Py_INCREF(Py_None
); resultobj
= Py_None
;
20920 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20925 PyObject
* obj0
= 0 ;
20926 PyObject
* obj1
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self",(char *) "sz", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",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
;
20936 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 Py_INCREF(Py_None
); resultobj
= Py_None
;
20952 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self",(char *) "quality", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail
;
20966 arg2
= (int)(SWIG_As_int(obj1
));
20967 if (SWIG_arg_fail(2)) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 (arg1
)->SetQuality(arg2
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 Py_INCREF(Py_None
); resultobj
= Py_None
;
20983 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "bin", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail
;
20997 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20998 if (SWIG_arg_fail(2)) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 (arg1
)->SetBin((wxPrintBin
)arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 Py_INCREF(Py_None
); resultobj
= Py_None
;
21014 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self",(char *) "printMode", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21026 if (SWIG_arg_fail(1)) SWIG_fail
;
21028 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21029 if (SWIG_arg_fail(2)) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21045 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21077 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21080 wxString
*arg2
= 0 ;
21081 bool temp2
= false ;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self",(char *) "filename", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail
;
21092 arg2
= wxString_in_helper(obj1
);
21093 if (arg2
== NULL
) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 (arg1
)->SetFilename((wxString
const &)*arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 Py_INCREF(Py_None
); resultobj
= Py_None
;
21118 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21122 PyObject
* obj0
= 0 ;
21123 char *kwnames
[] = {
21124 (char *) "self", NULL
21127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21129 if (SWIG_arg_fail(1)) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21134 result
= (wxString
*) &_result_ref
;
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21153 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21164 if (SWIG_arg_fail(1)) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21169 result
= (wxString
*) &_result_ref
;
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21188 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21192 PyObject
* obj0
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21204 result
= (wxString
*) &_result_ref
;
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21223 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21227 PyObject
* obj0
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21239 result
= (wxString
*) &_result_ref
;
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21249 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21258 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
;
21260 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21262 PyObject
* obj0
= 0 ;
21263 char *kwnames
[] = {
21264 (char *) "self", NULL
21267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21269 if (SWIG_arg_fail(1)) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (double)(arg1
)->GetPrinterScaleX();
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= SWIG_From_double((double)(result
));
21286 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21290 PyObject
* obj0
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "self", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21297 if (SWIG_arg_fail(1)) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (double)(arg1
)->GetPrinterScaleY();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_From_double((double)(result
));
21314 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21318 PyObject
* obj0
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21325 if (SWIG_arg_fail(1)) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (long)(arg1
)->GetPrinterTranslateX();
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= SWIG_From_long((long)(result
));
21342 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21353 if (SWIG_arg_fail(1)) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (long)(arg1
)->GetPrinterTranslateY();
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= SWIG_From_long((long)(result
));
21370 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21373 wxString
*arg2
= 0 ;
21374 bool temp2
= false ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "command", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail
;
21385 arg2
= wxString_in_helper(obj1
);
21386 if (arg2
== NULL
) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 Py_INCREF(Py_None
); resultobj
= Py_None
;
21411 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21414 wxString
*arg2
= 0 ;
21415 bool temp2
= false ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "options", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail
;
21426 arg2
= wxString_in_helper(obj1
);
21427 if (arg2
== NULL
) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 Py_INCREF(Py_None
); resultobj
= Py_None
;
21452 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21455 wxString
*arg2
= 0 ;
21456 bool temp2
= false ;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self",(char *) "command", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21465 if (SWIG_arg_fail(1)) SWIG_fail
;
21467 arg2
= wxString_in_helper(obj1
);
21468 if (arg2
== NULL
) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21493 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21496 wxString
*arg2
= 0 ;
21497 bool temp2
= false ;
21498 PyObject
* obj0
= 0 ;
21499 PyObject
* obj1
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "self",(char *) "path", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21506 if (SWIG_arg_fail(1)) SWIG_fail
;
21508 arg2
= wxString_in_helper(obj1
);
21509 if (arg2
== NULL
) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 Py_INCREF(Py_None
); resultobj
= Py_None
;
21534 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 PyObject
* obj1
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self",(char *) "x", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 arg2
= (double)(SWIG_As_double(obj1
));
21549 if (SWIG_arg_fail(2)) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 (arg1
)->SetPrinterScaleX(arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 Py_INCREF(Py_None
); resultobj
= Py_None
;
21565 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self",(char *) "y", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21577 if (SWIG_arg_fail(1)) SWIG_fail
;
21579 arg2
= (double)(SWIG_As_double(obj1
));
21580 if (SWIG_arg_fail(2)) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 (arg1
)->SetPrinterScaleY(arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 Py_INCREF(Py_None
); resultobj
= Py_None
;
21596 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 PyObject
* obj2
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "x",(char *) "y", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail
;
21612 arg2
= (double)(SWIG_As_double(obj1
));
21613 if (SWIG_arg_fail(2)) SWIG_fail
;
21616 arg3
= (double)(SWIG_As_double(obj2
));
21617 if (SWIG_arg_fail(3)) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 Py_INCREF(Py_None
); resultobj
= Py_None
;
21633 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self",(char *) "x", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21645 if (SWIG_arg_fail(1)) SWIG_fail
;
21647 arg2
= (long)(SWIG_As_long(obj1
));
21648 if (SWIG_arg_fail(2)) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 (arg1
)->SetPrinterTranslateX(arg2
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 Py_INCREF(Py_None
); resultobj
= Py_None
;
21664 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "y", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail
;
21678 arg2
= (long)(SWIG_As_long(obj1
));
21679 if (SWIG_arg_fail(2)) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 (arg1
)->SetPrinterTranslateY(arg2
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 Py_INCREF(Py_None
); resultobj
= Py_None
;
21695 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 PyObject
* obj2
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "x",(char *) "y", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail
;
21711 arg2
= (long)(SWIG_As_long(obj1
));
21712 if (SWIG_arg_fail(2)) SWIG_fail
;
21715 arg3
= (long)(SWIG_As_long(obj2
));
21716 if (SWIG_arg_fail(3)) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 Py_INCREF(Py_None
); resultobj
= Py_None
;
21732 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21735 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21737 return Py_BuildValue((char *)"");
21739 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21740 PyObject
*resultobj
;
21741 wxPageSetupDialogData
*result
;
21743 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21758 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21759 PyObject
*resultobj
;
21760 wxPageSetupDialogData
*arg1
= 0 ;
21761 wxPageSetupDialogData
*result
;
21762 PyObject
* obj0
= 0 ;
21764 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail
;
21768 if (arg1
== NULL
) {
21769 SWIG_null_ref("wxPageSetupDialogData");
21771 if (SWIG_arg_fail(1)) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21787 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21788 PyObject
*resultobj
;
21789 wxPrintData
*arg1
= 0 ;
21790 wxPageSetupDialogData
*result
;
21791 PyObject
* obj0
= 0 ;
21793 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21796 if (SWIG_arg_fail(1)) SWIG_fail
;
21797 if (arg1
== NULL
) {
21798 SWIG_null_ref("wxPrintData");
21800 if (SWIG_arg_fail(1)) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21816 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21821 argc
= PyObject_Length(args
);
21822 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21823 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21826 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21832 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21840 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21855 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21859 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21864 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21874 if (SWIG_arg_fail(1)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 Py_INCREF(Py_None
); resultobj
= Py_None
;
21889 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21893 PyObject
* obj0
= 0 ;
21894 PyObject
* obj1
= 0 ;
21895 char *kwnames
[] = {
21896 (char *) "self",(char *) "flag", NULL
21899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21901 if (SWIG_arg_fail(1)) SWIG_fail
;
21903 arg2
= (bool)(SWIG_As_bool(obj1
));
21904 if (SWIG_arg_fail(2)) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 (arg1
)->EnableHelp(arg2
);
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 Py_INCREF(Py_None
); resultobj
= Py_None
;
21920 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 char *kwnames
[] = {
21927 (char *) "self",(char *) "flag", NULL
21930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21932 if (SWIG_arg_fail(1)) SWIG_fail
;
21934 arg2
= (bool)(SWIG_As_bool(obj1
));
21935 if (SWIG_arg_fail(2)) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 (arg1
)->EnableMargins(arg2
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 Py_INCREF(Py_None
); resultobj
= Py_None
;
21951 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "flag", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21963 if (SWIG_arg_fail(1)) SWIG_fail
;
21965 arg2
= (bool)(SWIG_As_bool(obj1
));
21966 if (SWIG_arg_fail(2)) SWIG_fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 (arg1
)->EnableOrientation(arg2
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 Py_INCREF(Py_None
); resultobj
= Py_None
;
21982 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self",(char *) "flag", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
21997 if (SWIG_arg_fail(2)) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 (arg1
)->EnablePaper(arg2
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 Py_INCREF(Py_None
); resultobj
= Py_None
;
22013 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "flag", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail
;
22027 arg2
= (bool)(SWIG_As_bool(obj1
));
22028 if (SWIG_arg_fail(2)) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 (arg1
)->EnablePrinter(arg2
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 Py_INCREF(Py_None
); resultobj
= Py_None
;
22044 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= (bool)(arg1
)->GetDefaultMinMargins();
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22072 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22076 PyObject
* obj0
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (bool)(arg1
)->GetEnableMargins();
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22100 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 char *kwnames
[] = {
22106 (char *) "self", NULL
22109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22111 if (SWIG_arg_fail(1)) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (bool)(arg1
)->GetEnableOrientation();
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22128 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22132 PyObject
* obj0
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22139 if (SWIG_arg_fail(1)) SWIG_fail
;
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= (bool)(arg1
)->GetEnablePaper();
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22156 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22160 PyObject
* obj0
= 0 ;
22161 char *kwnames
[] = {
22162 (char *) "self", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22167 if (SWIG_arg_fail(1)) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (bool)(arg1
)->GetEnablePrinter();
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22184 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22195 if (SWIG_arg_fail(1)) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (bool)(arg1
)->GetEnableHelp();
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22212 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22214 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22216 PyObject
* obj0
= 0 ;
22217 char *kwnames
[] = {
22218 (char *) "self", NULL
22221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22223 if (SWIG_arg_fail(1)) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 result
= (bool)(arg1
)->GetDefaultInfo();
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22240 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22244 PyObject
* obj0
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22251 if (SWIG_arg_fail(1)) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (arg1
)->GetMarginTopLeft();
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22260 wxPoint
* resultptr
;
22261 resultptr
= new wxPoint((wxPoint
&)(result
));
22262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22270 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 char *kwnames
[] = {
22276 (char *) "self", NULL
22279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22281 if (SWIG_arg_fail(1)) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (arg1
)->GetMarginBottomRight();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 wxPoint
* resultptr
;
22291 resultptr
= new wxPoint((wxPoint
&)(result
));
22292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22300 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22311 if (SWIG_arg_fail(1)) SWIG_fail
;
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 result
= (arg1
)->GetMinMarginTopLeft();
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22320 wxPoint
* resultptr
;
22321 resultptr
= new wxPoint((wxPoint
&)(result
));
22322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22330 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22341 if (SWIG_arg_fail(1)) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= (arg1
)->GetMinMarginBottomRight();
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22350 wxPoint
* resultptr
;
22351 resultptr
= new wxPoint((wxPoint
&)(result
));
22352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22360 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22363 wxPaperSize result
;
22364 PyObject
* obj0
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22371 if (SWIG_arg_fail(1)) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_From_int((result
));
22386 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22397 if (SWIG_arg_fail(1)) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (arg1
)->GetPaperSize();
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22406 wxSize
* resultptr
;
22407 resultptr
= new wxSize((wxSize
&)(result
));
22408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22416 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22419 wxPrintData
*result
;
22420 PyObject
* obj0
= 0 ;
22421 char *kwnames
[] = {
22422 (char *) "self", NULL
22425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22427 if (SWIG_arg_fail(1)) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22432 result
= (wxPrintData
*) &_result_ref
;
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22445 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
;
22447 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22449 PyObject
* obj0
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22456 if (SWIG_arg_fail(1)) SWIG_fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= (bool)(arg1
)->Ok();
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22473 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "flag", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail
;
22487 arg2
= (bool)(SWIG_As_bool(obj1
));
22488 if (SWIG_arg_fail(2)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 (arg1
)->SetDefaultInfo(arg2
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 Py_INCREF(Py_None
); resultobj
= Py_None
;
22504 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22508 PyObject
* obj0
= 0 ;
22509 PyObject
* obj1
= 0 ;
22510 char *kwnames
[] = {
22511 (char *) "self",(char *) "flag", NULL
22514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22516 if (SWIG_arg_fail(1)) SWIG_fail
;
22518 arg2
= (bool)(SWIG_As_bool(obj1
));
22519 if (SWIG_arg_fail(2)) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 (arg1
)->SetDefaultMinMargins(arg2
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 Py_INCREF(Py_None
); resultobj
= Py_None
;
22535 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22538 wxPoint
*arg2
= 0 ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self",(char *) "pt", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22548 if (SWIG_arg_fail(1)) SWIG_fail
;
22551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 Py_INCREF(Py_None
); resultobj
= Py_None
;
22567 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22570 wxPoint
*arg2
= 0 ;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self",(char *) "pt", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22580 if (SWIG_arg_fail(1)) SWIG_fail
;
22583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 Py_INCREF(Py_None
); resultobj
= Py_None
;
22599 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22602 wxPoint
*arg2
= 0 ;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self",(char *) "pt", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22612 if (SWIG_arg_fail(1)) SWIG_fail
;
22615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 Py_INCREF(Py_None
); resultobj
= Py_None
;
22631 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22634 wxPoint
*arg2
= 0 ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self",(char *) "pt", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail
;
22647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 Py_INCREF(Py_None
); resultobj
= Py_None
;
22663 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self",(char *) "id", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22678 if (SWIG_arg_fail(2)) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self",(char *) "size", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail
;
22710 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 Py_INCREF(Py_None
); resultobj
= Py_None
;
22726 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22729 wxPrintData
*arg2
= 0 ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self",(char *) "printData", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22738 if (SWIG_arg_fail(1)) SWIG_fail
;
22740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22741 if (SWIG_arg_fail(2)) SWIG_fail
;
22742 if (arg2
== NULL
) {
22743 SWIG_null_ref("wxPrintData");
22745 if (SWIG_arg_fail(2)) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 Py_INCREF(Py_None
); resultobj
= Py_None
;
22761 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22764 PyObject
* obj0
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22771 if (SWIG_arg_fail(1)) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 (arg1
)->CalculateIdFromPaperSize();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 Py_INCREF(Py_None
); resultobj
= Py_None
;
22786 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22796 if (SWIG_arg_fail(1)) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 (arg1
)->CalculatePaperSizeFromId();
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 Py_INCREF(Py_None
); resultobj
= Py_None
;
22811 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22814 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22816 return Py_BuildValue((char *)"");
22818 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22820 wxWindow
*arg1
= (wxWindow
*) 0 ;
22821 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22822 wxPageSetupDialog
*result
;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "parent",(char *) "data", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail
;
22833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22834 if (SWIG_arg_fail(2)) SWIG_fail
;
22837 if (!wxPyCheckForApp()) SWIG_fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22851 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22854 wxPageSetupDialogData
*result
;
22855 PyObject
* obj0
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22862 if (SWIG_arg_fail(1)) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22866 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22867 result
= (wxPageSetupDialogData
*) &_result_ref
;
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22880 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22883 wxPageSetupDialogData
*result
;
22884 PyObject
* obj0
= 0 ;
22885 char *kwnames
[] = {
22886 (char *) "self", NULL
22889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22891 if (SWIG_arg_fail(1)) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22896 result
= (wxPageSetupDialogData
*) &_result_ref
;
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22909 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (int)(arg1
)->ShowModal();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= SWIG_From_int((int)(result
));
22937 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22940 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22942 return Py_BuildValue((char *)"");
22944 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22945 PyObject
*resultobj
;
22946 wxPrintDialogData
*result
;
22948 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22963 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22964 PyObject
*resultobj
;
22965 wxPrintData
*arg1
= 0 ;
22966 wxPrintDialogData
*result
;
22967 PyObject
* obj0
= 0 ;
22969 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail
;
22973 if (arg1
== NULL
) {
22974 SWIG_null_ref("wxPrintData");
22976 if (SWIG_arg_fail(1)) SWIG_fail
;
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22992 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22993 PyObject
*resultobj
;
22994 wxPrintDialogData
*arg1
= 0 ;
22995 wxPrintDialogData
*result
;
22996 PyObject
* obj0
= 0 ;
22998 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23001 if (SWIG_arg_fail(1)) SWIG_fail
;
23002 if (arg1
== NULL
) {
23003 SWIG_null_ref("wxPrintDialogData");
23005 if (SWIG_arg_fail(1)) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23021 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23026 argc
= PyObject_Length(args
);
23027 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23028 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23031 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23037 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23045 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23052 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23060 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23064 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23069 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23079 if (SWIG_arg_fail(1)) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 Py_INCREF(Py_None
); resultobj
= Py_None
;
23094 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_From_int((int)(result
));
23122 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_From_int((int)(result
));
23150 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23152 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23154 PyObject
* obj0
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_From_int((int)(result
));
23178 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23182 PyObject
* obj0
= 0 ;
23183 char *kwnames
[] = {
23184 (char *) "self", NULL
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23189 if (SWIG_arg_fail(1)) SWIG_fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_From_int((int)(result
));
23206 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23208 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23210 PyObject
* obj0
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23217 if (SWIG_arg_fail(1)) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_From_int((int)(result
));
23234 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23238 PyObject
* obj0
= 0 ;
23239 char *kwnames
[] = {
23240 (char *) "self", NULL
23243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23245 if (SWIG_arg_fail(1)) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23262 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23266 PyObject
* obj0
= 0 ;
23267 char *kwnames
[] = {
23268 (char *) "self", NULL
23271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23273 if (SWIG_arg_fail(1)) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23290 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "self", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23301 if (SWIG_arg_fail(1)) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23318 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23319 PyObject
*resultobj
;
23320 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23322 PyObject
* obj0
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23346 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23350 PyObject
* obj0
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23357 if (SWIG_arg_fail(1)) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23374 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 PyObject
* obj1
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self",(char *) "flag", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail
;
23388 arg2
= (bool)(SWIG_As_bool(obj1
));
23389 if (SWIG_arg_fail(2)) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 (arg1
)->SetSetupDialog(arg2
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 Py_INCREF(Py_None
); resultobj
= Py_None
;
23405 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self",(char *) "v", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23417 if (SWIG_arg_fail(1)) SWIG_fail
;
23419 arg2
= (int)(SWIG_As_int(obj1
));
23420 if (SWIG_arg_fail(2)) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 (arg1
)->SetFromPage(arg2
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 Py_INCREF(Py_None
); resultobj
= Py_None
;
23436 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self",(char *) "v", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23448 if (SWIG_arg_fail(1)) SWIG_fail
;
23450 arg2
= (int)(SWIG_As_int(obj1
));
23451 if (SWIG_arg_fail(2)) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 (arg1
)->SetToPage(arg2
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 Py_INCREF(Py_None
); resultobj
= Py_None
;
23467 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self",(char *) "v", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail
;
23481 arg2
= (int)(SWIG_As_int(obj1
));
23482 if (SWIG_arg_fail(2)) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 (arg1
)->SetMinPage(arg2
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 Py_INCREF(Py_None
); resultobj
= Py_None
;
23498 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self",(char *) "v", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail
;
23512 arg2
= (int)(SWIG_As_int(obj1
));
23513 if (SWIG_arg_fail(2)) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 (arg1
)->SetMaxPage(arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 Py_INCREF(Py_None
); resultobj
= Py_None
;
23529 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self",(char *) "v", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail
;
23543 arg2
= (int)(SWIG_As_int(obj1
));
23544 if (SWIG_arg_fail(2)) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 (arg1
)->SetNoCopies(arg2
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 Py_INCREF(Py_None
); resultobj
= Py_None
;
23560 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23564 PyObject
* obj0
= 0 ;
23565 PyObject
* obj1
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self",(char *) "flag", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23572 if (SWIG_arg_fail(1)) SWIG_fail
;
23574 arg2
= (bool)(SWIG_As_bool(obj1
));
23575 if (SWIG_arg_fail(2)) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 (arg1
)->SetAllPages(arg2
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 Py_INCREF(Py_None
); resultobj
= Py_None
;
23591 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self",(char *) "flag", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23603 if (SWIG_arg_fail(1)) SWIG_fail
;
23605 arg2
= (bool)(SWIG_As_bool(obj1
));
23606 if (SWIG_arg_fail(2)) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->SetSelection(arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "flag", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail
;
23636 arg2
= (bool)(SWIG_As_bool(obj1
));
23637 if (SWIG_arg_fail(2)) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 (arg1
)->SetCollate(arg2
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 Py_INCREF(Py_None
); resultobj
= Py_None
;
23653 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self",(char *) "flag", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail
;
23667 arg2
= (bool)(SWIG_As_bool(obj1
));
23668 if (SWIG_arg_fail(2)) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 (arg1
)->SetPrintToFile(arg2
);
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 Py_INCREF(Py_None
); resultobj
= Py_None
;
23684 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23688 PyObject
* obj0
= 0 ;
23689 PyObject
* obj1
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self",(char *) "flag", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23696 if (SWIG_arg_fail(1)) SWIG_fail
;
23698 arg2
= (bool)(SWIG_As_bool(obj1
));
23699 if (SWIG_arg_fail(2)) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->EnablePrintToFile(arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "flag", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail
;
23729 arg2
= (bool)(SWIG_As_bool(obj1
));
23730 if (SWIG_arg_fail(2)) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 (arg1
)->EnableSelection(arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 Py_INCREF(Py_None
); resultobj
= Py_None
;
23746 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23750 PyObject
* obj0
= 0 ;
23751 PyObject
* obj1
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self",(char *) "flag", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23758 if (SWIG_arg_fail(1)) SWIG_fail
;
23760 arg2
= (bool)(SWIG_As_bool(obj1
));
23761 if (SWIG_arg_fail(2)) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 (arg1
)->EnablePageNumbers(arg2
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 Py_INCREF(Py_None
); resultobj
= Py_None
;
23777 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self",(char *) "flag", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail
;
23791 arg2
= (bool)(SWIG_As_bool(obj1
));
23792 if (SWIG_arg_fail(2)) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 (arg1
)->EnableHelp(arg2
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 Py_INCREF(Py_None
); resultobj
= Py_None
;
23808 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23812 PyObject
* obj0
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23819 if (SWIG_arg_fail(1)) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23836 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23847 if (SWIG_arg_fail(1)) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23864 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23868 PyObject
* obj0
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23875 if (SWIG_arg_fail(1)) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23892 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23896 PyObject
* obj0
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23903 if (SWIG_arg_fail(1)) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23920 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 char *kwnames
[] = {
23926 (char *) "self", NULL
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23931 if (SWIG_arg_fail(1)) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23948 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23951 wxPrintData
*result
;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "self", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23959 if (SWIG_arg_fail(1)) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23964 result
= (wxPrintData
*) &_result_ref
;
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23977 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23980 wxPrintData
*arg2
= 0 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self",(char *) "printData", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23989 if (SWIG_arg_fail(1)) SWIG_fail
;
23991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23992 if (SWIG_arg_fail(2)) SWIG_fail
;
23993 if (arg2
== NULL
) {
23994 SWIG_null_ref("wxPrintData");
23996 if (SWIG_arg_fail(2)) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 Py_INCREF(Py_None
); resultobj
= Py_None
;
24012 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24015 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24017 return Py_BuildValue((char *)"");
24019 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxWindow
*arg1
= (wxWindow
*) 0 ;
24022 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24023 wxPrintDialog
*result
;
24024 PyObject
* obj0
= 0 ;
24025 PyObject
* obj1
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "parent",(char *) "data", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24032 if (SWIG_arg_fail(1)) SWIG_fail
;
24034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24035 if (SWIG_arg_fail(2)) SWIG_fail
;
24038 if (!wxPyCheckForApp()) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24052 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (int)(arg1
)->ShowModal();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_From_int((int)(result
));
24080 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24083 wxPrintDialogData
*result
;
24084 PyObject
* obj0
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24096 result
= (wxPrintDialogData
*) &_result_ref
;
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24109 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
;
24111 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24112 wxPrintData
*result
;
24113 PyObject
* obj0
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24120 if (SWIG_arg_fail(1)) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24125 result
= (wxPrintData
*) &_result_ref
;
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24138 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24149 if (SWIG_arg_fail(1)) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (wxDC
*)(arg1
)->GetPrintDC();
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= wxPyMake_wxObject(result
, 1);
24166 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24169 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24171 return Py_BuildValue((char *)"");
24173 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
;
24175 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24177 PyObject
* obj0
= 0 ;
24178 char *kwnames
[] = {
24179 (char *) "data", NULL
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail
;
24188 if (!wxPyCheckForApp()) SWIG_fail
;
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= (wxPrinter
*)new wxPrinter(arg1
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24202 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "self", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24212 if (SWIG_arg_fail(1)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 Py_INCREF(Py_None
); resultobj
= Py_None
;
24227 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24230 wxWindow
*arg2
= (wxWindow
*) 0 ;
24231 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 PyObject
* obj2
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self",(char *) "parent",(char *) "printout", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24242 if (SWIG_arg_fail(1)) SWIG_fail
;
24243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24244 if (SWIG_arg_fail(2)) SWIG_fail
;
24245 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(3)) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= wxPyMake_wxObject(result
, 0);
24263 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24266 wxWindow
*arg2
= (wxWindow
*) 0 ;
24267 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24268 wxString
*arg4
= 0 ;
24269 bool temp4
= false ;
24270 PyObject
* obj0
= 0 ;
24271 PyObject
* obj1
= 0 ;
24272 PyObject
* obj2
= 0 ;
24273 PyObject
* obj3
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail
;
24281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24282 if (SWIG_arg_fail(2)) SWIG_fail
;
24283 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24284 if (SWIG_arg_fail(3)) SWIG_fail
;
24286 arg4
= wxString_in_helper(obj3
);
24287 if (arg4
== NULL
) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 Py_INCREF(Py_None
); resultobj
= Py_None
;
24312 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24315 wxWindow
*arg2
= (wxWindow
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "parent", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24325 if (SWIG_arg_fail(1)) SWIG_fail
;
24326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24327 if (SWIG_arg_fail(2)) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= (bool)(arg1
)->Setup(arg2
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24344 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24347 wxWindow
*arg2
= (wxWindow
*) 0 ;
24348 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24349 bool arg4
= (bool) true ;
24351 PyObject
* obj0
= 0 ;
24352 PyObject
* obj1
= 0 ;
24353 PyObject
* obj2
= 0 ;
24354 PyObject
* obj3
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail
;
24362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24363 if (SWIG_arg_fail(2)) SWIG_fail
;
24364 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24365 if (SWIG_arg_fail(3)) SWIG_fail
;
24368 arg4
= (bool)(SWIG_As_bool(obj3
));
24369 if (SWIG_arg_fail(4)) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24388 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24391 wxWindow
*arg2
= (wxWindow
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self",(char *) "parent", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24401 if (SWIG_arg_fail(1)) SWIG_fail
;
24402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24403 if (SWIG_arg_fail(2)) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= wxPyMake_wxObject(result
, 0);
24420 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24423 wxPrintDialogData
*result
;
24424 PyObject
* obj0
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24431 if (SWIG_arg_fail(1)) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24436 result
= (wxPrintDialogData
*) &_result_ref
;
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24449 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24460 if (SWIG_arg_fail(1)) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (bool)(arg1
)->GetAbort();
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24477 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxPrinterError result
;
24480 char *kwnames
[] = {
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (wxPrinterError
)wxPrinter::GetLastError();
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= SWIG_From_int((result
));
24499 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24502 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24504 return Py_BuildValue((char *)"");
24506 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24509 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24510 wxPyPrintout
*result
;
24511 bool temp1
= false ;
24512 PyObject
* obj0
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "title", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24520 arg1
= wxString_in_helper(obj0
);
24521 if (arg1
== NULL
) SWIG_fail
;
24526 if (!wxPyCheckForApp()) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= wxPyMake_wxObject(result
, 1);
24550 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24553 PyObject
*arg2
= (PyObject
*) 0 ;
24554 PyObject
*arg3
= (PyObject
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 PyObject
* obj2
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "self",(char *) "self",(char *) "_class", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24564 if (SWIG_arg_fail(1)) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 Py_INCREF(Py_None
); resultobj
= Py_None
;
24581 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24613 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24624 if (SWIG_arg_fail(1)) SWIG_fail
;
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 result
= (wxDC
*)(arg1
)->GetDC();
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= wxPyMake_wxObject(result
, 0);
24641 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24644 wxDC
*arg2
= (wxDC
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self",(char *) "dc", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24653 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24655 if (SWIG_arg_fail(2)) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->SetDC(arg2
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 Py_INCREF(Py_None
); resultobj
= Py_None
;
24670 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 PyObject
* obj2
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "w",(char *) "h", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail
;
24686 arg2
= (int)(SWIG_As_int(obj1
));
24687 if (SWIG_arg_fail(2)) SWIG_fail
;
24690 arg3
= (int)(SWIG_As_int(obj2
));
24691 if (SWIG_arg_fail(3)) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 Py_INCREF(Py_None
); resultobj
= Py_None
;
24707 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24710 int *arg2
= (int *) 0 ;
24711 int *arg3
= (int *) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self", NULL
24721 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24722 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24725 if (SWIG_arg_fail(1)) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 Py_INCREF(Py_None
); resultobj
= Py_None
;
24734 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24735 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24736 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24737 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24744 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 PyObject
* obj1
= 0 ;
24751 PyObject
* obj2
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self",(char *) "w",(char *) "h", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24758 if (SWIG_arg_fail(1)) SWIG_fail
;
24760 arg2
= (int)(SWIG_As_int(obj1
));
24761 if (SWIG_arg_fail(2)) SWIG_fail
;
24764 arg3
= (int)(SWIG_As_int(obj2
));
24765 if (SWIG_arg_fail(3)) SWIG_fail
;
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24771 wxPyEndAllowThreads(__tstate
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24774 Py_INCREF(Py_None
); resultobj
= Py_None
;
24781 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
;
24783 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24784 int *arg2
= (int *) 0 ;
24785 int *arg3
= (int *) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self", NULL
24795 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24796 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24799 if (SWIG_arg_fail(1)) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 Py_INCREF(Py_None
); resultobj
= Py_None
;
24808 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24809 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24810 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24811 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24818 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj1
= 0 ;
24825 PyObject
* obj2
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self",(char *) "x",(char *) "y", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24832 if (SWIG_arg_fail(1)) SWIG_fail
;
24834 arg2
= (int)(SWIG_As_int(obj1
));
24835 if (SWIG_arg_fail(2)) SWIG_fail
;
24838 arg3
= (int)(SWIG_As_int(obj2
));
24839 if (SWIG_arg_fail(3)) SWIG_fail
;
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 (arg1
)->SetPPIScreen(arg2
,arg3
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 Py_INCREF(Py_None
); resultobj
= Py_None
;
24855 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
;
24857 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24858 int *arg2
= (int *) 0 ;
24859 int *arg3
= (int *) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self", NULL
24869 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24870 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24873 if (SWIG_arg_fail(1)) SWIG_fail
;
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 (arg1
)->GetPPIScreen(arg2
,arg3
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 Py_INCREF(Py_None
); resultobj
= Py_None
;
24882 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24883 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24884 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24885 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24892 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 PyObject
* obj2
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self",(char *) "x",(char *) "y", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24906 if (SWIG_arg_fail(1)) SWIG_fail
;
24908 arg2
= (int)(SWIG_As_int(obj1
));
24909 if (SWIG_arg_fail(2)) SWIG_fail
;
24912 arg3
= (int)(SWIG_As_int(obj2
));
24913 if (SWIG_arg_fail(3)) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 Py_INCREF(Py_None
); resultobj
= Py_None
;
24929 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24932 int *arg2
= (int *) 0 ;
24933 int *arg3
= (int *) 0 ;
24938 PyObject
* obj0
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self", NULL
24943 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24944 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24957 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24958 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24959 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24966 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
;
24968 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24970 PyObject
* obj0
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24977 if (SWIG_arg_fail(1)) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 result
= (bool)(arg1
)->IsPreview();
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24994 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "p", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25006 if (SWIG_arg_fail(1)) SWIG_fail
;
25008 arg2
= (bool)(SWIG_As_bool(obj1
));
25009 if (SWIG_arg_fail(2)) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->SetIsPreview(arg2
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 Py_INCREF(Py_None
); resultobj
= Py_None
;
25025 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 PyObject
* obj2
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25040 if (SWIG_arg_fail(1)) SWIG_fail
;
25042 arg2
= (int)(SWIG_As_int(obj1
));
25043 if (SWIG_arg_fail(2)) SWIG_fail
;
25046 arg3
= (int)(SWIG_As_int(obj2
));
25047 if (SWIG_arg_fail(3)) SWIG_fail
;
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25065 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25075 if (SWIG_arg_fail(1)) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 (arg1
)->base_OnEndDocument();
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 Py_INCREF(Py_None
); resultobj
= Py_None
;
25090 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25093 PyObject
* obj0
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "self", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25100 if (SWIG_arg_fail(1)) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 (arg1
)->base_OnBeginPrinting();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 Py_INCREF(Py_None
); resultobj
= Py_None
;
25115 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
;
25117 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25118 PyObject
* obj0
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25125 if (SWIG_arg_fail(1)) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 (arg1
)->base_OnEndPrinting();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 Py_INCREF(Py_None
); resultobj
= Py_None
;
25140 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25150 if (SWIG_arg_fail(1)) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 (arg1
)->base_OnPreparePrinting();
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 Py_INCREF(Py_None
); resultobj
= Py_None
;
25165 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "page", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25178 if (SWIG_arg_fail(1)) SWIG_fail
;
25180 arg2
= (int)(SWIG_As_int(obj1
));
25181 if (SWIG_arg_fail(2)) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (bool)(arg1
)->base_HasPage(arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25199 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25202 int *arg2
= (int *) 0 ;
25203 int *arg3
= (int *) 0 ;
25204 int *arg4
= (int *) 0 ;
25205 int *arg5
= (int *) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 char *kwnames
[] = {
25216 (char *) "self", NULL
25219 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25220 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25221 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25222 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25225 if (SWIG_arg_fail(1)) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 Py_INCREF(Py_None
); resultobj
= Py_None
;
25234 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25235 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25236 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25237 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25238 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25239 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25240 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25241 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25248 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25251 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25253 return Py_BuildValue((char *)"");
25255 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25258 wxWindow
*arg2
= (wxWindow
*) 0 ;
25259 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25260 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25261 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25262 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25263 long arg5
= (long) 0 ;
25264 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25265 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25266 wxPreviewCanvas
*result
;
25269 bool temp6
= false ;
25270 PyObject
* obj0
= 0 ;
25271 PyObject
* obj1
= 0 ;
25272 PyObject
* obj2
= 0 ;
25273 PyObject
* obj3
= 0 ;
25274 PyObject
* obj4
= 0 ;
25275 PyObject
* obj5
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25282 if (SWIG_arg_fail(1)) SWIG_fail
;
25283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25284 if (SWIG_arg_fail(2)) SWIG_fail
;
25288 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25294 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25299 arg5
= (long)(SWIG_As_long(obj4
));
25300 if (SWIG_arg_fail(5)) SWIG_fail
;
25305 arg6
= wxString_in_helper(obj5
);
25306 if (arg6
== NULL
) SWIG_fail
;
25311 if (!wxPyCheckForApp()) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25333 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25336 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25338 return Py_BuildValue((char *)"");
25340 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25343 wxFrame
*arg2
= (wxFrame
*) 0 ;
25344 wxString
*arg3
= 0 ;
25345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25349 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25350 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25352 wxPreviewFrame
*result
;
25353 bool temp3
= false ;
25356 bool temp7
= false ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 PyObject
* obj2
= 0 ;
25360 PyObject
* obj3
= 0 ;
25361 PyObject
* obj4
= 0 ;
25362 PyObject
* obj5
= 0 ;
25363 PyObject
* obj6
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail
;
25371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25372 if (SWIG_arg_fail(2)) SWIG_fail
;
25374 arg3
= wxString_in_helper(obj2
);
25375 if (arg3
== NULL
) SWIG_fail
;
25381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25392 arg6
= (long)(SWIG_As_long(obj5
));
25393 if (SWIG_arg_fail(6)) SWIG_fail
;
25398 arg7
= wxString_in_helper(obj6
);
25399 if (arg7
== NULL
) SWIG_fail
;
25404 if (!wxPyCheckForApp()) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25434 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25437 PyObject
* obj0
= 0 ;
25438 char *kwnames
[] = {
25439 (char *) "self", NULL
25442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25444 if (SWIG_arg_fail(1)) SWIG_fail
;
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 (arg1
)->Initialize();
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 Py_INCREF(Py_None
); resultobj
= Py_None
;
25459 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25462 PyObject
* obj0
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "self", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25469 if (SWIG_arg_fail(1)) SWIG_fail
;
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 (arg1
)->CreateControlBar();
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25477 Py_INCREF(Py_None
); resultobj
= Py_None
;
25484 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25487 PyObject
* obj0
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self", NULL
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 (arg1
)->CreateCanvas();
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 Py_INCREF(Py_None
); resultobj
= Py_None
;
25509 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
;
25511 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25512 wxPreviewControlBar
*result
;
25513 PyObject
* obj0
= 0 ;
25514 char *kwnames
[] = {
25515 (char *) "self", NULL
25518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25520 if (SWIG_arg_fail(1)) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25535 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25538 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25540 return Py_BuildValue((char *)"");
25542 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
;
25544 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25546 wxWindow
*arg3
= (wxWindow
*) 0 ;
25547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25551 long arg6
= (long) wxTAB_TRAVERSAL
;
25552 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25553 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25554 wxPreviewControlBar
*result
;
25557 bool temp7
= false ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 PyObject
* obj2
= 0 ;
25561 PyObject
* obj3
= 0 ;
25562 PyObject
* obj4
= 0 ;
25563 PyObject
* obj5
= 0 ;
25564 PyObject
* obj6
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25571 if (SWIG_arg_fail(1)) SWIG_fail
;
25573 arg2
= (long)(SWIG_As_long(obj1
));
25574 if (SWIG_arg_fail(2)) SWIG_fail
;
25576 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25577 if (SWIG_arg_fail(3)) SWIG_fail
;
25581 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25587 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25592 arg6
= (long)(SWIG_As_long(obj5
));
25593 if (SWIG_arg_fail(6)) SWIG_fail
;
25598 arg7
= wxString_in_helper(obj6
);
25599 if (arg7
== NULL
) SWIG_fail
;
25604 if (!wxPyCheckForApp()) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25626 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25628 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25630 PyObject
* obj0
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25637 if (SWIG_arg_fail(1)) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 result
= (int)(arg1
)->GetZoomControl();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_From_int((int)(result
));
25654 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
;
25656 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25658 PyObject
* obj0
= 0 ;
25659 PyObject
* obj1
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self",(char *) "zoom", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25666 if (SWIG_arg_fail(1)) SWIG_fail
;
25668 arg2
= (int)(SWIG_As_int(obj1
));
25669 if (SWIG_arg_fail(2)) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 (arg1
)->SetZoomControl(arg2
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 Py_INCREF(Py_None
); resultobj
= Py_None
;
25685 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25686 PyObject
*resultobj
;
25687 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25688 wxPrintPreview
*result
;
25689 PyObject
* obj0
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25696 if (SWIG_arg_fail(1)) SWIG_fail
;
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25711 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25714 PyObject
* obj0
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25721 if (SWIG_arg_fail(1)) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 Py_INCREF(Py_None
); resultobj
= Py_None
;
25736 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25739 PyObject
* obj0
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25746 if (SWIG_arg_fail(1)) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 (arg1
)->OnPrevious();
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 Py_INCREF(Py_None
); resultobj
= Py_None
;
25761 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
;
25763 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25764 PyObject
* obj0
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail
;
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 Py_INCREF(Py_None
); resultobj
= Py_None
;
25786 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
;
25788 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25789 PyObject
* obj0
= 0 ;
25790 char *kwnames
[] = {
25791 (char *) "self", NULL
25794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25796 if (SWIG_arg_fail(1)) SWIG_fail
;
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25804 Py_INCREF(Py_None
); resultobj
= Py_None
;
25811 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25812 PyObject
*resultobj
;
25813 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 Py_INCREF(Py_None
); resultobj
= Py_None
;
25836 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25839 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25841 return Py_BuildValue((char *)"");
25843 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25844 PyObject
*resultobj
;
25845 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25846 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25847 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25848 wxPrintPreview
*result
;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 PyObject
* obj2
= 0 ;
25853 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail
;
25856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25857 if (SWIG_arg_fail(2)) SWIG_fail
;
25859 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25860 if (SWIG_arg_fail(3)) SWIG_fail
;
25863 if (!wxPyCheckForApp()) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25877 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25878 PyObject
*resultobj
;
25879 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25880 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25881 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25882 wxPrintPreview
*result
;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 PyObject
* obj2
= 0 ;
25887 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail
;
25890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25891 if (SWIG_arg_fail(2)) SWIG_fail
;
25892 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25893 if (SWIG_arg_fail(3)) SWIG_fail
;
25895 if (!wxPyCheckForApp()) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25909 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25914 argc
= PyObject_Length(args
);
25915 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25916 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25918 if ((argc
>= 2) && (argc
<= 3)) {
25922 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25932 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25941 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25945 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25953 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25962 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25972 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25982 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25990 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25996 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26001 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self",(char *) "pageNum", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail
;
26016 arg2
= (int)(SWIG_As_int(obj1
));
26017 if (SWIG_arg_fail(2)) SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26035 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 char *kwnames
[] = {
26041 (char *) "self", NULL
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26046 if (SWIG_arg_fail(1)) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (int)(arg1
)->GetCurrentPage();
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_From_int((int)(result
));
26063 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26066 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self",(char *) "printout", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26075 if (SWIG_arg_fail(1)) SWIG_fail
;
26076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26077 if (SWIG_arg_fail(2)) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 (arg1
)->SetPrintout(arg2
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26095 wxPyPrintout
*result
;
26096 PyObject
* obj0
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26103 if (SWIG_arg_fail(1)) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= wxPyMake_wxObject(result
, 0);
26120 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26123 wxPyPrintout
*result
;
26124 PyObject
* obj0
= 0 ;
26125 char *kwnames
[] = {
26126 (char *) "self", NULL
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26131 if (SWIG_arg_fail(1)) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= wxPyMake_wxObject(result
, 0);
26148 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
;
26150 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26151 wxFrame
*arg2
= (wxFrame
*) 0 ;
26152 PyObject
* obj0
= 0 ;
26153 PyObject
* obj1
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self",(char *) "frame", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26160 if (SWIG_arg_fail(1)) SWIG_fail
;
26161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26162 if (SWIG_arg_fail(2)) SWIG_fail
;
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 (arg1
)->SetFrame(arg2
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 Py_INCREF(Py_None
); resultobj
= Py_None
;
26177 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26180 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "canvas", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26189 if (SWIG_arg_fail(1)) SWIG_fail
;
26190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26191 if (SWIG_arg_fail(2)) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 (arg1
)->SetCanvas(arg2
);
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 Py_INCREF(Py_None
); resultobj
= Py_None
;
26206 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26207 PyObject
*resultobj
;
26208 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26210 PyObject
* obj0
= 0 ;
26211 char *kwnames
[] = {
26212 (char *) "self", NULL
26215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26217 if (SWIG_arg_fail(1)) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 result
= (wxFrame
*)(arg1
)->GetFrame();
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= wxPyMake_wxObject(result
, 0);
26234 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
;
26236 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26237 wxPreviewCanvas
*result
;
26238 PyObject
* obj0
= 0 ;
26239 char *kwnames
[] = {
26240 (char *) "self", NULL
26243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26245 if (SWIG_arg_fail(1)) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26260 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26263 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 PyObject
* obj2
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26275 if (SWIG_arg_fail(1)) SWIG_fail
;
26276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26277 if (SWIG_arg_fail(2)) SWIG_fail
;
26279 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26280 if (SWIG_arg_fail(3)) SWIG_fail
;
26281 if (arg3
== NULL
) {
26282 SWIG_null_ref("wxDC");
26284 if (SWIG_arg_fail(3)) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26305 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 PyObject
* obj2
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail
;
26318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26319 if (SWIG_arg_fail(2)) SWIG_fail
;
26321 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(3)) SWIG_fail
;
26323 if (arg3
== NULL
) {
26324 SWIG_null_ref("wxDC");
26326 if (SWIG_arg_fail(3)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26344 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "pageNum", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26357 if (SWIG_arg_fail(1)) SWIG_fail
;
26359 arg2
= (int)(SWIG_As_int(obj1
));
26360 if (SWIG_arg_fail(2)) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 result
= (bool)(arg1
)->RenderPage(arg2
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26378 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26381 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "canvas", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26390 if (SWIG_arg_fail(1)) SWIG_fail
;
26391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26392 if (SWIG_arg_fail(2)) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->AdjustScrollbars(arg2
);
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 Py_INCREF(Py_None
); resultobj
= Py_None
;
26407 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26410 wxPrintDialogData
*result
;
26411 PyObject
* obj0
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "self", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26418 if (SWIG_arg_fail(1)) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26423 result
= (wxPrintDialogData
*) &_result_ref
;
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26436 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
;
26438 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "self",(char *) "percent", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26448 if (SWIG_arg_fail(1)) SWIG_fail
;
26450 arg2
= (int)(SWIG_As_int(obj1
));
26451 if (SWIG_arg_fail(2)) SWIG_fail
;
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 (arg1
)->SetZoom(arg2
);
26457 wxPyEndAllowThreads(__tstate
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26460 Py_INCREF(Py_None
); resultobj
= Py_None
;
26467 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (int)(arg1
)->GetZoom();
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_From_int((int)(result
));
26495 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
;
26497 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26506 if (SWIG_arg_fail(1)) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= (int)(arg1
)->GetMaxPage();
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_From_int((int)(result
));
26523 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
;
26525 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26534 if (SWIG_arg_fail(1)) SWIG_fail
;
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 result
= (int)(arg1
)->GetMinPage();
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= SWIG_From_int((int)(result
));
26551 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26552 PyObject
*resultobj
;
26553 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "self", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26562 if (SWIG_arg_fail(1)) SWIG_fail
;
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 result
= (bool)(arg1
)->Ok();
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26579 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "self",(char *) "ok", NULL
26589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26591 if (SWIG_arg_fail(1)) SWIG_fail
;
26593 arg2
= (bool)(SWIG_As_bool(obj1
));
26594 if (SWIG_arg_fail(2)) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 (arg1
)->SetOk(arg2
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 Py_INCREF(Py_None
); resultobj
= Py_None
;
26610 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 char *kwnames
[] = {
26618 (char *) "self",(char *) "interactive", NULL
26621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26623 if (SWIG_arg_fail(1)) SWIG_fail
;
26625 arg2
= (bool)(SWIG_As_bool(obj1
));
26626 if (SWIG_arg_fail(2)) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (bool)(arg1
)->Print(arg2
);
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26644 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
;
26646 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26647 PyObject
* obj0
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26654 if (SWIG_arg_fail(1)) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 (arg1
)->DetermineScaling();
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 Py_INCREF(Py_None
); resultobj
= Py_None
;
26669 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26672 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26674 return Py_BuildValue((char *)"");
26676 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26677 PyObject
*resultobj
;
26678 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26679 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26680 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26681 wxPyPrintPreview
*result
;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 PyObject
* obj2
= 0 ;
26686 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26688 if (SWIG_arg_fail(1)) SWIG_fail
;
26689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26690 if (SWIG_arg_fail(2)) SWIG_fail
;
26692 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26693 if (SWIG_arg_fail(3)) SWIG_fail
;
26696 if (!wxPyCheckForApp()) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26710 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26711 PyObject
*resultobj
;
26712 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26713 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26714 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26715 wxPyPrintPreview
*result
;
26716 PyObject
* obj0
= 0 ;
26717 PyObject
* obj1
= 0 ;
26718 PyObject
* obj2
= 0 ;
26720 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail
;
26723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26724 if (SWIG_arg_fail(2)) SWIG_fail
;
26725 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26726 if (SWIG_arg_fail(3)) SWIG_fail
;
26728 if (!wxPyCheckForApp()) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26742 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26747 argc
= PyObject_Length(args
);
26748 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26749 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26751 if ((argc
>= 2) && (argc
<= 3)) {
26755 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26765 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26774 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26778 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26786 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26795 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26805 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26815 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26823 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26829 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26834 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26837 PyObject
*arg2
= (PyObject
*) 0 ;
26838 PyObject
*arg3
= (PyObject
*) 0 ;
26839 PyObject
* obj0
= 0 ;
26840 PyObject
* obj1
= 0 ;
26841 PyObject
* obj2
= 0 ;
26842 char *kwnames
[] = {
26843 (char *) "self",(char *) "self",(char *) "_class", NULL
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26848 if (SWIG_arg_fail(1)) SWIG_fail
;
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 Py_INCREF(Py_None
); resultobj
= Py_None
;
26865 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26870 PyObject
* obj0
= 0 ;
26871 PyObject
* obj1
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self",(char *) "pageNum", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail
;
26880 arg2
= (int)(SWIG_As_int(obj1
));
26881 if (SWIG_arg_fail(2)) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26899 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26902 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 PyObject
* obj2
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26916 if (SWIG_arg_fail(2)) SWIG_fail
;
26918 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26919 if (SWIG_arg_fail(3)) SWIG_fail
;
26920 if (arg3
== NULL
) {
26921 SWIG_null_ref("wxDC");
26923 if (SWIG_arg_fail(3)) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26941 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26944 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 PyObject
* obj2
= 0 ;
26950 char *kwnames
[] = {
26951 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, 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 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26961 if (SWIG_arg_fail(3)) SWIG_fail
;
26962 if (arg3
== NULL
) {
26963 SWIG_null_ref("wxDC");
26965 if (SWIG_arg_fail(3)) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26983 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 char *kwnames
[] = {
26991 (char *) "self",(char *) "pageNum", NULL
26994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26996 if (SWIG_arg_fail(1)) SWIG_fail
;
26998 arg2
= (int)(SWIG_As_int(obj1
));
26999 if (SWIG_arg_fail(2)) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27017 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27021 PyObject
* obj0
= 0 ;
27022 PyObject
* obj1
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "percent", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail
;
27031 arg2
= (int)(SWIG_As_int(obj1
));
27032 if (SWIG_arg_fail(2)) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 (arg1
)->base_SetZoom(arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 Py_INCREF(Py_None
); resultobj
= Py_None
;
27048 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 PyObject
* obj1
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self",(char *) "interactive", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27061 if (SWIG_arg_fail(1)) SWIG_fail
;
27063 arg2
= (bool)(SWIG_As_bool(obj1
));
27064 if (SWIG_arg_fail(2)) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (bool)(arg1
)->base_Print(arg2
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27082 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27085 PyObject
* obj0
= 0 ;
27086 char *kwnames
[] = {
27087 (char *) "self", NULL
27090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail
;
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 (arg1
)->base_DetermineScaling();
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 Py_INCREF(Py_None
); resultobj
= Py_None
;
27107 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27110 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27112 return Py_BuildValue((char *)"");
27114 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
;
27116 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27117 wxFrame
*arg2
= (wxFrame
*) 0 ;
27118 wxString
*arg3
= 0 ;
27119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27123 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27124 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27125 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27126 wxPyPreviewFrame
*result
;
27127 bool temp3
= false ;
27130 bool temp7
= false ;
27131 PyObject
* obj0
= 0 ;
27132 PyObject
* obj1
= 0 ;
27133 PyObject
* obj2
= 0 ;
27134 PyObject
* obj3
= 0 ;
27135 PyObject
* obj4
= 0 ;
27136 PyObject
* obj5
= 0 ;
27137 PyObject
* obj6
= 0 ;
27138 char *kwnames
[] = {
27139 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27144 if (SWIG_arg_fail(1)) SWIG_fail
;
27145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27146 if (SWIG_arg_fail(2)) SWIG_fail
;
27148 arg3
= wxString_in_helper(obj2
);
27149 if (arg3
== NULL
) SWIG_fail
;
27155 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27161 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27166 arg6
= (long)(SWIG_As_long(obj5
));
27167 if (SWIG_arg_fail(6)) SWIG_fail
;
27172 arg7
= wxString_in_helper(obj6
);
27173 if (arg7
== NULL
) SWIG_fail
;
27178 if (!wxPyCheckForApp()) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27208 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27211 PyObject
*arg2
= (PyObject
*) 0 ;
27212 PyObject
*arg3
= (PyObject
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 PyObject
* obj2
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self",(char *) "self",(char *) "_class", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail
;
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27227 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 Py_INCREF(Py_None
); resultobj
= Py_None
;
27239 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
;
27241 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27242 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 char *kwnames
[] = {
27246 (char *) "self",(char *) "canvas", NULL
27249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27251 if (SWIG_arg_fail(1)) SWIG_fail
;
27252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(2)) SWIG_fail
;
27255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27256 (arg1
)->SetPreviewCanvas(arg2
);
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 Py_INCREF(Py_None
); resultobj
= Py_None
;
27268 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27271 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 PyObject
* obj1
= 0 ;
27274 char *kwnames
[] = {
27275 (char *) "self",(char *) "bar", NULL
27278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27280 if (SWIG_arg_fail(1)) SWIG_fail
;
27281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27282 if (SWIG_arg_fail(2)) SWIG_fail
;
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 (arg1
)->SetControlBar(arg2
);
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 Py_INCREF(Py_None
); resultobj
= Py_None
;
27297 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27300 PyObject
* obj0
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 (arg1
)->base_Initialize();
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 Py_INCREF(Py_None
); resultobj
= Py_None
;
27322 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27325 PyObject
* obj0
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self", NULL
27330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27332 if (SWIG_arg_fail(1)) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 (arg1
)->base_CreateCanvas();
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 Py_INCREF(Py_None
); resultobj
= Py_None
;
27347 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27350 PyObject
* obj0
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27357 if (SWIG_arg_fail(1)) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 (arg1
)->base_CreateControlBar();
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 Py_INCREF(Py_None
); resultobj
= Py_None
;
27372 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27375 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27377 return Py_BuildValue((char *)"");
27379 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27383 wxWindow
*arg3
= (wxWindow
*) 0 ;
27384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27386 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27387 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27388 long arg6
= (long) 0 ;
27389 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27390 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27391 wxPyPreviewControlBar
*result
;
27394 bool temp7
= false ;
27395 PyObject
* obj0
= 0 ;
27396 PyObject
* obj1
= 0 ;
27397 PyObject
* obj2
= 0 ;
27398 PyObject
* obj3
= 0 ;
27399 PyObject
* obj4
= 0 ;
27400 PyObject
* obj5
= 0 ;
27401 PyObject
* obj6
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail
;
27410 arg2
= (long)(SWIG_As_long(obj1
));
27411 if (SWIG_arg_fail(2)) SWIG_fail
;
27413 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27414 if (SWIG_arg_fail(3)) SWIG_fail
;
27418 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27424 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27429 arg6
= (long)(SWIG_As_long(obj5
));
27430 if (SWIG_arg_fail(6)) SWIG_fail
;
27435 arg7
= wxString_in_helper(obj6
);
27436 if (arg7
== NULL
) SWIG_fail
;
27441 if (!wxPyCheckForApp()) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27463 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27466 PyObject
*arg2
= (PyObject
*) 0 ;
27467 PyObject
*arg3
= (PyObject
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 PyObject
* obj2
= 0 ;
27471 char *kwnames
[] = {
27472 (char *) "self",(char *) "self",(char *) "_class", NULL
27475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27477 if (SWIG_arg_fail(1)) SWIG_fail
;
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27487 Py_INCREF(Py_None
); resultobj
= Py_None
;
27494 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27495 PyObject
*resultobj
;
27496 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27497 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27498 PyObject
* obj0
= 0 ;
27499 PyObject
* obj1
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "self",(char *) "preview", NULL
27504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27506 if (SWIG_arg_fail(1)) SWIG_fail
;
27507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27508 if (SWIG_arg_fail(2)) SWIG_fail
;
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27511 (arg1
)->SetPrintPreview(arg2
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 Py_INCREF(Py_None
); resultobj
= Py_None
;
27523 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
;
27525 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 char *kwnames
[] = {
27528 (char *) "self", NULL
27531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27533 if (SWIG_arg_fail(1)) SWIG_fail
;
27535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27536 (arg1
)->base_CreateButtons();
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27541 Py_INCREF(Py_None
); resultobj
= Py_None
;
27548 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
;
27550 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self",(char *) "zoom", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail
;
27562 arg2
= (int)(SWIG_As_int(obj1
));
27563 if (SWIG_arg_fail(2)) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 (arg1
)->base_SetZoomControl(arg2
);
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 Py_INCREF(Py_None
); resultobj
= Py_None
;
27579 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27582 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27584 return Py_BuildValue((char *)"");
27586 static PyMethodDef SwigMethods
[] = {
27587 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27595 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27610 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27611 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27618 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27636 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27660 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27673 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27677 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27681 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27686 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27703 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27733 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27740 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27763 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27771 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27783 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27789 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27798 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27804 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27809 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27815 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27819 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27837 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27863 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27871 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27880 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27882 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27891 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27894 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27901 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27919 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27923 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27928 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27932 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27934 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27950 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27953 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27955 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27959 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27968 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27977 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27983 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27995 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28002 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28006 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28032 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28058 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28084 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28085 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28130 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28131 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28164 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28169 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28170 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28203 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28209 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28220 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28243 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28245 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28251 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28261 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28262 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28285 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28286 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28295 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28303 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28309 { NULL
, NULL
, 0, NULL
}
28313 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28315 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28316 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28318 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28319 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28321 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28322 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28324 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28325 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28327 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28328 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28330 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28331 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28333 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28334 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28336 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28337 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28339 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28340 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28342 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28345 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28346 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28348 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28349 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28351 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28354 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28355 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28357 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28358 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28360 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28361 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28363 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28364 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28366 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28367 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28369 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28370 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28372 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28373 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28375 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28376 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28378 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28379 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28381 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28382 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28384 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28385 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28387 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28390 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28391 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28393 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28394 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28396 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28397 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28399 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28400 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28402 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28403 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28405 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28406 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28408 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28411 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28414 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28415 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28417 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28418 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28420 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28421 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28423 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28424 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28426 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28427 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28429 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28430 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28432 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28433 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28435 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28436 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28438 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28439 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28441 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28442 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28444 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28445 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28447 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28450 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28453 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28456 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28457 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28459 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28460 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28462 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28463 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28465 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28466 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28468 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28471 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28474 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28477 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28480 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28483 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28486 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28489 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28492 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28493 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28495 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28496 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28498 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28501 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28504 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28507 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28508 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28510 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28513 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28514 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28516 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28517 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28519 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28520 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28522 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28523 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28525 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28528 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28529 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28531 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28532 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28534 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28537 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28538 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28540 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28543 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28546 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28549 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28550 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28552 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28555 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28558 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28561 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28564 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28567 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28570 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28573 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28574 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28576 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28579 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28582 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28585 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28588 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28591 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28594 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28595 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28597 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28598 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28600 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28601 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28603 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28604 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28606 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28607 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28609 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28610 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28612 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28613 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28615 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28616 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28618 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28619 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28621 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28622 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28624 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28627 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28630 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28631 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28633 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28634 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28636 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28639 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28640 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28642 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28643 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28645 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28646 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28648 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28649 return (void *)((wxObject
*) ((wxSizer
*) x
));
28651 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28652 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28654 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28657 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28660 static void *_p_wxEventTo_p_wxObject(void *x
) {
28661 return (void *)((wxObject
*) ((wxEvent
*) x
));
28663 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28664 return (void *)((wxObject
*) ((wxFontData
*) x
));
28666 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28667 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28669 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28670 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28672 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28673 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28675 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28676 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28678 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28679 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28681 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28682 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28684 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28687 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28688 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28690 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28691 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28693 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28694 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28696 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28699 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28702 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28705 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28708 static void *_p_wxControlTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28711 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28714 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28717 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28720 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28723 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28726 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28729 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) ((wxColourData
*) x
));
28732 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28735 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28738 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28741 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28744 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28747 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28750 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28753 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28756 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28759 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28762 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28765 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28768 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28769 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28771 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28772 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28774 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28775 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28777 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28778 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28780 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28783 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28784 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28786 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28787 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28789 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28790 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28792 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28793 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28795 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28796 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28798 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28799 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28801 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28802 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28804 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28807 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28810 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28813 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28816 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28819 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28820 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28822 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28823 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28825 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28826 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28828 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28831 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28832 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28834 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28837 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28838 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28840 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28841 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28843 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28846 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28849 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28852 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28855 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28858 static void *_p_wxImageTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) ((wxImage
*) x
));
28861 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28864 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28867 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28870 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28873 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28876 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28879 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28882 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28885 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28888 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28891 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28894 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28897 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28900 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28903 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28906 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28909 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28912 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28915 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28918 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28921 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28924 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28927 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28930 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28933 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28936 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28939 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28942 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28945 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28948 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28951 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28954 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28957 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28960 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28963 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28966 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28969 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28972 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28975 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28978 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28981 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28984 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28987 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28990 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28993 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28996 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28999 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29002 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29005 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29008 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29011 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29014 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29017 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29020 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29021 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29023 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29024 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29026 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29027 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29029 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29030 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29032 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29033 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29035 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29036 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29038 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29039 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29041 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29042 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29044 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29045 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29047 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29048 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29050 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29051 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29053 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29054 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29056 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29057 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29059 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29060 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29062 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29063 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29065 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29066 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29068 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29069 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29071 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29072 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29074 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29075 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29077 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29078 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29080 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29081 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29083 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29084 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29086 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29087 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29089 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29090 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29092 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29093 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29095 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29096 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29098 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29099 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29101 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29102 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29104 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29105 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29107 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29108 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29110 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29111 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29113 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29114 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29116 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29117 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29119 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29120 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29122 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29123 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29125 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29126 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29128 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29129 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29131 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29132 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29134 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29135 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29137 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29138 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29140 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29141 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29143 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29144 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29146 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29147 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29149 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29150 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29152 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29153 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29155 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29156 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29158 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29159 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29161 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29162 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29164 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29165 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29167 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29168 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29170 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29171 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29173 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29174 return (void *)((wxWindow
*) ((wxControl
*) x
));
29176 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29177 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29179 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29180 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29182 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29183 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29185 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29186 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29188 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29189 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29191 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29192 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29194 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29195 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29197 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29198 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29200 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29201 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29203 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29204 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29206 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29207 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29209 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29210 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29212 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29213 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29215 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29216 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29218 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29219 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29221 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29222 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29224 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29225 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29227 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29228 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29230 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29231 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29233 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29234 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29236 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29237 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29239 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29240 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29242 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29243 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29245 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29246 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29248 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29249 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29251 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29252 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29254 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29255 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29257 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29258 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29260 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29261 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29263 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29264 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29266 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29267 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29269 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29270 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29272 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29273 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29275 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29276 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29278 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29279 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29281 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29282 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29284 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29285 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29287 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29288 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29290 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29291 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29293 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29294 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29296 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29297 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29299 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29300 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29302 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29303 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29305 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29306 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29308 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29309 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29311 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29312 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29314 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29315 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29317 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29318 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29320 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29321 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29323 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29324 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 static swig_type_info _swigt__p_wxStdDialogButtonSizer
[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29374 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}};
29375 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}};
29376 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29392 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29393 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}};
29394 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29395 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29424 static swig_type_info
*swig_types_initial
[] = {
29425 _swigt__p_wxQueryLayoutInfoEvent
,
29426 _swigt__p_wxPreviewFrame
,
29427 _swigt__p_wxPyPreviewFrame
,
29428 _swigt__p_wxPyPanel
,
29430 _swigt__p_wxFontData
,
29432 _swigt__p_wxPrintData
,
29433 _swigt__p_wxTaskBarIcon
,
29434 _swigt__p_wxPyTaskBarIcon
,
29435 _swigt__p_wxIconBundle
,
29436 _swigt__p_wxLayoutAlgorithm
,
29437 _swigt__p_wxFindDialogEvent
,
29438 _swigt__p_wxPreviewCanvas
,
29440 _swigt__p_wxSplitterEvent
,
29441 _swigt__p_wxRegion
,
29443 _swigt__std__ptrdiff_t
,
29444 _swigt__p_wxFindReplaceData
,
29449 _swigt__p_wxVisualAttributes
,
29450 _swigt__p_wxMDIChildFrame
,
29451 _swigt__p_wxColourData
,
29452 _swigt__p_wxNotifyEvent
,
29453 _swigt__p_wxPyWindow
,
29454 _swigt__p_form_ops_t
,
29455 _swigt__p_wxSplashScreen
,
29456 _swigt__p_wxPasswordEntryDialog
,
29457 _swigt__p_wxSingleChoiceDialog
,
29458 _swigt__p_wxMultiChoiceDialog
,
29459 _swigt__p_wxFileDialog
,
29460 _swigt__p_wxTextEntryDialog
,
29461 _swigt__p_wxMessageDialog
,
29462 _swigt__p_wxProgressDialog
,
29463 _swigt__p_wxFindReplaceDialog
,
29464 _swigt__p_wxPrinter
,
29465 _swigt__p_wxArrayInt
,
29466 _swigt__p_wxDuplexMode
,
29467 _swigt__p_wxEvtHandler
,
29468 _swigt__p_wxCalculateLayoutEvent
,
29469 _swigt__p_wxPyHtmlListBox
,
29470 _swigt__p_wxPyVListBox
,
29472 _swigt__p_wxStdDialogButtonSizer
,
29474 _swigt__p_wxMiniFrame
,
29476 _swigt__p_wxPyPrintout
,
29477 _swigt__p_wxTaskBarIconEvent
,
29478 _swigt__p_wxScrollWinEvent
,
29479 _swigt__p_wxPaperSize
,
29480 _swigt__p_wxStatusBar
,
29481 _swigt__p_wxMDIParentFrame
,
29483 _swigt__p_wxObject
,
29484 _swigt__p_unsigned_long
,
29485 _swigt__p_wxTipWindow
,
29486 _swigt__p_wxSashLayoutWindow
,
29487 _swigt__p_wxSplitterWindow
,
29488 _swigt__p_wxSplashScreenWindow
,
29489 _swigt__p_wxPyVScrolledWindow
,
29490 _swigt__p_wxPyPopupTransientWindow
,
29491 _swigt__p_wxPopupWindow
,
29492 _swigt__p_wxSashWindow
,
29493 _swigt__p_wxTopLevelWindow
,
29494 _swigt__p_wxWindow
,
29495 _swigt__p_wxScrolledWindow
,
29496 _swigt__p_wxMenuBar
,
29497 _swigt__p_wxMDIClientWindow
,
29498 _swigt__p_wxPyScrolledWindow
,
29499 _swigt__p_wxPrintPreview
,
29500 _swigt__p_wxSashEvent
,
29501 _swigt__p_wxString
,
29502 _swigt__p_wxPyPrintPreview
,
29503 _swigt__p_wxDirDialog
,
29504 _swigt__p_wxColourDialog
,
29505 _swigt__p_wxDialog
,
29507 _swigt__p_wxFontDialog
,
29508 _swigt__p_wxPageSetupDialog
,
29509 _swigt__p_wxPrintDialog
,
29510 _swigt__p_wxFileSystem
,
29511 _swigt__p_wxBitmap
,
29512 _swigt__unsigned_int
,
29513 _swigt__p_unsigned_int
,
29514 _swigt__p_unsigned_char
,
29515 _swigt__p_wxCommandEvent
,
29516 _swigt__p_wxPreviewControlBar
,
29517 _swigt__p_wxPyPreviewControlBar
,
29518 _swigt__p_wxColour
,
29519 _swigt__p_wxToolBar
,
29520 _swigt__p_wxPageSetupDialogData
,
29521 _swigt__p_wxPrintDialogData
,
29526 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29528 static swig_const_info swig_const_table
[] = {
29529 {0, 0, 0, 0.0, 0, 0}};
29540 /* Python-specific SWIG API */
29541 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29542 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29543 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29545 /* -----------------------------------------------------------------------------
29546 * global variable support code.
29547 * ----------------------------------------------------------------------------- */
29549 typedef struct swig_globalvar
{
29550 char *name
; /* Name of global variable */
29551 PyObject
*(*get_attr
)(); /* Return the current value */
29552 int (*set_attr
)(PyObject
*); /* Set the value */
29553 struct swig_globalvar
*next
;
29556 typedef struct swig_varlinkobject
{
29558 swig_globalvar
*vars
;
29559 } swig_varlinkobject
;
29562 swig_varlink_repr(swig_varlinkobject
*v
) {
29564 return PyString_FromString("<Swig global variables>");
29568 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29569 swig_globalvar
*var
;
29571 fprintf(fp
,"Swig global variables { ");
29572 for (var
= v
->vars
; var
; var
=var
->next
) {
29573 fprintf(fp
,"%s", var
->name
);
29574 if (var
->next
) fprintf(fp
,", ");
29576 fprintf(fp
," }\n");
29581 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29582 swig_globalvar
*var
= v
->vars
;
29584 if (strcmp(var
->name
,n
) == 0) {
29585 return (*var
->get_attr
)();
29589 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29594 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29595 swig_globalvar
*var
= v
->vars
;
29597 if (strcmp(var
->name
,n
) == 0) {
29598 return (*var
->set_attr
)(p
);
29602 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29606 static PyTypeObject varlinktype
= {
29607 PyObject_HEAD_INIT(0)
29608 0, /* Number of items in variable part (ob_size) */
29609 (char *)"swigvarlink", /* Type name (tp_name) */
29610 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29611 0, /* Itemsize (tp_itemsize) */
29612 0, /* Deallocator (tp_dealloc) */
29613 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29614 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29615 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29616 0, /* tp_compare */
29617 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29618 0, /* tp_as_number */
29619 0, /* tp_as_sequence */
29620 0, /* tp_as_mapping */
29624 0, /* tp_getattro */
29625 0, /* tp_setattro */
29626 0, /* tp_as_buffer */
29629 #if PY_VERSION_HEX >= 0x02000000
29630 0, /* tp_traverse */
29633 #if PY_VERSION_HEX >= 0x02010000
29634 0, /* tp_richcompare */
29635 0, /* tp_weaklistoffset */
29637 #if PY_VERSION_HEX >= 0x02020000
29638 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29640 #if PY_VERSION_HEX >= 0x02030000
29643 #ifdef COUNT_ALLOCS
29644 0,0,0,0 /* tp_alloc -> tp_next */
29648 /* Create a variable linking object for use later */
29650 SWIG_Python_newvarlink(void) {
29651 swig_varlinkobject
*result
= 0;
29652 result
= PyMem_NEW(swig_varlinkobject
,1);
29653 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29654 result
->ob_type
= &varlinktype
;
29656 result
->ob_refcnt
= 0;
29657 Py_XINCREF((PyObject
*) result
);
29658 return ((PyObject
*) result
);
29662 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29663 swig_varlinkobject
*v
;
29664 swig_globalvar
*gv
;
29665 v
= (swig_varlinkobject
*) p
;
29666 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29667 gv
->name
= (char *) malloc(strlen(name
)+1);
29668 strcpy(gv
->name
,name
);
29669 gv
->get_attr
= get_attr
;
29670 gv
->set_attr
= set_attr
;
29671 gv
->next
= v
->vars
;
29675 /* -----------------------------------------------------------------------------
29676 * constants/methods manipulation
29677 * ----------------------------------------------------------------------------- */
29679 /* Install Constants */
29681 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29684 for (i
= 0; constants
[i
].type
; i
++) {
29685 switch(constants
[i
].type
) {
29687 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29689 case SWIG_PY_FLOAT
:
29690 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29692 case SWIG_PY_STRING
:
29693 if (constants
[i
].pvalue
) {
29694 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29696 Py_INCREF(Py_None
);
29700 case SWIG_PY_POINTER
:
29701 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29703 case SWIG_PY_BINARY
:
29704 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29711 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29717 /* -----------------------------------------------------------------------------*/
29718 /* Fix SwigMethods to carry the callback ptrs when needed */
29719 /* -----------------------------------------------------------------------------*/
29722 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29723 swig_const_info
*const_table
,
29724 swig_type_info
**types
,
29725 swig_type_info
**types_initial
) {
29727 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29728 char *c
= methods
[i
].ml_doc
;
29729 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29731 swig_const_info
*ci
= 0;
29732 char *name
= c
+ 10;
29733 for (j
= 0; const_table
[j
].type
; j
++) {
29734 if (strncmp(const_table
[j
].name
, name
,
29735 strlen(const_table
[j
].name
)) == 0) {
29736 ci
= &(const_table
[j
]);
29741 size_t shift
= (ci
->ptype
) - types
;
29742 swig_type_info
*ty
= types_initial
[shift
];
29743 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29744 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29745 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29747 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29748 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29750 strncpy(buff
, "swig_ptr: ", 10);
29752 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29753 methods
[i
].ml_doc
= ndoc
;
29759 /* -----------------------------------------------------------------------------*
29760 * Initialize type list
29761 * -----------------------------------------------------------------------------*/
29763 #if PY_MAJOR_VERSION < 2
29764 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29765 is copied out of Python/modsupport.c in python version 2.3.4 */
29767 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29770 if (!PyModule_Check(m
)) {
29771 PyErr_SetString(PyExc_TypeError
,
29772 "PyModule_AddObject() needs module as first arg");
29776 PyErr_SetString(PyExc_TypeError
,
29777 "PyModule_AddObject() needs non-NULL value");
29781 dict
= PyModule_GetDict(m
);
29782 if (dict
== NULL
) {
29783 /* Internal error -- modules must have a dict! */
29784 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29785 PyModule_GetName(m
));
29788 if (PyDict_SetItemString(dict
, name
, o
))
29795 static swig_type_info
**
29796 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29797 static PyMethodDef swig_empty_runtime_method_table
[] = {
29799 NULL
, NULL
, 0, NULL
29803 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29804 swig_empty_runtime_method_table
);
29805 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29806 if (pointer
&& module) {
29807 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29809 return type_list_handle
;
29812 static swig_type_info
**
29813 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29814 swig_type_info
**type_pointer
;
29816 /* first check if module already created */
29817 type_pointer
= SWIG_Python_GetTypeListHandle();
29818 if (type_pointer
) {
29819 return type_pointer
;
29821 /* create a new module and variable */
29822 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29830 /* -----------------------------------------------------------------------------*
29831 * Partial Init method
29832 * -----------------------------------------------------------------------------*/
29834 #ifdef SWIG_LINK_RUNTIME
29838 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29844 SWIGEXPORT(void) SWIG_init(void) {
29845 static PyObject
*SWIG_globals
= 0;
29846 static int typeinit
= 0;
29849 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29851 /* Fix SwigMethods to carry the callback ptrs when needed */
29852 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29854 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29855 d
= PyModule_GetDict(m
);
29858 #ifdef SWIG_LINK_RUNTIME
29859 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29861 # ifndef SWIG_STATIC_RUNTIME
29862 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29865 for (i
= 0; swig_types_initial
[i
]; i
++) {
29866 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29870 SWIG_InstallConstants(d
,swig_const_table
);
29872 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29873 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29874 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29875 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29876 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29878 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29881 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29884 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29887 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29890 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29893 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29896 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29899 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29902 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29905 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29908 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29911 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29914 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29917 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29920 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29923 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29926 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29929 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29932 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29935 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29938 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29941 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29944 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29947 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29950 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29953 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29956 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29959 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29962 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29965 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29968 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29971 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29974 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29977 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29980 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29983 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29986 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29989 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29992 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29995 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29998 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30001 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30004 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30006 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30008 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30011 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30014 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30017 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30020 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30023 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30026 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30029 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30032 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30035 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30038 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30041 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30044 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30047 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30049 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30050 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30051 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30052 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30053 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30054 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30056 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30059 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30062 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30065 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30068 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30071 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30074 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30077 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30080 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30083 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30086 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30089 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30092 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30095 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30098 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30100 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30102 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30105 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30108 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30111 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30114 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30117 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30120 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30123 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30126 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30129 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30132 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30134 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30135 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30136 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30138 // Map renamed classes back to their common name for OOR
30139 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30140 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30141 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30143 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30144 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30145 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30146 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30147 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30148 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30149 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30150 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30151 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30152 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30153 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30154 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30155 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30157 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30160 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30162 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30164 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30167 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30170 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30173 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30176 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30179 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30182 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30184 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30185 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30186 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30187 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30188 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30190 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30193 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30196 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30199 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30202 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30205 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30208 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30211 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30213 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30214 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30216 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30219 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30222 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30225 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30228 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30231 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30234 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30237 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30240 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30243 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30246 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30249 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30252 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30255 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30258 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30261 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30264 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30267 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30270 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30273 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30276 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30279 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30282 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30285 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30288 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30291 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30294 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30297 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30300 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30303 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30306 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30309 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30312 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30315 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30318 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30321 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30324 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30327 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30330 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30333 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");