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 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1929 PyObject
* tup
= PyTuple_New(2);
1930 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1931 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1932 wxPyEndBlockThreads(blocked
);
1935 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1936 int selected
= self
->GetNextSelected(cookie
);
1937 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1938 PyObject
* tup
= PyTuple_New(2);
1939 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1940 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1941 wxPyEndBlockThreads(blocked
);
1945 #include <wx/htmllbox.h>
1948 class wxPyHtmlListBox
: public wxHtmlListBox
1950 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1952 wxPyHtmlListBox() : wxHtmlListBox() {}
1954 wxPyHtmlListBox(wxWindow
*parent
,
1955 wxWindowID id
= wxID_ANY
,
1956 const wxPoint
& pos
= wxDefaultPosition
,
1957 const wxSize
& size
= wxDefaultSize
,
1959 const wxString
& name
= wxPyVListBoxNameStr
)
1960 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1963 // Overridable virtuals
1965 // this method must be implemented in the derived class and should return
1966 // the body (i.e. without <html>) of the HTML for the given item
1967 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1969 // this function may be overridden to decorate HTML returned by OnGetItem()
1970 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1973 // // this method allows to customize the selection appearance: it may be used
1974 // // to specify the colour of the text which normally has the given colour
1975 // // colFg when it is inside the selection
1977 // // by default, the original colour is not used at all and all text has the
1978 // // same (default for this system) colour inside selection
1979 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1981 // // this is the same as GetSelectedTextColour() but allows to customize the
1982 // // background colour -- this is even more rarely used as you can change it
1983 // // globally using SetSelectionBackground()
1984 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1991 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1993 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1994 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2000 #ifndef wxHAS_TASK_BAR_ICON
2001 // implement dummy classes for platforms that don't have it
2003 class wxTaskBarIcon
: public wxEvtHandler
2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2010 class wxTaskBarIconEvent
: public wxEvent
2013 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2014 { wxPyRaiseNotImplemented(); }
2015 virtual wxEvent
* Clone() const { return NULL
; }
2016 bool IsOk() const { return false; }
2017 bool IsIconInstalled() const { return false; }
2018 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2019 bool RemoveIcon() { return false; }
2020 bool PopupMenu(wxMenu
*menu
) { return false; }
2024 wxEVT_TASKBAR_MOVE
= 0,
2025 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2026 wxEVT_TASKBAR_LEFT_UP
= 0,
2027 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2028 wxEVT_TASKBAR_RIGHT_UP
= 0,
2029 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2030 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2035 // Otherwise make a class that can virtualize CreatePopupMenu
2036 class wxPyTaskBarIcon
: public wxTaskBarIcon
2038 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2040 wxPyTaskBarIcon() : wxTaskBarIcon()
2043 wxMenu
* CreatePopupMenu() {
2044 wxMenu
*rval
= NULL
;
2046 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2047 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2050 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2052 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2057 wxPyEndBlockThreads(blocked
);
2059 rval
= wxTaskBarIcon::CreatePopupMenu();
2066 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2070 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2074 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2075 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2076 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2077 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2078 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2079 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2080 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2082 self
->GetFilenames(arr
);
2083 return wxArrayString2PyList_helper(arr
);
2085 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2087 self
->GetPaths(arr
);
2088 return wxArrayString2PyList_helper(arr
);
2090 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2091 return wxArrayInt2PyList_helper(self
->GetSelections());
2093 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
2094 return new wxSingleChoiceDialog(parent
, message
, caption
,
2095 choices
, choices_array
, NULL
, style
, pos
);
2097 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2101 // C++ version of Python aware wxWindow
2102 class wxPyWindow
: public wxWindow
2104 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2106 wxPyWindow() : wxWindow() {}
2107 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2108 const wxPoint
& pos
= wxDefaultPosition
,
2109 const wxSize
& size
= wxDefaultSize
,
2111 const wxString
& name
= wxPyPanelNameStr
)
2112 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2114 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2116 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2117 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2125 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2126 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2128 DEC_PYCALLBACK__(InitDialog
);
2129 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2130 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2131 DEC_PYCALLBACK_BOOL_(Validate
);
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2135 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2137 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2141 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2144 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2149 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2151 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2152 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2153 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2154 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2160 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2161 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2163 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2164 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2165 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2166 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2169 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2170 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2175 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2176 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2177 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2179 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2181 // C++ version of Python aware wxPanel
2182 class wxPyPanel
: public wxPanel
2184 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2186 wxPyPanel() : wxPanel() {}
2187 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2188 const wxPoint
& pos
= wxDefaultPosition
,
2189 const wxSize
& size
= wxDefaultSize
,
2191 const wxString
& name
= wxPyPanelNameStr
)
2192 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2194 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2197 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2198 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2199 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2200 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2203 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2204 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2206 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2207 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2209 DEC_PYCALLBACK__(InitDialog
);
2210 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2211 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2212 DEC_PYCALLBACK_BOOL_(Validate
);
2214 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2215 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2216 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2218 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2219 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2221 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2222 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2223 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2225 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2230 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2232 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2233 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2234 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2235 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2237 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2238 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2239 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2241 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2242 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2244 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2245 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2246 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2247 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2250 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2251 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2253 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2254 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2256 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2257 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2258 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2260 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2262 // C++ version of Python aware wxScrolledWindow
2263 class wxPyScrolledWindow
: public wxScrolledWindow
2265 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2267 wxPyScrolledWindow() : wxScrolledWindow() {}
2268 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2269 const wxPoint
& pos
= wxDefaultPosition
,
2270 const wxSize
& size
= wxDefaultSize
,
2272 const wxString
& name
= wxPyPanelNameStr
)
2273 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2275 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2278 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2289 DEC_PYCALLBACK__(InitDialog
);
2290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2292 DEC_PYCALLBACK_BOOL_(Validate
);
2294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2296 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2302 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2310 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2312 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2313 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2314 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2315 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2317 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2321 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2322 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2324 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2325 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2326 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2327 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2330 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2331 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2333 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2336 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2337 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2338 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2340 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2343 #include "wx/wxPython/printfw.h"
2346 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2347 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2348 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2350 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2351 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2352 self
->GetPrivDataLen());
2353 wxPyEndBlockThreads(blocked
);
2356 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2357 if (! PyString_Check(data
)) {
2358 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2359 "Expected string object"));
2363 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2364 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2365 wxPyEndBlockThreads(blocked
);
2369 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2371 // Since this one would be tough and ugly to do with the Macros...
2372 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2373 bool hadErr
= false;
2376 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2377 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2378 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2379 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2382 val
= PyTuple_GetItem(result
, 0);
2383 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2386 val
= PyTuple_GetItem(result
, 1);
2387 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2390 val
= PyTuple_GetItem(result
, 2);
2391 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2394 val
= PyTuple_GetItem(result
, 3);
2395 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2402 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2407 wxPyEndBlockThreads(blocked
);
2409 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2412 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2413 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2417 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2418 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2419 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2420 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2421 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2422 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2423 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2429 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2430 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2431 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2434 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2435 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2438 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2439 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2440 PyObject* win = wxPyMake_wxObject(a,false); \
2441 PyObject* dc = wxPyMake_wxObject(&b,false); \
2442 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2446 wxPyEndBlockThreads(blocked); \
2448 rval = PCLASS::CBNAME(a, b); \
2451 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2452 return PCLASS::CBNAME(a, b); \
2458 class wxPyPrintPreview
: public wxPrintPreview
2460 DECLARE_CLASS(wxPyPrintPreview
)
2462 wxPyPrintPreview(wxPyPrintout
* printout
,
2463 wxPyPrintout
* printoutForPrinting
,
2464 wxPrintDialogData
* data
=NULL
)
2465 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2467 wxPyPrintPreview(wxPyPrintout
* printout
,
2468 wxPyPrintout
* printoutForPrinting
,
2469 wxPrintData
* data
=NULL
)
2470 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2473 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2474 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2475 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2476 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2477 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2478 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2479 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2484 // Stupid renamed classes... Fix this in 2.5...
2485 #if defined(__WXMSW__)
2486 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2487 #elif defined(__WXMAC__)
2488 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2490 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2493 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2494 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2495 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2496 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2497 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2498 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2499 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2502 class wxPyPreviewFrame
: public wxPreviewFrame
2504 DECLARE_CLASS(wxPyPreviewFrame
);
2506 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2507 const wxString
& title
,
2508 const wxPoint
& pos
= wxDefaultPosition
,
2509 const wxSize
& size
= wxDefaultSize
,
2510 long style
= wxDEFAULT_FRAME_STYLE
,
2511 const wxString
& name
= wxPyFrameNameStr
)
2512 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2515 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2516 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2518 DEC_PYCALLBACK_VOID_(Initialize
);
2519 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2520 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2525 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2527 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2528 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2529 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2532 class wxPyPreviewControlBar
: public wxPreviewControlBar
2534 DECLARE_CLASS(wxPyPreviewControlBar
);
2536 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2539 const wxPoint
& pos
= wxDefaultPosition
,
2540 const wxSize
& size
= wxDefaultSize
,
2542 const wxString
& name
= wxPyPanelNameStr
)
2543 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2546 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2548 DEC_PYCALLBACK_VOID_(CreateButtons
);
2549 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2554 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2555 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2556 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2561 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxWindow
*arg1
= (wxWindow
*) 0 ;
2564 int arg2
= (int) (int)-1 ;
2565 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2566 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2567 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2568 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2569 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2570 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2571 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2575 bool temp6
= false ;
2576 PyObject
* obj0
= 0 ;
2577 PyObject
* obj1
= 0 ;
2578 PyObject
* obj2
= 0 ;
2579 PyObject
* obj3
= 0 ;
2580 PyObject
* obj4
= 0 ;
2581 PyObject
* obj5
= 0 ;
2583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2588 if (SWIG_arg_fail(1)) SWIG_fail
;
2591 arg2
= (int const)(SWIG_As_int(obj1
));
2592 if (SWIG_arg_fail(2)) SWIG_fail
;
2598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2604 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2609 arg5
= (long)(SWIG_As_long(obj4
));
2610 if (SWIG_arg_fail(5)) SWIG_fail
;
2615 arg6
= wxString_in_helper(obj5
);
2616 if (arg6
== NULL
) SWIG_fail
;
2621 if (!wxPyCheckForApp()) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2643 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2652 if (!wxPyCheckForApp()) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (wxPanel
*)new wxPanel();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2666 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxPanel
*arg1
= (wxPanel
*) 0 ;
2669 wxWindow
*arg2
= (wxWindow
*) 0 ;
2670 int arg3
= (int) (int)-1 ;
2671 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2672 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2673 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2674 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2675 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2676 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2677 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2681 bool temp7
= false ;
2682 PyObject
* obj0
= 0 ;
2683 PyObject
* obj1
= 0 ;
2684 PyObject
* obj2
= 0 ;
2685 PyObject
* obj3
= 0 ;
2686 PyObject
* obj4
= 0 ;
2687 PyObject
* obj5
= 0 ;
2688 PyObject
* obj6
= 0 ;
2690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2695 if (SWIG_arg_fail(1)) SWIG_fail
;
2696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2697 if (SWIG_arg_fail(2)) SWIG_fail
;
2700 arg3
= (int const)(SWIG_As_int(obj2
));
2701 if (SWIG_arg_fail(3)) SWIG_fail
;
2707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2718 arg6
= (long)(SWIG_As_long(obj5
));
2719 if (SWIG_arg_fail(6)) SWIG_fail
;
2724 arg7
= wxString_in_helper(obj6
);
2725 if (arg7
== NULL
) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2753 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxPanel
*arg1
= (wxPanel
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "self", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2763 if (SWIG_arg_fail(1)) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 (arg1
)->InitDialog();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 Py_INCREF(Py_None
); resultobj
= Py_None
;
2778 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
*resultobj
;
2780 wxPanel
*arg1
= (wxPanel
*) 0 ;
2781 PyObject
* obj0
= 0 ;
2783 (char *) "self", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2788 if (SWIG_arg_fail(1)) SWIG_fail
;
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2796 Py_INCREF(Py_None
); resultobj
= Py_None
;
2803 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
*resultobj
;
2805 wxPanel
*arg1
= (wxPanel
*) 0 ;
2806 PyObject
* obj0
= 0 ;
2808 (char *) "self", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2813 if (SWIG_arg_fail(1)) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 (arg1
)->SetFocusIgnoringChildren();
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2828 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2831 wxVisualAttributes result
;
2832 PyObject
* obj0
= 0 ;
2834 (char *) "variant", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2840 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2841 if (SWIG_arg_fail(1)) SWIG_fail
;
2845 if (!wxPyCheckForApp()) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2853 wxVisualAttributes
* resultptr
;
2854 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2863 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2866 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2868 return Py_BuildValue((char *)"");
2870 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxWindow
*arg1
= (wxWindow
*) 0 ;
2873 int arg2
= (int) (int)-1 ;
2874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2878 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2879 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2881 wxScrolledWindow
*result
;
2884 bool temp6
= false ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2887 PyObject
* obj2
= 0 ;
2888 PyObject
* obj3
= 0 ;
2889 PyObject
* obj4
= 0 ;
2890 PyObject
* obj5
= 0 ;
2892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2897 if (SWIG_arg_fail(1)) SWIG_fail
;
2900 arg2
= (int const)(SWIG_As_int(obj1
));
2901 if (SWIG_arg_fail(2)) SWIG_fail
;
2907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2913 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2918 arg5
= (long)(SWIG_As_long(obj4
));
2919 if (SWIG_arg_fail(5)) SWIG_fail
;
2924 arg6
= wxString_in_helper(obj5
);
2925 if (arg6
== NULL
) SWIG_fail
;
2930 if (!wxPyCheckForApp()) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2952 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxScrolledWindow
*result
;
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2961 if (!wxPyCheckForApp()) SWIG_fail
;
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2975 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2978 wxWindow
*arg2
= (wxWindow
*) 0 ;
2979 int arg3
= (int) (int)-1 ;
2980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2984 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2985 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2990 bool temp7
= false ;
2991 PyObject
* obj0
= 0 ;
2992 PyObject
* obj1
= 0 ;
2993 PyObject
* obj2
= 0 ;
2994 PyObject
* obj3
= 0 ;
2995 PyObject
* obj4
= 0 ;
2996 PyObject
* obj5
= 0 ;
2997 PyObject
* obj6
= 0 ;
2999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3004 if (SWIG_arg_fail(1)) SWIG_fail
;
3005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3006 if (SWIG_arg_fail(2)) SWIG_fail
;
3009 arg3
= (int const)(SWIG_As_int(obj2
));
3010 if (SWIG_arg_fail(3)) SWIG_fail
;
3016 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3022 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3027 arg6
= (long)(SWIG_As_long(obj5
));
3028 if (SWIG_arg_fail(6)) SWIG_fail
;
3033 arg7
= wxString_in_helper(obj6
);
3034 if (arg7
== NULL
) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3062 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3069 int arg6
= (int) 0 ;
3070 int arg7
= (int) 0 ;
3071 bool arg8
= (bool) false ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3074 PyObject
* obj2
= 0 ;
3075 PyObject
* obj3
= 0 ;
3076 PyObject
* obj4
= 0 ;
3077 PyObject
* obj5
= 0 ;
3078 PyObject
* obj6
= 0 ;
3079 PyObject
* obj7
= 0 ;
3081 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail
;
3088 arg2
= (int)(SWIG_As_int(obj1
));
3089 if (SWIG_arg_fail(2)) SWIG_fail
;
3092 arg3
= (int)(SWIG_As_int(obj2
));
3093 if (SWIG_arg_fail(3)) SWIG_fail
;
3096 arg4
= (int)(SWIG_As_int(obj3
));
3097 if (SWIG_arg_fail(4)) SWIG_fail
;
3100 arg5
= (int)(SWIG_As_int(obj4
));
3101 if (SWIG_arg_fail(5)) SWIG_fail
;
3105 arg6
= (int)(SWIG_As_int(obj5
));
3106 if (SWIG_arg_fail(6)) SWIG_fail
;
3111 arg7
= (int)(SWIG_As_int(obj6
));
3112 if (SWIG_arg_fail(7)) SWIG_fail
;
3117 arg8
= (bool)(SWIG_As_bool(obj7
));
3118 if (SWIG_arg_fail(8)) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 Py_INCREF(Py_None
); resultobj
= Py_None
;
3135 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3141 PyObject
* obj1
= 0 ;
3142 PyObject
* obj2
= 0 ;
3144 (char *) "self",(char *) "x",(char *) "y", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3149 if (SWIG_arg_fail(1)) SWIG_fail
;
3151 arg2
= (int)(SWIG_As_int(obj1
));
3152 if (SWIG_arg_fail(2)) SWIG_fail
;
3155 arg3
= (int)(SWIG_As_int(obj2
));
3156 if (SWIG_arg_fail(3)) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 (arg1
)->Scroll(arg2
,arg3
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3180 (char *) "self",(char *) "orient", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3185 if (SWIG_arg_fail(1)) SWIG_fail
;
3187 arg2
= (int)(SWIG_As_int(obj1
));
3188 if (SWIG_arg_fail(2)) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 resultobj
= SWIG_From_int((int)(result
));
3206 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3211 PyObject
* obj0
= 0 ;
3212 PyObject
* obj1
= 0 ;
3213 PyObject
* obj2
= 0 ;
3215 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3220 if (SWIG_arg_fail(1)) SWIG_fail
;
3222 arg2
= (int)(SWIG_As_int(obj1
));
3223 if (SWIG_arg_fail(2)) SWIG_fail
;
3226 arg3
= (int)(SWIG_As_int(obj2
));
3227 if (SWIG_arg_fail(3)) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3236 Py_INCREF(Py_None
); resultobj
= Py_None
;
3243 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3250 PyObject
* obj2
= 0 ;
3252 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3257 if (SWIG_arg_fail(1)) SWIG_fail
;
3259 arg2
= (int)(SWIG_As_int(obj1
));
3260 if (SWIG_arg_fail(2)) SWIG_fail
;
3263 arg3
= (int)(SWIG_As_int(obj2
));
3264 if (SWIG_arg_fail(3)) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 (arg1
)->SetScrollRate(arg2
,arg3
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 Py_INCREF(Py_None
); resultobj
= Py_None
;
3280 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3283 int *arg2
= (int *) 0 ;
3284 int *arg3
= (int *) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3295 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3298 if (SWIG_arg_fail(1)) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3308 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3309 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3310 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3317 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3326 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail
;
3333 arg2
= (bool)(SWIG_As_bool(obj1
));
3334 if (SWIG_arg_fail(2)) SWIG_fail
;
3337 arg3
= (bool)(SWIG_As_bool(obj2
));
3338 if (SWIG_arg_fail(3)) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 (arg1
)->EnableScrolling(arg2
,arg3
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 Py_INCREF(Py_None
); resultobj
= Py_None
;
3354 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3357 int *arg2
= (int *) 0 ;
3358 int *arg3
= (int *) 0 ;
3363 PyObject
* obj0
= 0 ;
3365 (char *) "self", NULL
3368 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3369 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 Py_INCREF(Py_None
); resultobj
= Py_None
;
3381 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3382 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3383 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3384 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3391 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3396 PyObject
* obj0
= 0 ;
3397 PyObject
* obj1
= 0 ;
3398 PyObject
* obj2
= 0 ;
3400 (char *) "self",(char *) "xs",(char *) "ys", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3407 arg2
= (double)(SWIG_As_double(obj1
));
3408 if (SWIG_arg_fail(2)) SWIG_fail
;
3411 arg3
= (double)(SWIG_As_double(obj2
));
3412 if (SWIG_arg_fail(3)) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetScale(arg2
,arg3
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3434 (char *) "self", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3439 if (SWIG_arg_fail(1)) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= SWIG_From_double((double)(result
));
3456 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3467 if (SWIG_arg_fail(1)) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_From_double((double)(result
));
3484 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3485 PyObject
*resultobj
;
3486 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3495 if (SWIG_arg_fail(1)) SWIG_fail
;
3498 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 wxPoint
* resultptr
;
3509 resultptr
= new wxPoint((wxPoint
&)(result
));
3510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3518 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3519 PyObject
*resultobj
;
3520 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3523 int *arg4
= (int *) 0 ;
3524 int *arg5
= (int *) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3531 PyObject
* obj2
= 0 ;
3533 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3534 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3535 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3537 if (SWIG_arg_fail(1)) SWIG_fail
;
3539 arg2
= (int)(SWIG_As_int(obj1
));
3540 if (SWIG_arg_fail(2)) SWIG_fail
;
3543 arg3
= (int)(SWIG_As_int(obj2
));
3544 if (SWIG_arg_fail(3)) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3555 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3556 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3557 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3564 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3569 argc
= PyObject_Length(args
);
3570 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3571 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3577 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3586 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3589 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3597 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3605 _v
= SWIG_Check_int(argv
[1]);
3607 _v
= SWIG_Check_int(argv
[2]);
3609 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3615 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3620 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3621 PyObject
*resultobj
;
3622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3629 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3631 if (SWIG_arg_fail(1)) SWIG_fail
;
3634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 wxPoint
* resultptr
;
3645 resultptr
= new wxPoint((wxPoint
&)(result
));
3646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3654 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3655 PyObject
*resultobj
;
3656 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3659 int *arg4
= (int *) 0 ;
3660 int *arg5
= (int *) 0 ;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3667 PyObject
* obj2
= 0 ;
3669 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3670 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3671 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3673 if (SWIG_arg_fail(1)) SWIG_fail
;
3675 arg2
= (int)(SWIG_As_int(obj1
));
3676 if (SWIG_arg_fail(2)) SWIG_fail
;
3679 arg3
= (int)(SWIG_As_int(obj2
));
3680 if (SWIG_arg_fail(3)) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3689 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3691 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3692 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3693 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3700 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3705 argc
= PyObject_Length(args
);
3706 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3707 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3713 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3722 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3725 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3733 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3741 _v
= SWIG_Check_int(argv
[1]);
3743 _v
= SWIG_Check_int(argv
[2]);
3745 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3751 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3756 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3761 (char *) "self", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3766 if (SWIG_arg_fail(1)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 (arg1
)->AdjustScrollbars();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 Py_INCREF(Py_None
); resultobj
= Py_None
;
3781 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3783 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3784 wxScrollWinEvent
*arg2
= 0 ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3789 (char *) "self",(char *) "event", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3794 if (SWIG_arg_fail(1)) SWIG_fail
;
3796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(2)) SWIG_fail
;
3799 SWIG_null_ref("wxScrollWinEvent");
3801 if (SWIG_arg_fail(2)) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3811 resultobj
= SWIG_From_int((int)(result
));
3819 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3822 wxWindow
*arg2
= (wxWindow
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3824 PyObject
* obj1
= 0 ;
3826 (char *) "self",(char *) "target", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3831 if (SWIG_arg_fail(1)) SWIG_fail
;
3832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3833 if (SWIG_arg_fail(2)) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 (arg1
)->SetTargetWindow(arg2
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3854 (char *) "self", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3859 if (SWIG_arg_fail(1)) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= wxPyMake_wxObject(result
, 0);
3876 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3880 PyObject
* obj0
= 0 ;
3881 PyObject
* obj1
= 0 ;
3883 (char *) "self",(char *) "dc", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3888 if (SWIG_arg_fail(1)) SWIG_fail
;
3890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3891 if (SWIG_arg_fail(2)) SWIG_fail
;
3893 SWIG_null_ref("wxDC");
3895 if (SWIG_arg_fail(2)) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 (arg1
)->DoPrepareDC(*arg2
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 Py_INCREF(Py_None
); resultobj
= Py_None
;
3911 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3914 wxVisualAttributes result
;
3915 PyObject
* obj0
= 0 ;
3917 (char *) "variant", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3923 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3924 if (SWIG_arg_fail(1)) SWIG_fail
;
3928 if (!wxPyCheckForApp()) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3936 wxVisualAttributes
* resultptr
;
3937 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3946 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3949 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
3951 return Py_BuildValue((char *)"");
3953 static int _wrap_FrameNameStr_set(PyObject
*) {
3954 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
3959 static PyObject
*_wrap_FrameNameStr_get(void) {
3964 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3966 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3973 static int _wrap_DialogNameStr_set(PyObject
*) {
3974 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
3979 static PyObject
*_wrap_DialogNameStr_get(void) {
3984 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
3986 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
3993 static int _wrap_StatusLineNameStr_set(PyObject
*) {
3994 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
3999 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4004 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4006 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4013 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4014 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4019 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4024 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4026 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4033 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4036 bool arg2
= (bool) true ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4040 (char *) "self",(char *) "maximize", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4045 if (SWIG_arg_fail(1)) SWIG_fail
;
4048 arg2
= (bool)(SWIG_As_bool(obj1
));
4049 if (SWIG_arg_fail(2)) SWIG_fail
;
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 (arg1
)->Maximize(arg2
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 Py_INCREF(Py_None
); resultobj
= Py_None
;
4066 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4068 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4071 (char *) "self", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4076 if (SWIG_arg_fail(1)) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 Py_INCREF(Py_None
); resultobj
= Py_None
;
4091 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4094 bool arg2
= (bool) true ;
4095 PyObject
* obj0
= 0 ;
4096 PyObject
* obj1
= 0 ;
4098 (char *) "self",(char *) "iconize", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4106 arg2
= (bool)(SWIG_As_bool(obj1
));
4107 if (SWIG_arg_fail(2)) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 (arg1
)->Iconize(arg2
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 Py_INCREF(Py_None
); resultobj
= Py_None
;
4124 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4128 PyObject
* obj0
= 0 ;
4130 (char *) "self", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4135 if (SWIG_arg_fail(1)) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4152 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
;
4154 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4156 PyObject
* obj0
= 0 ;
4158 (char *) "self", NULL
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4163 if (SWIG_arg_fail(1)) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4180 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4184 PyObject
* obj0
= 0 ;
4186 (char *) "self", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4191 if (SWIG_arg_fail(1)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4201 resultptr
= new wxIcon((wxIcon
&)(result
));
4202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4210 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4215 PyObject
* obj1
= 0 ;
4217 (char *) "self",(char *) "icon", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4222 if (SWIG_arg_fail(1)) SWIG_fail
;
4224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4225 if (SWIG_arg_fail(2)) SWIG_fail
;
4227 SWIG_null_ref("wxIcon");
4229 if (SWIG_arg_fail(2)) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4248 wxIconBundle
*arg2
= 0 ;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4252 (char *) "self",(char *) "icons", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4257 if (SWIG_arg_fail(1)) SWIG_fail
;
4259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4260 if (SWIG_arg_fail(2)) SWIG_fail
;
4262 SWIG_null_ref("wxIconBundle");
4264 if (SWIG_arg_fail(2)) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 Py_INCREF(Py_None
); resultobj
= Py_None
;
4280 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4284 long arg3
= (long) wxFULLSCREEN_ALL
;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 PyObject
* obj2
= 0 ;
4290 (char *) "self",(char *) "show",(char *) "style", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 arg2
= (bool)(SWIG_As_bool(obj1
));
4298 if (SWIG_arg_fail(2)) SWIG_fail
;
4302 arg3
= (long)(SWIG_As_long(obj2
));
4303 if (SWIG_arg_fail(3)) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4322 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4326 PyObject
* obj0
= 0 ;
4328 (char *) "self", NULL
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4333 if (SWIG_arg_fail(1)) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4350 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4353 wxString
*arg2
= 0 ;
4354 bool temp2
= false ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4358 (char *) "self",(char *) "title", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4363 if (SWIG_arg_fail(1)) SWIG_fail
;
4365 arg2
= wxString_in_helper(obj1
);
4366 if (arg2
== NULL
) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->SetTitle((wxString
const &)*arg2
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 Py_INCREF(Py_None
); resultobj
= Py_None
;
4391 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4395 PyObject
* obj0
= 0 ;
4397 (char *) "self", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4402 if (SWIG_arg_fail(1)) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4423 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4426 wxRegion
*arg2
= 0 ;
4428 PyObject
* obj0
= 0 ;
4429 PyObject
* obj1
= 0 ;
4431 (char *) "self",(char *) "region", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4436 if (SWIG_arg_fail(1)) SWIG_fail
;
4438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4439 if (SWIG_arg_fail(2)) SWIG_fail
;
4441 SWIG_null_ref("wxRegion");
4443 if (SWIG_arg_fail(2)) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4461 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4464 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4468 (char *) "self",(char *) "flags", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4476 arg2
= (int)(SWIG_As_int(obj1
));
4477 if (SWIG_arg_fail(2)) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 (arg1
)->RequestUserAttention(arg2
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4494 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4500 (char *) "self", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4505 if (SWIG_arg_fail(1)) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (bool)(arg1
)->IsActive();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4522 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4529 (char *) "self",(char *) "on", NULL
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4534 if (SWIG_arg_fail(1)) SWIG_fail
;
4536 arg2
= (bool)(SWIG_As_bool(obj1
));
4537 if (SWIG_arg_fail(2)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 Py_INCREF(Py_None
); resultobj
= Py_None
;
4553 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4581 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4584 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4586 return Py_BuildValue((char *)"");
4588 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxWindow
*arg1
= (wxWindow
*) 0 ;
4591 int arg2
= (int) (int)-1 ;
4592 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4598 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4599 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4602 bool temp3
= false ;
4605 bool temp7
= false ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4608 PyObject
* obj2
= 0 ;
4609 PyObject
* obj3
= 0 ;
4610 PyObject
* obj4
= 0 ;
4611 PyObject
* obj5
= 0 ;
4612 PyObject
* obj6
= 0 ;
4614 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4622 arg2
= (int const)(SWIG_As_int(obj1
));
4623 if (SWIG_arg_fail(2)) SWIG_fail
;
4628 arg3
= wxString_in_helper(obj2
);
4629 if (arg3
== NULL
) SWIG_fail
;
4636 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4642 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4647 arg6
= (long)(SWIG_As_long(obj5
));
4648 if (SWIG_arg_fail(6)) SWIG_fail
;
4653 arg7
= wxString_in_helper(obj6
);
4654 if (arg7
== NULL
) SWIG_fail
;
4659 if (!wxPyCheckForApp()) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4689 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4698 if (!wxPyCheckForApp()) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (wxFrame
*)new wxFrame();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4712 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxFrame
*arg1
= (wxFrame
*) 0 ;
4715 wxWindow
*arg2
= (wxWindow
*) 0 ;
4716 int arg3
= (int) (int)-1 ;
4717 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4718 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4719 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4720 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4721 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4722 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4723 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4724 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4725 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4727 bool temp4
= false ;
4730 bool temp8
= false ;
4731 PyObject
* obj0
= 0 ;
4732 PyObject
* obj1
= 0 ;
4733 PyObject
* obj2
= 0 ;
4734 PyObject
* obj3
= 0 ;
4735 PyObject
* obj4
= 0 ;
4736 PyObject
* obj5
= 0 ;
4737 PyObject
* obj6
= 0 ;
4738 PyObject
* obj7
= 0 ;
4740 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4745 if (SWIG_arg_fail(1)) SWIG_fail
;
4746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4747 if (SWIG_arg_fail(2)) SWIG_fail
;
4750 arg3
= (int const)(SWIG_As_int(obj2
));
4751 if (SWIG_arg_fail(3)) SWIG_fail
;
4756 arg4
= wxString_in_helper(obj3
);
4757 if (arg4
== NULL
) SWIG_fail
;
4764 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4770 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4775 arg7
= (long)(SWIG_As_long(obj6
));
4776 if (SWIG_arg_fail(7)) SWIG_fail
;
4781 arg8
= wxString_in_helper(obj7
);
4782 if (arg8
== NULL
) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4818 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 wxFrame
*arg1
= (wxFrame
*) 0 ;
4822 PyObject
* obj0
= 0 ;
4824 (char *) "self", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4829 if (SWIG_arg_fail(1)) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4838 wxPoint
* resultptr
;
4839 resultptr
= new wxPoint((wxPoint
&)(result
));
4840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4848 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxFrame
*arg1
= (wxFrame
*) 0 ;
4851 PyObject
* obj0
= 0 ;
4853 (char *) "self", NULL
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4858 if (SWIG_arg_fail(1)) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 (arg1
)->SendSizeEvent();
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 Py_INCREF(Py_None
); resultobj
= Py_None
;
4873 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxFrame
*arg1
= (wxFrame
*) 0 ;
4876 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4880 (char *) "self",(char *) "menubar", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4885 if (SWIG_arg_fail(1)) SWIG_fail
;
4886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4887 if (SWIG_arg_fail(2)) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 (arg1
)->SetMenuBar(arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxFrame
*arg1
= (wxFrame
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4908 (char *) "self", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= wxPyMake_wxObject(result
, 0);
4930 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxFrame
*arg1
= (wxFrame
*) 0 ;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4938 (char *) "self",(char *) "winid", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail
;
4945 arg2
= (int)(SWIG_As_int(obj1
));
4946 if (SWIG_arg_fail(2)) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (bool)(arg1
)->ProcessCommand(arg2
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4964 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxFrame
*arg1
= (wxFrame
*) 0 ;
4967 int arg2
= (int) 1 ;
4968 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4969 int arg4
= (int) 0 ;
4970 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4971 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4972 wxStatusBar
*result
;
4973 bool temp5
= false ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4976 PyObject
* obj2
= 0 ;
4977 PyObject
* obj3
= 0 ;
4978 PyObject
* obj4
= 0 ;
4980 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail
;
4988 arg2
= (int)(SWIG_As_int(obj1
));
4989 if (SWIG_arg_fail(2)) SWIG_fail
;
4994 arg3
= (long)(SWIG_As_long(obj2
));
4995 if (SWIG_arg_fail(3)) SWIG_fail
;
5000 arg4
= (int)(SWIG_As_int(obj3
));
5001 if (SWIG_arg_fail(4)) SWIG_fail
;
5006 arg5
= wxString_in_helper(obj4
);
5007 if (arg5
== NULL
) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= wxPyMake_wxObject(result
, 0);
5035 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxFrame
*arg1
= (wxFrame
*) 0 ;
5038 wxStatusBar
*result
;
5039 PyObject
* obj0
= 0 ;
5041 (char *) "self", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= wxPyMake_wxObject(result
, 0);
5063 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxFrame
*arg1
= (wxFrame
*) 0 ;
5066 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "self",(char *) "statBar", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5075 if (SWIG_arg_fail(1)) SWIG_fail
;
5076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5077 if (SWIG_arg_fail(2)) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->SetStatusBar(arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 Py_INCREF(Py_None
); resultobj
= Py_None
;
5092 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxFrame
*arg1
= (wxFrame
*) 0 ;
5095 wxString
*arg2
= 0 ;
5096 int arg3
= (int) 0 ;
5097 bool temp2
= false ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5100 PyObject
* obj2
= 0 ;
5102 (char *) "self",(char *) "text",(char *) "number", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5107 if (SWIG_arg_fail(1)) SWIG_fail
;
5109 arg2
= wxString_in_helper(obj1
);
5110 if (arg2
== NULL
) SWIG_fail
;
5115 arg3
= (int)(SWIG_As_int(obj2
));
5116 if (SWIG_arg_fail(3)) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxFrame
*arg1
= (wxFrame
*) 0 ;
5145 int *arg3
= (int *) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5149 (char *) "self",(char *) "widths", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5154 if (SWIG_arg_fail(1)) SWIG_fail
;
5156 arg2
= PyList_Size(obj1
);
5157 arg3
= int_LIST_helper(obj1
);
5158 if (arg3
== NULL
) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 Py_INCREF(Py_None
); resultobj
= Py_None
;
5169 if (arg3
) delete [] arg3
;
5174 if (arg3
) delete [] arg3
;
5180 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxFrame
*arg1
= (wxFrame
*) 0 ;
5183 wxString
*arg2
= 0 ;
5184 int arg3
= (int) 0 ;
5185 bool temp2
= false ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5188 PyObject
* obj2
= 0 ;
5190 (char *) "self",(char *) "text",(char *) "number", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5195 if (SWIG_arg_fail(1)) SWIG_fail
;
5197 arg2
= wxString_in_helper(obj1
);
5198 if (arg2
== NULL
) SWIG_fail
;
5203 arg3
= (int)(SWIG_As_int(obj2
));
5204 if (SWIG_arg_fail(3)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 Py_INCREF(Py_None
); resultobj
= Py_None
;
5229 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
;
5231 wxFrame
*arg1
= (wxFrame
*) 0 ;
5232 int arg2
= (int) 0 ;
5233 PyObject
* obj0
= 0 ;
5234 PyObject
* obj1
= 0 ;
5236 (char *) "self",(char *) "number", NULL
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5241 if (SWIG_arg_fail(1)) SWIG_fail
;
5244 arg2
= (int)(SWIG_As_int(obj1
));
5245 if (SWIG_arg_fail(2)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 (arg1
)->PopStatusText(arg2
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 Py_INCREF(Py_None
); resultobj
= Py_None
;
5262 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxFrame
*arg1
= (wxFrame
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5269 (char *) "self",(char *) "n", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5274 if (SWIG_arg_fail(1)) SWIG_fail
;
5276 arg2
= (int)(SWIG_As_int(obj1
));
5277 if (SWIG_arg_fail(2)) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 (arg1
)->SetStatusBarPane(arg2
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 Py_INCREF(Py_None
); resultobj
= Py_None
;
5293 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxFrame
*arg1
= (wxFrame
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5299 (char *) "self", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5304 if (SWIG_arg_fail(1)) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_From_int((int)(result
));
5321 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxFrame
*arg1
= (wxFrame
*) 0 ;
5324 long arg2
= (long) -1 ;
5325 int arg3
= (int) -1 ;
5326 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5327 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5329 bool temp4
= false ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5332 PyObject
* obj2
= 0 ;
5333 PyObject
* obj3
= 0 ;
5335 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail
;
5343 arg2
= (long)(SWIG_As_long(obj1
));
5344 if (SWIG_arg_fail(2)) SWIG_fail
;
5349 arg3
= (int)(SWIG_As_int(obj2
));
5350 if (SWIG_arg_fail(3)) SWIG_fail
;
5355 arg4
= wxString_in_helper(obj3
);
5356 if (arg4
== NULL
) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= wxPyMake_wxObject(result
, 0);
5384 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxFrame
*arg1
= (wxFrame
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5390 (char *) "self", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= wxPyMake_wxObject(result
, 0);
5412 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxFrame
*arg1
= (wxFrame
*) 0 ;
5415 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5419 (char *) "self",(char *) "toolbar", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5424 if (SWIG_arg_fail(1)) SWIG_fail
;
5425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5426 if (SWIG_arg_fail(2)) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 (arg1
)->SetToolBar(arg2
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 Py_INCREF(Py_None
); resultobj
= Py_None
;
5441 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxFrame
*arg1
= (wxFrame
*) 0 ;
5444 wxString
*arg2
= 0 ;
5446 bool temp2
= false ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 PyObject
* obj2
= 0 ;
5451 (char *) "self",(char *) "text",(char *) "show", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5456 if (SWIG_arg_fail(1)) SWIG_fail
;
5458 arg2
= wxString_in_helper(obj1
);
5459 if (arg2
== NULL
) SWIG_fail
;
5463 arg3
= (bool)(SWIG_As_bool(obj2
));
5464 if (SWIG_arg_fail(3)) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 Py_INCREF(Py_None
); resultobj
= Py_None
;
5488 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxFrame
*arg1
= (wxFrame
*) 0 ;
5491 wxMenu
*arg2
= (wxMenu
*) NULL
;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "menu", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5503 if (SWIG_arg_fail(2)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->DoMenuUpdates(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5522 wxVisualAttributes result
;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "variant", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5531 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5532 if (SWIG_arg_fail(1)) SWIG_fail
;
5536 if (!wxPyCheckForApp()) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 wxVisualAttributes
* resultptr
;
5545 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5554 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5557 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5559 return Py_BuildValue((char *)"");
5561 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxWindow
*arg1
= (wxWindow
*) 0 ;
5564 int arg2
= (int) (int)-1 ;
5565 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5566 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5571 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5572 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5573 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5575 bool temp3
= false ;
5578 bool temp7
= false ;
5579 PyObject
* obj0
= 0 ;
5580 PyObject
* obj1
= 0 ;
5581 PyObject
* obj2
= 0 ;
5582 PyObject
* obj3
= 0 ;
5583 PyObject
* obj4
= 0 ;
5584 PyObject
* obj5
= 0 ;
5585 PyObject
* obj6
= 0 ;
5587 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5592 if (SWIG_arg_fail(1)) SWIG_fail
;
5595 arg2
= (int const)(SWIG_As_int(obj1
));
5596 if (SWIG_arg_fail(2)) SWIG_fail
;
5601 arg3
= wxString_in_helper(obj2
);
5602 if (arg3
== NULL
) SWIG_fail
;
5609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5620 arg6
= (long)(SWIG_As_long(obj5
));
5621 if (SWIG_arg_fail(6)) SWIG_fail
;
5626 arg7
= wxString_in_helper(obj6
);
5627 if (arg7
== NULL
) SWIG_fail
;
5632 if (!wxPyCheckForApp()) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5662 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5671 if (!wxPyCheckForApp()) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (wxDialog
*)new wxDialog();
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5685 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxDialog
*arg1
= (wxDialog
*) 0 ;
5688 wxWindow
*arg2
= (wxWindow
*) 0 ;
5689 int arg3
= (int) (int)-1 ;
5690 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5691 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5692 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5693 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5694 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5695 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5696 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5697 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5698 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5700 bool temp4
= false ;
5703 bool temp8
= false ;
5704 PyObject
* obj0
= 0 ;
5705 PyObject
* obj1
= 0 ;
5706 PyObject
* obj2
= 0 ;
5707 PyObject
* obj3
= 0 ;
5708 PyObject
* obj4
= 0 ;
5709 PyObject
* obj5
= 0 ;
5710 PyObject
* obj6
= 0 ;
5711 PyObject
* obj7
= 0 ;
5713 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5718 if (SWIG_arg_fail(1)) SWIG_fail
;
5719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5720 if (SWIG_arg_fail(2)) SWIG_fail
;
5723 arg3
= (int const)(SWIG_As_int(obj2
));
5724 if (SWIG_arg_fail(3)) SWIG_fail
;
5729 arg4
= wxString_in_helper(obj3
);
5730 if (arg4
== NULL
) SWIG_fail
;
5737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5748 arg7
= (long)(SWIG_As_long(obj6
));
5749 if (SWIG_arg_fail(7)) SWIG_fail
;
5754 arg8
= wxString_in_helper(obj7
);
5755 if (arg8
== NULL
) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5791 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxDialog
*arg1
= (wxDialog
*) 0 ;
5795 PyObject
* obj0
= 0 ;
5796 PyObject
* obj1
= 0 ;
5798 (char *) "self",(char *) "returnCode", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5805 arg2
= (int)(SWIG_As_int(obj1
));
5806 if (SWIG_arg_fail(2)) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 (arg1
)->SetReturnCode(arg2
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 Py_INCREF(Py_None
); resultobj
= Py_None
;
5822 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxDialog
*arg1
= (wxDialog
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5828 (char *) "self", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5833 if (SWIG_arg_fail(1)) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= SWIG_From_int((int)(result
));
5850 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxDialog
*arg1
= (wxDialog
*) 0 ;
5853 wxString
*arg2
= 0 ;
5855 bool temp2
= false ;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5859 (char *) "self",(char *) "message", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5864 if (SWIG_arg_fail(1)) SWIG_fail
;
5866 arg2
= wxString_in_helper(obj1
);
5867 if (arg2
== NULL
) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= wxPyMake_wxSizer(result
, 0);
5894 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxDialog
*arg1
= (wxDialog
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5902 (char *) "self",(char *) "flags", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail
;
5909 arg2
= (long)(SWIG_As_long(obj1
));
5910 if (SWIG_arg_fail(2)) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= wxPyMake_wxSizer(result
, 0);
5928 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxDialog
*arg1
= (wxDialog
*) 0 ;
5932 wxStdDialogButtonSizer
*result
;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5936 (char *) "self",(char *) "flags", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5941 if (SWIG_arg_fail(1)) SWIG_fail
;
5943 arg2
= (long)(SWIG_As_long(obj1
));
5944 if (SWIG_arg_fail(2)) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
5960 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxDialog
*arg1
= (wxDialog
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
5970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5971 if (SWIG_arg_fail(1)) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5988 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxDialog
*arg1
= (wxDialog
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5994 (char *) "self", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
5998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5999 if (SWIG_arg_fail(1)) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (int)(arg1
)->ShowModal();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_From_int((int)(result
));
6016 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxDialog
*arg1
= (wxDialog
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6021 PyObject
* obj1
= 0 ;
6023 (char *) "self",(char *) "retCode", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6028 if (SWIG_arg_fail(1)) SWIG_fail
;
6030 arg2
= (int)(SWIG_As_int(obj1
));
6031 if (SWIG_arg_fail(2)) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 (arg1
)->EndModal(arg2
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 Py_INCREF(Py_None
); resultobj
= Py_None
;
6047 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6050 wxVisualAttributes result
;
6051 PyObject
* obj0
= 0 ;
6053 (char *) "variant", NULL
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6059 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6060 if (SWIG_arg_fail(1)) SWIG_fail
;
6064 if (!wxPyCheckForApp()) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 wxVisualAttributes
* resultptr
;
6073 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6082 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6085 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6087 return Py_BuildValue((char *)"");
6089 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxWindow
*arg1
= (wxWindow
*) 0 ;
6092 int arg2
= (int) (int)-1 ;
6093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6099 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6100 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6102 wxMiniFrame
*result
;
6103 bool temp3
= false ;
6106 bool temp7
= false ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6109 PyObject
* obj2
= 0 ;
6110 PyObject
* obj3
= 0 ;
6111 PyObject
* obj4
= 0 ;
6112 PyObject
* obj5
= 0 ;
6113 PyObject
* obj6
= 0 ;
6115 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6120 if (SWIG_arg_fail(1)) SWIG_fail
;
6123 arg2
= (int const)(SWIG_As_int(obj1
));
6124 if (SWIG_arg_fail(2)) SWIG_fail
;
6129 arg3
= wxString_in_helper(obj2
);
6130 if (arg3
== NULL
) SWIG_fail
;
6137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6148 arg6
= (long)(SWIG_As_long(obj5
));
6149 if (SWIG_arg_fail(6)) SWIG_fail
;
6154 arg7
= wxString_in_helper(obj6
);
6155 if (arg7
== NULL
) SWIG_fail
;
6160 if (!wxPyCheckForApp()) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6190 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxMiniFrame
*result
;
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6199 if (!wxPyCheckForApp()) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (wxMiniFrame
*)new wxMiniFrame();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6213 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6216 wxWindow
*arg2
= (wxWindow
*) 0 ;
6217 int arg3
= (int) (int)-1 ;
6218 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6219 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6220 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6221 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6222 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6223 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6224 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6225 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6226 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6228 bool temp4
= false ;
6231 bool temp8
= false ;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6234 PyObject
* obj2
= 0 ;
6235 PyObject
* obj3
= 0 ;
6236 PyObject
* obj4
= 0 ;
6237 PyObject
* obj5
= 0 ;
6238 PyObject
* obj6
= 0 ;
6239 PyObject
* obj7
= 0 ;
6241 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail
;
6247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6248 if (SWIG_arg_fail(2)) SWIG_fail
;
6251 arg3
= (int const)(SWIG_As_int(obj2
));
6252 if (SWIG_arg_fail(3)) SWIG_fail
;
6257 arg4
= wxString_in_helper(obj3
);
6258 if (arg4
== NULL
) SWIG_fail
;
6265 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6271 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6276 arg7
= (long)(SWIG_As_long(obj6
));
6277 if (SWIG_arg_fail(7)) SWIG_fail
;
6282 arg8
= wxString_in_helper(obj7
);
6283 if (arg8
== NULL
) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6319 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6322 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6324 return Py_BuildValue((char *)"");
6326 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxBitmap
*arg1
= 0 ;
6329 wxWindow
*arg2
= (wxWindow
*) 0 ;
6331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6335 long arg6
= (long) wxNO_BORDER
;
6336 wxSplashScreenWindow
*result
;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6341 PyObject
* obj2
= 0 ;
6342 PyObject
* obj3
= 0 ;
6343 PyObject
* obj4
= 0 ;
6344 PyObject
* obj5
= 0 ;
6346 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6352 if (SWIG_arg_fail(1)) SWIG_fail
;
6354 SWIG_null_ref("wxBitmap");
6356 if (SWIG_arg_fail(1)) SWIG_fail
;
6358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6359 if (SWIG_arg_fail(2)) SWIG_fail
;
6361 arg3
= (int)(SWIG_As_int(obj2
));
6362 if (SWIG_arg_fail(3)) SWIG_fail
;
6367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6378 arg6
= (long)(SWIG_As_long(obj5
));
6379 if (SWIG_arg_fail(6)) SWIG_fail
;
6383 if (!wxPyCheckForApp()) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6397 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6400 wxBitmap
*arg2
= 0 ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6404 (char *) "self",(char *) "bitmap", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6409 if (SWIG_arg_fail(1)) SWIG_fail
;
6411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6412 if (SWIG_arg_fail(2)) SWIG_fail
;
6414 SWIG_null_ref("wxBitmap");
6416 if (SWIG_arg_fail(2)) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 Py_INCREF(Py_None
); resultobj
= Py_None
;
6432 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6438 (char *) "self", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6443 if (SWIG_arg_fail(1)) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6448 result
= (wxBitmap
*) &_result_ref
;
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6455 wxBitmap
* resultptr
= new wxBitmap(*result
);
6456 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6464 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6469 return Py_BuildValue((char *)"");
6471 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxBitmap
*arg1
= 0 ;
6476 wxWindow
*arg4
= (wxWindow
*) 0 ;
6477 int arg5
= (int) -1 ;
6478 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6479 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6480 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6481 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6482 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6483 wxSplashScreen
*result
;
6486 PyObject
* obj0
= 0 ;
6487 PyObject
* obj1
= 0 ;
6488 PyObject
* obj2
= 0 ;
6489 PyObject
* obj3
= 0 ;
6490 PyObject
* obj4
= 0 ;
6491 PyObject
* obj5
= 0 ;
6492 PyObject
* obj6
= 0 ;
6493 PyObject
* obj7
= 0 ;
6495 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6501 if (SWIG_arg_fail(1)) SWIG_fail
;
6503 SWIG_null_ref("wxBitmap");
6505 if (SWIG_arg_fail(1)) SWIG_fail
;
6508 arg2
= (long)(SWIG_As_long(obj1
));
6509 if (SWIG_arg_fail(2)) SWIG_fail
;
6512 arg3
= (int)(SWIG_As_int(obj2
));
6513 if (SWIG_arg_fail(3)) SWIG_fail
;
6515 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6516 if (SWIG_arg_fail(4)) SWIG_fail
;
6519 arg5
= (int)(SWIG_As_int(obj4
));
6520 if (SWIG_arg_fail(5)) SWIG_fail
;
6526 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6532 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6537 arg8
= (long)(SWIG_As_long(obj7
));
6538 if (SWIG_arg_fail(8)) SWIG_fail
;
6542 if (!wxPyCheckForApp()) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6556 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6560 PyObject
* obj0
= 0 ;
6562 (char *) "self", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6567 if (SWIG_arg_fail(1)) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_From_long((long)(result
));
6584 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6587 wxSplashScreenWindow
*result
;
6588 PyObject
* obj0
= 0 ;
6590 (char *) "self", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6595 if (SWIG_arg_fail(1)) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6610 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6614 PyObject
* obj0
= 0 ;
6616 (char *) "self", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_From_int((int)(result
));
6638 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6641 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6643 return Py_BuildValue((char *)"");
6645 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxWindow
*arg1
= (wxWindow
*) 0 ;
6648 int arg2
= (int) -1 ;
6649 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
6650 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6652 wxStatusBar
*result
;
6653 bool temp4
= false ;
6654 PyObject
* obj0
= 0 ;
6655 PyObject
* obj1
= 0 ;
6656 PyObject
* obj2
= 0 ;
6657 PyObject
* obj3
= 0 ;
6659 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail
;
6667 arg2
= (int)(SWIG_As_int(obj1
));
6668 if (SWIG_arg_fail(2)) SWIG_fail
;
6673 arg3
= (long)(SWIG_As_long(obj2
));
6674 if (SWIG_arg_fail(3)) SWIG_fail
;
6679 arg4
= wxString_in_helper(obj3
);
6680 if (arg4
== NULL
) SWIG_fail
;
6685 if (!wxPyCheckForApp()) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6707 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxStatusBar
*result
;
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6716 if (!wxPyCheckForApp()) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (wxStatusBar
*)new wxStatusBar();
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6730 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6733 wxWindow
*arg2
= (wxWindow
*) 0 ;
6734 int arg3
= (int) -1 ;
6735 long arg4
= (long) wxST_SIZEGRIP
;
6736 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6737 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6739 bool temp5
= false ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6742 PyObject
* obj2
= 0 ;
6743 PyObject
* obj3
= 0 ;
6744 PyObject
* obj4
= 0 ;
6746 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6751 if (SWIG_arg_fail(1)) SWIG_fail
;
6752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6753 if (SWIG_arg_fail(2)) SWIG_fail
;
6756 arg3
= (int)(SWIG_As_int(obj2
));
6757 if (SWIG_arg_fail(3)) SWIG_fail
;
6762 arg4
= (long)(SWIG_As_long(obj3
));
6763 if (SWIG_arg_fail(4)) SWIG_fail
;
6768 arg5
= wxString_in_helper(obj4
);
6769 if (arg5
== NULL
) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6797 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6800 int arg2
= (int) 1 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "number", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail
;
6812 arg2
= (int)(SWIG_As_int(obj1
));
6813 if (SWIG_arg_fail(2)) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 (arg1
)->SetFieldsCount(arg2
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6834 PyObject
* obj0
= 0 ;
6836 (char *) "self", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_From_int((int)(result
));
6858 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6861 wxString
*arg2
= 0 ;
6862 int arg3
= (int) 0 ;
6863 bool temp2
= false ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6866 PyObject
* obj2
= 0 ;
6868 (char *) "self",(char *) "text",(char *) "number", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6873 if (SWIG_arg_fail(1)) SWIG_fail
;
6875 arg2
= wxString_in_helper(obj1
);
6876 if (arg2
== NULL
) SWIG_fail
;
6881 arg3
= (int)(SWIG_As_int(obj2
));
6882 if (SWIG_arg_fail(3)) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 Py_INCREF(Py_None
); resultobj
= Py_None
;
6907 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6910 int arg2
= (int) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "number", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6920 if (SWIG_arg_fail(1)) SWIG_fail
;
6923 arg2
= (int)(SWIG_As_int(obj1
));
6924 if (SWIG_arg_fail(2)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6947 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6950 wxString
*arg2
= 0 ;
6951 int arg3
= (int) 0 ;
6952 bool temp2
= false ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6955 PyObject
* obj2
= 0 ;
6957 (char *) "self",(char *) "text",(char *) "number", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6962 if (SWIG_arg_fail(1)) SWIG_fail
;
6964 arg2
= wxString_in_helper(obj1
);
6965 if (arg2
== NULL
) SWIG_fail
;
6970 arg3
= (int)(SWIG_As_int(obj2
));
6971 if (SWIG_arg_fail(3)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 Py_INCREF(Py_None
); resultobj
= Py_None
;
6996 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6999 int arg2
= (int) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7003 (char *) "self",(char *) "number", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7008 if (SWIG_arg_fail(1)) SWIG_fail
;
7011 arg2
= (int)(SWIG_As_int(obj1
));
7012 if (SWIG_arg_fail(2)) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 (arg1
)->PopStatusText(arg2
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 Py_INCREF(Py_None
); resultobj
= Py_None
;
7029 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7033 int *arg3
= (int *) 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7037 (char *) "self",(char *) "widths", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7042 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 arg2
= PyList_Size(obj1
);
7045 arg3
= int_LIST_helper(obj1
);
7046 if (arg3
== NULL
) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 if (arg3
) delete [] arg3
;
7062 if (arg3
) delete [] arg3
;
7068 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7072 int *arg3
= (int *) 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7076 (char *) "self",(char *) "styles", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail
;
7083 arg2
= PyList_Size(obj1
);
7084 arg3
= int_LIST_helper(obj1
);
7085 if (arg3
== NULL
) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 Py_INCREF(Py_None
); resultobj
= Py_None
;
7096 if (arg3
) delete [] arg3
;
7101 if (arg3
) delete [] arg3
;
7107 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "i", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7120 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 arg2
= (int)(SWIG_As_int(obj1
));
7123 if (SWIG_arg_fail(2)) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7134 resultptr
= new wxRect((wxRect
&)(result
));
7135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7143 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7150 (char *) "self",(char *) "height", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7155 if (SWIG_arg_fail(1)) SWIG_fail
;
7157 arg2
= (int)(SWIG_As_int(obj1
));
7158 if (SWIG_arg_fail(2)) SWIG_fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 (arg1
)->SetMinHeight(arg2
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "self", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7185 if (SWIG_arg_fail(1)) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_From_int((int)(result
));
7202 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7206 PyObject
* obj0
= 0 ;
7208 (char *) "self", NULL
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7213 if (SWIG_arg_fail(1)) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= SWIG_From_int((int)(result
));
7230 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7233 wxVisualAttributes result
;
7234 PyObject
* obj0
= 0 ;
7236 (char *) "variant", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7242 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7243 if (SWIG_arg_fail(1)) SWIG_fail
;
7247 if (!wxPyCheckForApp()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7255 wxVisualAttributes
* resultptr
;
7256 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7265 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7268 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7270 return Py_BuildValue((char *)"");
7272 static int _wrap_SplitterNameStr_set(PyObject
*) {
7273 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7278 static PyObject
*_wrap_SplitterNameStr_get(void) {
7283 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7285 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7292 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxWindow
*arg1
= (wxWindow
*) 0 ;
7295 int arg2
= (int) -1 ;
7296 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7297 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7298 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7299 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7300 long arg5
= (long) wxSP_3D
;
7301 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7302 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7303 wxSplitterWindow
*result
;
7306 bool temp6
= false ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 PyObject
* obj2
= 0 ;
7310 PyObject
* obj3
= 0 ;
7311 PyObject
* obj4
= 0 ;
7312 PyObject
* obj5
= 0 ;
7314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail
;
7322 arg2
= (int)(SWIG_As_int(obj1
));
7323 if (SWIG_arg_fail(2)) SWIG_fail
;
7329 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7335 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7340 arg5
= (long)(SWIG_As_long(obj4
));
7341 if (SWIG_arg_fail(5)) SWIG_fail
;
7346 arg6
= wxString_in_helper(obj5
);
7347 if (arg6
== NULL
) SWIG_fail
;
7352 if (!wxPyCheckForApp()) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7374 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxSplitterWindow
*result
;
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7383 if (!wxPyCheckForApp()) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7397 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7400 wxWindow
*arg2
= (wxWindow
*) 0 ;
7401 int arg3
= (int) -1 ;
7402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7406 long arg6
= (long) wxSP_3D
;
7407 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7412 bool temp7
= false ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7416 PyObject
* obj3
= 0 ;
7417 PyObject
* obj4
= 0 ;
7418 PyObject
* obj5
= 0 ;
7419 PyObject
* obj6
= 0 ;
7421 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7426 if (SWIG_arg_fail(1)) SWIG_fail
;
7427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7428 if (SWIG_arg_fail(2)) SWIG_fail
;
7431 arg3
= (int)(SWIG_As_int(obj2
));
7432 if (SWIG_arg_fail(3)) SWIG_fail
;
7438 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7444 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7449 arg6
= (long)(SWIG_As_long(obj5
));
7450 if (SWIG_arg_fail(6)) SWIG_fail
;
7455 arg7
= wxString_in_helper(obj6
);
7456 if (arg7
== NULL
) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7484 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7488 PyObject
* obj0
= 0 ;
7490 (char *) "self", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7495 if (SWIG_arg_fail(1)) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= wxPyMake_wxObject(result
, 0);
7512 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7518 (char *) "self", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= wxPyMake_wxObject(result
, 0);
7540 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7547 (char *) "self",(char *) "mode", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7552 if (SWIG_arg_fail(1)) SWIG_fail
;
7554 arg2
= (int)(SWIG_As_int(obj1
));
7555 if (SWIG_arg_fail(2)) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 (arg1
)->SetSplitMode(arg2
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 Py_INCREF(Py_None
); resultobj
= Py_None
;
7571 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7575 PyObject
* obj0
= 0 ;
7577 (char *) "self", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7582 if (SWIG_arg_fail(1)) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 resultobj
= SWIG_From_int((result
));
7597 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7600 wxWindow
*arg2
= (wxWindow
*) 0 ;
7601 PyObject
* obj0
= 0 ;
7602 PyObject
* obj1
= 0 ;
7604 (char *) "self",(char *) "window", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7609 if (SWIG_arg_fail(1)) SWIG_fail
;
7610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7611 if (SWIG_arg_fail(2)) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 (arg1
)->Initialize(arg2
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 Py_INCREF(Py_None
); resultobj
= Py_None
;
7626 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7629 wxWindow
*arg2
= (wxWindow
*) 0 ;
7630 wxWindow
*arg3
= (wxWindow
*) 0 ;
7631 int arg4
= (int) 0 ;
7633 PyObject
* obj0
= 0 ;
7634 PyObject
* obj1
= 0 ;
7635 PyObject
* obj2
= 0 ;
7636 PyObject
* obj3
= 0 ;
7638 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7643 if (SWIG_arg_fail(1)) SWIG_fail
;
7644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7645 if (SWIG_arg_fail(2)) SWIG_fail
;
7646 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7647 if (SWIG_arg_fail(3)) SWIG_fail
;
7650 arg4
= (int)(SWIG_As_int(obj3
));
7651 if (SWIG_arg_fail(4)) SWIG_fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7670 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7673 wxWindow
*arg2
= (wxWindow
*) 0 ;
7674 wxWindow
*arg3
= (wxWindow
*) 0 ;
7675 int arg4
= (int) 0 ;
7677 PyObject
* obj0
= 0 ;
7678 PyObject
* obj1
= 0 ;
7679 PyObject
* obj2
= 0 ;
7680 PyObject
* obj3
= 0 ;
7682 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(2)) SWIG_fail
;
7690 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7691 if (SWIG_arg_fail(3)) SWIG_fail
;
7694 arg4
= (int)(SWIG_As_int(obj3
));
7695 if (SWIG_arg_fail(4)) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7714 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7717 wxWindow
*arg2
= (wxWindow
*) NULL
;
7719 PyObject
* obj0
= 0 ;
7720 PyObject
* obj1
= 0 ;
7722 (char *) "self",(char *) "toRemove", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7727 if (SWIG_arg_fail(1)) SWIG_fail
;
7729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7730 if (SWIG_arg_fail(2)) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (bool)(arg1
)->Unsplit(arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7748 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7751 wxWindow
*arg2
= (wxWindow
*) 0 ;
7752 wxWindow
*arg3
= (wxWindow
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 PyObject
* obj2
= 0 ;
7758 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail
;
7764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7765 if (SWIG_arg_fail(2)) SWIG_fail
;
7766 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7767 if (SWIG_arg_fail(3)) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7784 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7787 PyObject
* obj0
= 0 ;
7789 (char *) "self", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 (arg1
)->UpdateSize();
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 Py_INCREF(Py_None
); resultobj
= Py_None
;
7809 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7815 (char *) "self", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7820 if (SWIG_arg_fail(1)) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7837 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7844 (char *) "self",(char *) "width", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 arg2
= (int)(SWIG_As_int(obj1
));
7852 if (SWIG_arg_fail(2)) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 (arg1
)->SetSashSize(arg2
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 Py_INCREF(Py_None
); resultobj
= Py_None
;
7868 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7875 (char *) "self",(char *) "width", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7880 if (SWIG_arg_fail(1)) SWIG_fail
;
7882 arg2
= (int)(SWIG_As_int(obj1
));
7883 if (SWIG_arg_fail(2)) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->SetBorderSize(arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= SWIG_From_int((int)(result
));
7927 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_From_int((int)(result
));
7955 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7959 bool arg3
= (bool) true ;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7962 PyObject
* obj2
= 0 ;
7964 (char *) "self",(char *) "position",(char *) "redraw", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7969 if (SWIG_arg_fail(1)) SWIG_fail
;
7971 arg2
= (int)(SWIG_As_int(obj1
));
7972 if (SWIG_arg_fail(2)) SWIG_fail
;
7976 arg3
= (bool)(SWIG_As_bool(obj2
));
7977 if (SWIG_arg_fail(3)) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 (arg1
)->SetSashPosition(arg2
,arg3
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 Py_INCREF(Py_None
); resultobj
= Py_None
;
7994 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7998 PyObject
* obj0
= 0 ;
8000 (char *) "self", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= SWIG_From_int((int)(result
));
8022 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8026 PyObject
* obj0
= 0 ;
8027 PyObject
* obj1
= 0 ;
8029 (char *) "self",(char *) "gravity", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8034 if (SWIG_arg_fail(1)) SWIG_fail
;
8036 arg2
= (double)(SWIG_As_double(obj1
));
8037 if (SWIG_arg_fail(2)) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 (arg1
)->SetSashGravity(arg2
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 Py_INCREF(Py_None
); resultobj
= Py_None
;
8053 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8059 (char *) "self", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8064 if (SWIG_arg_fail(1)) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_From_double((double)(result
));
8081 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8088 (char *) "self",(char *) "min", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail
;
8095 arg2
= (int)(SWIG_As_int(obj1
));
8096 if (SWIG_arg_fail(2)) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 (arg1
)->SetMinimumPaneSize(arg2
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "self", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8123 if (SWIG_arg_fail(1)) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_From_int((int)(result
));
8140 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8145 int arg4
= (int) 5 ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8149 PyObject
* obj2
= 0 ;
8150 PyObject
* obj3
= 0 ;
8152 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8157 if (SWIG_arg_fail(1)) SWIG_fail
;
8159 arg2
= (int)(SWIG_As_int(obj1
));
8160 if (SWIG_arg_fail(2)) SWIG_fail
;
8163 arg3
= (int)(SWIG_As_int(obj2
));
8164 if (SWIG_arg_fail(3)) SWIG_fail
;
8168 arg4
= (int)(SWIG_As_int(obj3
));
8169 if (SWIG_arg_fail(4)) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8188 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8191 PyObject
* obj0
= 0 ;
8193 (char *) "self", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8198 if (SWIG_arg_fail(1)) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 (arg1
)->SizeWindows();
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 Py_INCREF(Py_None
); resultobj
= Py_None
;
8213 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8220 (char *) "self",(char *) "needUpdating", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail
;
8227 arg2
= (bool)(SWIG_As_bool(obj1
));
8228 if (SWIG_arg_fail(2)) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 (arg1
)->SetNeedUpdating(arg2
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 Py_INCREF(Py_None
); resultobj
= Py_None
;
8244 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8248 PyObject
* obj0
= 0 ;
8250 (char *) "self", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8255 if (SWIG_arg_fail(1)) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8272 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8275 wxVisualAttributes result
;
8276 PyObject
* obj0
= 0 ;
8278 (char *) "variant", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8284 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8285 if (SWIG_arg_fail(1)) SWIG_fail
;
8289 if (!wxPyCheckForApp()) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 wxVisualAttributes
* resultptr
;
8298 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8307 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8310 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8312 return Py_BuildValue((char *)"");
8314 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8317 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8318 wxSplitterEvent
*result
;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8322 (char *) "type",(char *) "splitter", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8328 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8329 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8334 if (SWIG_arg_fail(2)) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8350 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8357 (char *) "self",(char *) "pos", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8362 if (SWIG_arg_fail(1)) SWIG_fail
;
8364 arg2
= (int)(SWIG_As_int(obj1
));
8365 if (SWIG_arg_fail(2)) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 (arg1
)->SetSashPosition(arg2
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 Py_INCREF(Py_None
); resultobj
= Py_None
;
8381 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8385 PyObject
* obj0
= 0 ;
8387 (char *) "self", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8392 if (SWIG_arg_fail(1)) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_From_int((int)(result
));
8409 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8413 PyObject
* obj0
= 0 ;
8415 (char *) "self", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8420 if (SWIG_arg_fail(1)) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= wxPyMake_wxObject(result
, 0);
8437 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8443 (char *) "self", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_From_int((int)(result
));
8465 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8471 (char *) "self", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8476 if (SWIG_arg_fail(1)) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_From_int((int)(result
));
8493 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8496 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8498 return Py_BuildValue((char *)"");
8500 static int _wrap_SashNameStr_set(PyObject
*) {
8501 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8506 static PyObject
*_wrap_SashNameStr_get(void) {
8511 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8513 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8520 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8521 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8526 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8531 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8533 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8540 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxWindow
*arg1
= (wxWindow
*) 0 ;
8543 int arg2
= (int) -1 ;
8544 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8545 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8546 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8547 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8548 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8549 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8550 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8551 wxSashWindow
*result
;
8554 bool temp6
= false ;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8557 PyObject
* obj2
= 0 ;
8558 PyObject
* obj3
= 0 ;
8559 PyObject
* obj4
= 0 ;
8560 PyObject
* obj5
= 0 ;
8562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8567 if (SWIG_arg_fail(1)) SWIG_fail
;
8570 arg2
= (int)(SWIG_As_int(obj1
));
8571 if (SWIG_arg_fail(2)) SWIG_fail
;
8577 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8583 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8588 arg5
= (long)(SWIG_As_long(obj4
));
8589 if (SWIG_arg_fail(5)) SWIG_fail
;
8594 arg6
= wxString_in_helper(obj5
);
8595 if (arg6
== NULL
) SWIG_fail
;
8600 if (!wxPyCheckForApp()) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8622 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxSashWindow
*result
;
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8631 if (!wxPyCheckForApp()) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (wxSashWindow
*)new wxSashWindow();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8645 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8648 wxWindow
*arg2
= (wxWindow
*) 0 ;
8649 int arg3
= (int) -1 ;
8650 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8651 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8652 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8653 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8654 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8655 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8656 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8660 bool temp7
= false ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8663 PyObject
* obj2
= 0 ;
8664 PyObject
* obj3
= 0 ;
8665 PyObject
* obj4
= 0 ;
8666 PyObject
* obj5
= 0 ;
8667 PyObject
* obj6
= 0 ;
8669 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8674 if (SWIG_arg_fail(1)) SWIG_fail
;
8675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8676 if (SWIG_arg_fail(2)) SWIG_fail
;
8679 arg3
= (int)(SWIG_As_int(obj2
));
8680 if (SWIG_arg_fail(3)) SWIG_fail
;
8686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8697 arg6
= (long)(SWIG_As_long(obj5
));
8698 if (SWIG_arg_fail(6)) SWIG_fail
;
8703 arg7
= wxString_in_helper(obj6
);
8704 if (arg7
== NULL
) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8732 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8735 wxSashEdgePosition arg2
;
8737 PyObject
* obj0
= 0 ;
8738 PyObject
* obj1
= 0 ;
8739 PyObject
* obj2
= 0 ;
8741 (char *) "self",(char *) "edge",(char *) "sash", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail
;
8748 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8749 if (SWIG_arg_fail(2)) SWIG_fail
;
8752 arg3
= (bool)(SWIG_As_bool(obj2
));
8753 if (SWIG_arg_fail(3)) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 Py_INCREF(Py_None
); resultobj
= Py_None
;
8769 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
;
8771 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8772 wxSashEdgePosition arg2
;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8777 (char *) "self",(char *) "edge", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8782 if (SWIG_arg_fail(1)) SWIG_fail
;
8784 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8785 if (SWIG_arg_fail(2)) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8803 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8806 wxSashEdgePosition arg2
;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8810 PyObject
* obj2
= 0 ;
8812 (char *) "self",(char *) "edge",(char *) "border", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8817 if (SWIG_arg_fail(1)) SWIG_fail
;
8819 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8820 if (SWIG_arg_fail(2)) SWIG_fail
;
8823 arg3
= (bool)(SWIG_As_bool(obj2
));
8824 if (SWIG_arg_fail(3)) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8840 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
;
8842 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8843 wxSashEdgePosition arg2
;
8845 PyObject
* obj0
= 0 ;
8846 PyObject
* obj1
= 0 ;
8848 (char *) "self",(char *) "edge", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8853 if (SWIG_arg_fail(1)) SWIG_fail
;
8855 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8856 if (SWIG_arg_fail(2)) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8874 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8877 wxSashEdgePosition arg2
;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8882 (char *) "self",(char *) "edge", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8887 if (SWIG_arg_fail(1)) SWIG_fail
;
8889 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8890 if (SWIG_arg_fail(2)) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= SWIG_From_int((int)(result
));
8908 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8915 (char *) "self",(char *) "width", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8920 if (SWIG_arg_fail(1)) SWIG_fail
;
8922 arg2
= (int)(SWIG_As_int(obj1
));
8923 if (SWIG_arg_fail(2)) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 (arg1
)->SetDefaultBorderSize(arg2
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8939 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8945 (char *) "self", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= SWIG_From_int((int)(result
));
8967 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8974 (char *) "self",(char *) "width", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8979 if (SWIG_arg_fail(1)) SWIG_fail
;
8981 arg2
= (int)(SWIG_As_int(obj1
));
8982 if (SWIG_arg_fail(2)) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 (arg1
)->SetExtraBorderSize(arg2
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "self", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9009 if (SWIG_arg_fail(1)) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= SWIG_From_int((int)(result
));
9026 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9033 (char *) "self",(char *) "min", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9038 if (SWIG_arg_fail(1)) SWIG_fail
;
9040 arg2
= (int)(SWIG_As_int(obj1
));
9041 if (SWIG_arg_fail(2)) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 (arg1
)->SetMinimumSizeX(arg2
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 Py_INCREF(Py_None
); resultobj
= Py_None
;
9057 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9061 PyObject
* obj0
= 0 ;
9062 PyObject
* obj1
= 0 ;
9064 (char *) "self",(char *) "min", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9069 if (SWIG_arg_fail(1)) SWIG_fail
;
9071 arg2
= (int)(SWIG_As_int(obj1
));
9072 if (SWIG_arg_fail(2)) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 (arg1
)->SetMinimumSizeY(arg2
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "self", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_From_int((int)(result
));
9116 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_From_int((int)(result
));
9144 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9151 (char *) "self",(char *) "max", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9156 if (SWIG_arg_fail(1)) SWIG_fail
;
9158 arg2
= (int)(SWIG_As_int(obj1
));
9159 if (SWIG_arg_fail(2)) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 (arg1
)->SetMaximumSizeX(arg2
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 Py_INCREF(Py_None
); resultobj
= Py_None
;
9175 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9182 (char *) "self",(char *) "max", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9187 if (SWIG_arg_fail(1)) SWIG_fail
;
9189 arg2
= (int)(SWIG_As_int(obj1
));
9190 if (SWIG_arg_fail(2)) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 (arg1
)->SetMaximumSizeY(arg2
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 Py_INCREF(Py_None
); resultobj
= Py_None
;
9206 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_From_int((int)(result
));
9234 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9245 if (SWIG_arg_fail(1)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= SWIG_From_int((int)(result
));
9262 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9267 int arg4
= (int) 2 ;
9268 wxSashEdgePosition result
;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 PyObject
* obj2
= 0 ;
9272 PyObject
* obj3
= 0 ;
9274 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9279 if (SWIG_arg_fail(1)) SWIG_fail
;
9281 arg2
= (int)(SWIG_As_int(obj1
));
9282 if (SWIG_arg_fail(2)) SWIG_fail
;
9285 arg3
= (int)(SWIG_As_int(obj2
));
9286 if (SWIG_arg_fail(3)) SWIG_fail
;
9290 arg4
= (int)(SWIG_As_int(obj3
));
9291 if (SWIG_arg_fail(4)) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_From_int((result
));
9308 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9311 PyObject
* obj0
= 0 ;
9313 (char *) "self", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9318 if (SWIG_arg_fail(1)) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->SizeWindows();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9336 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9338 return Py_BuildValue((char *)"");
9340 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 int arg1
= (int) 0 ;
9343 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9344 wxSashEvent
*result
;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9348 (char *) "id",(char *) "edge", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9354 arg1
= (int)(SWIG_As_int(obj0
));
9355 if (SWIG_arg_fail(1)) SWIG_fail
;
9360 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9361 if (SWIG_arg_fail(2)) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9378 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9381 wxSashEdgePosition arg2
;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9385 (char *) "self",(char *) "edge", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9390 if (SWIG_arg_fail(1)) SWIG_fail
;
9392 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9393 if (SWIG_arg_fail(2)) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 Py_INCREF(Py_None
); resultobj
= Py_None
;
9409 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9412 wxSashEdgePosition result
;
9413 PyObject
* obj0
= 0 ;
9415 (char *) "self", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_From_int((result
));
9435 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9440 PyObject
* obj0
= 0 ;
9441 PyObject
* obj1
= 0 ;
9443 (char *) "self",(char *) "rect", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9448 if (SWIG_arg_fail(1)) SWIG_fail
;
9451 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9478 if (SWIG_arg_fail(1)) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9488 resultptr
= new wxRect((wxRect
&)(result
));
9489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9497 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9500 wxSashDragStatus arg2
;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9504 (char *) "self",(char *) "status", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail
;
9511 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9512 if (SWIG_arg_fail(2)) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 Py_INCREF(Py_None
); resultobj
= Py_None
;
9528 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9531 wxSashDragStatus result
;
9532 PyObject
* obj0
= 0 ;
9534 (char *) "self", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= SWIG_From_int((result
));
9554 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9557 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9559 return Py_BuildValue((char *)"");
9561 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 int arg1
= (int) 0 ;
9564 wxQueryLayoutInfoEvent
*result
;
9565 PyObject
* obj0
= 0 ;
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9573 arg1
= (int)(SWIG_As_int(obj0
));
9574 if (SWIG_arg_fail(1)) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9591 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9598 (char *) "self",(char *) "length", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9603 if (SWIG_arg_fail(1)) SWIG_fail
;
9605 arg2
= (int)(SWIG_As_int(obj1
));
9606 if (SWIG_arg_fail(2)) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 (arg1
)->SetRequestedLength(arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 Py_INCREF(Py_None
); resultobj
= Py_None
;
9622 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "self", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9633 if (SWIG_arg_fail(1)) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_From_int((int)(result
));
9650 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9657 (char *) "self",(char *) "flags", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9662 if (SWIG_arg_fail(1)) SWIG_fail
;
9664 arg2
= (int)(SWIG_As_int(obj1
));
9665 if (SWIG_arg_fail(2)) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->SetFlags(arg2
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 Py_INCREF(Py_None
); resultobj
= Py_None
;
9681 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "self", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9692 if (SWIG_arg_fail(1)) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_From_int((int)(result
));
9709 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9717 (char *) "self",(char *) "size", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9722 if (SWIG_arg_fail(1)) SWIG_fail
;
9725 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->SetSize((wxSize
const &)*arg2
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 Py_INCREF(Py_None
); resultobj
= Py_None
;
9741 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9752 if (SWIG_arg_fail(1)) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9762 resultptr
= new wxSize((wxSize
&)(result
));
9763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9771 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9774 wxLayoutOrientation arg2
;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9778 (char *) "self",(char *) "orient", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9783 if (SWIG_arg_fail(1)) SWIG_fail
;
9785 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9786 if (SWIG_arg_fail(2)) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 Py_INCREF(Py_None
); resultobj
= Py_None
;
9802 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9805 wxLayoutOrientation result
;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9813 if (SWIG_arg_fail(1)) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_From_int((result
));
9828 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9831 wxLayoutAlignment arg2
;
9832 PyObject
* obj0
= 0 ;
9833 PyObject
* obj1
= 0 ;
9835 (char *) "self",(char *) "align", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9840 if (SWIG_arg_fail(1)) SWIG_fail
;
9842 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9843 if (SWIG_arg_fail(2)) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 Py_INCREF(Py_None
); resultobj
= Py_None
;
9859 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9862 wxLayoutAlignment result
;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= SWIG_From_int((result
));
9885 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9888 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9890 return Py_BuildValue((char *)"");
9892 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 int arg1
= (int) 0 ;
9895 wxCalculateLayoutEvent
*result
;
9896 PyObject
* obj0
= 0 ;
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9904 arg1
= (int)(SWIG_As_int(obj0
));
9905 if (SWIG_arg_fail(1)) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9922 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9929 (char *) "self",(char *) "flags", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9934 if (SWIG_arg_fail(1)) SWIG_fail
;
9936 arg2
= (int)(SWIG_As_int(obj1
));
9937 if (SWIG_arg_fail(2)) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 (arg1
)->SetFlags(arg2
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 Py_INCREF(Py_None
); resultobj
= Py_None
;
9953 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_From_int((int)(result
));
9981 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9986 PyObject
* obj0
= 0 ;
9987 PyObject
* obj1
= 0 ;
9989 (char *) "self",(char *) "rect", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9994 if (SWIG_arg_fail(1)) SWIG_fail
;
9997 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 (arg1
)->SetRect((wxRect
const &)*arg2
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 Py_INCREF(Py_None
); resultobj
= Py_None
;
10013 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10024 if (SWIG_arg_fail(1)) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10033 wxRect
* resultptr
;
10034 resultptr
= new wxRect((wxRect
&)(result
));
10035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10043 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10046 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10048 return Py_BuildValue((char *)"");
10050 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxWindow
*arg1
= (wxWindow
*) 0 ;
10053 int arg2
= (int) -1 ;
10054 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10055 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10056 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10057 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10058 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10059 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10060 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10061 wxSashLayoutWindow
*result
;
10064 bool temp6
= false ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 PyObject
* obj2
= 0 ;
10068 PyObject
* obj3
= 0 ;
10069 PyObject
* obj4
= 0 ;
10070 PyObject
* obj5
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10077 if (SWIG_arg_fail(1)) SWIG_fail
;
10080 arg2
= (int)(SWIG_As_int(obj1
));
10081 if (SWIG_arg_fail(2)) SWIG_fail
;
10087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10098 arg5
= (long)(SWIG_As_long(obj4
));
10099 if (SWIG_arg_fail(5)) SWIG_fail
;
10104 arg6
= wxString_in_helper(obj5
);
10105 if (arg6
== NULL
) SWIG_fail
;
10110 if (!wxPyCheckForApp()) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10132 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxSashLayoutWindow
*result
;
10135 char *kwnames
[] = {
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10141 if (!wxPyCheckForApp()) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10155 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10158 wxWindow
*arg2
= (wxWindow
*) 0 ;
10159 int arg3
= (int) -1 ;
10160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10164 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10165 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10166 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10170 bool temp7
= false ;
10171 PyObject
* obj0
= 0 ;
10172 PyObject
* obj1
= 0 ;
10173 PyObject
* obj2
= 0 ;
10174 PyObject
* obj3
= 0 ;
10175 PyObject
* obj4
= 0 ;
10176 PyObject
* obj5
= 0 ;
10177 PyObject
* obj6
= 0 ;
10178 char *kwnames
[] = {
10179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10184 if (SWIG_arg_fail(1)) SWIG_fail
;
10185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10186 if (SWIG_arg_fail(2)) SWIG_fail
;
10189 arg3
= (int)(SWIG_As_int(obj2
));
10190 if (SWIG_arg_fail(3)) SWIG_fail
;
10196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10207 arg6
= (long)(SWIG_As_long(obj5
));
10208 if (SWIG_arg_fail(6)) SWIG_fail
;
10213 arg7
= wxString_in_helper(obj6
);
10214 if (arg7
== NULL
) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10242 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10245 wxLayoutAlignment result
;
10246 PyObject
* obj0
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10253 if (SWIG_arg_fail(1)) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_From_int((result
));
10268 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10271 wxLayoutOrientation result
;
10272 PyObject
* obj0
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10279 if (SWIG_arg_fail(1)) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_From_int((result
));
10294 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10297 wxLayoutAlignment arg2
;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "alignment", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10306 if (SWIG_arg_fail(1)) SWIG_fail
;
10308 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10309 if (SWIG_arg_fail(2)) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self",(char *) "size", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10338 if (SWIG_arg_fail(1)) SWIG_fail
;
10341 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 Py_INCREF(Py_None
); resultobj
= Py_None
;
10357 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10360 wxLayoutOrientation arg2
;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self",(char *) "orientation", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail
;
10371 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10372 if (SWIG_arg_fail(2)) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 Py_INCREF(Py_None
); resultobj
= Py_None
;
10388 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10391 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10393 return Py_BuildValue((char *)"");
10395 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxLayoutAlgorithm
*result
;
10398 char *kwnames
[] = {
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10417 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10427 if (SWIG_arg_fail(1)) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 Py_INCREF(Py_None
); resultobj
= Py_None
;
10442 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10445 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10446 wxRect
*arg3
= (wxRect
*) NULL
;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 PyObject
* obj2
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self",(char *) "frame",(char *) "rect", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10457 if (SWIG_arg_fail(1)) SWIG_fail
;
10458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10459 if (SWIG_arg_fail(2)) SWIG_fail
;
10461 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10462 if (SWIG_arg_fail(3)) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10480 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10483 wxFrame
*arg2
= (wxFrame
*) 0 ;
10484 wxWindow
*arg3
= (wxWindow
*) NULL
;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 PyObject
* obj2
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10495 if (SWIG_arg_fail(1)) SWIG_fail
;
10496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10497 if (SWIG_arg_fail(2)) SWIG_fail
;
10499 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10500 if (SWIG_arg_fail(3)) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10521 wxWindow
*arg2
= (wxWindow
*) 0 ;
10522 wxWindow
*arg3
= (wxWindow
*) NULL
;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 PyObject
* obj2
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10533 if (SWIG_arg_fail(1)) SWIG_fail
;
10534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10535 if (SWIG_arg_fail(2)) SWIG_fail
;
10537 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10538 if (SWIG_arg_fail(3)) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10556 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10559 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10561 return Py_BuildValue((char *)"");
10563 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxWindow
*arg1
= (wxWindow
*) 0 ;
10566 int arg2
= (int) wxBORDER_NONE
;
10567 wxPopupWindow
*result
;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "parent",(char *) "flags", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10576 if (SWIG_arg_fail(1)) SWIG_fail
;
10579 arg2
= (int)(SWIG_As_int(obj1
));
10580 if (SWIG_arg_fail(2)) SWIG_fail
;
10584 if (!wxPyCheckForApp()) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10598 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxPopupWindow
*result
;
10601 char *kwnames
[] = {
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10607 if (!wxPyCheckForApp()) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (wxPopupWindow
*)new wxPopupWindow();
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10621 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10624 wxWindow
*arg2
= (wxWindow
*) 0 ;
10625 int arg3
= (int) wxBORDER_NONE
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self",(char *) "parent",(char *) "flags", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10636 if (SWIG_arg_fail(1)) SWIG_fail
;
10637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10638 if (SWIG_arg_fail(2)) SWIG_fail
;
10641 arg3
= (int)(SWIG_As_int(obj2
));
10642 if (SWIG_arg_fail(3)) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10661 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10664 wxPoint
*arg2
= 0 ;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 PyObject
* obj2
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10677 if (SWIG_arg_fail(1)) SWIG_fail
;
10680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10684 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 Py_INCREF(Py_None
); resultobj
= Py_None
;
10700 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10703 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10705 return Py_BuildValue((char *)"");
10707 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxWindow
*arg1
= (wxWindow
*) 0 ;
10710 int arg2
= (int) wxBORDER_NONE
;
10711 wxPyPopupTransientWindow
*result
;
10712 PyObject
* obj0
= 0 ;
10713 PyObject
* obj1
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "parent",(char *) "style", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10720 if (SWIG_arg_fail(1)) SWIG_fail
;
10723 arg2
= (int)(SWIG_As_int(obj1
));
10724 if (SWIG_arg_fail(2)) SWIG_fail
;
10728 if (!wxPyCheckForApp()) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10742 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxPyPopupTransientWindow
*result
;
10745 char *kwnames
[] = {
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10751 if (!wxPyCheckForApp()) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10765 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10768 PyObject
*arg2
= (PyObject
*) 0 ;
10769 PyObject
*arg3
= (PyObject
*) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 PyObject
* obj1
= 0 ;
10772 PyObject
* obj2
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self",(char *) "self",(char *) "_class", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10779 if (SWIG_arg_fail(1)) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10799 wxWindow
*arg2
= (wxWindow
*) NULL
;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "focus", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10811 if (SWIG_arg_fail(2)) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->Popup(arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 Py_INCREF(Py_None
); resultobj
= Py_None
;
10852 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10855 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10857 return Py_BuildValue((char *)"");
10859 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxWindow
*arg1
= (wxWindow
*) 0 ;
10862 wxString
*arg2
= 0 ;
10863 int arg3
= (int) 100 ;
10864 wxRect
*arg4
= (wxRect
*) NULL
;
10865 wxTipWindow
*result
;
10866 bool temp2
= false ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 PyObject
* obj3
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10877 if (SWIG_arg_fail(1)) SWIG_fail
;
10879 arg2
= wxString_in_helper(obj1
);
10880 if (arg2
== NULL
) SWIG_fail
;
10885 arg3
= (int)(SWIG_As_int(obj2
));
10886 if (SWIG_arg_fail(3)) SWIG_fail
;
10890 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10891 if (SWIG_arg_fail(4)) SWIG_fail
;
10894 if (!wxPyCheckForApp()) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10916 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "rectBound", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10929 if (SWIG_arg_fail(1)) SWIG_fail
;
10932 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10958 if (SWIG_arg_fail(1)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10976 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10978 return Py_BuildValue((char *)"");
10980 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxWindow
*arg1
= (wxWindow
*) 0 ;
10983 int arg2
= (int) wxID_ANY
;
10984 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10985 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10986 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10987 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10988 long arg5
= (long) 0 ;
10989 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10990 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10991 wxPyVScrolledWindow
*result
;
10994 bool temp6
= false ;
10995 PyObject
* obj0
= 0 ;
10996 PyObject
* obj1
= 0 ;
10997 PyObject
* obj2
= 0 ;
10998 PyObject
* obj3
= 0 ;
10999 PyObject
* obj4
= 0 ;
11000 PyObject
* obj5
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11007 if (SWIG_arg_fail(1)) SWIG_fail
;
11010 arg2
= (int)(SWIG_As_int(obj1
));
11011 if (SWIG_arg_fail(2)) SWIG_fail
;
11017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11028 arg5
= (long)(SWIG_As_long(obj4
));
11029 if (SWIG_arg_fail(5)) SWIG_fail
;
11034 arg6
= wxString_in_helper(obj5
);
11035 if (arg6
== NULL
) SWIG_fail
;
11040 if (!wxPyCheckForApp()) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11062 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxPyVScrolledWindow
*result
;
11065 char *kwnames
[] = {
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11071 if (!wxPyCheckForApp()) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11085 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11088 PyObject
*arg2
= (PyObject
*) 0 ;
11089 PyObject
*arg3
= (PyObject
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 PyObject
* obj2
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self",(char *) "self",(char *) "_class", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11099 if (SWIG_arg_fail(1)) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11119 wxWindow
*arg2
= (wxWindow
*) 0 ;
11120 int arg3
= (int) wxID_ANY
;
11121 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11122 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11123 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11124 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11125 long arg6
= (long) 0 ;
11126 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11127 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11131 bool temp7
= false ;
11132 PyObject
* obj0
= 0 ;
11133 PyObject
* obj1
= 0 ;
11134 PyObject
* obj2
= 0 ;
11135 PyObject
* obj3
= 0 ;
11136 PyObject
* obj4
= 0 ;
11137 PyObject
* obj5
= 0 ;
11138 PyObject
* obj6
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail
;
11146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11147 if (SWIG_arg_fail(2)) SWIG_fail
;
11150 arg3
= (int)(SWIG_As_int(obj2
));
11151 if (SWIG_arg_fail(3)) SWIG_fail
;
11157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11168 arg6
= (long)(SWIG_As_long(obj5
));
11169 if (SWIG_arg_fail(6)) SWIG_fail
;
11174 arg7
= wxString_in_helper(obj6
);
11175 if (arg7
== NULL
) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "count", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11215 if (SWIG_arg_fail(1)) SWIG_fail
;
11217 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11218 if (SWIG_arg_fail(2)) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->SetLineCount(arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11234 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "self",(char *) "line", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11247 if (SWIG_arg_fail(1)) SWIG_fail
;
11249 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11250 if (SWIG_arg_fail(2)) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11268 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self",(char *) "lines", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail
;
11283 arg2
= (int)(SWIG_As_int(obj1
));
11284 if (SWIG_arg_fail(2)) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (bool)(arg1
)->ScrollLines(arg2
);
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11302 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "pages", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail
;
11317 arg2
= (int)(SWIG_As_int(obj1
));
11318 if (SWIG_arg_fail(2)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (bool)(arg1
)->ScrollPages(arg2
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11336 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "line", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11348 if (SWIG_arg_fail(1)) SWIG_fail
;
11350 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11351 if (SWIG_arg_fail(2)) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 (arg1
)->RefreshLine(arg2
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 PyObject
* obj2
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self",(char *) "from",(char *) "to", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11381 if (SWIG_arg_fail(1)) SWIG_fail
;
11383 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11384 if (SWIG_arg_fail(2)) SWIG_fail
;
11387 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11388 if (SWIG_arg_fail(3)) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 (arg1
)->RefreshLines(arg2
,arg3
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 Py_INCREF(Py_None
); resultobj
= Py_None
;
11404 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 PyObject
* obj2
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self",(char *) "x",(char *) "y", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11419 if (SWIG_arg_fail(1)) SWIG_fail
;
11421 arg2
= (int)(SWIG_As_int(obj1
));
11422 if (SWIG_arg_fail(2)) SWIG_fail
;
11425 arg3
= (int)(SWIG_As_int(obj2
));
11426 if (SWIG_arg_fail(3)) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= SWIG_From_int((int)(result
));
11444 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11447 wxPoint
*arg2
= 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "pt", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail
;
11461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= SWIG_From_int((int)(result
));
11479 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11489 if (SWIG_arg_fail(1)) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 (arg1
)->RefreshAll();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 Py_INCREF(Py_None
); resultobj
= Py_None
;
11504 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11508 PyObject
* obj0
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11515 if (SWIG_arg_fail(1)) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11532 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11536 PyObject
* obj0
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11560 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11564 PyObject
* obj0
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11588 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 char *kwnames
[] = {
11596 (char *) "self",(char *) "line", NULL
11599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11601 if (SWIG_arg_fail(1)) SWIG_fail
;
11603 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11604 if (SWIG_arg_fail(2)) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11622 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11625 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11627 return Py_BuildValue((char *)"");
11629 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11630 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11635 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11640 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11642 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11649 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxWindow
*arg1
= (wxWindow
*) 0 ;
11652 int arg2
= (int) wxID_ANY
;
11653 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11654 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11655 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11656 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11657 long arg5
= (long) 0 ;
11658 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11659 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11660 wxPyVListBox
*result
;
11663 bool temp6
= false ;
11664 PyObject
* obj0
= 0 ;
11665 PyObject
* obj1
= 0 ;
11666 PyObject
* obj2
= 0 ;
11667 PyObject
* obj3
= 0 ;
11668 PyObject
* obj4
= 0 ;
11669 PyObject
* obj5
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11676 if (SWIG_arg_fail(1)) SWIG_fail
;
11679 arg2
= (int)(SWIG_As_int(obj1
));
11680 if (SWIG_arg_fail(2)) SWIG_fail
;
11686 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11692 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11697 arg5
= (long)(SWIG_As_long(obj4
));
11698 if (SWIG_arg_fail(5)) SWIG_fail
;
11703 arg6
= wxString_in_helper(obj5
);
11704 if (arg6
== NULL
) SWIG_fail
;
11709 if (!wxPyCheckForApp()) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11731 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxPyVListBox
*result
;
11734 char *kwnames
[] = {
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11740 if (!wxPyCheckForApp()) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxPyVListBox
*)new wxPyVListBox();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11754 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11757 PyObject
*arg2
= (PyObject
*) 0 ;
11758 PyObject
*arg3
= (PyObject
*) 0 ;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 PyObject
* obj2
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self",(char *) "self",(char *) "_class", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11768 if (SWIG_arg_fail(1)) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 Py_INCREF(Py_None
); resultobj
= Py_None
;
11785 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
;
11787 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11788 wxWindow
*arg2
= (wxWindow
*) 0 ;
11789 int arg3
= (int) wxID_ANY
;
11790 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11791 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11792 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11793 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11794 long arg6
= (long) 0 ;
11795 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11796 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11800 bool temp7
= false ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 PyObject
* obj2
= 0 ;
11804 PyObject
* obj3
= 0 ;
11805 PyObject
* obj4
= 0 ;
11806 PyObject
* obj5
= 0 ;
11807 PyObject
* obj6
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11814 if (SWIG_arg_fail(1)) SWIG_fail
;
11815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11816 if (SWIG_arg_fail(2)) SWIG_fail
;
11819 arg3
= (int)(SWIG_As_int(obj2
));
11820 if (SWIG_arg_fail(3)) SWIG_fail
;
11826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11837 arg6
= (long)(SWIG_As_long(obj5
));
11838 if (SWIG_arg_fail(6)) SWIG_fail
;
11843 arg7
= wxString_in_helper(obj6
);
11844 if (arg7
== NULL
) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11872 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11883 if (SWIG_arg_fail(1)) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11900 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11911 if (SWIG_arg_fail(1)) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11928 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11939 if (SWIG_arg_fail(1)) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_From_int((int)(result
));
11956 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 PyObject
* obj1
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self",(char *) "item", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11969 if (SWIG_arg_fail(1)) SWIG_fail
;
11971 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11972 if (SWIG_arg_fail(2)) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11990 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "item", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail
;
12005 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12006 if (SWIG_arg_fail(2)) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12024 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12035 if (SWIG_arg_fail(1)) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12052 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12056 PyObject
* obj0
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12063 if (SWIG_arg_fail(1)) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= result
;
12078 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12081 unsigned long arg2
;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self",(char *) "cookie", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12091 if (SWIG_arg_fail(1)) SWIG_fail
;
12093 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12094 if (SWIG_arg_fail(2)) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= result
;
12110 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12121 if (SWIG_arg_fail(1)) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 wxPoint
* resultptr
;
12131 resultptr
= new wxPoint((wxPoint
&)(result
));
12132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12140 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12156 result
= (wxColour
*) &_result_ref
;
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12169 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self",(char *) "count", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail
;
12183 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12184 if (SWIG_arg_fail(2)) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 (arg1
)->SetItemCount(arg2
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 Py_INCREF(Py_None
); resultobj
= Py_None
;
12200 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12225 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "selection", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail
;
12239 arg2
= (int)(SWIG_As_int(obj1
));
12240 if (SWIG_arg_fail(2)) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 (arg1
)->SetSelection(arg2
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 Py_INCREF(Py_None
); resultobj
= Py_None
;
12256 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12260 bool arg3
= (bool) true ;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "item",(char *) "select", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12271 if (SWIG_arg_fail(1)) SWIG_fail
;
12273 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12274 if (SWIG_arg_fail(2)) SWIG_fail
;
12278 arg3
= (bool)(SWIG_As_bool(obj2
));
12279 if (SWIG_arg_fail(3)) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12298 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12304 PyObject
* obj0
= 0 ;
12305 PyObject
* obj1
= 0 ;
12306 PyObject
* obj2
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self",(char *) "from",(char *) "to", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail
;
12315 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12316 if (SWIG_arg_fail(2)) SWIG_fail
;
12319 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12320 if (SWIG_arg_fail(3)) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12338 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self",(char *) "item", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12350 if (SWIG_arg_fail(1)) SWIG_fail
;
12352 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12353 if (SWIG_arg_fail(2)) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->Toggle(arg2
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 Py_INCREF(Py_None
); resultobj
= Py_None
;
12369 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12380 if (SWIG_arg_fail(1)) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (bool)(arg1
)->SelectAll();
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12397 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12408 if (SWIG_arg_fail(1)) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (bool)(arg1
)->DeselectAll();
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12425 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12428 wxPoint
*arg2
= 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "pt", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12438 if (SWIG_arg_fail(1)) SWIG_fail
;
12441 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 Py_INCREF(Py_None
); resultobj
= Py_None
;
12457 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 PyObject
* obj1
= 0 ;
12464 PyObject
* obj2
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self",(char *) "x",(char *) "y", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12473 arg2
= (int)(SWIG_As_int(obj1
));
12474 if (SWIG_arg_fail(2)) SWIG_fail
;
12477 arg3
= (int)(SWIG_As_int(obj2
));
12478 if (SWIG_arg_fail(3)) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 (arg1
)->SetMargins(arg2
,arg3
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 Py_INCREF(Py_None
); resultobj
= Py_None
;
12494 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12497 wxColour
*arg2
= 0 ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self",(char *) "col", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12507 if (SWIG_arg_fail(1)) SWIG_fail
;
12510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 Py_INCREF(Py_None
); resultobj
= Py_None
;
12526 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12529 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12531 return Py_BuildValue((char *)"");
12533 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxWindow
*arg1
= (wxWindow
*) 0 ;
12536 int arg2
= (int) wxID_ANY
;
12537 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12538 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12539 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12540 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12541 long arg5
= (long) 0 ;
12542 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12543 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12544 wxPyHtmlListBox
*result
;
12547 bool temp6
= false ;
12548 PyObject
* obj0
= 0 ;
12549 PyObject
* obj1
= 0 ;
12550 PyObject
* obj2
= 0 ;
12551 PyObject
* obj3
= 0 ;
12552 PyObject
* obj4
= 0 ;
12553 PyObject
* obj5
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12560 if (SWIG_arg_fail(1)) SWIG_fail
;
12563 arg2
= (int)(SWIG_As_int(obj1
));
12564 if (SWIG_arg_fail(2)) SWIG_fail
;
12570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12576 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12581 arg5
= (long)(SWIG_As_long(obj4
));
12582 if (SWIG_arg_fail(5)) SWIG_fail
;
12587 arg6
= wxString_in_helper(obj5
);
12588 if (arg6
== NULL
) SWIG_fail
;
12593 if (!wxPyCheckForApp()) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12615 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
;
12617 wxPyHtmlListBox
*result
;
12618 char *kwnames
[] = {
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12624 if (!wxPyCheckForApp()) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12638 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12641 PyObject
*arg2
= (PyObject
*) 0 ;
12642 PyObject
*arg3
= (PyObject
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 PyObject
* obj2
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self",(char *) "self",(char *) "_class", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12652 if (SWIG_arg_fail(1)) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12672 wxWindow
*arg2
= (wxWindow
*) 0 ;
12673 int arg3
= (int) wxID_ANY
;
12674 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12675 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12676 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12677 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12678 long arg6
= (long) 0 ;
12679 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12680 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12684 bool temp7
= false ;
12685 PyObject
* obj0
= 0 ;
12686 PyObject
* obj1
= 0 ;
12687 PyObject
* obj2
= 0 ;
12688 PyObject
* obj3
= 0 ;
12689 PyObject
* obj4
= 0 ;
12690 PyObject
* obj5
= 0 ;
12691 PyObject
* obj6
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12698 if (SWIG_arg_fail(1)) SWIG_fail
;
12699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12700 if (SWIG_arg_fail(2)) SWIG_fail
;
12703 arg3
= (int)(SWIG_As_int(obj2
));
12704 if (SWIG_arg_fail(3)) SWIG_fail
;
12710 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12716 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12721 arg6
= (long)(SWIG_As_long(obj5
));
12722 if (SWIG_arg_fail(6)) SWIG_fail
;
12727 arg7
= wxString_in_helper(obj6
);
12728 if (arg7
== NULL
) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12756 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12766 if (SWIG_arg_fail(1)) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 (arg1
)->RefreshAll();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 Py_INCREF(Py_None
); resultobj
= Py_None
;
12781 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self",(char *) "count", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12793 if (SWIG_arg_fail(1)) SWIG_fail
;
12795 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12796 if (SWIG_arg_fail(2)) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 (arg1
)->SetItemCount(arg2
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 Py_INCREF(Py_None
); resultobj
= Py_None
;
12812 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12815 wxFileSystem
*result
;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12828 result
= (wxFileSystem
*) &_result_ref
;
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12841 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12844 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12846 return Py_BuildValue((char *)"");
12848 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxPyTaskBarIcon
*result
;
12851 char *kwnames
[] = {
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12857 if (!wxPyCheckForApp()) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12871 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12874 PyObject
*arg2
= (PyObject
*) 0 ;
12875 PyObject
*arg3
= (PyObject
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 PyObject
* obj3
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12887 if (SWIG_arg_fail(1)) SWIG_fail
;
12891 arg4
= (int)(SWIG_As_int(obj3
));
12892 if (SWIG_arg_fail(4)) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 wxPyTaskBarIcon_Destroy(arg1
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 Py_INCREF(Py_None
); resultobj
= Py_None
;
12933 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12961 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12989 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12993 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12994 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12996 bool temp3
= false ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 PyObject
* obj2
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail
;
13008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13009 if (SWIG_arg_fail(2)) SWIG_fail
;
13010 if (arg2
== NULL
) {
13011 SWIG_null_ref("wxIcon");
13013 if (SWIG_arg_fail(2)) SWIG_fail
;
13017 arg3
= wxString_in_helper(obj2
);
13018 if (arg3
== NULL
) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13046 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13050 PyObject
* obj0
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13057 if (SWIG_arg_fail(1)) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (bool)(arg1
)->RemoveIcon();
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13074 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13077 wxMenu
*arg2
= (wxMenu
*) 0 ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self",(char *) "menu", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13087 if (SWIG_arg_fail(1)) SWIG_fail
;
13088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13089 if (SWIG_arg_fail(2)) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (bool)(arg1
)->PopupMenu(arg2
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13106 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13111 return Py_BuildValue((char *)"");
13113 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13116 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13117 wxTaskBarIconEvent
*result
;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "evtType",(char *) "tbIcon", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13127 if (SWIG_arg_fail(1)) SWIG_fail
;
13129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13130 if (SWIG_arg_fail(2)) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13145 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13148 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13150 return Py_BuildValue((char *)"");
13152 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13153 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13158 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13163 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13165 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13172 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13173 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13178 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13183 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13185 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13192 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13193 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13198 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13203 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13205 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13212 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13213 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13218 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13223 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13225 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13232 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13233 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13238 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13243 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13245 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13252 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13253 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13258 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13263 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13265 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13272 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxColourData
*result
;
13275 char *kwnames
[] = {
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (wxColourData
*)new wxColourData();
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13294 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxColourData
*arg1
= (wxColourData
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13304 if (SWIG_arg_fail(1)) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 Py_INCREF(Py_None
); resultobj
= Py_None
;
13319 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxColourData
*arg1
= (wxColourData
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13330 if (SWIG_arg_fail(1)) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (bool)(arg1
)->GetChooseFull();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13347 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxColourData
*arg1
= (wxColourData
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13358 if (SWIG_arg_fail(1)) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (arg1
)->GetColour();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 wxColour
* resultptr
;
13368 resultptr
= new wxColour((wxColour
&)(result
));
13369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13377 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxColourData
*arg1
= (wxColourData
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "i", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13390 if (SWIG_arg_fail(1)) SWIG_fail
;
13392 arg2
= (int)(SWIG_As_int(obj1
));
13393 if (SWIG_arg_fail(2)) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (arg1
)->GetCustomColour(arg2
);
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13403 wxColour
* resultptr
;
13404 resultptr
= new wxColour((wxColour
&)(result
));
13405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13413 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxColourData
*arg1
= (wxColourData
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "flag", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13425 if (SWIG_arg_fail(1)) SWIG_fail
;
13427 arg2
= (int)(SWIG_As_int(obj1
));
13428 if (SWIG_arg_fail(2)) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 (arg1
)->SetChooseFull(arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 Py_INCREF(Py_None
); resultobj
= Py_None
;
13444 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxColourData
*arg1
= (wxColourData
*) 0 ;
13447 wxColour
*arg2
= 0 ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "colour", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13457 if (SWIG_arg_fail(1)) SWIG_fail
;
13460 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 (arg1
)->SetColour((wxColour
const &)*arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 Py_INCREF(Py_None
); resultobj
= Py_None
;
13476 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxColourData
*arg1
= (wxColourData
*) 0 ;
13480 wxColour
*arg3
= 0 ;
13482 PyObject
* obj0
= 0 ;
13483 PyObject
* obj1
= 0 ;
13484 PyObject
* obj2
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self",(char *) "i",(char *) "colour", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13491 if (SWIG_arg_fail(1)) SWIG_fail
;
13493 arg2
= (int)(SWIG_As_int(obj1
));
13494 if (SWIG_arg_fail(2)) SWIG_fail
;
13498 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13519 return Py_BuildValue((char *)"");
13521 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxWindow
*arg1
= (wxWindow
*) 0 ;
13524 wxColourData
*arg2
= (wxColourData
*) NULL
;
13525 wxColourDialog
*result
;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "parent",(char *) "data", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13534 if (SWIG_arg_fail(1)) SWIG_fail
;
13536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13537 if (SWIG_arg_fail(2)) SWIG_fail
;
13540 if (!wxPyCheckForApp()) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13554 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13557 wxColourData
*result
;
13558 PyObject
* obj0
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13565 if (SWIG_arg_fail(1)) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13570 result
= (wxColourData
*) &_result_ref
;
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13583 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13586 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13588 return Py_BuildValue((char *)"");
13590 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxWindow
*arg1
= (wxWindow
*) 0 ;
13593 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13594 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13595 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13596 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13597 long arg4
= (long) 0 ;
13598 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13599 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13600 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13601 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13602 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13603 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13604 wxDirDialog
*result
;
13605 bool temp2
= false ;
13606 bool temp3
= false ;
13609 bool temp7
= false ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 PyObject
* obj2
= 0 ;
13613 PyObject
* obj3
= 0 ;
13614 PyObject
* obj4
= 0 ;
13615 PyObject
* obj5
= 0 ;
13616 PyObject
* obj6
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13623 if (SWIG_arg_fail(1)) SWIG_fail
;
13626 arg2
= wxString_in_helper(obj1
);
13627 if (arg2
== NULL
) SWIG_fail
;
13633 arg3
= wxString_in_helper(obj2
);
13634 if (arg3
== NULL
) SWIG_fail
;
13640 arg4
= (long)(SWIG_As_long(obj3
));
13641 if (SWIG_arg_fail(4)) SWIG_fail
;
13647 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13653 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13658 arg7
= wxString_in_helper(obj6
);
13659 if (arg7
== NULL
) SWIG_fail
;
13664 if (!wxPyCheckForApp()) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13702 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13713 if (SWIG_arg_fail(1)) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (arg1
)->GetPath();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13734 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13745 if (SWIG_arg_fail(1)) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (arg1
)->GetMessage();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13766 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
;
13768 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self", NULL
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13777 if (SWIG_arg_fail(1)) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= (long)(arg1
)->GetStyle();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_From_long((long)(result
));
13794 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13797 wxString
*arg2
= 0 ;
13798 bool temp2
= false ;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 char *kwnames
[] = {
13802 (char *) "self",(char *) "message", NULL
13805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13807 if (SWIG_arg_fail(1)) SWIG_fail
;
13809 arg2
= wxString_in_helper(obj1
);
13810 if (arg2
== NULL
) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 (arg1
)->SetMessage((wxString
const &)*arg2
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 Py_INCREF(Py_None
); resultobj
= Py_None
;
13835 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13838 wxString
*arg2
= 0 ;
13839 bool temp2
= false ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "self",(char *) "path", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13848 if (SWIG_arg_fail(1)) SWIG_fail
;
13850 arg2
= wxString_in_helper(obj1
);
13851 if (arg2
== NULL
) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 (arg1
)->SetPath((wxString
const &)*arg2
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 Py_INCREF(Py_None
); resultobj
= Py_None
;
13876 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13879 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13881 return Py_BuildValue((char *)"");
13883 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxWindow
*arg1
= (wxWindow
*) 0 ;
13886 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13887 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13888 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13889 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13890 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13891 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13892 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13893 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13894 long arg6
= (long) 0 ;
13895 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13896 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13897 wxFileDialog
*result
;
13898 bool temp2
= false ;
13899 bool temp3
= false ;
13900 bool temp4
= false ;
13901 bool temp5
= false ;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 PyObject
* obj2
= 0 ;
13906 PyObject
* obj3
= 0 ;
13907 PyObject
* obj4
= 0 ;
13908 PyObject
* obj5
= 0 ;
13909 PyObject
* obj6
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13916 if (SWIG_arg_fail(1)) SWIG_fail
;
13919 arg2
= wxString_in_helper(obj1
);
13920 if (arg2
== NULL
) SWIG_fail
;
13926 arg3
= wxString_in_helper(obj2
);
13927 if (arg3
== NULL
) SWIG_fail
;
13933 arg4
= wxString_in_helper(obj3
);
13934 if (arg4
== NULL
) SWIG_fail
;
13940 arg5
= wxString_in_helper(obj4
);
13941 if (arg5
== NULL
) SWIG_fail
;
13947 arg6
= (long)(SWIG_As_long(obj5
));
13948 if (SWIG_arg_fail(6)) SWIG_fail
;
13954 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13958 if (!wxPyCheckForApp()) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14004 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14007 wxString
*arg2
= 0 ;
14008 bool temp2
= false ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self",(char *) "message", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14017 if (SWIG_arg_fail(1)) SWIG_fail
;
14019 arg2
= wxString_in_helper(obj1
);
14020 if (arg2
== NULL
) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 (arg1
)->SetMessage((wxString
const &)*arg2
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 Py_INCREF(Py_None
); resultobj
= Py_None
;
14045 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14048 wxString
*arg2
= 0 ;
14049 bool temp2
= false ;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 char *kwnames
[] = {
14053 (char *) "self",(char *) "path", NULL
14056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14058 if (SWIG_arg_fail(1)) SWIG_fail
;
14060 arg2
= wxString_in_helper(obj1
);
14061 if (arg2
== NULL
) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 (arg1
)->SetPath((wxString
const &)*arg2
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 Py_INCREF(Py_None
); resultobj
= Py_None
;
14086 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14089 wxString
*arg2
= 0 ;
14090 bool temp2
= false ;
14091 PyObject
* obj0
= 0 ;
14092 PyObject
* obj1
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self",(char *) "dir", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14099 if (SWIG_arg_fail(1)) SWIG_fail
;
14101 arg2
= wxString_in_helper(obj1
);
14102 if (arg2
== NULL
) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14127 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14130 wxString
*arg2
= 0 ;
14131 bool temp2
= false ;
14132 PyObject
* obj0
= 0 ;
14133 PyObject
* obj1
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self",(char *) "name", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14140 if (SWIG_arg_fail(1)) SWIG_fail
;
14142 arg2
= wxString_in_helper(obj1
);
14143 if (arg2
== NULL
) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 (arg1
)->SetFilename((wxString
const &)*arg2
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14168 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14171 wxString
*arg2
= 0 ;
14172 bool temp2
= false ;
14173 PyObject
* obj0
= 0 ;
14174 PyObject
* obj1
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self",(char *) "wildCard", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14181 if (SWIG_arg_fail(1)) SWIG_fail
;
14183 arg2
= wxString_in_helper(obj1
);
14184 if (arg2
== NULL
) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 Py_INCREF(Py_None
); resultobj
= Py_None
;
14209 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self",(char *) "style", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 arg2
= (long)(SWIG_As_long(obj1
));
14224 if (SWIG_arg_fail(2)) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 (arg1
)->SetStyle(arg2
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 Py_INCREF(Py_None
); resultobj
= Py_None
;
14240 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14241 PyObject
*resultobj
;
14242 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14244 PyObject
* obj0
= 0 ;
14245 PyObject
* obj1
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self",(char *) "filterIndex", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail
;
14254 arg2
= (int)(SWIG_As_int(obj1
));
14255 if (SWIG_arg_fail(2)) SWIG_fail
;
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 (arg1
)->SetFilterIndex(arg2
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 Py_INCREF(Py_None
); resultobj
= Py_None
;
14271 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14303 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14314 if (SWIG_arg_fail(1)) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14335 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14346 if (SWIG_arg_fail(1)) SWIG_fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14367 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14378 if (SWIG_arg_fail(1)) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14399 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14403 PyObject
* obj0
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14410 if (SWIG_arg_fail(1)) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14431 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14442 if (SWIG_arg_fail(1)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_From_long((long)(result
));
14459 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14470 if (SWIG_arg_fail(1)) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= SWIG_From_int((int)(result
));
14487 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14498 if (SWIG_arg_fail(1)) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= result
;
14513 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14524 if (SWIG_arg_fail(1)) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
;
14539 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14542 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14544 return Py_BuildValue((char *)"");
14546 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxWindow
*arg1
= (wxWindow
*) 0 ;
14549 wxString
*arg2
= 0 ;
14550 wxString
*arg3
= 0 ;
14551 int arg4
= (int) 0 ;
14552 wxString
*arg5
= (wxString
*) NULL
;
14553 long arg6
= (long) wxCHOICEDLG_STYLE
;
14554 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14555 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14556 wxMultiChoiceDialog
*result
;
14557 bool temp2
= false ;
14558 bool temp3
= false ;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 PyObject
* obj2
= 0 ;
14563 PyObject
* obj3
= 0 ;
14564 PyObject
* obj4
= 0 ;
14565 PyObject
* obj5
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14572 if (SWIG_arg_fail(1)) SWIG_fail
;
14574 arg2
= wxString_in_helper(obj1
);
14575 if (arg2
== NULL
) SWIG_fail
;
14579 arg3
= wxString_in_helper(obj2
);
14580 if (arg3
== NULL
) SWIG_fail
;
14585 arg4
= PyList_Size(obj3
);
14586 arg5
= wxString_LIST_helper(obj3
);
14587 if (arg5
== NULL
) SWIG_fail
;
14592 arg6
= (long)(SWIG_As_long(obj4
));
14593 if (SWIG_arg_fail(6)) SWIG_fail
;
14599 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14603 if (!wxPyCheckForApp()) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14620 if (arg5
) delete [] arg5
;
14633 if (arg5
) delete [] arg5
;
14639 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14642 wxArrayInt
*arg2
= 0 ;
14643 bool temp2
= false ;
14644 PyObject
* obj0
= 0 ;
14645 PyObject
* obj1
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self",(char *) "selections", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14652 if (SWIG_arg_fail(1)) SWIG_fail
;
14654 if (! PySequence_Check(obj1
)) {
14655 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14658 arg2
= new wxArrayInt
;
14660 int i
, len
=PySequence_Length(obj1
);
14661 for (i
=0; i
<len
; i
++) {
14662 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14663 PyObject
* number
= PyNumber_Int(item
);
14664 arg2
->Add(PyInt_AS_LONG(number
));
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 Py_INCREF(Py_None
); resultobj
= Py_None
;
14678 if (temp2
) delete arg2
;
14683 if (temp2
) delete arg2
;
14689 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14693 PyObject
* obj0
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14700 if (SWIG_arg_fail(1)) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= result
;
14715 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14718 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14720 return Py_BuildValue((char *)"");
14722 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxWindow
*arg1
= (wxWindow
*) 0 ;
14725 wxString
*arg2
= 0 ;
14726 wxString
*arg3
= 0 ;
14728 wxString
*arg5
= (wxString
*) 0 ;
14729 long arg6
= (long) wxCHOICEDLG_STYLE
;
14730 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14731 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14732 wxSingleChoiceDialog
*result
;
14733 bool temp2
= false ;
14734 bool temp3
= false ;
14736 PyObject
* obj0
= 0 ;
14737 PyObject
* obj1
= 0 ;
14738 PyObject
* obj2
= 0 ;
14739 PyObject
* obj3
= 0 ;
14740 PyObject
* obj4
= 0 ;
14741 PyObject
* obj5
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14748 if (SWIG_arg_fail(1)) SWIG_fail
;
14750 arg2
= wxString_in_helper(obj1
);
14751 if (arg2
== NULL
) SWIG_fail
;
14755 arg3
= wxString_in_helper(obj2
);
14756 if (arg3
== NULL
) SWIG_fail
;
14760 arg4
= PyList_Size(obj3
);
14761 arg5
= wxString_LIST_helper(obj3
);
14762 if (arg5
== NULL
) SWIG_fail
;
14766 arg6
= (long)(SWIG_As_long(obj4
));
14767 if (SWIG_arg_fail(6)) SWIG_fail
;
14773 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14777 if (!wxPyCheckForApp()) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14794 if (arg5
) delete [] arg5
;
14807 if (arg5
) delete [] arg5
;
14813 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (int)(arg1
)->GetSelection();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_From_int((int)(result
));
14841 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (arg1
)->GetStringSelection();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14873 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self",(char *) "sel", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14885 if (SWIG_arg_fail(1)) SWIG_fail
;
14887 arg2
= (int)(SWIG_As_int(obj1
));
14888 if (SWIG_arg_fail(2)) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->SetSelection(arg2
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 Py_INCREF(Py_None
); resultobj
= Py_None
;
14904 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14907 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14909 return Py_BuildValue((char *)"");
14911 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxWindow
*arg1
= (wxWindow
*) 0 ;
14914 wxString
*arg2
= 0 ;
14915 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14916 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14917 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14918 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14919 long arg5
= (long) wxTextEntryDialogStyle
;
14920 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14921 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14922 wxTextEntryDialog
*result
;
14923 bool temp2
= false ;
14924 bool temp3
= false ;
14925 bool temp4
= false ;
14927 PyObject
* obj0
= 0 ;
14928 PyObject
* obj1
= 0 ;
14929 PyObject
* obj2
= 0 ;
14930 PyObject
* obj3
= 0 ;
14931 PyObject
* obj4
= 0 ;
14932 PyObject
* obj5
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14939 if (SWIG_arg_fail(1)) SWIG_fail
;
14941 arg2
= wxString_in_helper(obj1
);
14942 if (arg2
== NULL
) SWIG_fail
;
14947 arg3
= wxString_in_helper(obj2
);
14948 if (arg3
== NULL
) SWIG_fail
;
14954 arg4
= wxString_in_helper(obj3
);
14955 if (arg4
== NULL
) SWIG_fail
;
14961 arg5
= (long)(SWIG_As_long(obj4
));
14962 if (SWIG_arg_fail(5)) SWIG_fail
;
14968 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14972 if (!wxPyCheckForApp()) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15010 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15021 if (SWIG_arg_fail(1)) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (arg1
)->GetValue();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15042 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15045 wxString
*arg2
= 0 ;
15046 bool temp2
= false ;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "value", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15055 if (SWIG_arg_fail(1)) SWIG_fail
;
15057 arg2
= wxString_in_helper(obj1
);
15058 if (arg2
== NULL
) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 (arg1
)->SetValue((wxString
const &)*arg2
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 Py_INCREF(Py_None
); resultobj
= Py_None
;
15083 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15086 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15088 return Py_BuildValue((char *)"");
15090 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15091 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15096 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15101 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15103 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15110 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxWindow
*arg1
= (wxWindow
*) 0 ;
15113 wxString
*arg2
= 0 ;
15114 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15115 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15118 long arg5
= (long) wxTextEntryDialogStyle
;
15119 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15120 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15121 wxPasswordEntryDialog
*result
;
15122 bool temp2
= false ;
15123 bool temp3
= false ;
15124 bool temp4
= false ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 PyObject
* obj2
= 0 ;
15129 PyObject
* obj3
= 0 ;
15130 PyObject
* obj4
= 0 ;
15131 PyObject
* obj5
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15138 if (SWIG_arg_fail(1)) SWIG_fail
;
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15146 arg3
= wxString_in_helper(obj2
);
15147 if (arg3
== NULL
) SWIG_fail
;
15153 arg4
= wxString_in_helper(obj3
);
15154 if (arg4
== NULL
) SWIG_fail
;
15160 arg5
= (long)(SWIG_As_long(obj4
));
15161 if (SWIG_arg_fail(5)) SWIG_fail
;
15167 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15208 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15211 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15213 return Py_BuildValue((char *)"");
15215 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxFontData
*result
;
15218 char *kwnames
[] = {
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (wxFontData
*)new wxFontData();
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15237 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxFontData
*arg1
= (wxFontData
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15247 if (SWIG_arg_fail(1)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 Py_INCREF(Py_None
); resultobj
= Py_None
;
15262 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxFontData
*arg1
= (wxFontData
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "enable", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail
;
15276 arg2
= (bool)(SWIG_As_bool(obj1
));
15277 if (SWIG_arg_fail(2)) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 (arg1
)->EnableEffects(arg2
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 Py_INCREF(Py_None
); resultobj
= Py_None
;
15293 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxFontData
*arg1
= (wxFontData
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15304 if (SWIG_arg_fail(1)) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (bool)(arg1
)->GetAllowSymbols();
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15321 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxFontData
*arg1
= (wxFontData
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (arg1
)->GetColour();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 wxColour
* resultptr
;
15342 resultptr
= new wxColour((wxColour
&)(result
));
15343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15351 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxFontData
*arg1
= (wxFontData
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (arg1
)->GetChosenFont();
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15371 wxFont
* resultptr
;
15372 resultptr
= new wxFont((wxFont
&)(result
));
15373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15381 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxFontData
*arg1
= (wxFontData
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15392 if (SWIG_arg_fail(1)) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (bool)(arg1
)->GetEnableEffects();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15409 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxFontData
*arg1
= (wxFontData
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15420 if (SWIG_arg_fail(1)) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (arg1
)->GetInitialFont();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15429 wxFont
* resultptr
;
15430 resultptr
= new wxFont((wxFont
&)(result
));
15431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15439 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxFontData
*arg1
= (wxFontData
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15450 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)(arg1
)->GetShowHelp();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15467 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxFontData
*arg1
= (wxFontData
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self",(char *) "allowSymbols", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15479 if (SWIG_arg_fail(1)) SWIG_fail
;
15481 arg2
= (bool)(SWIG_As_bool(obj1
));
15482 if (SWIG_arg_fail(2)) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->SetAllowSymbols(arg2
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxFontData
*arg1
= (wxFontData
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "font", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15510 if (SWIG_arg_fail(1)) SWIG_fail
;
15512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15513 if (SWIG_arg_fail(2)) SWIG_fail
;
15514 if (arg2
== NULL
) {
15515 SWIG_null_ref("wxFont");
15517 if (SWIG_arg_fail(2)) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 Py_INCREF(Py_None
); resultobj
= Py_None
;
15533 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxFontData
*arg1
= (wxFontData
*) 0 ;
15536 wxColour
*arg2
= 0 ;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self",(char *) "colour", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 (arg1
)->SetColour((wxColour
const &)*arg2
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 Py_INCREF(Py_None
); resultobj
= Py_None
;
15565 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxFontData
*arg1
= (wxFontData
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self",(char *) "font", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15577 if (SWIG_arg_fail(1)) SWIG_fail
;
15579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15580 if (SWIG_arg_fail(2)) SWIG_fail
;
15581 if (arg2
== NULL
) {
15582 SWIG_null_ref("wxFont");
15584 if (SWIG_arg_fail(2)) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 Py_INCREF(Py_None
); resultobj
= Py_None
;
15600 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxFontData
*arg1
= (wxFontData
*) 0 ;
15605 PyObject
* obj0
= 0 ;
15606 PyObject
* obj1
= 0 ;
15607 PyObject
* obj2
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "min",(char *) "max", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15614 if (SWIG_arg_fail(1)) SWIG_fail
;
15616 arg2
= (int)(SWIG_As_int(obj1
));
15617 if (SWIG_arg_fail(2)) SWIG_fail
;
15620 arg3
= (int)(SWIG_As_int(obj2
));
15621 if (SWIG_arg_fail(3)) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetRange(arg2
,arg3
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 Py_INCREF(Py_None
); resultobj
= Py_None
;
15637 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxFontData
*arg1
= (wxFontData
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "self",(char *) "showHelp", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15649 if (SWIG_arg_fail(1)) SWIG_fail
;
15651 arg2
= (bool)(SWIG_As_bool(obj1
));
15652 if (SWIG_arg_fail(2)) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->SetShowHelp(arg2
);
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 Py_INCREF(Py_None
); resultobj
= Py_None
;
15668 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15671 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15673 return Py_BuildValue((char *)"");
15675 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxWindow
*arg1
= (wxWindow
*) 0 ;
15678 wxFontData
*arg2
= 0 ;
15679 wxFontDialog
*result
;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "parent",(char *) "data", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15688 if (SWIG_arg_fail(1)) SWIG_fail
;
15690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15691 if (SWIG_arg_fail(2)) SWIG_fail
;
15692 if (arg2
== NULL
) {
15693 SWIG_null_ref("wxFontData");
15695 if (SWIG_arg_fail(2)) SWIG_fail
;
15698 if (!wxPyCheckForApp()) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15712 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15715 wxFontData
*result
;
15716 PyObject
* obj0
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15723 if (SWIG_arg_fail(1)) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15728 result
= (wxFontData
*) &_result_ref
;
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15741 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15744 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15746 return Py_BuildValue((char *)"");
15748 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxWindow
*arg1
= (wxWindow
*) 0 ;
15751 wxString
*arg2
= 0 ;
15752 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15753 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15754 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15755 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15756 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15757 wxMessageDialog
*result
;
15758 bool temp2
= false ;
15759 bool temp3
= false ;
15761 PyObject
* obj0
= 0 ;
15762 PyObject
* obj1
= 0 ;
15763 PyObject
* obj2
= 0 ;
15764 PyObject
* obj3
= 0 ;
15765 PyObject
* obj4
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15772 if (SWIG_arg_fail(1)) SWIG_fail
;
15774 arg2
= wxString_in_helper(obj1
);
15775 if (arg2
== NULL
) SWIG_fail
;
15780 arg3
= wxString_in_helper(obj2
);
15781 if (arg3
== NULL
) SWIG_fail
;
15787 arg4
= (long)(SWIG_As_long(obj3
));
15788 if (SWIG_arg_fail(4)) SWIG_fail
;
15794 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15798 if (!wxPyCheckForApp()) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15828 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15831 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15833 return Py_BuildValue((char *)"");
15835 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxString
*arg1
= 0 ;
15838 wxString
*arg2
= 0 ;
15839 int arg3
= (int) 100 ;
15840 wxWindow
*arg4
= (wxWindow
*) NULL
;
15841 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15842 wxProgressDialog
*result
;
15843 bool temp1
= false ;
15844 bool temp2
= false ;
15845 PyObject
* obj0
= 0 ;
15846 PyObject
* obj1
= 0 ;
15847 PyObject
* obj2
= 0 ;
15848 PyObject
* obj3
= 0 ;
15849 PyObject
* obj4
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15856 arg1
= wxString_in_helper(obj0
);
15857 if (arg1
== NULL
) SWIG_fail
;
15861 arg2
= wxString_in_helper(obj1
);
15862 if (arg2
== NULL
) SWIG_fail
;
15867 arg3
= (int)(SWIG_As_int(obj2
));
15868 if (SWIG_arg_fail(3)) SWIG_fail
;
15872 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15873 if (SWIG_arg_fail(4)) SWIG_fail
;
15877 arg5
= (int)(SWIG_As_int(obj4
));
15878 if (SWIG_arg_fail(5)) SWIG_fail
;
15882 if (!wxPyCheckForApp()) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15912 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15919 bool temp3
= false ;
15920 PyObject
* obj0
= 0 ;
15921 PyObject
* obj1
= 0 ;
15922 PyObject
* obj2
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15929 if (SWIG_arg_fail(1)) SWIG_fail
;
15931 arg2
= (int)(SWIG_As_int(obj1
));
15932 if (SWIG_arg_fail(2)) SWIG_fail
;
15936 arg3
= wxString_in_helper(obj2
);
15937 if (arg3
== NULL
) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15965 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15975 if (SWIG_arg_fail(1)) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 Py_INCREF(Py_None
); resultobj
= Py_None
;
15990 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15993 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15995 return Py_BuildValue((char *)"");
15997 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16000 int arg2
= (int) 0 ;
16001 wxFindDialogEvent
*result
;
16002 PyObject
* obj0
= 0 ;
16003 PyObject
* obj1
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "commandType",(char *) "id", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16011 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16012 if (SWIG_arg_fail(1)) SWIG_fail
;
16017 arg2
= (int)(SWIG_As_int(obj1
));
16018 if (SWIG_arg_fail(2)) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16035 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16046 if (SWIG_arg_fail(1)) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (int)(arg1
)->GetFlags();
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= SWIG_From_int((int)(result
));
16063 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16074 if (SWIG_arg_fail(1)) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 wxString
const &_result_ref
= (arg1
)->GetFindString();
16079 result
= (wxString
*) &_result_ref
;
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16089 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16098 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16109 if (SWIG_arg_fail(1)) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16114 result
= (wxString
*) &_result_ref
;
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16133 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16136 wxFindReplaceDialog
*result
;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16159 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self",(char *) "flags", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16171 if (SWIG_arg_fail(1)) SWIG_fail
;
16173 arg2
= (int)(SWIG_As_int(obj1
));
16174 if (SWIG_arg_fail(2)) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 (arg1
)->SetFlags(arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 Py_INCREF(Py_None
); resultobj
= Py_None
;
16190 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16193 wxString
*arg2
= 0 ;
16194 bool temp2
= false ;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self",(char *) "str", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16203 if (SWIG_arg_fail(1)) SWIG_fail
;
16205 arg2
= wxString_in_helper(obj1
);
16206 if (arg2
== NULL
) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 (arg1
)->SetFindString((wxString
const &)*arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 Py_INCREF(Py_None
); resultobj
= Py_None
;
16231 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16234 wxString
*arg2
= 0 ;
16235 bool temp2
= false ;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self",(char *) "str", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16244 if (SWIG_arg_fail(1)) SWIG_fail
;
16246 arg2
= wxString_in_helper(obj1
);
16247 if (arg2
== NULL
) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 Py_INCREF(Py_None
); resultobj
= Py_None
;
16272 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16275 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16277 return Py_BuildValue((char *)"");
16279 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 int arg1
= (int) 0 ;
16282 wxFindReplaceData
*result
;
16283 PyObject
* obj0
= 0 ;
16284 char *kwnames
[] = {
16285 (char *) "flags", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16291 arg1
= (int)(SWIG_As_int(obj0
));
16292 if (SWIG_arg_fail(1)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16309 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16319 if (SWIG_arg_fail(1)) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16345 if (SWIG_arg_fail(1)) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 wxString
const &_result_ref
= (arg1
)->GetFindString();
16350 result
= (wxString
*) &_result_ref
;
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16360 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16369 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16385 result
= (wxString
*) &_result_ref
;
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16395 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16404 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16415 if (SWIG_arg_fail(1)) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (int)(arg1
)->GetFlags();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_From_int((int)(result
));
16432 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self",(char *) "flags", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16444 if (SWIG_arg_fail(1)) SWIG_fail
;
16446 arg2
= (int)(SWIG_As_int(obj1
));
16447 if (SWIG_arg_fail(2)) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 (arg1
)->SetFlags(arg2
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 Py_INCREF(Py_None
); resultobj
= Py_None
;
16463 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16466 wxString
*arg2
= 0 ;
16467 bool temp2
= false ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "self",(char *) "str", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16476 if (SWIG_arg_fail(1)) SWIG_fail
;
16478 arg2
= wxString_in_helper(obj1
);
16479 if (arg2
== NULL
) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 (arg1
)->SetFindString((wxString
const &)*arg2
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 Py_INCREF(Py_None
); resultobj
= Py_None
;
16504 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16507 wxString
*arg2
= 0 ;
16508 bool temp2
= false ;
16509 PyObject
* obj0
= 0 ;
16510 PyObject
* obj1
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self",(char *) "str", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16517 if (SWIG_arg_fail(1)) SWIG_fail
;
16519 arg2
= wxString_in_helper(obj1
);
16520 if (arg2
== NULL
) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 Py_INCREF(Py_None
); resultobj
= Py_None
;
16545 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16548 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16550 return Py_BuildValue((char *)"");
16552 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxWindow
*arg1
= (wxWindow
*) 0 ;
16555 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16556 wxString
*arg3
= 0 ;
16557 int arg4
= (int) 0 ;
16558 wxFindReplaceDialog
*result
;
16559 bool temp3
= false ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 PyObject
* obj2
= 0 ;
16563 PyObject
* obj3
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16570 if (SWIG_arg_fail(1)) SWIG_fail
;
16571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16572 if (SWIG_arg_fail(2)) SWIG_fail
;
16574 arg3
= wxString_in_helper(obj2
);
16575 if (arg3
== NULL
) SWIG_fail
;
16580 arg4
= (int)(SWIG_As_int(obj3
));
16581 if (SWIG_arg_fail(4)) SWIG_fail
;
16585 if (!wxPyCheckForApp()) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16607 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxFindReplaceDialog
*result
;
16610 char *kwnames
[] = {
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16616 if (!wxPyCheckForApp()) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16630 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16633 wxWindow
*arg2
= (wxWindow
*) 0 ;
16634 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16635 wxString
*arg4
= 0 ;
16636 int arg5
= (int) 0 ;
16638 bool temp4
= false ;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 PyObject
* obj2
= 0 ;
16642 PyObject
* obj3
= 0 ;
16643 PyObject
* obj4
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16650 if (SWIG_arg_fail(1)) SWIG_fail
;
16651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16652 if (SWIG_arg_fail(2)) SWIG_fail
;
16653 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16654 if (SWIG_arg_fail(3)) SWIG_fail
;
16656 arg4
= wxString_in_helper(obj3
);
16657 if (arg4
== NULL
) SWIG_fail
;
16662 arg5
= (int)(SWIG_As_int(obj4
));
16663 if (SWIG_arg_fail(5)) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16690 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16693 wxFindReplaceData
*result
;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16701 if (SWIG_arg_fail(1)) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16716 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16719 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "data", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16728 if (SWIG_arg_fail(1)) SWIG_fail
;
16729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16730 if (SWIG_arg_fail(2)) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 (arg1
)->SetData(arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 Py_INCREF(Py_None
); resultobj
= Py_None
;
16745 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16748 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16750 return Py_BuildValue((char *)"");
16752 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxWindow
*arg1
= (wxWindow
*) 0 ;
16755 int arg2
= (int) (int)-1 ;
16756 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16757 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16762 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16763 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16764 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16765 wxMDIParentFrame
*result
;
16766 bool temp3
= false ;
16769 bool temp7
= false ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 PyObject
* obj2
= 0 ;
16773 PyObject
* obj3
= 0 ;
16774 PyObject
* obj4
= 0 ;
16775 PyObject
* obj5
= 0 ;
16776 PyObject
* obj6
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16783 if (SWIG_arg_fail(1)) SWIG_fail
;
16786 arg2
= (int const)(SWIG_As_int(obj1
));
16787 if (SWIG_arg_fail(2)) SWIG_fail
;
16792 arg3
= wxString_in_helper(obj2
);
16793 if (arg3
== NULL
) SWIG_fail
;
16800 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16806 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16811 arg6
= (long)(SWIG_As_long(obj5
));
16812 if (SWIG_arg_fail(6)) SWIG_fail
;
16817 arg7
= wxString_in_helper(obj6
);
16818 if (arg7
== NULL
) SWIG_fail
;
16823 if (!wxPyCheckForApp()) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16853 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxMDIParentFrame
*result
;
16856 char *kwnames
[] = {
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16862 if (!wxPyCheckForApp()) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16876 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16879 wxWindow
*arg2
= (wxWindow
*) 0 ;
16880 int arg3
= (int) (int)-1 ;
16881 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16882 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16883 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16884 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16885 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16886 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16887 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16888 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16889 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16891 bool temp4
= false ;
16894 bool temp8
= false ;
16895 PyObject
* obj0
= 0 ;
16896 PyObject
* obj1
= 0 ;
16897 PyObject
* obj2
= 0 ;
16898 PyObject
* obj3
= 0 ;
16899 PyObject
* obj4
= 0 ;
16900 PyObject
* obj5
= 0 ;
16901 PyObject
* obj6
= 0 ;
16902 PyObject
* obj7
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16909 if (SWIG_arg_fail(1)) SWIG_fail
;
16910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16911 if (SWIG_arg_fail(2)) SWIG_fail
;
16914 arg3
= (int const)(SWIG_As_int(obj2
));
16915 if (SWIG_arg_fail(3)) SWIG_fail
;
16920 arg4
= wxString_in_helper(obj3
);
16921 if (arg4
== NULL
) SWIG_fail
;
16928 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16934 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16939 arg7
= (long)(SWIG_As_long(obj6
));
16940 if (SWIG_arg_fail(7)) SWIG_fail
;
16945 arg8
= wxString_in_helper(obj7
);
16946 if (arg8
== NULL
) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16982 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16992 if (SWIG_arg_fail(1)) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 (arg1
)->ActivateNext();
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 Py_INCREF(Py_None
); resultobj
= Py_None
;
17007 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->ActivatePrevious();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17032 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17042 if (SWIG_arg_fail(1)) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 (arg1
)->ArrangeIcons();
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 Py_INCREF(Py_None
); resultobj
= Py_None
;
17057 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 Py_INCREF(Py_None
); resultobj
= Py_None
;
17082 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17085 wxMDIChildFrame
*result
;
17086 PyObject
* obj0
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17093 if (SWIG_arg_fail(1)) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= wxPyMake_wxObject(result
, 0);
17110 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17113 wxMDIClientWindow
*result
;
17114 PyObject
* obj0
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17121 if (SWIG_arg_fail(1)) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= wxPyMake_wxObject(result
, 0);
17138 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
;
17140 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17142 PyObject
* obj0
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17149 if (SWIG_arg_fail(1)) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (wxWindow
*)(arg1
)->GetToolBar();
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= wxPyMake_wxObject(result
, 0);
17166 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
17175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17191 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17194 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17196 return Py_BuildValue((char *)"");
17198 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17201 int arg2
= (int) (int)-1 ;
17202 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17208 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17209 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17210 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17211 wxMDIChildFrame
*result
;
17212 bool temp3
= false ;
17215 bool temp7
= false ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 PyObject
* obj2
= 0 ;
17219 PyObject
* obj3
= 0 ;
17220 PyObject
* obj4
= 0 ;
17221 PyObject
* obj5
= 0 ;
17222 PyObject
* obj6
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail
;
17232 arg2
= (int const)(SWIG_As_int(obj1
));
17233 if (SWIG_arg_fail(2)) SWIG_fail
;
17238 arg3
= wxString_in_helper(obj2
);
17239 if (arg3
== NULL
) SWIG_fail
;
17246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17257 arg6
= (long)(SWIG_As_long(obj5
));
17258 if (SWIG_arg_fail(6)) SWIG_fail
;
17263 arg7
= wxString_in_helper(obj6
);
17264 if (arg7
== NULL
) SWIG_fail
;
17269 if (!wxPyCheckForApp()) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17299 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxMDIChildFrame
*result
;
17302 char *kwnames
[] = {
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17308 if (!wxPyCheckForApp()) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17322 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17325 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17326 int arg3
= (int) (int)-1 ;
17327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17329 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17330 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17331 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17332 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17333 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17334 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17335 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17337 bool temp4
= false ;
17340 bool temp8
= false ;
17341 PyObject
* obj0
= 0 ;
17342 PyObject
* obj1
= 0 ;
17343 PyObject
* obj2
= 0 ;
17344 PyObject
* obj3
= 0 ;
17345 PyObject
* obj4
= 0 ;
17346 PyObject
* obj5
= 0 ;
17347 PyObject
* obj6
= 0 ;
17348 PyObject
* obj7
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail
;
17356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17357 if (SWIG_arg_fail(2)) SWIG_fail
;
17360 arg3
= (int const)(SWIG_As_int(obj2
));
17361 if (SWIG_arg_fail(3)) SWIG_fail
;
17366 arg4
= wxString_in_helper(obj3
);
17367 if (arg4
== NULL
) SWIG_fail
;
17374 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17380 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17385 arg7
= (long)(SWIG_As_long(obj6
));
17386 if (SWIG_arg_fail(7)) SWIG_fail
;
17391 arg8
= wxString_in_helper(obj7
);
17392 if (arg8
== NULL
) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17428 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17431 PyObject
* obj0
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17438 if (SWIG_arg_fail(1)) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 (arg1
)->Activate();
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 Py_INCREF(Py_None
); resultobj
= Py_None
;
17453 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17456 bool arg2
= (bool) true ;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self",(char *) "maximize", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17465 if (SWIG_arg_fail(1)) SWIG_fail
;
17468 arg2
= (bool)(SWIG_As_bool(obj1
));
17469 if (SWIG_arg_fail(2)) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->Maximize(arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 Py_INCREF(Py_None
); resultobj
= Py_None
;
17486 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17511 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17514 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17516 return Py_BuildValue((char *)"");
17518 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17521 long arg2
= (long) 0 ;
17522 wxMDIClientWindow
*result
;
17523 PyObject
* obj0
= 0 ;
17524 PyObject
* obj1
= 0 ;
17525 char *kwnames
[] = {
17526 (char *) "parent",(char *) "style", NULL
17529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17531 if (SWIG_arg_fail(1)) SWIG_fail
;
17534 arg2
= (long)(SWIG_As_long(obj1
));
17535 if (SWIG_arg_fail(2)) SWIG_fail
;
17539 if (!wxPyCheckForApp()) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17553 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxMDIClientWindow
*result
;
17556 char *kwnames
[] = {
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17562 if (!wxPyCheckForApp()) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17576 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
;
17578 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17579 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17580 long arg3
= (long) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 PyObject
* obj2
= 0 ;
17585 char *kwnames
[] = {
17586 (char *) "self",(char *) "parent",(char *) "style", NULL
17589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17591 if (SWIG_arg_fail(1)) SWIG_fail
;
17592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17593 if (SWIG_arg_fail(2)) SWIG_fail
;
17596 arg3
= (long)(SWIG_As_long(obj2
));
17597 if (SWIG_arg_fail(3)) SWIG_fail
;
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17616 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17619 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17621 return Py_BuildValue((char *)"");
17623 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxWindow
*arg1
= (wxWindow
*) 0 ;
17626 int arg2
= (int) (int)-1 ;
17627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17631 long arg5
= (long) 0 ;
17632 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17633 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17634 wxPyWindow
*result
;
17637 bool temp6
= false ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 PyObject
* obj2
= 0 ;
17641 PyObject
* obj3
= 0 ;
17642 PyObject
* obj4
= 0 ;
17643 PyObject
* obj5
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17650 if (SWIG_arg_fail(1)) SWIG_fail
;
17653 arg2
= (int const)(SWIG_As_int(obj1
));
17654 if (SWIG_arg_fail(2)) SWIG_fail
;
17660 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17666 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17671 arg5
= (long)(SWIG_As_long(obj4
));
17672 if (SWIG_arg_fail(5)) SWIG_fail
;
17677 arg6
= wxString_in_helper(obj5
);
17678 if (arg6
== NULL
) SWIG_fail
;
17683 if (!wxPyCheckForApp()) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17705 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxPyWindow
*result
;
17708 char *kwnames
[] = {
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17714 if (!wxPyCheckForApp()) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= (wxPyWindow
*)new wxPyWindow();
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17728 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17731 PyObject
*arg2
= (PyObject
*) 0 ;
17732 PyObject
*arg3
= (PyObject
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj2
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self",(char *) "self",(char *) "_class", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17742 if (SWIG_arg_fail(1)) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 Py_INCREF(Py_None
); resultobj
= Py_None
;
17759 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 PyObject
* obj1
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self",(char *) "size", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17772 if (SWIG_arg_fail(1)) SWIG_fail
;
17775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17791 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 PyObject
* obj2
= 0 ;
17801 PyObject
* obj3
= 0 ;
17802 PyObject
* obj4
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17809 if (SWIG_arg_fail(1)) SWIG_fail
;
17811 arg2
= (int)(SWIG_As_int(obj1
));
17812 if (SWIG_arg_fail(2)) SWIG_fail
;
17815 arg3
= (int)(SWIG_As_int(obj2
));
17816 if (SWIG_arg_fail(3)) SWIG_fail
;
17819 arg4
= (int)(SWIG_As_int(obj3
));
17820 if (SWIG_arg_fail(4)) SWIG_fail
;
17823 arg5
= (int)(SWIG_As_int(obj4
));
17824 if (SWIG_arg_fail(5)) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 Py_INCREF(Py_None
); resultobj
= Py_None
;
17840 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
;
17842 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17847 int arg6
= (int) wxSIZE_AUTO
;
17848 PyObject
* obj0
= 0 ;
17849 PyObject
* obj1
= 0 ;
17850 PyObject
* obj2
= 0 ;
17851 PyObject
* obj3
= 0 ;
17852 PyObject
* obj4
= 0 ;
17853 PyObject
* obj5
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17860 if (SWIG_arg_fail(1)) SWIG_fail
;
17862 arg2
= (int)(SWIG_As_int(obj1
));
17863 if (SWIG_arg_fail(2)) SWIG_fail
;
17866 arg3
= (int)(SWIG_As_int(obj2
));
17867 if (SWIG_arg_fail(3)) SWIG_fail
;
17870 arg4
= (int)(SWIG_As_int(obj3
));
17871 if (SWIG_arg_fail(4)) SWIG_fail
;
17874 arg5
= (int)(SWIG_As_int(obj4
));
17875 if (SWIG_arg_fail(5)) SWIG_fail
;
17879 arg6
= (int)(SWIG_As_int(obj5
));
17880 if (SWIG_arg_fail(6)) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 Py_INCREF(Py_None
); resultobj
= Py_None
;
17897 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 PyObject
* obj2
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "width",(char *) "height", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17911 if (SWIG_arg_fail(1)) SWIG_fail
;
17913 arg2
= (int)(SWIG_As_int(obj1
));
17914 if (SWIG_arg_fail(2)) SWIG_fail
;
17917 arg3
= (int)(SWIG_As_int(obj2
));
17918 if (SWIG_arg_fail(3)) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 Py_INCREF(Py_None
); resultobj
= Py_None
;
17934 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 PyObject
* obj2
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self",(char *) "x",(char *) "y", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17948 if (SWIG_arg_fail(1)) SWIG_fail
;
17950 arg2
= (int)(SWIG_As_int(obj1
));
17951 if (SWIG_arg_fail(2)) SWIG_fail
;
17954 arg3
= (int)(SWIG_As_int(obj2
));
17955 if (SWIG_arg_fail(3)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 Py_INCREF(Py_None
); resultobj
= Py_None
;
17971 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17974 int *arg2
= (int *) 0 ;
17975 int *arg3
= (int *) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17986 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
17998 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17999 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18000 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18001 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18008 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18011 int *arg2
= (int *) 0 ;
18012 int *arg3
= (int *) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self", NULL
18022 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18023 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18036 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18037 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18038 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18045 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18048 int *arg2
= (int *) 0 ;
18049 int *arg3
= (int *) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self", NULL
18059 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18060 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18072 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18073 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18074 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18075 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18082 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18093 if (SWIG_arg_fail(1)) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 wxSize
* resultptr
;
18103 resultptr
= new wxSize((wxSize
&)(result
));
18104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18112 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18123 if (SWIG_arg_fail(1)) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18132 wxSize
* resultptr
;
18133 resultptr
= new wxSize((wxSize
&)(result
));
18134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18142 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18152 if (SWIG_arg_fail(1)) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 (arg1
)->base_InitDialog();
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 Py_INCREF(Py_None
); resultobj
= Py_None
;
18167 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (bool)(arg1
)->base_TransferDataToWindow();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18195 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18223 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18234 if (SWIG_arg_fail(1)) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (bool)(arg1
)->base_Validate();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18251 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18255 PyObject
* obj0
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18262 if (SWIG_arg_fail(1)) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18279 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18307 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18318 if (SWIG_arg_fail(1)) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18327 wxSize
* resultptr
;
18328 resultptr
= new wxSize((wxSize
&)(result
));
18329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18337 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18340 wxWindow
*arg2
= (wxWindow
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 PyObject
* obj1
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self",(char *) "child", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail
;
18350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18351 if (SWIG_arg_fail(2)) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 (arg1
)->base_AddChild(arg2
);
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 Py_INCREF(Py_None
); resultobj
= Py_None
;
18366 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18369 wxWindow
*arg2
= (wxWindow
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self",(char *) "child", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18378 if (SWIG_arg_fail(1)) SWIG_fail
;
18379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18380 if (SWIG_arg_fail(2)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->base_RemoveChild(arg2
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 Py_INCREF(Py_None
); resultobj
= Py_None
;
18395 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18406 if (SWIG_arg_fail(1)) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18423 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18426 wxColour
*arg2
= 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "c", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail
;
18439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 Py_INCREF(Py_None
); resultobj
= Py_None
;
18455 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18458 wxVisualAttributes result
;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (arg1
)->base_GetDefaultAttributes();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 wxVisualAttributes
* resultptr
;
18476 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18485 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18488 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18490 return Py_BuildValue((char *)"");
18492 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxWindow
*arg1
= (wxWindow
*) 0 ;
18495 int arg2
= (int) (int)-1 ;
18496 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18497 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18498 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18499 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18500 long arg5
= (long) 0 ;
18501 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18502 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18506 bool temp6
= false ;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 PyObject
* obj2
= 0 ;
18510 PyObject
* obj3
= 0 ;
18511 PyObject
* obj4
= 0 ;
18512 PyObject
* obj5
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18519 if (SWIG_arg_fail(1)) SWIG_fail
;
18522 arg2
= (int const)(SWIG_As_int(obj1
));
18523 if (SWIG_arg_fail(2)) SWIG_fail
;
18529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18535 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18540 arg5
= (long)(SWIG_As_long(obj4
));
18541 if (SWIG_arg_fail(5)) SWIG_fail
;
18546 arg6
= wxString_in_helper(obj5
);
18547 if (arg6
== NULL
) SWIG_fail
;
18552 if (!wxPyCheckForApp()) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18574 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18577 char *kwnames
[] = {
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18583 if (!wxPyCheckForApp()) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (wxPyPanel
*)new wxPyPanel();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18597 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18600 PyObject
*arg2
= (PyObject
*) 0 ;
18601 PyObject
*arg3
= (PyObject
*) 0 ;
18602 PyObject
* obj0
= 0 ;
18603 PyObject
* obj1
= 0 ;
18604 PyObject
* obj2
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self",(char *) "self",(char *) "_class", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 Py_INCREF(Py_None
); resultobj
= Py_None
;
18628 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "size", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18641 if (SWIG_arg_fail(1)) SWIG_fail
;
18644 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 PyObject
* obj1
= 0 ;
18669 PyObject
* obj2
= 0 ;
18670 PyObject
* obj3
= 0 ;
18671 PyObject
* obj4
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18678 if (SWIG_arg_fail(1)) SWIG_fail
;
18680 arg2
= (int)(SWIG_As_int(obj1
));
18681 if (SWIG_arg_fail(2)) SWIG_fail
;
18684 arg3
= (int)(SWIG_As_int(obj2
));
18685 if (SWIG_arg_fail(3)) SWIG_fail
;
18688 arg4
= (int)(SWIG_As_int(obj3
));
18689 if (SWIG_arg_fail(4)) SWIG_fail
;
18692 arg5
= (int)(SWIG_As_int(obj4
));
18693 if (SWIG_arg_fail(5)) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18709 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18716 int arg6
= (int) wxSIZE_AUTO
;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 PyObject
* obj2
= 0 ;
18720 PyObject
* obj3
= 0 ;
18721 PyObject
* obj4
= 0 ;
18722 PyObject
* obj5
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail
;
18731 arg2
= (int)(SWIG_As_int(obj1
));
18732 if (SWIG_arg_fail(2)) SWIG_fail
;
18735 arg3
= (int)(SWIG_As_int(obj2
));
18736 if (SWIG_arg_fail(3)) SWIG_fail
;
18739 arg4
= (int)(SWIG_As_int(obj3
));
18740 if (SWIG_arg_fail(4)) SWIG_fail
;
18743 arg5
= (int)(SWIG_As_int(obj4
));
18744 if (SWIG_arg_fail(5)) SWIG_fail
;
18748 arg6
= (int)(SWIG_As_int(obj5
));
18749 if (SWIG_arg_fail(6)) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18766 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 PyObject
* obj2
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self",(char *) "width",(char *) "height", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18780 if (SWIG_arg_fail(1)) SWIG_fail
;
18782 arg2
= (int)(SWIG_As_int(obj1
));
18783 if (SWIG_arg_fail(2)) SWIG_fail
;
18786 arg3
= (int)(SWIG_As_int(obj2
));
18787 if (SWIG_arg_fail(3)) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 Py_INCREF(Py_None
); resultobj
= Py_None
;
18803 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 PyObject
* obj2
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self",(char *) "x",(char *) "y", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18819 arg2
= (int)(SWIG_As_int(obj1
));
18820 if (SWIG_arg_fail(2)) SWIG_fail
;
18823 arg3
= (int)(SWIG_As_int(obj2
));
18824 if (SWIG_arg_fail(3)) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18840 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18843 int *arg2
= (int *) 0 ;
18844 int *arg3
= (int *) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self", NULL
18854 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18855 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18867 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18868 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18869 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18870 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18877 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18880 int *arg2
= (int *) 0 ;
18881 int *arg3
= (int *) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self", NULL
18891 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18892 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18895 if (SWIG_arg_fail(1)) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 Py_INCREF(Py_None
); resultobj
= Py_None
;
18904 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18905 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18906 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18907 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18914 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18917 int *arg2
= (int *) 0 ;
18918 int *arg3
= (int *) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self", NULL
18928 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18929 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 Py_INCREF(Py_None
); resultobj
= Py_None
;
18941 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18942 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18943 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18944 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18951 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18962 if (SWIG_arg_fail(1)) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18971 wxSize
* resultptr
;
18972 resultptr
= new wxSize((wxSize
&)(result
));
18973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18981 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18992 if (SWIG_arg_fail(1)) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19001 wxSize
* resultptr
;
19002 resultptr
= new wxSize((wxSize
&)(result
));
19003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19011 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19021 if (SWIG_arg_fail(1)) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->base_InitDialog();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 Py_INCREF(Py_None
); resultobj
= Py_None
;
19036 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail
;
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 result
= (bool)(arg1
)->base_TransferDataToWindow();
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19064 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19075 if (SWIG_arg_fail(1)) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19092 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 result
= (bool)(arg1
)->base_Validate();
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19120 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 char *kwnames
[] = {
19126 (char *) "self", NULL
19129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19131 if (SWIG_arg_fail(1)) SWIG_fail
;
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19148 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19152 PyObject
* obj0
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19159 if (SWIG_arg_fail(1)) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19176 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19180 PyObject
* obj0
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19187 if (SWIG_arg_fail(1)) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19196 wxSize
* resultptr
;
19197 resultptr
= new wxSize((wxSize
&)(result
));
19198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19206 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19209 wxWindow
*arg2
= (wxWindow
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self",(char *) "child", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19218 if (SWIG_arg_fail(1)) SWIG_fail
;
19219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19220 if (SWIG_arg_fail(2)) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 (arg1
)->base_AddChild(arg2
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 Py_INCREF(Py_None
); resultobj
= Py_None
;
19235 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
;
19237 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19238 wxWindow
*arg2
= (wxWindow
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "child", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19247 if (SWIG_arg_fail(1)) SWIG_fail
;
19248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19249 if (SWIG_arg_fail(2)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 (arg1
)->base_RemoveChild(arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 Py_INCREF(Py_None
); resultobj
= Py_None
;
19264 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19275 if (SWIG_arg_fail(1)) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19292 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19295 wxColour
*arg2
= 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "c", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail
;
19308 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 Py_INCREF(Py_None
); resultobj
= Py_None
;
19324 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19327 wxVisualAttributes result
;
19328 PyObject
* obj0
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19335 if (SWIG_arg_fail(1)) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (arg1
)->base_GetDefaultAttributes();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19344 wxVisualAttributes
* resultptr
;
19345 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19354 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19357 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19359 return Py_BuildValue((char *)"");
19361 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxWindow
*arg1
= (wxWindow
*) 0 ;
19364 int arg2
= (int) (int)-1 ;
19365 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19366 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19367 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19368 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19369 long arg5
= (long) 0 ;
19370 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19371 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19372 wxPyScrolledWindow
*result
;
19375 bool temp6
= false ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 PyObject
* obj2
= 0 ;
19379 PyObject
* obj3
= 0 ;
19380 PyObject
* obj4
= 0 ;
19381 PyObject
* obj5
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19388 if (SWIG_arg_fail(1)) SWIG_fail
;
19391 arg2
= (int const)(SWIG_As_int(obj1
));
19392 if (SWIG_arg_fail(2)) SWIG_fail
;
19398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19404 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19409 arg5
= (long)(SWIG_As_long(obj4
));
19410 if (SWIG_arg_fail(5)) SWIG_fail
;
19415 arg6
= wxString_in_helper(obj5
);
19416 if (arg6
== NULL
) SWIG_fail
;
19421 if (!wxPyCheckForApp()) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19443 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxPyScrolledWindow
*result
;
19446 char *kwnames
[] = {
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19452 if (!wxPyCheckForApp()) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19466 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19469 PyObject
*arg2
= (PyObject
*) 0 ;
19470 PyObject
*arg3
= (PyObject
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 PyObject
* obj2
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "self",(char *) "_class", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19480 if (SWIG_arg_fail(1)) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 Py_INCREF(Py_None
); resultobj
= Py_None
;
19497 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 PyObject
* obj1
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self",(char *) "size", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19510 if (SWIG_arg_fail(1)) SWIG_fail
;
19513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 Py_INCREF(Py_None
); resultobj
= Py_None
;
19529 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 PyObject
* obj2
= 0 ;
19539 PyObject
* obj3
= 0 ;
19540 PyObject
* obj4
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19547 if (SWIG_arg_fail(1)) SWIG_fail
;
19549 arg2
= (int)(SWIG_As_int(obj1
));
19550 if (SWIG_arg_fail(2)) SWIG_fail
;
19553 arg3
= (int)(SWIG_As_int(obj2
));
19554 if (SWIG_arg_fail(3)) SWIG_fail
;
19557 arg4
= (int)(SWIG_As_int(obj3
));
19558 if (SWIG_arg_fail(4)) SWIG_fail
;
19561 arg5
= (int)(SWIG_As_int(obj4
));
19562 if (SWIG_arg_fail(5)) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19571 Py_INCREF(Py_None
); resultobj
= Py_None
;
19578 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
;
19580 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19585 int arg6
= (int) wxSIZE_AUTO
;
19586 PyObject
* obj0
= 0 ;
19587 PyObject
* obj1
= 0 ;
19588 PyObject
* obj2
= 0 ;
19589 PyObject
* obj3
= 0 ;
19590 PyObject
* obj4
= 0 ;
19591 PyObject
* obj5
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19598 if (SWIG_arg_fail(1)) SWIG_fail
;
19600 arg2
= (int)(SWIG_As_int(obj1
));
19601 if (SWIG_arg_fail(2)) SWIG_fail
;
19604 arg3
= (int)(SWIG_As_int(obj2
));
19605 if (SWIG_arg_fail(3)) SWIG_fail
;
19608 arg4
= (int)(SWIG_As_int(obj3
));
19609 if (SWIG_arg_fail(4)) SWIG_fail
;
19612 arg5
= (int)(SWIG_As_int(obj4
));
19613 if (SWIG_arg_fail(5)) SWIG_fail
;
19617 arg6
= (int)(SWIG_As_int(obj5
));
19618 if (SWIG_arg_fail(6)) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 Py_INCREF(Py_None
); resultobj
= Py_None
;
19635 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 PyObject
* obj2
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "width",(char *) "height", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail
;
19651 arg2
= (int)(SWIG_As_int(obj1
));
19652 if (SWIG_arg_fail(2)) SWIG_fail
;
19655 arg3
= (int)(SWIG_As_int(obj2
));
19656 if (SWIG_arg_fail(3)) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 Py_INCREF(Py_None
); resultobj
= Py_None
;
19672 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 PyObject
* obj2
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self",(char *) "x",(char *) "y", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail
;
19688 arg2
= (int)(SWIG_As_int(obj1
));
19689 if (SWIG_arg_fail(2)) SWIG_fail
;
19692 arg3
= (int)(SWIG_As_int(obj2
));
19693 if (SWIG_arg_fail(3)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 Py_INCREF(Py_None
); resultobj
= Py_None
;
19709 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19712 int *arg2
= (int *) 0 ;
19713 int *arg3
= (int *) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self", NULL
19723 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19724 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19727 if (SWIG_arg_fail(1)) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 Py_INCREF(Py_None
); resultobj
= Py_None
;
19736 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19737 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19738 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19739 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19746 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19749 int *arg2
= (int *) 0 ;
19750 int *arg3
= (int *) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self", NULL
19760 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19761 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19764 if (SWIG_arg_fail(1)) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19774 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19775 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19776 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19783 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19786 int *arg2
= (int *) 0 ;
19787 int *arg3
= (int *) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self", NULL
19797 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19798 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19801 if (SWIG_arg_fail(1)) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19811 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19812 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19813 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19820 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19831 if (SWIG_arg_fail(1)) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19840 wxSize
* resultptr
;
19841 resultptr
= new wxSize((wxSize
&)(result
));
19842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19850 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19854 PyObject
* obj0
= 0 ;
19855 char *kwnames
[] = {
19856 (char *) "self", NULL
19859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19861 if (SWIG_arg_fail(1)) SWIG_fail
;
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19870 wxSize
* resultptr
;
19871 resultptr
= new wxSize((wxSize
&)(result
));
19872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19880 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19890 if (SWIG_arg_fail(1)) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 (arg1
)->base_InitDialog();
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 Py_INCREF(Py_None
); resultobj
= Py_None
;
19905 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19916 if (SWIG_arg_fail(1)) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 result
= (bool)(arg1
)->base_TransferDataToWindow();
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19933 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19944 if (SWIG_arg_fail(1)) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19961 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (bool)(arg1
)->base_Validate();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19989 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20000 if (SWIG_arg_fail(1)) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20017 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20028 if (SWIG_arg_fail(1)) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20045 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20065 wxSize
* resultptr
;
20066 resultptr
= new wxSize((wxSize
&)(result
));
20067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20075 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20078 wxWindow
*arg2
= (wxWindow
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self",(char *) "child", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20087 if (SWIG_arg_fail(1)) SWIG_fail
;
20088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20089 if (SWIG_arg_fail(2)) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 (arg1
)->base_AddChild(arg2
);
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 Py_INCREF(Py_None
); resultobj
= Py_None
;
20104 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20107 wxWindow
*arg2
= (wxWindow
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "child", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail
;
20117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20118 if (SWIG_arg_fail(2)) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 (arg1
)->base_RemoveChild(arg2
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 Py_INCREF(Py_None
); resultobj
= Py_None
;
20133 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20144 if (SWIG_arg_fail(1)) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20161 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20164 wxColour
*arg2
= 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "c", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail
;
20177 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 Py_INCREF(Py_None
); resultobj
= Py_None
;
20193 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20196 wxVisualAttributes result
;
20197 PyObject
* obj0
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "self", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20204 if (SWIG_arg_fail(1)) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (arg1
)->base_GetDefaultAttributes();
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20213 wxVisualAttributes
* resultptr
;
20214 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20223 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20226 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20228 return Py_BuildValue((char *)"");
20230 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20231 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20236 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20241 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20243 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20250 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20251 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20256 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20261 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20263 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20270 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20271 PyObject
*resultobj
;
20272 wxPrintData
*result
;
20274 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (wxPrintData
*)new wxPrintData();
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20289 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20290 PyObject
*resultobj
;
20291 wxPrintData
*arg1
= 0 ;
20292 wxPrintData
*result
;
20293 PyObject
* obj0
= 0 ;
20295 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20298 if (SWIG_arg_fail(1)) SWIG_fail
;
20299 if (arg1
== NULL
) {
20300 SWIG_null_ref("wxPrintData");
20302 if (SWIG_arg_fail(1)) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20318 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20323 argc
= PyObject_Length(args
);
20324 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20325 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20328 return _wrap_new_PrintData__SWIG_0(self
,args
);
20334 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20342 return _wrap_new_PrintData__SWIG_1(self
,args
);
20346 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20351 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 Py_INCREF(Py_None
); resultobj
= Py_None
;
20376 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20387 if (SWIG_arg_fail(1)) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (int)(arg1
)->GetNoCopies();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_From_int((int)(result
));
20404 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20415 if (SWIG_arg_fail(1)) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 result
= (bool)(arg1
)->GetCollate();
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20432 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20443 if (SWIG_arg_fail(1)) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 result
= (int)(arg1
)->GetOrientation();
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= SWIG_From_int((int)(result
));
20460 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (bool)(arg1
)->Ok();
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20488 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20499 if (SWIG_arg_fail(1)) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20504 result
= (wxString
*) &_result_ref
;
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20514 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20523 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (bool)(arg1
)->GetColour();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20551 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20554 wxDuplexMode result
;
20555 PyObject
* obj0
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_From_int((result
));
20577 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20580 wxPaperSize result
;
20581 PyObject
* obj0
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20588 if (SWIG_arg_fail(1)) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_From_int((result
));
20603 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20614 if (SWIG_arg_fail(1)) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20619 result
= (wxSize
*) &_result_ref
;
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20632 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20636 PyObject
* obj0
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20643 if (SWIG_arg_fail(1)) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (int)(arg1
)->GetQuality();
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_From_int((int)(result
));
20660 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
;
20662 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20664 PyObject
* obj0
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "self", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20671 if (SWIG_arg_fail(1)) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 result
= (wxPrintBin
)(arg1
)->GetBin();
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= SWIG_From_int((result
));
20686 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20689 wxPrintMode result
;
20690 PyObject
* obj0
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "self", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20697 if (SWIG_arg_fail(1)) SWIG_fail
;
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20705 resultobj
= SWIG_From_int((result
));
20712 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 PyObject
* obj1
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self",(char *) "v", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20724 if (SWIG_arg_fail(1)) SWIG_fail
;
20726 arg2
= (int)(SWIG_As_int(obj1
));
20727 if (SWIG_arg_fail(2)) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 (arg1
)->SetNoCopies(arg2
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 Py_INCREF(Py_None
); resultobj
= Py_None
;
20743 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "flag", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail
;
20757 arg2
= (bool)(SWIG_As_bool(obj1
));
20758 if (SWIG_arg_fail(2)) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 (arg1
)->SetCollate(arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 Py_INCREF(Py_None
); resultobj
= Py_None
;
20774 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self",(char *) "orient", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail
;
20788 arg2
= (int)(SWIG_As_int(obj1
));
20789 if (SWIG_arg_fail(2)) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->SetOrientation(arg2
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 Py_INCREF(Py_None
); resultobj
= Py_None
;
20805 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20808 wxString
*arg2
= 0 ;
20809 bool temp2
= false ;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self",(char *) "name", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20818 if (SWIG_arg_fail(1)) SWIG_fail
;
20820 arg2
= wxString_in_helper(obj1
);
20821 if (arg2
== NULL
) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 Py_INCREF(Py_None
); resultobj
= Py_None
;
20846 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "colour", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20858 if (SWIG_arg_fail(1)) SWIG_fail
;
20860 arg2
= (bool)(SWIG_As_bool(obj1
));
20861 if (SWIG_arg_fail(2)) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 (arg1
)->SetColour(arg2
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 Py_INCREF(Py_None
); resultobj
= Py_None
;
20877 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20880 wxDuplexMode arg2
;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self",(char *) "duplex", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail
;
20891 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20892 if (SWIG_arg_fail(2)) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 Py_INCREF(Py_None
); resultobj
= Py_None
;
20908 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "sizeId", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20920 if (SWIG_arg_fail(1)) SWIG_fail
;
20922 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20923 if (SWIG_arg_fail(2)) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 Py_INCREF(Py_None
); resultobj
= Py_None
;
20939 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
;
20941 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20944 PyObject
* obj0
= 0 ;
20945 PyObject
* obj1
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self",(char *) "sz", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20952 if (SWIG_arg_fail(1)) SWIG_fail
;
20955 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 Py_INCREF(Py_None
); resultobj
= Py_None
;
20971 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "quality", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20983 if (SWIG_arg_fail(1)) SWIG_fail
;
20985 arg2
= (int)(SWIG_As_int(obj1
));
20986 if (SWIG_arg_fail(2)) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 (arg1
)->SetQuality(arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 Py_INCREF(Py_None
); resultobj
= Py_None
;
21002 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 PyObject
* obj1
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self",(char *) "bin", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21014 if (SWIG_arg_fail(1)) SWIG_fail
;
21016 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
21017 if (SWIG_arg_fail(2)) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->SetBin((wxPrintBin
)arg2
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 Py_INCREF(Py_None
); resultobj
= Py_None
;
21033 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self",(char *) "printMode", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21045 if (SWIG_arg_fail(1)) SWIG_fail
;
21047 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21048 if (SWIG_arg_fail(2)) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 Py_INCREF(Py_None
); resultobj
= Py_None
;
21064 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21096 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21099 wxString
*arg2
= 0 ;
21100 bool temp2
= false ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char *kwnames
[] = {
21104 (char *) "self",(char *) "filename", NULL
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21109 if (SWIG_arg_fail(1)) SWIG_fail
;
21111 arg2
= wxString_in_helper(obj1
);
21112 if (arg2
== NULL
) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 (arg1
)->SetFilename((wxString
const &)*arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 Py_INCREF(Py_None
); resultobj
= Py_None
;
21137 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= result
;
21163 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21166 PyObject
*arg2
= (PyObject
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self",(char *) "data", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21175 if (SWIG_arg_fail(1)) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 wxPrintData_SetPrivData(arg1
,arg2
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 Py_INCREF(Py_None
); resultobj
= Py_None
;
21191 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21195 PyObject
* obj0
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "self", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21202 if (SWIG_arg_fail(1)) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21207 result
= (wxString
*) &_result_ref
;
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21217 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21226 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21230 PyObject
* obj0
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21237 if (SWIG_arg_fail(1)) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21242 result
= (wxString
*) &_result_ref
;
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21261 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "self", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21272 if (SWIG_arg_fail(1)) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21277 result
= (wxString
*) &_result_ref
;
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21287 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21296 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21300 PyObject
* obj0
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "self", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21307 if (SWIG_arg_fail(1)) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21312 result
= (wxString
*) &_result_ref
;
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21322 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21331 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21335 PyObject
* obj0
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21342 if (SWIG_arg_fail(1)) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 result
= (double)(arg1
)->GetPrinterScaleX();
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_From_double((double)(result
));
21359 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21370 if (SWIG_arg_fail(1)) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (double)(arg1
)->GetPrinterScaleY();
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21379 resultobj
= SWIG_From_double((double)(result
));
21387 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21398 if (SWIG_arg_fail(1)) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (long)(arg1
)->GetPrinterTranslateX();
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= SWIG_From_long((long)(result
));
21415 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21419 PyObject
* obj0
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "self", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21426 if (SWIG_arg_fail(1)) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (long)(arg1
)->GetPrinterTranslateY();
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= SWIG_From_long((long)(result
));
21443 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21446 wxString
*arg2
= 0 ;
21447 bool temp2
= false ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self",(char *) "command", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail
;
21458 arg2
= wxString_in_helper(obj1
);
21459 if (arg2
== NULL
) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 Py_INCREF(Py_None
); resultobj
= Py_None
;
21484 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21487 wxString
*arg2
= 0 ;
21488 bool temp2
= false ;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self",(char *) "options", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21497 if (SWIG_arg_fail(1)) SWIG_fail
;
21499 arg2
= wxString_in_helper(obj1
);
21500 if (arg2
== NULL
) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 Py_INCREF(Py_None
); resultobj
= Py_None
;
21525 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21528 wxString
*arg2
= 0 ;
21529 bool temp2
= false ;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self",(char *) "command", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21538 if (SWIG_arg_fail(1)) SWIG_fail
;
21540 arg2
= wxString_in_helper(obj1
);
21541 if (arg2
== NULL
) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 Py_INCREF(Py_None
); resultobj
= Py_None
;
21566 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21569 wxString
*arg2
= 0 ;
21570 bool temp2
= false ;
21571 PyObject
* obj0
= 0 ;
21572 PyObject
* obj1
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self",(char *) "path", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21579 if (SWIG_arg_fail(1)) SWIG_fail
;
21581 arg2
= wxString_in_helper(obj1
);
21582 if (arg2
== NULL
) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 Py_INCREF(Py_None
); resultobj
= Py_None
;
21607 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "x", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21619 if (SWIG_arg_fail(1)) SWIG_fail
;
21621 arg2
= (double)(SWIG_As_double(obj1
));
21622 if (SWIG_arg_fail(2)) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 (arg1
)->SetPrinterScaleX(arg2
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 Py_INCREF(Py_None
); resultobj
= Py_None
;
21638 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self",(char *) "y", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21650 if (SWIG_arg_fail(1)) SWIG_fail
;
21652 arg2
= (double)(SWIG_As_double(obj1
));
21653 if (SWIG_arg_fail(2)) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 (arg1
)->SetPrinterScaleY(arg2
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 PyObject
* obj2
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "x",(char *) "y", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21683 if (SWIG_arg_fail(1)) SWIG_fail
;
21685 arg2
= (double)(SWIG_As_double(obj1
));
21686 if (SWIG_arg_fail(2)) SWIG_fail
;
21689 arg3
= (double)(SWIG_As_double(obj2
));
21690 if (SWIG_arg_fail(3)) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char *kwnames
[] = {
21713 (char *) "self",(char *) "x", NULL
21716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21718 if (SWIG_arg_fail(1)) SWIG_fail
;
21720 arg2
= (long)(SWIG_As_long(obj1
));
21721 if (SWIG_arg_fail(2)) SWIG_fail
;
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 (arg1
)->SetPrinterTranslateX(arg2
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 Py_INCREF(Py_None
); resultobj
= Py_None
;
21737 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
;
21739 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self",(char *) "y", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21749 if (SWIG_arg_fail(1)) SWIG_fail
;
21751 arg2
= (long)(SWIG_As_long(obj1
));
21752 if (SWIG_arg_fail(2)) SWIG_fail
;
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 (arg1
)->SetPrinterTranslateY(arg2
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 Py_INCREF(Py_None
); resultobj
= Py_None
;
21768 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21769 PyObject
*resultobj
;
21770 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 PyObject
* obj2
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self",(char *) "x",(char *) "y", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21782 if (SWIG_arg_fail(1)) SWIG_fail
;
21784 arg2
= (long)(SWIG_As_long(obj1
));
21785 if (SWIG_arg_fail(2)) SWIG_fail
;
21788 arg3
= (long)(SWIG_As_long(obj2
));
21789 if (SWIG_arg_fail(3)) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 Py_INCREF(Py_None
); resultobj
= Py_None
;
21805 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21808 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21810 return Py_BuildValue((char *)"");
21812 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21813 PyObject
*resultobj
;
21814 wxPageSetupDialogData
*result
;
21816 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21831 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21832 PyObject
*resultobj
;
21833 wxPageSetupDialogData
*arg1
= 0 ;
21834 wxPageSetupDialogData
*result
;
21835 PyObject
* obj0
= 0 ;
21837 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail
;
21841 if (arg1
== NULL
) {
21842 SWIG_null_ref("wxPageSetupDialogData");
21844 if (SWIG_arg_fail(1)) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21860 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21861 PyObject
*resultobj
;
21862 wxPrintData
*arg1
= 0 ;
21863 wxPageSetupDialogData
*result
;
21864 PyObject
* obj0
= 0 ;
21866 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail
;
21870 if (arg1
== NULL
) {
21871 SWIG_null_ref("wxPrintData");
21873 if (SWIG_arg_fail(1)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21889 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21894 argc
= PyObject_Length(args
);
21895 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21896 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21899 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21905 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21913 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21920 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21928 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21932 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21937 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21947 if (SWIG_arg_fail(1)) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 Py_INCREF(Py_None
); resultobj
= Py_None
;
21962 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 PyObject
* obj1
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "self",(char *) "flag", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21974 if (SWIG_arg_fail(1)) SWIG_fail
;
21976 arg2
= (bool)(SWIG_As_bool(obj1
));
21977 if (SWIG_arg_fail(2)) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 (arg1
)->EnableHelp(arg2
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 Py_INCREF(Py_None
); resultobj
= Py_None
;
21993 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "flag", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail
;
22007 arg2
= (bool)(SWIG_As_bool(obj1
));
22008 if (SWIG_arg_fail(2)) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 (arg1
)->EnableMargins(arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self",(char *) "flag", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail
;
22038 arg2
= (bool)(SWIG_As_bool(obj1
));
22039 if (SWIG_arg_fail(2)) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 (arg1
)->EnableOrientation(arg2
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 Py_INCREF(Py_None
); resultobj
= Py_None
;
22055 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self",(char *) "flag", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail
;
22069 arg2
= (bool)(SWIG_As_bool(obj1
));
22070 if (SWIG_arg_fail(2)) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 (arg1
)->EnablePaper(arg2
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 Py_INCREF(Py_None
); resultobj
= Py_None
;
22086 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22090 PyObject
* obj0
= 0 ;
22091 PyObject
* obj1
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self",(char *) "flag", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22098 if (SWIG_arg_fail(1)) SWIG_fail
;
22100 arg2
= (bool)(SWIG_As_bool(obj1
));
22101 if (SWIG_arg_fail(2)) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 (arg1
)->EnablePrinter(arg2
);
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 Py_INCREF(Py_None
); resultobj
= Py_None
;
22117 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
;
22119 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22121 PyObject
* obj0
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22128 if (SWIG_arg_fail(1)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (bool)(arg1
)->GetDefaultMinMargins();
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22145 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (bool)(arg1
)->GetEnableMargins();
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22173 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22184 if (SWIG_arg_fail(1)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (bool)(arg1
)->GetEnableOrientation();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22201 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22212 if (SWIG_arg_fail(1)) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (bool)(arg1
)->GetEnablePaper();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22229 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (bool)(arg1
)->GetEnablePrinter();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22257 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (bool)(arg1
)->GetEnableHelp();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22285 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (bool)(arg1
)->GetDefaultInfo();
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22313 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (arg1
)->GetMarginTopLeft();
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 wxPoint
* resultptr
;
22334 resultptr
= new wxPoint((wxPoint
&)(result
));
22335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22343 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (arg1
)->GetMarginBottomRight();
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22363 wxPoint
* resultptr
;
22364 resultptr
= new wxPoint((wxPoint
&)(result
));
22365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22373 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= (arg1
)->GetMinMarginTopLeft();
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22393 wxPoint
* resultptr
;
22394 resultptr
= new wxPoint((wxPoint
&)(result
));
22395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22403 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22414 if (SWIG_arg_fail(1)) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (arg1
)->GetMinMarginBottomRight();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 wxPoint
* resultptr
;
22424 resultptr
= new wxPoint((wxPoint
&)(result
));
22425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22433 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22436 wxPaperSize result
;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 resultobj
= SWIG_From_int((result
));
22459 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22470 if (SWIG_arg_fail(1)) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (arg1
)->GetPaperSize();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22479 wxSize
* resultptr
;
22480 resultptr
= new wxSize((wxSize
&)(result
));
22481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22489 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22492 wxPrintData
*result
;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22500 if (SWIG_arg_fail(1)) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22505 result
= (wxPrintData
*) &_result_ref
;
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22518 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= (bool)(arg1
)->Ok();
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22546 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 PyObject
* obj1
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "flag", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22558 if (SWIG_arg_fail(1)) SWIG_fail
;
22560 arg2
= (bool)(SWIG_As_bool(obj1
));
22561 if (SWIG_arg_fail(2)) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 (arg1
)->SetDefaultInfo(arg2
);
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 Py_INCREF(Py_None
); resultobj
= Py_None
;
22577 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self",(char *) "flag", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22589 if (SWIG_arg_fail(1)) SWIG_fail
;
22591 arg2
= (bool)(SWIG_As_bool(obj1
));
22592 if (SWIG_arg_fail(2)) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 (arg1
)->SetDefaultMinMargins(arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 Py_INCREF(Py_None
); resultobj
= Py_None
;
22608 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22611 wxPoint
*arg2
= 0 ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self",(char *) "pt", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22621 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 Py_INCREF(Py_None
); resultobj
= Py_None
;
22640 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22643 wxPoint
*arg2
= 0 ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self",(char *) "pt", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22653 if (SWIG_arg_fail(1)) SWIG_fail
;
22656 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 Py_INCREF(Py_None
); resultobj
= Py_None
;
22672 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22675 wxPoint
*arg2
= 0 ;
22677 PyObject
* obj0
= 0 ;
22678 PyObject
* obj1
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self",(char *) "pt", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22685 if (SWIG_arg_fail(1)) SWIG_fail
;
22688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 Py_INCREF(Py_None
); resultobj
= Py_None
;
22704 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22707 wxPoint
*arg2
= 0 ;
22709 PyObject
* obj0
= 0 ;
22710 PyObject
* obj1
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self",(char *) "pt", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22717 if (SWIG_arg_fail(1)) SWIG_fail
;
22720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 Py_INCREF(Py_None
); resultobj
= Py_None
;
22736 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self",(char *) "id", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22748 if (SWIG_arg_fail(1)) SWIG_fail
;
22750 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22751 if (SWIG_arg_fail(2)) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 Py_INCREF(Py_None
); resultobj
= Py_None
;
22767 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self",(char *) "size", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22780 if (SWIG_arg_fail(1)) SWIG_fail
;
22783 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 Py_INCREF(Py_None
); resultobj
= Py_None
;
22799 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22802 wxPrintData
*arg2
= 0 ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self",(char *) "printData", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail
;
22813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22814 if (SWIG_arg_fail(2)) SWIG_fail
;
22815 if (arg2
== NULL
) {
22816 SWIG_null_ref("wxPrintData");
22818 if (SWIG_arg_fail(2)) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 Py_INCREF(Py_None
); resultobj
= Py_None
;
22834 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22836 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22837 PyObject
* obj0
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22844 if (SWIG_arg_fail(1)) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->CalculateIdFromPaperSize();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 Py_INCREF(Py_None
); resultobj
= Py_None
;
22859 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "self", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22869 if (SWIG_arg_fail(1)) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->CalculatePaperSizeFromId();
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22887 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22889 return Py_BuildValue((char *)"");
22891 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxWindow
*arg1
= (wxWindow
*) 0 ;
22894 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22895 wxPageSetupDialog
*result
;
22896 PyObject
* obj0
= 0 ;
22897 PyObject
* obj1
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "parent",(char *) "data", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22904 if (SWIG_arg_fail(1)) SWIG_fail
;
22906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22907 if (SWIG_arg_fail(2)) SWIG_fail
;
22910 if (!wxPyCheckForApp()) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22924 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22927 wxPageSetupDialogData
*result
;
22928 PyObject
* obj0
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22940 result
= (wxPageSetupDialogData
*) &_result_ref
;
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22953 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22956 wxPageSetupDialogData
*result
;
22957 PyObject
* obj0
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22964 if (SWIG_arg_fail(1)) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22969 result
= (wxPageSetupDialogData
*) &_result_ref
;
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22982 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22986 PyObject
* obj0
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22993 if (SWIG_arg_fail(1)) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (int)(arg1
)->ShowModal();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= SWIG_From_int((int)(result
));
23010 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23013 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23015 return Py_BuildValue((char *)"");
23017 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23018 PyObject
*resultobj
;
23019 wxPrintDialogData
*result
;
23021 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23036 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23037 PyObject
*resultobj
;
23038 wxPrintData
*arg1
= 0 ;
23039 wxPrintDialogData
*result
;
23040 PyObject
* obj0
= 0 ;
23042 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail
;
23046 if (arg1
== NULL
) {
23047 SWIG_null_ref("wxPrintData");
23049 if (SWIG_arg_fail(1)) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23065 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23066 PyObject
*resultobj
;
23067 wxPrintDialogData
*arg1
= 0 ;
23068 wxPrintDialogData
*result
;
23069 PyObject
* obj0
= 0 ;
23071 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23074 if (SWIG_arg_fail(1)) SWIG_fail
;
23075 if (arg1
== NULL
) {
23076 SWIG_null_ref("wxPrintDialogData");
23078 if (SWIG_arg_fail(1)) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23094 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23099 argc
= PyObject_Length(args
);
23100 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23101 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23104 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23110 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23118 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23125 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23133 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23137 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23142 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23152 if (SWIG_arg_fail(1)) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 Py_INCREF(Py_None
); resultobj
= Py_None
;
23167 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
;
23169 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23171 PyObject
* obj0
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "self", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23178 if (SWIG_arg_fail(1)) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_From_int((int)(result
));
23195 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
;
23197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_From_int((int)(result
));
23223 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_From_int((int)(result
));
23251 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_From_int((int)(result
));
23279 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(1)) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_From_int((int)(result
));
23307 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23335 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23339 PyObject
* obj0
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23363 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23374 if (SWIG_arg_fail(1)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23391 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23419 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23447 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "flag", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 arg2
= (bool)(SWIG_As_bool(obj1
));
23462 if (SWIG_arg_fail(2)) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->SetSetupDialog(arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 Py_INCREF(Py_None
); resultobj
= Py_None
;
23478 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "v", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23490 if (SWIG_arg_fail(1)) SWIG_fail
;
23492 arg2
= (int)(SWIG_As_int(obj1
));
23493 if (SWIG_arg_fail(2)) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 (arg1
)->SetFromPage(arg2
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 Py_INCREF(Py_None
); resultobj
= Py_None
;
23509 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "self",(char *) "v", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23521 if (SWIG_arg_fail(1)) SWIG_fail
;
23523 arg2
= (int)(SWIG_As_int(obj1
));
23524 if (SWIG_arg_fail(2)) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 (arg1
)->SetToPage(arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 Py_INCREF(Py_None
); resultobj
= Py_None
;
23540 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self",(char *) "v", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 arg2
= (int)(SWIG_As_int(obj1
));
23555 if (SWIG_arg_fail(2)) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 (arg1
)->SetMinPage(arg2
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23564 Py_INCREF(Py_None
); resultobj
= Py_None
;
23571 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "self",(char *) "v", NULL
23581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23583 if (SWIG_arg_fail(1)) SWIG_fail
;
23585 arg2
= (int)(SWIG_As_int(obj1
));
23586 if (SWIG_arg_fail(2)) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 (arg1
)->SetMaxPage(arg2
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 Py_INCREF(Py_None
); resultobj
= Py_None
;
23602 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self",(char *) "v", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23614 if (SWIG_arg_fail(1)) SWIG_fail
;
23616 arg2
= (int)(SWIG_As_int(obj1
));
23617 if (SWIG_arg_fail(2)) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 (arg1
)->SetNoCopies(arg2
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 Py_INCREF(Py_None
); resultobj
= Py_None
;
23633 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
;
23635 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self",(char *) "flag", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23645 if (SWIG_arg_fail(1)) SWIG_fail
;
23647 arg2
= (bool)(SWIG_As_bool(obj1
));
23648 if (SWIG_arg_fail(2)) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 (arg1
)->SetAllPages(arg2
);
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 Py_INCREF(Py_None
); resultobj
= Py_None
;
23664 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23668 PyObject
* obj0
= 0 ;
23669 PyObject
* obj1
= 0 ;
23670 char *kwnames
[] = {
23671 (char *) "self",(char *) "flag", NULL
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23676 if (SWIG_arg_fail(1)) SWIG_fail
;
23678 arg2
= (bool)(SWIG_As_bool(obj1
));
23679 if (SWIG_arg_fail(2)) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 (arg1
)->SetSelection(arg2
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 Py_INCREF(Py_None
); resultobj
= Py_None
;
23695 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23699 PyObject
* obj0
= 0 ;
23700 PyObject
* obj1
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self",(char *) "flag", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23707 if (SWIG_arg_fail(1)) SWIG_fail
;
23709 arg2
= (bool)(SWIG_As_bool(obj1
));
23710 if (SWIG_arg_fail(2)) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 (arg1
)->SetCollate(arg2
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 Py_INCREF(Py_None
); resultobj
= Py_None
;
23726 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23728 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "flag", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23738 if (SWIG_arg_fail(1)) SWIG_fail
;
23740 arg2
= (bool)(SWIG_As_bool(obj1
));
23741 if (SWIG_arg_fail(2)) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 (arg1
)->SetPrintToFile(arg2
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 Py_INCREF(Py_None
); resultobj
= Py_None
;
23757 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23761 PyObject
* obj0
= 0 ;
23762 PyObject
* obj1
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self",(char *) "flag", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23769 if (SWIG_arg_fail(1)) SWIG_fail
;
23771 arg2
= (bool)(SWIG_As_bool(obj1
));
23772 if (SWIG_arg_fail(2)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 (arg1
)->EnablePrintToFile(arg2
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 Py_INCREF(Py_None
); resultobj
= Py_None
;
23788 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "flag", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23800 if (SWIG_arg_fail(1)) SWIG_fail
;
23802 arg2
= (bool)(SWIG_As_bool(obj1
));
23803 if (SWIG_arg_fail(2)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 (arg1
)->EnableSelection(arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 Py_INCREF(Py_None
); resultobj
= Py_None
;
23819 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 PyObject
* obj1
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "self",(char *) "flag", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23831 if (SWIG_arg_fail(1)) SWIG_fail
;
23833 arg2
= (bool)(SWIG_As_bool(obj1
));
23834 if (SWIG_arg_fail(2)) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 (arg1
)->EnablePageNumbers(arg2
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 Py_INCREF(Py_None
); resultobj
= Py_None
;
23850 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self",(char *) "flag", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23862 if (SWIG_arg_fail(1)) SWIG_fail
;
23864 arg2
= (bool)(SWIG_As_bool(obj1
));
23865 if (SWIG_arg_fail(2)) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 (arg1
)->EnableHelp(arg2
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 Py_INCREF(Py_None
); resultobj
= Py_None
;
23881 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "self", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23892 if (SWIG_arg_fail(1)) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23909 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23920 if (SWIG_arg_fail(1)) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23937 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23948 if (SWIG_arg_fail(1)) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23965 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23976 if (SWIG_arg_fail(1)) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23993 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23997 PyObject
* obj0
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
24003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24004 if (SWIG_arg_fail(1)) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24021 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24024 wxPrintData
*result
;
24025 PyObject
* obj0
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "self", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24032 if (SWIG_arg_fail(1)) SWIG_fail
;
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24037 result
= (wxPrintData
*) &_result_ref
;
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24050 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24053 wxPrintData
*arg2
= 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 char *kwnames
[] = {
24057 (char *) "self",(char *) "printData", NULL
24060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24062 if (SWIG_arg_fail(1)) SWIG_fail
;
24064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24065 if (SWIG_arg_fail(2)) SWIG_fail
;
24066 if (arg2
== NULL
) {
24067 SWIG_null_ref("wxPrintData");
24069 if (SWIG_arg_fail(2)) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 Py_INCREF(Py_None
); resultobj
= Py_None
;
24085 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24088 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24090 return Py_BuildValue((char *)"");
24092 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxWindow
*arg1
= (wxWindow
*) 0 ;
24095 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24096 wxPrintDialog
*result
;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "parent",(char *) "data", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail
;
24107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(2)) SWIG_fail
;
24111 if (!wxPyCheckForApp()) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24125 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (int)(arg1
)->ShowModal();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= SWIG_From_int((int)(result
));
24153 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24156 wxPrintDialogData
*result
;
24157 PyObject
* obj0
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24164 if (SWIG_arg_fail(1)) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24169 result
= (wxPrintDialogData
*) &_result_ref
;
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24182 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24185 wxPrintData
*result
;
24186 PyObject
* obj0
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "self", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24193 if (SWIG_arg_fail(1)) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24198 result
= (wxPrintData
*) &_result_ref
;
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24211 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24222 if (SWIG_arg_fail(1)) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (wxDC
*)(arg1
)->GetPrintDC();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= wxPyMake_wxObject(result
, 1);
24239 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24242 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24244 return Py_BuildValue((char *)"");
24246 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24250 PyObject
* obj0
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "data", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24258 if (SWIG_arg_fail(1)) SWIG_fail
;
24261 if (!wxPyCheckForApp()) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (wxPrinter
*)new wxPrinter(arg1
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24275 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "self", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24285 if (SWIG_arg_fail(1)) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 Py_INCREF(Py_None
); resultobj
= Py_None
;
24300 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24303 wxWindow
*arg2
= (wxWindow
*) 0 ;
24304 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 PyObject
* obj2
= 0 ;
24309 char *kwnames
[] = {
24310 (char *) "self",(char *) "parent",(char *) "printout", NULL
24313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24315 if (SWIG_arg_fail(1)) SWIG_fail
;
24316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24317 if (SWIG_arg_fail(2)) SWIG_fail
;
24318 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24319 if (SWIG_arg_fail(3)) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= wxPyMake_wxObject(result
, 0);
24336 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24339 wxWindow
*arg2
= (wxWindow
*) 0 ;
24340 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24341 wxString
*arg4
= 0 ;
24342 bool temp4
= false ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 PyObject
* obj2
= 0 ;
24346 PyObject
* obj3
= 0 ;
24347 char *kwnames
[] = {
24348 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24353 if (SWIG_arg_fail(1)) SWIG_fail
;
24354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24355 if (SWIG_arg_fail(2)) SWIG_fail
;
24356 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24357 if (SWIG_arg_fail(3)) SWIG_fail
;
24359 arg4
= wxString_in_helper(obj3
);
24360 if (arg4
== NULL
) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 Py_INCREF(Py_None
); resultobj
= Py_None
;
24385 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24388 wxWindow
*arg2
= (wxWindow
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 PyObject
* obj1
= 0 ;
24392 char *kwnames
[] = {
24393 (char *) "self",(char *) "parent", NULL
24396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24398 if (SWIG_arg_fail(1)) SWIG_fail
;
24399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24400 if (SWIG_arg_fail(2)) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 result
= (bool)(arg1
)->Setup(arg2
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24417 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24420 wxWindow
*arg2
= (wxWindow
*) 0 ;
24421 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24422 bool arg4
= (bool) true ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 PyObject
* obj2
= 0 ;
24427 PyObject
* obj3
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24434 if (SWIG_arg_fail(1)) SWIG_fail
;
24435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24436 if (SWIG_arg_fail(2)) SWIG_fail
;
24437 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24438 if (SWIG_arg_fail(3)) SWIG_fail
;
24441 arg4
= (bool)(SWIG_As_bool(obj3
));
24442 if (SWIG_arg_fail(4)) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24461 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24464 wxWindow
*arg2
= (wxWindow
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 PyObject
* obj1
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self",(char *) "parent", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24474 if (SWIG_arg_fail(1)) SWIG_fail
;
24475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24476 if (SWIG_arg_fail(2)) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= wxPyMake_wxObject(result
, 0);
24493 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
;
24495 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24496 wxPrintDialogData
*result
;
24497 PyObject
* obj0
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24509 result
= (wxPrintDialogData
*) &_result_ref
;
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24522 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24526 PyObject
* obj0
= 0 ;
24527 char *kwnames
[] = {
24528 (char *) "self", NULL
24531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24533 if (SWIG_arg_fail(1)) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (bool)(arg1
)->GetAbort();
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24550 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxPrinterError result
;
24553 char *kwnames
[] = {
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (wxPrinterError
)wxPrinter::GetLastError();
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= SWIG_From_int((result
));
24572 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24575 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24577 return Py_BuildValue((char *)"");
24579 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24582 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24583 wxPyPrintout
*result
;
24584 bool temp1
= false ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "title", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24593 arg1
= wxString_in_helper(obj0
);
24594 if (arg1
== NULL
) SWIG_fail
;
24599 if (!wxPyCheckForApp()) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= wxPyMake_wxObject(result
, 1);
24623 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24626 PyObject
*arg2
= (PyObject
*) 0 ;
24627 PyObject
*arg3
= (PyObject
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 PyObject
* obj2
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self",(char *) "self",(char *) "_class", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 Py_INCREF(Py_None
); resultobj
= Py_None
;
24654 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24686 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24697 if (SWIG_arg_fail(1)) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 result
= (wxDC
*)(arg1
)->GetDC();
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24706 resultobj
= wxPyMake_wxObject(result
, 0);
24714 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
;
24716 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24717 wxDC
*arg2
= (wxDC
*) 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "dc", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail
;
24727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(2)) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->SetDC(arg2
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 Py_INCREF(Py_None
); resultobj
= Py_None
;
24743 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 PyObject
* obj2
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self",(char *) "w",(char *) "h", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail
;
24759 arg2
= (int)(SWIG_As_int(obj1
));
24760 if (SWIG_arg_fail(2)) SWIG_fail
;
24763 arg3
= (int)(SWIG_As_int(obj2
));
24764 if (SWIG_arg_fail(3)) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 Py_INCREF(Py_None
); resultobj
= Py_None
;
24780 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24783 int *arg2
= (int *) 0 ;
24784 int *arg3
= (int *) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 char *kwnames
[] = {
24791 (char *) "self", NULL
24794 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24795 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24798 if (SWIG_arg_fail(1)) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 Py_INCREF(Py_None
); resultobj
= Py_None
;
24807 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24808 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24809 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24810 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24817 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 PyObject
* obj2
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self",(char *) "w",(char *) "h", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24831 if (SWIG_arg_fail(1)) SWIG_fail
;
24833 arg2
= (int)(SWIG_As_int(obj1
));
24834 if (SWIG_arg_fail(2)) SWIG_fail
;
24837 arg3
= (int)(SWIG_As_int(obj2
));
24838 if (SWIG_arg_fail(3)) SWIG_fail
;
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 Py_INCREF(Py_None
); resultobj
= Py_None
;
24854 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24857 int *arg2
= (int *) 0 ;
24858 int *arg3
= (int *) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self", NULL
24868 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24869 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24882 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24883 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24884 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24891 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self",(char *) "x",(char *) "y", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail
;
24907 arg2
= (int)(SWIG_As_int(obj1
));
24908 if (SWIG_arg_fail(2)) SWIG_fail
;
24911 arg3
= (int)(SWIG_As_int(obj2
));
24912 if (SWIG_arg_fail(3)) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->SetPPIScreen(arg2
,arg3
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24931 int *arg2
= (int *) 0 ;
24932 int *arg3
= (int *) 0 ;
24937 PyObject
* obj0
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self", NULL
24942 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24943 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24946 if (SWIG_arg_fail(1)) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 (arg1
)->GetPPIScreen(arg2
,arg3
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24956 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24957 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24958 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24965 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 PyObject
* obj2
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self",(char *) "x",(char *) "y", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24979 if (SWIG_arg_fail(1)) SWIG_fail
;
24981 arg2
= (int)(SWIG_As_int(obj1
));
24982 if (SWIG_arg_fail(2)) SWIG_fail
;
24985 arg3
= (int)(SWIG_As_int(obj2
));
24986 if (SWIG_arg_fail(3)) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 Py_INCREF(Py_None
); resultobj
= Py_None
;
25002 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
;
25004 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25005 int *arg2
= (int *) 0 ;
25006 int *arg3
= (int *) 0 ;
25011 PyObject
* obj0
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self", NULL
25016 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25017 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
25019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->GetPPIPrinter(arg2
,arg3
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25030 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25031 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25032 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25039 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25043 PyObject
* obj0
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "self", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25050 if (SWIG_arg_fail(1)) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (bool)(arg1
)->IsPreview();
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25067 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
;
25069 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self",(char *) "p", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25079 if (SWIG_arg_fail(1)) SWIG_fail
;
25081 arg2
= (bool)(SWIG_As_bool(obj1
));
25082 if (SWIG_arg_fail(2)) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 (arg1
)->SetIsPreview(arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 Py_INCREF(Py_None
); resultobj
= Py_None
;
25098 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 PyObject
* obj2
= 0 ;
25107 char *kwnames
[] = {
25108 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25113 if (SWIG_arg_fail(1)) SWIG_fail
;
25115 arg2
= (int)(SWIG_As_int(obj1
));
25116 if (SWIG_arg_fail(2)) SWIG_fail
;
25119 arg3
= (int)(SWIG_As_int(obj2
));
25120 if (SWIG_arg_fail(3)) SWIG_fail
;
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25138 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25141 PyObject
* obj0
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25148 if (SWIG_arg_fail(1)) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 (arg1
)->base_OnEndDocument();
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 Py_INCREF(Py_None
); resultobj
= Py_None
;
25163 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25166 PyObject
* obj0
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25173 if (SWIG_arg_fail(1)) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 (arg1
)->base_OnBeginPrinting();
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 Py_INCREF(Py_None
); resultobj
= Py_None
;
25188 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25191 PyObject
* obj0
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 (arg1
)->base_OnEndPrinting();
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 Py_INCREF(Py_None
); resultobj
= Py_None
;
25213 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25216 PyObject
* obj0
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 (arg1
)->base_OnPreparePrinting();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 Py_INCREF(Py_None
); resultobj
= Py_None
;
25238 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "page", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25251 if (SWIG_arg_fail(1)) SWIG_fail
;
25253 arg2
= (int)(SWIG_As_int(obj1
));
25254 if (SWIG_arg_fail(2)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (bool)(arg1
)->base_HasPage(arg2
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25272 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25275 int *arg2
= (int *) 0 ;
25276 int *arg3
= (int *) 0 ;
25277 int *arg4
= (int *) 0 ;
25278 int *arg5
= (int *) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 char *kwnames
[] = {
25289 (char *) "self", NULL
25292 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25293 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25294 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25295 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25298 if (SWIG_arg_fail(1)) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 Py_INCREF(Py_None
); resultobj
= Py_None
;
25307 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25308 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25309 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25310 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25311 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25312 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25313 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25314 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25321 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25324 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25326 return Py_BuildValue((char *)"");
25328 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25331 wxWindow
*arg2
= (wxWindow
*) 0 ;
25332 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25333 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25334 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25335 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25336 long arg5
= (long) 0 ;
25337 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25338 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25339 wxPreviewCanvas
*result
;
25342 bool temp6
= false ;
25343 PyObject
* obj0
= 0 ;
25344 PyObject
* obj1
= 0 ;
25345 PyObject
* obj2
= 0 ;
25346 PyObject
* obj3
= 0 ;
25347 PyObject
* obj4
= 0 ;
25348 PyObject
* obj5
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25355 if (SWIG_arg_fail(1)) SWIG_fail
;
25356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25357 if (SWIG_arg_fail(2)) SWIG_fail
;
25361 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25367 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25372 arg5
= (long)(SWIG_As_long(obj4
));
25373 if (SWIG_arg_fail(5)) SWIG_fail
;
25378 arg6
= wxString_in_helper(obj5
);
25379 if (arg6
== NULL
) SWIG_fail
;
25384 if (!wxPyCheckForApp()) SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25406 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25409 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25411 return Py_BuildValue((char *)"");
25413 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25416 wxFrame
*arg2
= (wxFrame
*) 0 ;
25417 wxString
*arg3
= 0 ;
25418 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25419 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25420 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25421 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25422 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25423 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25424 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25425 wxPreviewFrame
*result
;
25426 bool temp3
= false ;
25429 bool temp7
= false ;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 PyObject
* obj2
= 0 ;
25433 PyObject
* obj3
= 0 ;
25434 PyObject
* obj4
= 0 ;
25435 PyObject
* obj5
= 0 ;
25436 PyObject
* obj6
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25443 if (SWIG_arg_fail(1)) SWIG_fail
;
25444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25445 if (SWIG_arg_fail(2)) SWIG_fail
;
25447 arg3
= wxString_in_helper(obj2
);
25448 if (arg3
== NULL
) SWIG_fail
;
25454 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25460 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25465 arg6
= (long)(SWIG_As_long(obj5
));
25466 if (SWIG_arg_fail(6)) SWIG_fail
;
25471 arg7
= wxString_in_helper(obj6
);
25472 if (arg7
== NULL
) SWIG_fail
;
25477 if (!wxPyCheckForApp()) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25507 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25510 PyObject
* obj0
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25517 if (SWIG_arg_fail(1)) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->Initialize();
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 Py_INCREF(Py_None
); resultobj
= Py_None
;
25532 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25535 PyObject
* obj0
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25542 if (SWIG_arg_fail(1)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 (arg1
)->CreateControlBar();
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 Py_INCREF(Py_None
); resultobj
= Py_None
;
25557 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25560 PyObject
* obj0
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25567 if (SWIG_arg_fail(1)) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 (arg1
)->CreateCanvas();
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 Py_INCREF(Py_None
); resultobj
= Py_None
;
25582 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25585 wxPreviewControlBar
*result
;
25586 PyObject
* obj0
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25593 if (SWIG_arg_fail(1)) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25608 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25611 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25613 return Py_BuildValue((char *)"");
25615 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25619 wxWindow
*arg3
= (wxWindow
*) 0 ;
25620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25624 long arg6
= (long) wxTAB_TRAVERSAL
;
25625 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25627 wxPreviewControlBar
*result
;
25630 bool temp7
= false ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 PyObject
* obj2
= 0 ;
25634 PyObject
* obj3
= 0 ;
25635 PyObject
* obj4
= 0 ;
25636 PyObject
* obj5
= 0 ;
25637 PyObject
* obj6
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25644 if (SWIG_arg_fail(1)) SWIG_fail
;
25646 arg2
= (long)(SWIG_As_long(obj1
));
25647 if (SWIG_arg_fail(2)) SWIG_fail
;
25649 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25650 if (SWIG_arg_fail(3)) SWIG_fail
;
25654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25660 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25665 arg6
= (long)(SWIG_As_long(obj5
));
25666 if (SWIG_arg_fail(6)) SWIG_fail
;
25671 arg7
= wxString_in_helper(obj6
);
25672 if (arg7
== NULL
) SWIG_fail
;
25677 if (!wxPyCheckForApp()) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25699 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25703 PyObject
* obj0
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "self", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25710 if (SWIG_arg_fail(1)) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 result
= (int)(arg1
)->GetZoomControl();
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_From_int((int)(result
));
25727 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25731 PyObject
* obj0
= 0 ;
25732 PyObject
* obj1
= 0 ;
25733 char *kwnames
[] = {
25734 (char *) "self",(char *) "zoom", NULL
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25739 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 arg2
= (int)(SWIG_As_int(obj1
));
25742 if (SWIG_arg_fail(2)) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 (arg1
)->SetZoomControl(arg2
);
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 Py_INCREF(Py_None
); resultobj
= Py_None
;
25758 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25761 wxPrintPreview
*result
;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25769 if (SWIG_arg_fail(1)) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25784 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25787 PyObject
* obj0
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25794 if (SWIG_arg_fail(1)) SWIG_fail
;
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 Py_INCREF(Py_None
); resultobj
= Py_None
;
25809 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25812 PyObject
* obj0
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25819 if (SWIG_arg_fail(1)) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->OnPrevious();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25837 PyObject
* obj0
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25844 if (SWIG_arg_fail(1)) SWIG_fail
;
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 Py_INCREF(Py_None
); resultobj
= Py_None
;
25859 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25862 PyObject
* obj0
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 Py_INCREF(Py_None
); resultobj
= Py_None
;
25884 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 Py_INCREF(Py_None
); resultobj
= Py_None
;
25909 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25912 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25914 return Py_BuildValue((char *)"");
25916 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25917 PyObject
*resultobj
;
25918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25919 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25920 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25921 wxPrintPreview
*result
;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 PyObject
* obj2
= 0 ;
25926 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25928 if (SWIG_arg_fail(1)) SWIG_fail
;
25929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25930 if (SWIG_arg_fail(2)) SWIG_fail
;
25932 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(3)) SWIG_fail
;
25936 if (!wxPyCheckForApp()) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25950 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25951 PyObject
*resultobj
;
25952 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25953 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25954 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25955 wxPrintPreview
*result
;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 PyObject
* obj2
= 0 ;
25960 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25962 if (SWIG_arg_fail(1)) SWIG_fail
;
25963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25964 if (SWIG_arg_fail(2)) SWIG_fail
;
25965 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25966 if (SWIG_arg_fail(3)) SWIG_fail
;
25968 if (!wxPyCheckForApp()) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25982 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25987 argc
= PyObject_Length(args
);
25988 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25991 if ((argc
>= 2) && (argc
<= 3)) {
25995 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26005 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26014 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26018 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26026 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26035 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26045 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26055 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26063 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26069 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26074 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26079 PyObject
* obj0
= 0 ;
26080 PyObject
* obj1
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "self",(char *) "pageNum", NULL
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26087 if (SWIG_arg_fail(1)) SWIG_fail
;
26089 arg2
= (int)(SWIG_As_int(obj1
));
26090 if (SWIG_arg_fail(2)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26108 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26110 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26119 if (SWIG_arg_fail(1)) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (int)(arg1
)->GetCurrentPage();
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= SWIG_From_int((int)(result
));
26136 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
;
26138 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26139 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 char *kwnames
[] = {
26143 (char *) "self",(char *) "printout", NULL
26146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26148 if (SWIG_arg_fail(1)) SWIG_fail
;
26149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26150 if (SWIG_arg_fail(2)) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 (arg1
)->SetPrintout(arg2
);
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26158 Py_INCREF(Py_None
); resultobj
= Py_None
;
26165 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
;
26167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26168 wxPyPrintout
*result
;
26169 PyObject
* obj0
= 0 ;
26170 char *kwnames
[] = {
26171 (char *) "self", NULL
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26176 if (SWIG_arg_fail(1)) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= wxPyMake_wxObject(result
, 0);
26193 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26196 wxPyPrintout
*result
;
26197 PyObject
* obj0
= 0 ;
26198 char *kwnames
[] = {
26199 (char *) "self", NULL
26202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26204 if (SWIG_arg_fail(1)) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= wxPyMake_wxObject(result
, 0);
26221 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26224 wxFrame
*arg2
= (wxFrame
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "frame", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26233 if (SWIG_arg_fail(1)) SWIG_fail
;
26234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(2)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SetFrame(arg2
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 Py_INCREF(Py_None
); resultobj
= Py_None
;
26250 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26253 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self",(char *) "canvas", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail
;
26263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26264 if (SWIG_arg_fail(2)) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 (arg1
)->SetCanvas(arg2
);
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 Py_INCREF(Py_None
); resultobj
= Py_None
;
26279 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26283 PyObject
* obj0
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26290 if (SWIG_arg_fail(1)) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (wxFrame
*)(arg1
)->GetFrame();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= wxPyMake_wxObject(result
, 0);
26307 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26310 wxPreviewCanvas
*result
;
26311 PyObject
* obj0
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26318 if (SWIG_arg_fail(1)) SWIG_fail
;
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26333 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
;
26335 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26336 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 PyObject
* obj2
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail
;
26349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26350 if (SWIG_arg_fail(2)) SWIG_fail
;
26352 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26353 if (SWIG_arg_fail(3)) SWIG_fail
;
26354 if (arg3
== NULL
) {
26355 SWIG_null_ref("wxDC");
26357 if (SWIG_arg_fail(3)) SWIG_fail
;
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26375 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26378 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 PyObject
* obj2
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) 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 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26395 if (SWIG_arg_fail(3)) SWIG_fail
;
26396 if (arg3
== NULL
) {
26397 SWIG_null_ref("wxDC");
26399 if (SWIG_arg_fail(3)) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26417 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj1
= 0 ;
26424 char *kwnames
[] = {
26425 (char *) "self",(char *) "pageNum", NULL
26428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26430 if (SWIG_arg_fail(1)) SWIG_fail
;
26432 arg2
= (int)(SWIG_As_int(obj1
));
26433 if (SWIG_arg_fail(2)) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (bool)(arg1
)->RenderPage(arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26451 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26454 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26455 PyObject
* obj0
= 0 ;
26456 PyObject
* obj1
= 0 ;
26457 char *kwnames
[] = {
26458 (char *) "self",(char *) "canvas", NULL
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail
;
26464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26465 if (SWIG_arg_fail(2)) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 (arg1
)->AdjustScrollbars(arg2
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 Py_INCREF(Py_None
); resultobj
= Py_None
;
26480 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
;
26482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26483 wxPrintDialogData
*result
;
26484 PyObject
* obj0
= 0 ;
26485 char *kwnames
[] = {
26486 (char *) "self", NULL
26489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26491 if (SWIG_arg_fail(1)) SWIG_fail
;
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26496 result
= (wxPrintDialogData
*) &_result_ref
;
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26509 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "percent", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26521 if (SWIG_arg_fail(1)) SWIG_fail
;
26523 arg2
= (int)(SWIG_As_int(obj1
));
26524 if (SWIG_arg_fail(2)) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->SetZoom(arg2
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 Py_INCREF(Py_None
); resultobj
= Py_None
;
26540 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 char *kwnames
[] = {
26546 (char *) "self", NULL
26549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26551 if (SWIG_arg_fail(1)) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (int)(arg1
)->GetZoom();
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= SWIG_From_int((int)(result
));
26568 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26579 if (SWIG_arg_fail(1)) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 result
= (int)(arg1
)->GetMaxPage();
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_From_int((int)(result
));
26596 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26600 PyObject
* obj0
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26607 if (SWIG_arg_fail(1)) SWIG_fail
;
26609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26610 result
= (int)(arg1
)->GetMinPage();
26612 wxPyEndAllowThreads(__tstate
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_From_int((int)(result
));
26624 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
;
26626 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26628 PyObject
* obj0
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26635 if (SWIG_arg_fail(1)) SWIG_fail
;
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (bool)(arg1
)->Ok();
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26652 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
;
26654 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self",(char *) "ok", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail
;
26666 arg2
= (bool)(SWIG_As_bool(obj1
));
26667 if (SWIG_arg_fail(2)) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 (arg1
)->SetOk(arg2
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 Py_INCREF(Py_None
); resultobj
= Py_None
;
26683 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26688 PyObject
* obj0
= 0 ;
26689 PyObject
* obj1
= 0 ;
26690 char *kwnames
[] = {
26691 (char *) "self",(char *) "interactive", NULL
26694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26696 if (SWIG_arg_fail(1)) SWIG_fail
;
26698 arg2
= (bool)(SWIG_As_bool(obj1
));
26699 if (SWIG_arg_fail(2)) SWIG_fail
;
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 result
= (bool)(arg1
)->Print(arg2
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26717 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26727 if (SWIG_arg_fail(1)) SWIG_fail
;
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 (arg1
)->DetermineScaling();
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 Py_INCREF(Py_None
); resultobj
= Py_None
;
26742 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26745 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26747 return Py_BuildValue((char *)"");
26749 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26750 PyObject
*resultobj
;
26751 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26752 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26753 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26754 wxPyPrintPreview
*result
;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 PyObject
* obj2
= 0 ;
26759 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26761 if (SWIG_arg_fail(1)) SWIG_fail
;
26762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26763 if (SWIG_arg_fail(2)) SWIG_fail
;
26765 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26766 if (SWIG_arg_fail(3)) SWIG_fail
;
26769 if (!wxPyCheckForApp()) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26783 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26784 PyObject
*resultobj
;
26785 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26786 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26787 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26788 wxPyPrintPreview
*result
;
26789 PyObject
* obj0
= 0 ;
26790 PyObject
* obj1
= 0 ;
26791 PyObject
* obj2
= 0 ;
26793 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26795 if (SWIG_arg_fail(1)) SWIG_fail
;
26796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26797 if (SWIG_arg_fail(2)) SWIG_fail
;
26798 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26799 if (SWIG_arg_fail(3)) SWIG_fail
;
26801 if (!wxPyCheckForApp()) SWIG_fail
;
26802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26815 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26820 argc
= PyObject_Length(args
);
26821 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26822 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26824 if ((argc
>= 2) && (argc
<= 3)) {
26828 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26838 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26847 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26851 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26859 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26868 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26878 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26888 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26896 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26902 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26907 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26908 PyObject
*resultobj
;
26909 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26910 PyObject
*arg2
= (PyObject
*) 0 ;
26911 PyObject
*arg3
= (PyObject
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 PyObject
* obj2
= 0 ;
26915 char *kwnames
[] = {
26916 (char *) "self",(char *) "self",(char *) "_class", NULL
26919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26921 if (SWIG_arg_fail(1)) SWIG_fail
;
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 Py_INCREF(Py_None
); resultobj
= Py_None
;
26938 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
;
26940 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self",(char *) "pageNum", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail
;
26953 arg2
= (int)(SWIG_As_int(obj1
));
26954 if (SWIG_arg_fail(2)) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26972 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26975 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 PyObject
* obj2
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26987 if (SWIG_arg_fail(1)) SWIG_fail
;
26988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26989 if (SWIG_arg_fail(2)) SWIG_fail
;
26991 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26992 if (SWIG_arg_fail(3)) SWIG_fail
;
26993 if (arg3
== NULL
) {
26994 SWIG_null_ref("wxDC");
26996 if (SWIG_arg_fail(3)) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27014 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27017 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 PyObject
* obj2
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail
;
27030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27031 if (SWIG_arg_fail(2)) SWIG_fail
;
27033 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27034 if (SWIG_arg_fail(3)) SWIG_fail
;
27035 if (arg3
== NULL
) {
27036 SWIG_null_ref("wxDC");
27038 if (SWIG_arg_fail(3)) SWIG_fail
;
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27056 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
;
27058 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27061 PyObject
* obj0
= 0 ;
27062 PyObject
* obj1
= 0 ;
27063 char *kwnames
[] = {
27064 (char *) "self",(char *) "pageNum", NULL
27067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27069 if (SWIG_arg_fail(1)) SWIG_fail
;
27071 arg2
= (int)(SWIG_As_int(obj1
));
27072 if (SWIG_arg_fail(2)) SWIG_fail
;
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27078 wxPyEndAllowThreads(__tstate
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27090 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self",(char *) "percent", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27102 if (SWIG_arg_fail(1)) SWIG_fail
;
27104 arg2
= (int)(SWIG_As_int(obj1
));
27105 if (SWIG_arg_fail(2)) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 (arg1
)->base_SetZoom(arg2
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 Py_INCREF(Py_None
); resultobj
= Py_None
;
27121 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self",(char *) "interactive", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(1)) SWIG_fail
;
27136 arg2
= (bool)(SWIG_As_bool(obj1
));
27137 if (SWIG_arg_fail(2)) SWIG_fail
;
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 result
= (bool)(arg1
)->base_Print(arg2
);
27143 wxPyEndAllowThreads(__tstate
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27155 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27156 PyObject
*resultobj
;
27157 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27158 PyObject
* obj0
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27165 if (SWIG_arg_fail(1)) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 (arg1
)->base_DetermineScaling();
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 Py_INCREF(Py_None
); resultobj
= Py_None
;
27180 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27183 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27185 return Py_BuildValue((char *)"");
27187 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
;
27189 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27190 wxFrame
*arg2
= (wxFrame
*) 0 ;
27191 wxString
*arg3
= 0 ;
27192 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27193 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27194 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27195 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27196 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27197 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27198 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27199 wxPyPreviewFrame
*result
;
27200 bool temp3
= false ;
27203 bool temp7
= false ;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 PyObject
* obj2
= 0 ;
27207 PyObject
* obj3
= 0 ;
27208 PyObject
* obj4
= 0 ;
27209 PyObject
* obj5
= 0 ;
27210 PyObject
* obj6
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail
;
27218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(2)) SWIG_fail
;
27221 arg3
= wxString_in_helper(obj2
);
27222 if (arg3
== NULL
) SWIG_fail
;
27228 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27234 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27239 arg6
= (long)(SWIG_As_long(obj5
));
27240 if (SWIG_arg_fail(6)) SWIG_fail
;
27245 arg7
= wxString_in_helper(obj6
);
27246 if (arg7
== NULL
) SWIG_fail
;
27251 if (!wxPyCheckForApp()) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27281 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27284 PyObject
*arg2
= (PyObject
*) 0 ;
27285 PyObject
*arg3
= (PyObject
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 PyObject
* obj2
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self",(char *) "self",(char *) "_class", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27295 if (SWIG_arg_fail(1)) SWIG_fail
;
27299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27305 Py_INCREF(Py_None
); resultobj
= Py_None
;
27312 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27313 PyObject
*resultobj
;
27314 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27315 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27316 PyObject
* obj0
= 0 ;
27317 PyObject
* obj1
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self",(char *) "canvas", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27324 if (SWIG_arg_fail(1)) SWIG_fail
;
27325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27326 if (SWIG_arg_fail(2)) SWIG_fail
;
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 (arg1
)->SetPreviewCanvas(arg2
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 Py_INCREF(Py_None
); resultobj
= Py_None
;
27341 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
;
27343 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27344 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 char *kwnames
[] = {
27348 (char *) "self",(char *) "bar", NULL
27351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27353 if (SWIG_arg_fail(1)) SWIG_fail
;
27354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27355 if (SWIG_arg_fail(2)) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 (arg1
)->SetControlBar(arg2
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 Py_INCREF(Py_None
); resultobj
= Py_None
;
27370 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27373 PyObject
* obj0
= 0 ;
27374 char *kwnames
[] = {
27375 (char *) "self", NULL
27378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27380 if (SWIG_arg_fail(1)) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 (arg1
)->base_Initialize();
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 Py_INCREF(Py_None
); resultobj
= Py_None
;
27395 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
;
27397 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27405 if (SWIG_arg_fail(1)) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 (arg1
)->base_CreateCanvas();
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 Py_INCREF(Py_None
); resultobj
= Py_None
;
27420 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27421 PyObject
*resultobj
;
27422 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27423 PyObject
* obj0
= 0 ;
27424 char *kwnames
[] = {
27425 (char *) "self", NULL
27428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27430 if (SWIG_arg_fail(1)) SWIG_fail
;
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 (arg1
)->base_CreateControlBar();
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 Py_INCREF(Py_None
); resultobj
= Py_None
;
27445 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27448 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27450 return Py_BuildValue((char *)"");
27452 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27456 wxWindow
*arg3
= (wxWindow
*) 0 ;
27457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27461 long arg6
= (long) 0 ;
27462 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27463 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27464 wxPyPreviewControlBar
*result
;
27467 bool temp7
= false ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 PyObject
* obj2
= 0 ;
27471 PyObject
* obj3
= 0 ;
27472 PyObject
* obj4
= 0 ;
27473 PyObject
* obj5
= 0 ;
27474 PyObject
* obj6
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27481 if (SWIG_arg_fail(1)) SWIG_fail
;
27483 arg2
= (long)(SWIG_As_long(obj1
));
27484 if (SWIG_arg_fail(2)) SWIG_fail
;
27486 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27487 if (SWIG_arg_fail(3)) SWIG_fail
;
27491 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27497 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27502 arg6
= (long)(SWIG_As_long(obj5
));
27503 if (SWIG_arg_fail(6)) SWIG_fail
;
27508 arg7
= wxString_in_helper(obj6
);
27509 if (arg7
== NULL
) SWIG_fail
;
27514 if (!wxPyCheckForApp()) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27536 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27539 PyObject
*arg2
= (PyObject
*) 0 ;
27540 PyObject
*arg3
= (PyObject
*) 0 ;
27541 PyObject
* obj0
= 0 ;
27542 PyObject
* obj1
= 0 ;
27543 PyObject
* obj2
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "self",(char *) "_class", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27550 if (SWIG_arg_fail(1)) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27567 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27570 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 PyObject
* obj1
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self",(char *) "preview", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27579 if (SWIG_arg_fail(1)) SWIG_fail
;
27580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27581 if (SWIG_arg_fail(2)) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 (arg1
)->SetPrintPreview(arg2
);
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 Py_INCREF(Py_None
); resultobj
= Py_None
;
27596 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "self", NULL
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27606 if (SWIG_arg_fail(1)) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 (arg1
)->base_CreateButtons();
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 Py_INCREF(Py_None
); resultobj
= Py_None
;
27621 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
;
27623 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27625 PyObject
* obj0
= 0 ;
27626 PyObject
* obj1
= 0 ;
27627 char *kwnames
[] = {
27628 (char *) "self",(char *) "zoom", NULL
27631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27633 if (SWIG_arg_fail(1)) SWIG_fail
;
27635 arg2
= (int)(SWIG_As_int(obj1
));
27636 if (SWIG_arg_fail(2)) SWIG_fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 (arg1
)->base_SetZoomControl(arg2
);
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27645 Py_INCREF(Py_None
); resultobj
= Py_None
;
27652 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27655 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27657 return Py_BuildValue((char *)"");
27659 static PyMethodDef SwigMethods
[] = {
27660 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27668 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27683 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27684 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27691 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27709 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27733 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27746 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27750 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27754 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27759 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27776 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27806 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27813 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27836 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27844 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27856 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27862 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27871 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27877 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27882 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27888 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27892 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27910 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27936 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27944 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27953 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27955 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27964 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27967 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27974 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27992 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27996 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28001 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28005 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28007 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
28023 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28026 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28028 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28032 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28041 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28050 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28056 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28068 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28075 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28079 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28105 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28131 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28157 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28158 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28205 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28206 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28239 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28244 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28245 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28278 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28284 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28295 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28318 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28320 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28326 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28336 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28337 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28360 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28361 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28370 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28378 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28384 { NULL
, NULL
, 0, NULL
}
28388 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28390 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28391 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28393 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28396 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28397 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28399 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28400 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28402 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28403 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28405 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28406 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28408 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28409 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28411 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28412 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28414 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28415 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28417 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28418 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28420 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28421 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28423 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28424 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28426 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28427 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28429 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28430 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28432 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28433 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28435 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28438 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28439 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28441 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28442 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28444 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28445 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28447 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28448 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28450 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28451 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28453 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28454 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28456 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28459 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28460 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28462 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28463 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28465 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28468 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28469 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28471 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28472 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28474 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28475 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28477 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28478 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28480 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28481 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28483 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28484 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28486 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28487 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28489 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28492 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28493 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28495 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28496 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28498 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28499 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28501 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28504 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28505 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28507 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28508 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28510 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28511 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28513 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28514 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28516 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28517 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28519 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28520 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28522 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28523 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28525 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28528 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28531 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28534 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28535 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28537 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28538 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28540 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28541 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28543 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28544 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28546 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28549 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28552 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28555 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28558 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28561 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28564 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28567 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28570 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28571 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28573 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28574 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28576 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28579 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28582 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28585 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28586 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28588 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28591 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28592 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28594 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28595 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28597 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28598 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28600 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28601 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28603 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28606 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28607 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28609 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28610 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28612 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28615 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28616 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28618 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28621 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28624 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28627 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28628 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28630 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28633 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28634 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28636 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28639 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28642 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28645 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28648 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28651 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28652 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28654 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28657 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28660 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28663 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28666 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28669 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28672 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28673 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28675 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28676 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28678 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28679 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28681 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28682 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28684 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28685 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28687 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28688 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28690 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28691 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28693 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28694 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28696 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28699 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28702 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28705 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28708 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28711 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28714 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28717 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28720 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28723 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28726 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) ((wxSizer
*) x
));
28729 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28732 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28735 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28738 static void *_p_wxEventTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) ((wxEvent
*) x
));
28741 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) ((wxFontData
*) x
));
28744 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28747 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28750 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28753 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28756 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28757 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28759 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28760 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28762 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28765 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28766 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28768 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28769 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28771 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28772 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28774 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28775 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28777 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28778 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28780 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28781 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28783 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28786 static void *_p_wxControlTo_p_wxObject(void *x
) {
28787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28789 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28790 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28792 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28795 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28796 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28798 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28799 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28801 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28802 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28804 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28807 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28808 return (void *)((wxObject
*) ((wxColourData
*) x
));
28810 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28811 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28813 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28816 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28819 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28822 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28825 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28828 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28831 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28834 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28837 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28840 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28843 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28846 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28847 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28849 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28852 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28855 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28858 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28861 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28864 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28867 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28870 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28873 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28876 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28879 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28882 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28885 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28888 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28891 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28894 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28897 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28900 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28903 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28906 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28909 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28912 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28915 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28918 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28921 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28924 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28927 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28930 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28933 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28936 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28939 static void *_p_wxImageTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) ((wxImage
*) x
));
28942 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28945 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28948 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28951 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28954 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28957 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28960 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28963 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28966 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28969 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28972 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28975 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28978 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28981 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28984 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28987 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28990 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28993 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28996 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28999 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29002 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29005 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29008 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
29011 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29014 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
29017 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
29020 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29023 static void *_p_wxPanelTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
29026 static void *_p_wxDialogTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
29029 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29032 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29035 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29038 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29041 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29044 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29047 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29050 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29053 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29056 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29059 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29062 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29065 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29068 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29071 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29074 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29077 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29080 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29083 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29086 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29089 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29092 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29095 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29098 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29101 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29102 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29104 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29105 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29107 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29108 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29110 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29111 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29113 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29114 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29116 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29117 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29119 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29120 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29122 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29123 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29125 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29126 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29128 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29129 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29131 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29132 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29134 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29135 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29137 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29138 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29140 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29141 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29143 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29144 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29146 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29147 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29149 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29150 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29152 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29153 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29155 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29156 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29158 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29159 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29161 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29162 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29164 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29165 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29167 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29168 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29170 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29171 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29173 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29174 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29176 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29177 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29179 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29180 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29182 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29183 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29185 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29186 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29188 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29189 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29191 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29192 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29194 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29195 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29197 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29198 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29200 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29201 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29203 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29204 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29206 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29207 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29209 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29210 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29212 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29213 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29215 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29216 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29218 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29219 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29221 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29222 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29224 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29225 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29227 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29228 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29230 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29231 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29233 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29234 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29236 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29237 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29239 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29240 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29242 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29243 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29245 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29246 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29248 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29249 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29251 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29252 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29254 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29255 return (void *)((wxWindow
*) ((wxControl
*) x
));
29257 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29258 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29260 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29263 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29266 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29267 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29269 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29270 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29272 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29273 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29275 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29276 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29278 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29279 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29281 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29282 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29284 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29285 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29287 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29288 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29290 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29291 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29293 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29294 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29296 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29297 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29299 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29300 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29302 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29303 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29305 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29306 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29308 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29309 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29311 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29312 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29314 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29315 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29317 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29318 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29320 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29321 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29323 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29324 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29326 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29327 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29329 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29330 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29332 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29333 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29335 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29336 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29338 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29339 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29341 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29342 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29344 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29345 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29347 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29348 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29350 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29351 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29353 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29354 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29356 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29357 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29359 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29360 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29362 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29363 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29365 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29366 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29368 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29369 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29371 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29372 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29374 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29375 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29377 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29378 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29380 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29381 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29383 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29384 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29386 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29387 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29389 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29390 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29392 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29393 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29395 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29396 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29398 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29399 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29401 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29402 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29404 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29405 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29407 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29408 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29469 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}};
29470 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}};
29471 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}};
29472 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}};
29473 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}};
29474 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}};
29475 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}};
29476 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}};
29477 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}};
29478 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}};
29479 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}};
29480 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}};
29481 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}};
29482 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}};
29483 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}};
29484 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}};
29485 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}};
29486 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}};
29487 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}};
29488 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}};
29489 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}};
29490 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}};
29491 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}};
29492 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}};
29493 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}};
29494 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}};
29495 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}};
29496 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}};
29497 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}};
29498 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}};
29499 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}};
29500 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29508 static swig_type_info
*swig_types_initial
[] = {
29509 _swigt__p_wxQueryLayoutInfoEvent
,
29510 _swigt__p_wxPreviewFrame
,
29511 _swigt__p_wxPyPreviewFrame
,
29512 _swigt__p_wxPyPanel
,
29514 _swigt__p_wxFontData
,
29516 _swigt__p_wxPrintData
,
29517 _swigt__p_wxTaskBarIcon
,
29518 _swigt__p_wxPyTaskBarIcon
,
29519 _swigt__p_wxIconBundle
,
29520 _swigt__p_wxLayoutAlgorithm
,
29521 _swigt__p_wxFindDialogEvent
,
29522 _swigt__p_wxPreviewCanvas
,
29524 _swigt__p_wxSplitterEvent
,
29525 _swigt__p_wxRegion
,
29527 _swigt__std__ptrdiff_t
,
29528 _swigt__p_wxFindReplaceData
,
29533 _swigt__p_wxVisualAttributes
,
29534 _swigt__p_wxMDIChildFrame
,
29535 _swigt__p_wxColourData
,
29536 _swigt__p_wxNotifyEvent
,
29537 _swigt__p_wxPyWindow
,
29538 _swigt__p_form_ops_t
,
29539 _swigt__p_wxSplashScreen
,
29540 _swigt__p_wxPasswordEntryDialog
,
29541 _swigt__p_wxSingleChoiceDialog
,
29542 _swigt__p_wxMultiChoiceDialog
,
29543 _swigt__p_wxFileDialog
,
29544 _swigt__p_wxTextEntryDialog
,
29545 _swigt__p_wxMessageDialog
,
29546 _swigt__p_wxProgressDialog
,
29547 _swigt__p_wxFindReplaceDialog
,
29548 _swigt__p_wxPrinter
,
29549 _swigt__p_wxArrayInt
,
29550 _swigt__p_wxDuplexMode
,
29551 _swigt__p_wxEvtHandler
,
29552 _swigt__p_wxCalculateLayoutEvent
,
29553 _swigt__p_wxPyHtmlListBox
,
29554 _swigt__p_wxPyVListBox
,
29556 _swigt__p_wxStdDialogButtonSizer
,
29558 _swigt__p_wxMiniFrame
,
29560 _swigt__p_wxPyPrintout
,
29561 _swigt__p_wxTaskBarIconEvent
,
29562 _swigt__p_wxScrollWinEvent
,
29563 _swigt__p_wxPaperSize
,
29564 _swigt__p_wxStatusBar
,
29565 _swigt__p_wxMDIParentFrame
,
29567 _swigt__p_wxObject
,
29568 _swigt__p_unsigned_long
,
29569 _swigt__p_wxTipWindow
,
29570 _swigt__p_wxSashLayoutWindow
,
29571 _swigt__p_wxSplitterWindow
,
29572 _swigt__p_wxSplashScreenWindow
,
29573 _swigt__p_wxPyVScrolledWindow
,
29574 _swigt__p_wxPyPopupTransientWindow
,
29575 _swigt__p_wxPopupWindow
,
29576 _swigt__p_wxSashWindow
,
29577 _swigt__p_wxTopLevelWindow
,
29578 _swigt__p_wxWindow
,
29579 _swigt__p_wxScrolledWindow
,
29580 _swigt__p_wxMenuBar
,
29581 _swigt__p_wxMDIClientWindow
,
29582 _swigt__p_wxPyScrolledWindow
,
29583 _swigt__p_wxPrintPreview
,
29584 _swigt__p_wxSashEvent
,
29585 _swigt__p_wxString
,
29586 _swigt__p_wxPyPrintPreview
,
29587 _swigt__p_wxDirDialog
,
29588 _swigt__p_wxColourDialog
,
29589 _swigt__p_wxDialog
,
29591 _swigt__p_wxFontDialog
,
29592 _swigt__p_wxPageSetupDialog
,
29593 _swigt__p_wxPrintDialog
,
29594 _swigt__p_wxFileSystem
,
29595 _swigt__p_wxBitmap
,
29596 _swigt__unsigned_int
,
29597 _swigt__p_unsigned_int
,
29598 _swigt__p_unsigned_char
,
29599 _swigt__p_wxCommandEvent
,
29600 _swigt__p_wxPreviewControlBar
,
29601 _swigt__p_wxPyPreviewControlBar
,
29602 _swigt__p_wxColour
,
29603 _swigt__p_wxToolBar
,
29604 _swigt__p_wxPageSetupDialogData
,
29605 _swigt__p_wxPrintDialogData
,
29610 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29612 static swig_const_info swig_const_table
[] = {
29613 {0, 0, 0, 0.0, 0, 0}};
29624 /* Python-specific SWIG API */
29625 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29626 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29627 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29629 /* -----------------------------------------------------------------------------
29630 * global variable support code.
29631 * ----------------------------------------------------------------------------- */
29633 typedef struct swig_globalvar
{
29634 char *name
; /* Name of global variable */
29635 PyObject
*(*get_attr
)(); /* Return the current value */
29636 int (*set_attr
)(PyObject
*); /* Set the value */
29637 struct swig_globalvar
*next
;
29640 typedef struct swig_varlinkobject
{
29642 swig_globalvar
*vars
;
29643 } swig_varlinkobject
;
29646 swig_varlink_repr(swig_varlinkobject
*v
) {
29648 return PyString_FromString("<Swig global variables>");
29652 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29653 swig_globalvar
*var
;
29655 fprintf(fp
,"Swig global variables { ");
29656 for (var
= v
->vars
; var
; var
=var
->next
) {
29657 fprintf(fp
,"%s", var
->name
);
29658 if (var
->next
) fprintf(fp
,", ");
29660 fprintf(fp
," }\n");
29665 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29666 swig_globalvar
*var
= v
->vars
;
29668 if (strcmp(var
->name
,n
) == 0) {
29669 return (*var
->get_attr
)();
29673 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29678 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29679 swig_globalvar
*var
= v
->vars
;
29681 if (strcmp(var
->name
,n
) == 0) {
29682 return (*var
->set_attr
)(p
);
29686 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29690 static PyTypeObject varlinktype
= {
29691 PyObject_HEAD_INIT(0)
29692 0, /* Number of items in variable part (ob_size) */
29693 (char *)"swigvarlink", /* Type name (tp_name) */
29694 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29695 0, /* Itemsize (tp_itemsize) */
29696 0, /* Deallocator (tp_dealloc) */
29697 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29698 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29699 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29700 0, /* tp_compare */
29701 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29702 0, /* tp_as_number */
29703 0, /* tp_as_sequence */
29704 0, /* tp_as_mapping */
29708 0, /* tp_getattro */
29709 0, /* tp_setattro */
29710 0, /* tp_as_buffer */
29713 #if PY_VERSION_HEX >= 0x02000000
29714 0, /* tp_traverse */
29717 #if PY_VERSION_HEX >= 0x02010000
29718 0, /* tp_richcompare */
29719 0, /* tp_weaklistoffset */
29721 #if PY_VERSION_HEX >= 0x02020000
29722 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29724 #if PY_VERSION_HEX >= 0x02030000
29727 #ifdef COUNT_ALLOCS
29728 0,0,0,0 /* tp_alloc -> tp_next */
29732 /* Create a variable linking object for use later */
29734 SWIG_Python_newvarlink(void) {
29735 swig_varlinkobject
*result
= 0;
29736 result
= PyMem_NEW(swig_varlinkobject
,1);
29737 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29738 result
->ob_type
= &varlinktype
;
29740 result
->ob_refcnt
= 0;
29741 Py_XINCREF((PyObject
*) result
);
29742 return ((PyObject
*) result
);
29746 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29747 swig_varlinkobject
*v
;
29748 swig_globalvar
*gv
;
29749 v
= (swig_varlinkobject
*) p
;
29750 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29751 gv
->name
= (char *) malloc(strlen(name
)+1);
29752 strcpy(gv
->name
,name
);
29753 gv
->get_attr
= get_attr
;
29754 gv
->set_attr
= set_attr
;
29755 gv
->next
= v
->vars
;
29759 /* -----------------------------------------------------------------------------
29760 * constants/methods manipulation
29761 * ----------------------------------------------------------------------------- */
29763 /* Install Constants */
29765 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29768 for (i
= 0; constants
[i
].type
; i
++) {
29769 switch(constants
[i
].type
) {
29771 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29773 case SWIG_PY_FLOAT
:
29774 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29776 case SWIG_PY_STRING
:
29777 if (constants
[i
].pvalue
) {
29778 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29780 Py_INCREF(Py_None
);
29784 case SWIG_PY_POINTER
:
29785 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29787 case SWIG_PY_BINARY
:
29788 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29795 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29801 /* -----------------------------------------------------------------------------*/
29802 /* Fix SwigMethods to carry the callback ptrs when needed */
29803 /* -----------------------------------------------------------------------------*/
29806 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29807 swig_const_info
*const_table
,
29808 swig_type_info
**types
,
29809 swig_type_info
**types_initial
) {
29811 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29812 char *c
= methods
[i
].ml_doc
;
29813 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29815 swig_const_info
*ci
= 0;
29816 char *name
= c
+ 10;
29817 for (j
= 0; const_table
[j
].type
; j
++) {
29818 if (strncmp(const_table
[j
].name
, name
,
29819 strlen(const_table
[j
].name
)) == 0) {
29820 ci
= &(const_table
[j
]);
29825 size_t shift
= (ci
->ptype
) - types
;
29826 swig_type_info
*ty
= types_initial
[shift
];
29827 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29828 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29829 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29831 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29832 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29834 strncpy(buff
, "swig_ptr: ", 10);
29836 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29837 methods
[i
].ml_doc
= ndoc
;
29843 /* -----------------------------------------------------------------------------*
29844 * Initialize type list
29845 * -----------------------------------------------------------------------------*/
29847 #if PY_MAJOR_VERSION < 2
29848 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29849 is copied out of Python/modsupport.c in python version 2.3.4 */
29851 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29854 if (!PyModule_Check(m
)) {
29855 PyErr_SetString(PyExc_TypeError
,
29856 "PyModule_AddObject() needs module as first arg");
29860 PyErr_SetString(PyExc_TypeError
,
29861 "PyModule_AddObject() needs non-NULL value");
29865 dict
= PyModule_GetDict(m
);
29866 if (dict
== NULL
) {
29867 /* Internal error -- modules must have a dict! */
29868 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29869 PyModule_GetName(m
));
29872 if (PyDict_SetItemString(dict
, name
, o
))
29879 static swig_type_info
**
29880 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29881 static PyMethodDef swig_empty_runtime_method_table
[] = {
29883 NULL
, NULL
, 0, NULL
29887 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29888 swig_empty_runtime_method_table
);
29889 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29890 if (pointer
&& module) {
29891 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29893 return type_list_handle
;
29896 static swig_type_info
**
29897 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29898 swig_type_info
**type_pointer
;
29900 /* first check if module already created */
29901 type_pointer
= SWIG_Python_GetTypeListHandle();
29902 if (type_pointer
) {
29903 return type_pointer
;
29905 /* create a new module and variable */
29906 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29914 /* -----------------------------------------------------------------------------*
29915 * Partial Init method
29916 * -----------------------------------------------------------------------------*/
29918 #ifdef SWIG_LINK_RUNTIME
29922 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29928 SWIGEXPORT(void) SWIG_init(void) {
29929 static PyObject
*SWIG_globals
= 0;
29930 static int typeinit
= 0;
29933 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29935 /* Fix SwigMethods to carry the callback ptrs when needed */
29936 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29938 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29939 d
= PyModule_GetDict(m
);
29942 #ifdef SWIG_LINK_RUNTIME
29943 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29945 # ifndef SWIG_STATIC_RUNTIME
29946 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29949 for (i
= 0; swig_types_initial
[i
]; i
++) {
29950 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29954 SWIG_InstallConstants(d
,swig_const_table
);
29956 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29957 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29958 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29959 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29960 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29962 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29965 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29968 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29971 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29974 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29977 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29980 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29983 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29986 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29989 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29992 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29995 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29998 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
30001 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
30004 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
30007 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
30010 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
30013 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
30016 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
30019 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
30022 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
30025 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
30028 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
30031 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
30034 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
30037 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
30040 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
30043 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
30046 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
30049 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
30052 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
30055 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
30058 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
30061 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
30064 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
30067 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
30070 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
30073 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
30076 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
30079 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
30082 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
30085 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
30088 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30091 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30094 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30096 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30098 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30101 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30104 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30107 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30110 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30113 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30116 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30119 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30122 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30125 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30128 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30131 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30134 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30137 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30139 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30140 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30141 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30142 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30143 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30144 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30146 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30149 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30152 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30155 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30158 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30161 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30164 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30167 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30170 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30173 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30176 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30179 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30182 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30185 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30188 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30190 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30192 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30195 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30198 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30201 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30204 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30207 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30210 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30213 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30216 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30219 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30222 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30224 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30225 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30226 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30228 // Map renamed classes back to their common name for OOR
30229 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30230 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30231 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30233 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30234 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30235 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30236 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30237 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30238 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30239 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30240 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30241 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30242 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30243 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30244 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30245 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30247 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30250 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30252 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30254 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30257 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30260 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30263 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30266 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30269 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30272 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30274 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30275 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30276 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30277 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30278 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30280 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30283 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30286 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30289 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30292 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30295 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30298 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30301 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30304 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30306 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30307 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30309 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30312 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30315 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30318 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30321 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30324 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30327 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30330 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30333 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30336 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30339 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30342 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30345 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30348 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30351 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30354 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30357 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30360 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30363 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30366 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30369 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30372 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30375 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30378 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30381 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30384 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30387 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30390 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30393 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30396 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30399 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30402 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30405 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30408 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30411 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30414 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30417 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30420 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30423 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30426 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");